VMmanager Knowledge Base

If the VMs status is “Unavailable”

In some cases, if the vmwatch service received an error, the status of "Unavailable” will be displayed for virtual machines (VMs). To fix this, restart the service processes:

  1. Connect to the server with VMmanager via SSH.
  2. Go to vm_box docker container:

    docker exec -it vm_box bash
  3. Identify the process ids for each node in the cluster where the problem is found:

    ps aux | grep IP_node
    Comments to the command
  4. Stop the identified processes:

    kill PID
    Comments to the command
  5. Restart vm_writer service:

    supervisorctl restart vm_writer
  6. Restart vmwatch service:

    curl localhost:1501/status