Summary
The VAST Management Service runs in a dedicated Docker container on a single CNode in the VAST Cluster. By default, it can run on any enabled CNode. In some cases, it may become desirable or necessary to move VMS. There are two ways to move the VMS instance to a new CNode.
Prerequisites
Determine which node VMS is running on
From the UI, go to Infrastructure -> cnodes
The VMS column will indicate which CNode currently has VMS:

VMS will indicate current CNode
From the CLI run the command clush -g cnodes docker ps | grep vms. This will return an IP address from the CNode that has VMS:
vastdata@cnode-3-13 ~:$ clush -g cnodes docker ps | grep vms
172.16.3.11: 95a5407f6efb vastdata.registry.local:5000/dev/orion:release-4.2.0-sp-active-606303-vms "/usr/bin/dumb-init …" 19 minutes ago Up 19 minutes vast_vmsMoving VMS
Deactivate the CNode
The easiest way to move VMS is to deactivate the CNode on which it is running, thereby forcing it to move. You can then re-activate the CNode once VMS has moved. To do this, simply click on the three dots under the Actions column on the same page as above, and click on Deactivate

Deactivate the current CNode where VMS is running
Moving VMS without deactivating the CNode - Using VIP
Beginning with VAST version 4.2, it is possible to indicate a VMS preferred status in a VIP pool. In order to move VMS without deactivating a CNode, you can temporarily create a dummy VIP pool with all the CNodes and then disable the CNode it is currently on.
Go to Network Access -> VIP Pools in the UI

Virtual IP Pools
Click on "Create VIP Pool"

Create VIP Pool
In the Add Virtual IP Pool window, use a dummy IP range, ensure all of your CNodes are in the pool, and toggle VMS Preferred on.

toggle VMS Preferred
Click Update. This will activate the VIP Pool
Now edit that VIP Pool by clicking the three dots under the Actions column to reopen the same window.

Edit VIP Pool
Uncheck the CNode that currently has VMS (found in the prerequisite section)

Uncheck the current CNode
Click Update at the bottom of the Update Vip Pool page. VMS will then move to a new CNode.
The VIP Pool can then be deleted using the three-dot menu under Actions and selecting Remove

Remove VIP pool
Moving VMS without deactivating the CNode - Using VMS Settings
Connect via vCLI with the admin user
Execute
vms listand check which node is the VMSvcli: admin> vms list +------+---------------------+------------+--------------------------------+---------------------+------------+-----------+----------------+-------------+---------------------+------------------+--------------+-----------------------+------------------------+---------------+----------------------------+ | Name | Created | SW-Version | Build | Auto-Logout-Timeout | IP1 | IP2 | MGMT-VIP | Mgmt-CNode | Performance-base-10 | Capacity-base-10 | Login-banner | Access-token-lifetime | Refresh-token-lifetime | MGMT-VIP-IPv6 | Perf-debug-metrics-enabled | +------+---------------------+------------+--------------------------------+---------------------+------------+-----------+----------------+-------------+---------------------+------------------+--------------+-----------------------+------------------------+---------------+----------------------------+ | VMS | 2024-12-12 17:04:29 | 5.1.0.200 | release-5-1-0-sp45-1560629-vms | 600 | 10.10.64.1 | 10.10.0.1 | 10.141.200.132 | cnode-128-1 | True | True | None | 01:00:00 | 1 00:00:00 | UNKNOWN | N/A | +------+---------------------+------------+--------------------------------+---------------------+------------+-----------+----------------+-------------+---------------------+------------------+--------------+-----------------------+------------------------+---------------+----------------------------+Mgmt-CNode is cnode-128-1
Run the following command to change the VMS to a different node
vms modify --preferred-cnode-ids 2Check after a few minutes that VMS moved to cnode ID 2
vcli: admin> vms list +------+---------------------+------------+--------------------------------+---------------------+------------+-----------+----------------+-------------+---------------------+------------------+--------------+-----------------------+------------------------+---------------+----------------------------+ | Name | Created | SW-Version | Build | Auto-Logout-Timeout | IP1 | IP2 | MGMT-VIP | Mgmt-CNode | Performance-base-10 | Capacity-base-10 | Login-banner | Access-token-lifetime | Refresh-token-lifetime | MGMT-VIP-IPv6 | Perf-debug-metrics-enabled | +------+---------------------+------------+--------------------------------+---------------------+------------+-----------+----------------+-------------+---------------------+------------------+--------------+-----------------------+------------------------+---------------+----------------------------+ | VMS | 2024-12-12 17:04:29 | 5.1.0.200 | release-5-1-0-sp45-1560629-vms | 600 | 10.10.64.2 | 10.10.0.2 | 10.141.200.132 | cnode-128-2 | True | True | None | 01:00:00 | 1 00:00:00 | UNKNOWN | N/A | +------+---------------------+------------+--------------------------------+---------------------+------------+-----------+----------------+-------------+---------------------+------------------+--------------+-----------------------+------------------------+---------------+----------------------------+