During this tutorial, a Debian virtual machine may need to be restarted. As with other training documents, it is important to note that these steps should be followed on training systems without data or users connected to them.
First, login to Prism Element.
Second, navigate to the VM screen by clicking on Home and selecting VM
Near the top of the screen, click on Table next to Overview.
Double-click the virtual machine which will receive more CPUs. Double-clicking it opens the "Update VM" dialog window.
In the window, update the number of CPUs or the number of threads per CPU. For this example, the number of CPUs will be increased from 2 to 4.
Afterwards, click the Save button to commit the changes to the virtual machine.
Right-click the virtual machine and select Launch Console.
Login to the virtual machine.
Click on Activities, type ter for terminal, and click on the terminal application.
Check the number of CPUs the virtual machine sees by enter the command
lscpu | more
Notice the number of off-line CPUs. The VM started with two CPUs and now it has four. The two offline CPUs will remain offline until the VM is restarted.
To restart the virtual machine, enter the command
sudo shutdown -r now
Afterwards, login, launch terminal from Activities, and enter the command
lscpu | moreĀ
Now, all four CPUs will be on-line.