Patching the newly added worker node status
Procedure
-
Run the following command from the NPS toolkit VM to get the details for all the servers and note down the newly added worker nodes uuid and iLO IP address:
nps show --data servers
-
Run the following command to generate the token from the NPS toolkit VM:
curl -i -k -X POST \ -H "Content-Type:application/json" \ -d \ '{"username":"<username>","password":"<password>","topology_name":"topolgy_name"}' \ 'https://<NPS toolkit VM ip> /nps/v2/tokens/'
-
Patch the newly added worker nodes vim state.
curl -i -X PATCH \ -H "X-Auth-Token: :<token>" \ -H "Content-Type:application/json" \ -d \ '{"state":{"vim":"REGISTERED"}}' \ 'https:// <NPS toolkit VM ip>/nps/v2/infrastructures/servers/<serveruuid>/'