Configuring AIR to use cloud LSU
The following steps describe the tasks that are required to replicate the backup images from one LSU to another in a different NetBackup domain:
See Configuring MSDP replication to a different NetBackup domain.
Configure a trust relationship with the target NetBackup domain.
See About trusted primary servers for Auto Image Replication.
Add an LSU in the remote storage server as a replication target.
To add a replication target in a different NetBackup domain, you can use NetBackup Web UI or use the command line interface.
- Create a configuration file for adding a replication target.
Configuration file content for adding a replication target:
Configuration setting
Description
V7.5 "operation" " " string
The value must be "set-replication" for adding a new replication target.
V7.5 " rephostname" " " string
Specifies the replication target's host name.
V7.5 "replogin" " " string
Specifies the replication target storage server's user name.
V7.5 "reppasswd" " " string
Specifies the replication target storage server's password.
V7.5 "repsourcevolume" " " string
Specifies the replication source volume name.
V7.5 "reptargetvolume" " " string
Specifies the replication target volume name.
Example:
[root@sourceserver~]# cat add-replication-local2cloud.txt V7.5 "operation" "set-replication" string V7.5 "rephostname" "targetserver1.example.com" string V7.5 "replogin" "root" string V7.5 "reppasswd" "root" string V7.5 "repsourcevolume" "PureDiskVolume" string V7.5 "reptargetvolume" "s3amamzon1" string
After creating the configuration file, run the nbdevconfig command.
For example:
# /usr/openv/netbackup/bin/admincmd/nbdevconfig -setconfig -storage_server <storage server> -stype PureDisk -configlist <configuration file path>
- Run nbdevconfig to update the disk volume.
For example:
# /usr/openv/netbackup/bin/admincmd/nbdevconfig -updatedv -stype PureDisk -dp diskpool1 -media_server sourceserver.example.com
Configure a storage lifecycle policy.
You must create an import SLP in the target domain before you configure an SLP in the source domain.
See About storage lifecycle policies.
See About the storage lifecycle policies required for Auto Image Replication.
Complete the following steps to delete a replication target:
Create a configuration file for deleting a replication target.
Configuration file content for deleting a replication target:
Configurtion setting
Description
V7.5 "operation" " " string
The value must be "delete-replication" for deleting a new replication target.
V7.5 " rephostname" " " string
Specifies the replication target's host name.
V7.5 "repsourcevolume" " " string
Specifies the replication source volume name.
V7.5 "reptargetvolume" " " string
Specifies the replication target volume name.
For example:
[root@sourceserver~]# cat delete-replication-local2cloud.txt V7.5 "operation" "delete-replication" string V7.5 "rephostname" "targetserver1.example.com" string V7.5 "repsourcevolume" "PureDiskVolume" string V7.5 "reptargetvolume" "s3amamzon1" string
After creating the configuration file, run the nbdevconfig command.
For example:
# /usr/openv/netbackup/bin/admincmd/nbdevconfig -setconfig -storage_server <storage server> -stype PureDisk -configlist <configuration file path>
Run nbdevconfig to update the disk volume.
For example:
# /usr/openv/netbackup/bin/admincmd/nbdevconfig -updatedv -stype PureDisk -dp diskpool1 -media_server sourceserver.example.com