MSDP commands for MVG maintenance
The following table lists the MSDP commands that you can use to manage the MVG configuration.
Table: MSDP commands for an MVG
Task | Command |
|---|---|
List the data selections of MSDP server. | Run the following command on the MSDP or the MVG server. cacontrol --dataselection list |
Get the MSDP disk volume configuration. | Run the following command on the MSDP or the MVG server. cacontrol --dataselection getlsuconfig |
Refresh the MSDP disk volume of an existing NetBackup disk pool. | Run the following command on the MSDP server. cacontrol --dataselection refresh-disk-volume <msdp_server> <volume-name> |
Add the MVG volume association state on an MSDP disk volume. | Run the following command on the MSDP server. cacontrol --dataselection assigntovvol <dsid-of-disk-volume> <disk-volume> <msdp-server> <mvg-server> <mvg-vol> The MVG controller invokes the command for each MSDP server and each physical volume when an MVG volume is created or updated. Use this command only for debugging and troubleshooting purposes. |
Remove the MVG volume association state on an MSDP disk volume. | Run the following command on the MSDP server. cacontrol --dataselection removefromvvol <dsid-of-disk-volume> <disk-volume> <msdp-server> <mvg-server> <mvg-vol> The MVG controller invokes the command for each MSDP server and each physical volume when an MVG volume is deleted or the creation or update of an MVG volume is cancelled. Use this command only for debugging and troubleshooting purposes. |
Get which MSDP server the client and the policy combinations are assigned to. | Run the following command on the MVG server. cacontrol --cluster get-cp-assignment <dsid-of-mvg-volume> [<client> [<policy>]] |
Assign client and policy combination to an MSDP server. | Run the following command on the MVG server. cacontrol --cluster set-cp-assignment <dsid-of-mvg-volume> <client> <policy> <msdp-server> |
Find the MSDP catalog. | Run the following command on the MSDP server. cacontrol --catalog find <dsid-of-disk-volume> <dirname> <basename> [ --listtype ALL|DV_ONLY|VV_ONLY ] VV_ONLY: Filter the path objects, which were created through MVG. DV_ONLY: Filter the path objects, which were created not through MVG. For example: /usr/openv/pdde/pdcr/bin/cacontrol --catalog find 2 / "*" --listtype VV_ONLY |
List the MVG volumes on MVG server. | Run the following command on the MVG server. cacontrol --mvg listvvols |
Set the MSDP server in maintenance mode. | Run the following command on the MVG server. cacontrol --mvg get-maintenance-mode | set-maintenance-mode <msdp_server> | unset-maintenance-mode <msdp_server> |
Remotely find the MSDP catalog of the regular MSDP servers on MVG server. | Run the following command on the MVG server. cacontrol --mvg catalog-find <dsid-of-mvg-volume> <dirname> <basename> [ --listtype VV_ONLY|DV_ONLY|ALL ] [ --hostname <msdp_server> ] |
Validate the MSDP server credentials. | Run the following command on the MSDP or the MVG server. /usr/openv/pdde/pdcr/bin/spauser -v - stdin When you are prompted, type -u <username> -p <password> --role admin. |