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:
- Create a cluster with any parameters in the platform interface. Save the value of the cluster id.
- Connect to the server with the platform via SSH.
-
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"
-
Change the cluster type:
update vm_cluster set virtualization_type = "dummy" where id = <cluster_id>;
Comments to the command -
Exit the DBMS console:
\quit
- 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:
- Enter Nodes → click Connect a node.
- In the Cluster field, select the dummy cluster. For the other parameters, specify arbitrary values.
- Click Connect a node.
Useful tips
Related topics: