Loading...

Starting and Stopping the CommServe VM

CommServe VM can be stopped and started using Remote Desktop Connection (RDP). Alternatively, the CommServe VM can also be stopped and started from the Virtual Machine Manager.

Procedure

  1. Using an SSH client program, like PuTTy on Windows, login to a node using the root credentials and run the following command to verify whether the node is hosting the CommServe VM:

    virsh list --all

    • If the CommServe VM is hosted in the node, a message similar to the following will be displayed:

    • If the CommServe VM is NOT hosted in the node, a message similar to the following will be displayed:

      In this case login to another node and verify if that node is hosting the CommServe VM.

  2. The following steps are needed to set the DISPLAY variable in PuTTy.

    If a terminal emulator like MobaXterm is used, it comes with X-Server installed and there is no need for setting the DISPLAY variable. As these settings are dependent on the terminal emulator being used, refer to the documentation specific to the emulator to see if the setting is applicable.

    1. Enable X11 forwarding in the X11 panel before starting your SSH session.
    2. Obtain the IP address of the workstation (from which PuTTy is run) using the ipconfig command:

    3. Export the IP address to connect to the Virtual Machine Manager using the following command:

      export DISPLAY=<IP_address>:0.0

      For example:

      export DISPLAY=172.16.254.1:0.0

  3. Shut-down the CommServe VM using the following command:

    virsh shutdown <virtual_machine>

    For example:

    virsh shutdown cvcsdomain_prim

    The operation may take a few minutes complete. Use the following command to verify whether the VM has been shut-down:

    virsh list --all

    Once the VM is shut down, a message similar to the following will be displayed:

  4. Start the VM using the following command:

    virsh start <virtual_machine>

    For example:

    virsh start cvcsdomain_prim

    You can verify whether the VM is started using the following command:

    virsh list --all

Last modified: 7/16/2020 2:34:24 PM