You can manage local and network storages in the cluster card. Enter Clusters → select the cluster → image2020-5-26_9-49-2.pngMenuLocal storages or Network storages.

You can specify storage tags. The tags you choose affect which storage locations the virtual machine (VM) disks will be placed into when they are created and migrated. Read more in Selecting storage for VM disks.

Connecting a storage


To connect a storage:

  1. Press Add storage.
  2. Specify the storage settings:

    1. Name.
    2. Type — File storage.
    3. Select the Storage tags. To add a new tag:
      1. Press Create a new tag and view all tags.
      2. Enter the tag Name.
      3. Add a discretionary Note.
      4. Press Create.
    4. Path for VM directory. Default value — /vm.
    1. Name.
    2. Type — LVM.
    3. Select the Storage tags. To add a new tag:
      1. Press Create a new tag and view all tags.
      2. Enter the tag Name.
      3. Add a discretionary Note.
      4. Press Create.
    4. Volume group name. Default value — lvm0.

    Click Add a network storage and specify its settings. Read more about Ceph settings in Pre-configuration.

    1. Select the Ceph storage type.
    2. Specify the Connection settings:
      1. Name.
      2. Select the Storage tags. To add a new tag:
        1. Press Create a new tag and view all tags.
        2. Enter the tag Name.
        3. Add a discretionary Note.
        4. Press Create.
      3. Monitor’s Server IP address in Ceph cluster.
      4. Port for incoming ssh connections.
      5. Root password to connect to the server or press I want to use a public ssh key to create an ssh key.
    3. Click Connect.
    4. Specify the Storage settings. Read more in the article Creating an RBD storage:
      1. Select the RBD pool for VM storage or create a new pool.

      2. Select the User to manage the pool or create a new user.

      3. Quantity of PG/PGP.

    1. Select the Network storage.
    2. Specify the Storage settings. Read more in the article Creating an RBD storage:
      1. Select the RBD pool for VM storage or create a new pool.

      2. Select the User to manage the pool or create a new user.

      3. Quantity of PG/PGP.

    1. Click Add a network storage.
    2. Select the SAN storage type.
    3. Specify the storage settings:
      1. Name.
      2. Select the Storage tags. To add a new tag:
        1. Press Create a new tag and view all tags.
        2. Enter the tag Name.
        3. Add a discretionary Note.
        4. Press Create.
      3. Path to block device. For example, /dev/sdb.

    Note

    ZFS storage can only be added to LXD cluster without attached storage.


    1. Name.
    2. ZFS pool name. Default value — zfs0.
  3. Press Add.

To prevent the creation of new VMs in the storage, select the storage and press Disable.

To delete a storage, press Delete.

Note

Before deleting the storage, remove all VMs from it.

You can delete the main storage if there are no nodes connected to the cluster. In this case, the next storage in the list will be the main one. If no other storages had been connected to the cluster, the first one added will be the main storage.

Storage management section

Changing the main storage


To change the main storage:

  1. Select the storage you want.
  2. Click image2021-10-1_13-55-10.pngMain.

Changing the main storage

Note

BILLmanager connects to the main storage. After changing the storage, VMs will be created in this storage.