You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 1 (optional) - Deploy a U-SPS Cluster in the MCP Dev Account
Note: You can skip this step if you're using a cluster that has already been deployed. You'll just need the URL of the APIs.
(local-machine) $ cd unity-sps-prototype/terraform-unity
(local-machine) $ terraform apply -var-file=MCP_DEV.tfvars -no-color 2>&1 --auto-approve | tee apply_output.txt
# Get the hostnames of the load balancers
(local-machine) $ terraform output
load_balancer_hostnames = {
"ades_wpst" = "ac9b98e5058a140dba79943df80e9b48-751783497.us-west-2.elb.amazonaws.com""grq_es" = "a21818cae05464be387250b577c80aab-553613407.us-west-2.elb.amazonaws.com""mozart_es" = "ab5455b97a3904760ae865a197a26806-375650635.us-west-2.elb.amazonaws.com""sps_api" = "a06e57779a2b441dcb46c546b59e327c-685374922.us-west-2.elb.amazonaws.com"
}
# Set the the value of SPS_API for future API requests
(local-machine) $ SPS_API=a06e57779a2b441dcb46c546b59e327c-685374922.us-west-2.elb.amazonaws.com
Step 2 - Using the SPS API, check the current status of the Verdi node group
Get the current number of ready nodes in the Verdi node group
curl -s -X GET "http://${SPS_API}:5002/sps/ready-nodes"| jq
Expected Response
{
"ready_nodes": 3
}
Get configuration information about the Verdi node group
curl -s -X GET "http://${SPS_API}:5002/sps/node-group-info"| jq