Adding new server data to NPS toolkit VM
Procedure
-
To add a new node, use the Addon Servers UI to generate the JSON file and run the following command with the location of the JSON file:
nps add-infra -f <location of the server profile JSON file>
NOTE:The JSON file for adding nodes must be generated using the Addon Servers UI only.
The following is a sample format of the JSON generated using the Addon servers UI:
{ "topology_name": "<topology_name_same as starter kit>", "topology_modules": [ <topology_modules_of_starter_kit> ], "topology_data": { "infra": { "servers": [ { "description": "Description", "hostname": ""<Name of the server>", "hw_profile": "<Name of the server profile>", "ilo": "<IP address of iLO>", "user": ""<User name>", "password": ""<password>", "role": "<Role of the server>", "model": "<Model of the server" } ], "oobm_type": "manual", "description": "<description>" } } }
-
Verify the list of servers using the following command:
#nps show --data servers