VMmanager: Administrator guide

Creating a dummy cluster

A dummy cluster is an imitation of a cluster that can be used to test the platform. Only fake entities — nodes and virtual machines — can be created in a dummy cluster. Dummy cluster entities mimic the behavior of the real ones, but do not perform their functions. For example, you will not be able to connect to a node in such a cluster via SSH.

To create a dummy cluster:

  1. Create a cluster with any parameters in the platform interface. Save the value of the cluster id.
  2. Connect to the server with the platform via SSH.
  3. Connect to the DBMS:

    There are potential risks involved in altering a database. We do not recommend making manual edits to the database, as it can disrupt the correct operation of the platform.

    Create a backup of the platform before performing any actions with the database.

    docker exec -it mysql bash -c "mysql isp -p\$MYSQL_ROOT_PASSWORD"
  4. Change the cluster type: 

    update vm_cluster set virtualization_type = "dummy" where id = <cluster_id>;
    Comments to the command
  5. Exit the DBMS console: 

    \quit
  6.  In the platform interface, enter Clusters. If the commands are executed successfully, the cluster type will change to Dummy.

To add a node to the dummy cluster:

  1. Enter Nodes → click Connect a node.
  2. In the Cluster field, select the dummy cluster. For the other parameters, specify arbitrary values.
  3. Click Connect a node.