Creating an MVG volume using the command-line
To configure an MVG volume using the command-line
- Create a configuration file for an MVG volume in the following format.
V7.5 "operation" "add-virtual-volume" string V7.5 "virtualVolume" "<mvg-volume>" string V7.5 "diskVolume" "<msdp-server1>:<msdp-volume1>:Y" string V7.5 "diskVolume" "<msdp-server2>:<msdp-volume2>:Y" string V7.5 "diskVolume" "<msdp-server...>:<msdp-volume...>:Y" string
For example,
# cat sample-mvg-local.cfg V7.5 "operation" "add-virtual-volume" string V7.5 "virtualVolume" "sample-mvg-local" string V7.5 "diskVolume" "sample-msdp-server1:PureDiskVolume:Y" string V7.5 "diskVolume" "sample-msdp-server2:PureDiskVolume:Y" string V7.5 "diskVolume" "sample-msdp-server3:PureDiskVolume:Y" string V7.5 "diskVolume" "sample-msdp-server4:PureDiskVolume:Y" string # cat sample-mvg-cloud.cfg V7.5 "operation" "add-virtual-volume" string V7.5 "virtualVolume" "sample-mvg-cloud" string V7.5 "diskVolume" "sample-msdp-server1:cloud-volume1:Y" string V7.5 "diskVolume" "sample-msdp-server2:cloud-volume2:Y" string V7.5 "diskVolume" "sample-msdp-server3:cloud-volume3:Y" string V7.5 "diskVolume" "sample-msdp-server4:cloud-volume4:Y" string
- Create an MVG volume in the MVG server.
nbdevconfig -setconfig -storage_server <mvg-server> -stype PureDisk -configlist <configuration-file>
- Create a disk pool with the MVG volume in NetBackup.
nbdevconfig -previewdv -storage_server <mvg-server> -stype PureDisk | grep <mvg-volume> > <mvg-volume-cfg-file>
nbdevconfig -createdp -dp <disk-pool-name> -storage_server <mvg-server> -stype PureDisk -dvlist <mvg-volume-cfg-file>