Configuring an MVG server using the command-line
You can use the command-line to configure an MVG server on the Red Hat Linux media server.
See MSDP commands for MVG maintenance.
To configure the MSDP volume group server using the command-line
- Create a storage server record in NetBackup.
nbdevconfig -creatests -storage_server <media-server-fqdn> -stype PureDisk -media_server <media-server-fqdn> -st 9
- Add MSDP credentials in NetBackup.
/usr/openv/volmgr/bin/tpconfig -add -storage_server <media-server-fqdn> -stype PureDisk -sts_user_id <msdp-username> -password <msdp-password>
- Get the MSDP configuration file template. The returned template should have a configuration item mvgenabled 0.
nbdevconfig -getconfig -storage_server <media-server-fqdn> -stype PureDisk -configlist ./cfg.msdp.template
- Create the MSDP configuration file in the following format.
Use the configuration file template
./cfg.msdp.templateto create the configuration file./cfg.msdp.Change mvgenabled: 0 to mvgenabled: 1.
The MSDP credentials in the configuration file must be the credentials that are added in NetBackup in the previous step.
For example,
# cat ./cfg.msdp V7.5 "storagepath" "/sample-msdp-path" string V7.5 "spalogin" "sample-username" string V7.5 "spapasswd" "sample-password" string V7.5 "spalogretention" "7" int V7.5 "verboselevel" "3" int V7.5 "dbpath" "/sample-msdp-path" string V7.5 "required_interface" "" string V7.5 "encryption" "1" string V7.5 "mvgenabled" "1" string
It is recommended to specify the same path for MSDP storage and catalog with storagepath and dbpath.
- Initialize the MSDP server.
nbdevconfig -setconfig -storage_server <media-server-fqdn> -stype PureDisk -configlist ./cfg.msdp
On success, mvg-controller and mvg-mds along with the other MSDP services are initialized and started.