Connection attempt fails for the VM that is in the unreachable or stopped state, and has the credentials associated with it
A VM that is connected using the credentials associated with it can go into an error state due to being stopped or being unreachable, or due to the VM password being changed.
Then when a reconnection attempt is made, the connection fails with a wrong error message which suggests that a VM is already connected.
Workaround:
Invoke the following NetBackup REST API to update the VM state with updated credentials in the credential_name parameter.
API Url: https://{NetBackup_PRIMARY_SERVER}/netbackup/config/snapshotproviders/
connected-virtual-machines/{assetId} |
API Method: PUT |
API Headers: Content-Type: application/vnd.netbackup+json;version=3.0
Accept:application/vnd.netbackup+json;version=6.0
Authorization: {NetBackup Token}
|
API Request Payload: {
"data": {
"type": "vmconnect",
"attributes": {
"vmConnectionAttributesList": [
{
"name": "credentialName",
"singlevalue": "<credential_name>"
}
]
}
}
}
|