- Authenticate to the primary storage system and generate a token for REST API requests.
Command:
curl -k -H "Accept:application/json" -H "Content-Type:application/json" -u maintenance:<maintenance-user-password> -X POST https://<Service_IP_Address_of_VSP_One_Block_20_series>/ConfigurationManager/v1/objects/sessions/ -d ""
Output:{ "token" : " <32-character HEX string>", "sessionId" : 380 } - Authenticate to the secondary storage system and generate a token for REST API requests.
Command:
curl -k -H "Accept:application/json" -H "Content-Type:application/json" -u maintenance: <maintenance-user-password> -X POST https://<Service_IP_Address_of_VSP_One_Block_20_series>/ConfigurationManager/v1/objects/sessions/ -d ""
Output:{ "token" : " <32-character HEX string>", "sessionId" : 381 }