In this section:
To commission a VM that is waiting to be deployed, use the sonus_dsc_hot_generator.py script to regenerate YAML with small changes. This script file is included in the dsc_swe_<rel>_<nb>_HOT.tgz that can be downloaded from the Global Support Portal (refer to Downloading Software Files).
Generate a new YAML file by executing the sonus_dsc_hot_generator.py with the original arguments but a different vm-count.
For example, if the current vm-count is 2, then change it to 3.
sonus_dsc_hot_generator.py --av-zones "" --config-drive true --flavour "" --ha0 None --image "" --imf0 None --imf1 None --mgt askaddr: --no-prompt --pkt0 askaddr: --pkt1 askaddr: --pkt2 None --pkt3 None --sec-group None --shared-mgt "" --ssh-key "" --ver-str 16_1_0_nb20170914 --vm-count 3 --vm-role None extraDSCVMs.yaml
The newly generated YAML file extraDSCVMs.yaml has 3 VMs enabled.
Click Next.
On the Update Stack Parameters page, the original values should be entered or there will be unexpected changes. For the new VM, new IP addresses can be assigned.
Use this procedure to commission a VM that has been deployed already such as the extra VMs are deployed when the stack is created.
SSH to one of the Routing and Management VMs on the DSC SWe using this VM‘s IP address.
ssh root@<ip address of the DSC SWe>
Log onto the system.
User ID: <root> password: <root password>
Type y, and press ENTER.
Enter the required VM type, and press ENTER (in this example, 1 for Routing VM).
Press ENTER. The system installs the load on the Routing VM in slot 3. Go to step 13.
Enter the required VM type, and press ENTER (in this example, 1 for Routing VM).
The system installs the load on the new Routing VM which is the same software load that is currently running on the existing Routing and Management VM.
Enter y and press ENTER.
Press c to continue.
If you are prompted to enter a license key(s), do one of the following:
If you are using the Local Licensing method, refer to Local Licensing Description and perform the licensing task as required.