Install the Backup Agent
To install the Backup Agent, you must first apply for the Backup Agent service. See Create a Backup Agent.
To use agent-based backup, you must connect to the target server and install the Backup Agent. After installing the Backup Agent, register the backup through the Backup service.
Performing preliminary preparation
Perform preliminary preparation tasks, such as checking the installation space, downloading the Backup Agent files, and verifying Backup Master/Agent information, to install the Backup Agent.
Check the installation space for the Backup Agent
The following capacity is required to install the Backup Agent.
| OS Type | Path | Required capacity | Notes |
|---|---|---|---|
| Linux | /tmp (used temporarily during installation) | 3 GB | If the /usr space is insufficient, you can link a separate space. #ln -s separate space /usr/openv |
| Linux | /opt | 3 GB | If the /usr space is insufficient, you can link a separate space. #ln -s separate space /usr/openv |
| Linux | openv installation path (typically /usr) | 3~5 GB | If the /usr space is insufficient, you can link a separate space. #ln -s separate space /usr/openv |
| Windows | Veritas installation path (typically C:\) | 3~5 GB | If there is insufficient space on the C: drive, you can install it on a different drive. |
| - | Installation file | 10 GB |
Download the Backup Agent installation file
To download the Backup Agent installation file, follow these steps.
- Click the All Services > Storage > Backup menu. 1. Go to the Service Home page of Backup.
- Click the Backup Agent menu on the Service Home page. 2. Go to the Backup Agent List page.
- Click a resource on the Backup Agent List page to view its details. 3. Navigates to the Backup Agent Details page.
- After verifying the installation file URL, navigate to that URL. 4. You can download the Backup Agent installation file.
Linux OS
If you are using the Linux OS, enter the command by referring to the following example.
# cd [다운로드할 위치]
# curl -O 설치파일 → 설치 파일에 복사한 설치 파일 다운로드 URL을 넣어주세요.
Windows OS
When using the Windows OS, you can download it using an internet browser or Windows PowerShell.
When using an internet browser
After launching your web browser, enter the copied installation file download URL in the address bar. After navigating to the download screen, the download begins.
- It may take some time before you are redirected to the download screen.
- If you do not proceed to the download screen, use Windows PowerShell to download.
When using Windows PowerShell
- Right-click the Windows Start icon and then run Command Prompt (Admin).
- Run Windows PowerShell as an administrator.
- Enter the command by referring to the following example.
# wget "다운로드 URL" -OutFile "저장할 파일명"
Checking Backup Master and Agent Information
To install the Backup Agent, you need the Backup Master and Agent information for routing configuration and host file registration. On the Backup Agent Details page, check the Backup Master IP, Backup IP, and Gateway information. For details, see Viewing Backup Agent Details.
Setting Up a Security Group (Linux/Windows)
For Virtual Server and GPU Server backups, you must configure a security group to enable communication with the Backup Master. To configure a security group, check the backup information on the Backup Agent Details page and register the security group associated with the server.
- IP: Backup Master IP
- Inbound / Outbound / (TCP) 1556, 13724 port
- Action: allow the connection
Registering Backup Master information in the hosts file
To register Backup Master information in the hosts file, follow these steps.
- Use a file editor to open the host file.
- Linux operating system: /etc/hosts
- Windows operating system: C:\Windows\System32\drivers\etc\hosts
- Open the hosts file and register the Backup Master and Backup Agent information (IP, name).
- Append .scpbackup to the Backup Agent name, as shown in the following example.
10.242.8.4 takre1p1bkm1 10.252.25.4 agent_tgdrhw.scpbackup
Add a port for the Backup Agent (when using the Windows Firewall)
If you are using the Windows Firewall, you must add the port for the Backup Agent to the Windows Firewall to enable communication with Backup Master.
The following ports and settings should be added to the Windows Firewall:
- Inbound Rule: (TCP) 1556, 13724 port
- Action: allow the connection
- Profile: Select all of domain, private, and public
Configure routing for communication with the Backup Master
To communicate with the Backup Master, you must configure routing in the operating system.
Linux OS - CentOS/RHEL
To configure routing on a Linux OS such as CentOS or RHEL, follow these steps.
- The IP, Gateway, and Vlan ID information for the Backup Master and Agent used in the routing configuration example is as follows.
- Backup Master IP: 10.242.8.4
- Backup IP (Agent IP): 10.252.25.4
- Gateway (Agent Gateway): 10.252.25.1
- vlan: 100
- You can configure VLANs in the Config file of a Bare Metal Server. * For details, see Configure a Local Subnet.
- Use the following command to check the backup network interface information.
- ip a
- bash /usr/local/bin/ip.sh
- Set up routing using the nmcli command.
# nmcli connection NAME UUID TYPE DEVICE System eth0 abcdefghijklmnop ethernet eth0 Wired connection 1 cdefghijklmnopqr ethernet eth1 # nmcli con mod "Wired connection 1" +ipv4.routes "10.242.8.0/24 10.252.25.1" # nmcli device reapply eth1 Connection successfully reapplied to device 'eth1'. - Verify that the routing configuration has been applied correctly.
# telnet [Backup Master명] 1556
Linux OS - ubuntu
To configure routing on the Linux OS (Ubuntu), follow these steps.
- The IP, Gateway, and Vlan ID information for the Backup Master and Agent used in the routing configuration example is as follows.
- Backup Master IP: 10.242.8.4
- Backup IP (Agent IP): 10.252.25.4
- Gateway (Agent Gateway): 10.252.25.1
- vlan: 100
- You can configure VLANs in the Config file of a Bare Metal Server. * For details, see Configure a Local Subnet.
- Use the following command to check the backup network interface information.
- ip a
- bash /usr/local/bin/ip.sh
Open the 50-cloud-init.yaml file and configure routing.
# vi /etc/netplan/50-cloud-init.yaml (기존 내용에 routes 내용 추가) network: bonds: ...................... 생략 ethernets: ...................... 생략 vlans: bond.srv.100: addresses: ...................... 생략 routes: - to:10.242.8.0/24 via:10.252.25.1 # netplan applyVerify that the routing configuration has been applied correctly.
# telnet [Backup Master명] 1556
Windows OS
To configure routing in the Windows OS, follow these steps.
- The IP, Gateway, and Vlan ID information for the Backup Master and Agent used in the routing configuration example is as follows.
- Backup Master IP: 10.242.8.4
- Backup IP (Agent IP): 10.252.25.4
- Gateway (Agent Gateway): 10.252.25.1
- ifindex: 100
- You can configure ifindex in the Config file of the Bare Metal Server. * For details, see Configure a Local Subnet.
- Right-click the Windows Start icon and then run Command Prompt (Admin).
- Run Windows PowerShell as an administrator.
- Use the ipconfig and Get-NetAdapter commands to check the backup network interface index (ifindex) configuration.
# ipconfig /all → Agent IP에 할당된 interface name을 확인하세요. # Get-NetAdapter → 위에서 확인한 interface name 참고해 interface index를 확인하세요.
Use the NetRoute command to configure routing.
# Get-NetRoute -ifindex 100 # New-NetRoute -ifIndex 100 -DestinationPrefix 10.242.8.0/24 -NextHop 10.252.25.1Verify that the routing configuration has been applied correctly.
# telnet [Backup Master명] 1556
Check whether the package is installed (when using RHEL 8)
If you are using RHEL 8, the libnsl package must be installed to install the Backup Agent.
- Use the following command to check whether the libnsl package is installed.
# rpm -qa | grep libnsl - If the libnsl package is not installed, use the following command to install the package.
# yum install libnsl
Install the Backup Agent
Install the Backup Agent that matches your operating system.
Linux OS
To install the Backup Agent on a Linux OS, follow these steps.
- Navigate to the directory where you extracted the Backup Agent 10.1.1 installation files, and then change the permissions of the installation-related files.
# chmod 755 installs # chmod –R 755 NBClients - Run ./install.
- [root@bkclientlin ~]# ./install
- After the installation description, confirm whether to proceed with the installation by entering y and pressing the Enter key.
Do you wish to continue? [y,n] (y) y - To check whether the software is installed on the client, enter y and press Enter.
Do you want to install the ~~~~~~~~~~~~ software for this client? [y,n] (y) y - To check the backup master server name, enter the Backup Master name and press Enter.
Enter the name of the ~~~~~~ master server : bkmaster - When checking the Client server configuration name, enter n and then enter the Agent information.
- Enter the required agent information: Backup Agent name.scpbackup (e.g., agent_tgdrhw.scpbackup)
Would you like to use "bkclientlin" as the configured name of the ~~~~~~~ client? [y,n] (y) n agent_tgdrhw.scpbackup - Check the Master Server information, and if there are no issues, enter y.
Master server [bkmaster] reports the following CA Certificate fingerprints: SHA-256 Fingerprint: [BB:38:~~~~~~~~] SHA-1 Fingerpritn: [0D:E6:~~~~~~~] Is this correct [y,n] y ... Primary server [s-krw1a-dp-bk-msa] reports the following CA Certificate fingerprints: SHA-256 Fingerprint: [A0:C2:70:CA:4A:DA:DA:AF:6E:04:5D:87:38:B1:F0:89:A6:9A:7A:7B:F3:49:D8:5D:A9:9F:DD:55:70:4C:62:DB], SHA-1 Fingerprint: [4B:05:C3:21:8B:95:27:A5:5E:B7:D3:72:85:36:5B:CA:6F:18:BA:76]. Is this correct? [y,n] y ... Do you wish to proceed with installation even though NetBackup will not operate? [y,n] (n) y - Enter 2 when selecting the Java GUI and JRE option. 8. Java GUI and JRE package installation are excluded.
Choose an option from the list below. 1) Include the Java GUI and JRE 2) Exclude the Java GUI and JRE Java GUI and JRE option: [1,2] (2) :2 Excluding the installation of Java GUI and JRE packages - Verify that the installation completed successfully.
Windows OS
To install the Backup Agent on Windows OS, follow these steps.
- Navigate to the folder where you extracted the Backup Agent 10.1.1 installation files, and then run the Setup.exe file with administrator privileges.
- If the installation archive contains an EEB directory in the format
NB_10.4.0.1_ETXXXXXX_1, you must apply the patch by following the procedure below after installing the Backup Agent.- After the Backup Agent installation is complete, navigate to the
NB_10.4.0.1_ETXXXXXX_1folder. - Run
eebinstaller_XXXXXXX_1_AMD64.exewith administrator privileges.- If there are multiple files, install them all.
- After the Backup Agent installation is complete, navigate to the
- In the popup window for selecting the client to install, select the client and click the OK button.
- In the Vertias NetBackup pop-up window, select Yes. 3. The installation popup opens, and the installation steps are displayed on the left side of the popup.
- When the Welcome step description is displayed, click the Next button.
- When the License Agreement step is displayed, select the Agree with the Veritas Software License Agreement option and then click the Next button.
- When the Install Type step is displayed, verify that the Install to the computer only option is checked, and then select the Custom installation option. 6. After you finish selecting, click the Next button.
- When the Option step description is displayed, verify the installation path and click the Next button. 7. Client option information is displayed.
- Click the Change… button to change the installation path.
- After reviewing the Client Options information, click the Next button. 8. Log on information is displayed.
- After reviewing the Log on information, click the Next button.
- Safe Abort Option: An option to abort the installation if a system restart is required (optional).
- When the System Name step description is displayed, enter the server environment information and then click the Next button. 10. Master Server information is displayed.
- Client Name: Enter the agent information. * Backup Agent name.scpbackup (e.g., agent_tgdrhw.scpbackup)
- Master Server Name: Enter the Backup Master name.
- After checking the Master Server information, **I recognize the fingerprint for this host. 11. Select an item. 11. After you finish selecting, click the Next button.
- When the Security step description is displayed, verify that the certificate was deployed successfully, and then click the Next button.
- When the Install step description is displayed, review the Installation Summary and then click the Install button.
- After the installation is complete, click the Finish button.
Check the status of the Backup Agent
After the Backup Agent installation is complete, run a communication test with the Backup Master and check the status.
Linux OS
To run a communication test with the Backup Master on a Linux OS, follow these steps.
- Enter the following command, then run a communication test with the Backup Master and check the results.
- Command: # /usr/openv/netbackup/bin/bpclntcmd -pn
- The following is an example of the communication test inspection results.
/usr/openv/netbackup/bin/bpclntcmd -pn expecting response from server takre1p1bkm1 10.252.25.4 agent_tgdrhw.scpbackup 10.252.25.4 45789
- In the Samsung Cloud Platform Console, click the All Services > Storage > Backup menu. 2. Go to the Service Home page of Backup.
- Click the Backup Agent menu on the Service Home page. 3. Go to the Backup Agent List page.
- Click the resource on the Backup Agent List page to check the communication test. 4. Navigates to the Backup Agent Details page.
- Click the Check Connection Status button in the Connection Status section. 5. If the Backup Master communicates successfully, Success is displayed.
- If errors such as certificate issuance failures occur on a Linux OS, run the following command.
- Obtain the Backup Master CA public certificate from the Agent:
/usr/openv/netbackup/bin/nbcertcmd -getcacertificate -server s-krw1a-dp-bk-msa - Authenticate the Agent (HostID) on the Backup Master:
/usr/openv/netbackup/bin/nbcertcmd -getcertificate -server s-krw1a-dp-bk-msa
- Obtain the Backup Master CA public certificate from the Agent:
- If errors such as certificate issuance failures occur on the Windows OS, run the following command.
- Obtain the Backup Master CA public certificate from the Agent:
C:\Veritas\NetBackup\bin\nbcertcmd -getcacertificate -server s-krw1a-dp-bk-msa - Authenticate the Agent (HostID) on the Backup Master:
C:\Veritas\NetBackup\bin\nbcertcmd -getcertificate -server s-krw1a-dp-bk-msa
- Obtain the Backup Master CA public certificate from the Agent:
- If errors such as certificate issuance failures occur on a Linux OS, run the following command.
- Verify that the results of the Backup Master communication test performed on the OS and the Samsung Cloud Platform Console are identical.
Windows OS
To run a communication test with Backup Master on Windows OS, follow these steps.
- Enter the following command, then run a communication test with the Backup Master and check the results.
- Command: # [Installation Path]\Veritas\NetBackup\bin\bpclntcmd.exe -pn
- The following is an example of the communication test inspection results.
# C:\Veritas\NetBackup\bin\bpclntcmd.exe -pn expecting response from server takre1p1bkm1 agent_tgdrhw.scpbackup agent_tgdrhw.scpbackup 10.252.25.4 52096
- In the Samsung Cloud Platform Console, click the All Services > Storage > Backup menu. 2. Go to the Service Home page of Backup.
- Click the Backup Agent menu on the Service Home page. 3. Go to the Backup Agent List page.
- Click the resource on the Backup Agent List page to check the communication test. 4. Navigates to the Backup Agent Details page.
- Click the Check Connection Status button in the Connection Status section. 5. If the Backup Master communicates successfully, Success is displayed.
- Verify that the results of the Backup Master communication test performed on the OS and the Samsung Cloud Platform Console are identical.
Delete the Backup Agent
If you do not use the Backup Agent, you must remove the Backup Agent installed on each operating system.
Linux OS
To remove the Backup Agent from a Linux OS, follow these steps.
- Stop the Backup Agent service.
# /usr/openv/netbackup/bp.kill_all # /opt/VRTSpbx/bin/vxpbx_exchanged stop # /usr/openv/netbackup/bin/vxlogcfg -r -p 51216 - Delete the Backup Agent installation file.
# rpm –qa | grep –i VRTS → Backup Agent package 확인 # rpm –e VRTSnbcfg # /opt/pdde/pddeuninstall.sh –forceclean # rpm -e VRTSnbjava # rpm -e VRTSnbjre # rpm -e VRTSnbclt # rpm -e VRTSpbx # rpm -e VRTSnbpck # rpm -qa | grep -i VRTS → Backup Agent package 확인 후 남은 package 삭제 # rm -rf /usr/openv
Windows OS
To remove the Backup Agent from the Windows OS, follow these steps.
- Stop the Backup Agent service.
# [설치경로]\Veritas\NetBackup\bin\bpdown.exe -f -v # [설치경로]\Veritas\NetBackup\bin\bpps.exe → 남은 Process 확인 후 kill 수행 - In Control Panel > Uninstall or change a program, remove the Backup Agent program.
- Delete the Backup Agent installation folder.