CLI for tuning MVG parameters
Starting with NetBackup 11.1, the mvgapiutil command-line utility is available to manage MVG tuning parameters. For earlier versions, equivalent REST APIs can be used to achieve the same functionality.
Table:
Task | Command | Equivalent API |
|---|---|---|
Get the load balance configuration. | mvgapiutil lb getconfig | curl -K /uss/config/certificates/controller/.curl_config https://localhost:10100/v1/agent/mvg/loadbalance/config |
Set the load balance configuration (edit). | mvgapiutil lb setconfig (opens vi editor) | curl -K /uss/config/certificates/controller/.curl_config https://localhost:10100/v1/agent/mvg/loadbalance/config -d '{"asmt_rb_freezing_timeout": 3600 }' -X PATCH |
Set the load balance configuration using input file. | mvgapiutil lb setconfig --input /tmp/mvg-lbconfig.json | curl -K /uss/config/certificates/controller/.curl_config https://localhost:10100/v1/agent/mvg/loadbalance/config -d '{"asmt_rb_freezing_timeout": 3600 }' -X PATCH |
Get load balance status (assignments, node state, MVG volume state). | mvgapiutil lb status | curl -K /uss/config/certificates/controller/.curl_config https://localhost:10100/v1/agent/mvg/loadbalance/status |
Example JSON for input file (/tmp/mvg-lbconfig.json):
{
"asmt_rb_freezing_timeout": "15 Minutes",
"db_agedout": "90 Days"
}