3.2. Setting Up Virtuozzo Storage¶
Before proceeding with Docker installation and configuration, you need to have Virtuozzo Storage 2 installed and configured.
Virtuozzo Storage requires three physical nodes minimum, each with at least a quad-core CPU, 4GB RAM, 3 x 100GB HDD (one system, one MDS, one storage), 1 Gbps network interface. For better performance, it is recommended to install both system and MDS on an SSD and use HDDs only for storage. It is also recommended to have two network interfaces, as Virtuozzo Storage uses two networks: one private for storage and management traffic and one public for exporting storage data to clients.
To deploy Virtuozzo Storage, you will need to install the management panel and storage components on the first node and just the storage component on the second and other nodes.
Boot the first node from the installation media and make the required choices installation sections: set up date and time, choose the destination partition, check and/or configure network settings. In the Virtuozzo Storage section, choose Management Panel and Storage, select network interfaces for the private and public networks, and create a password.
After deploying the first node, log in to the management panel at that node’s IP address and port 8888. The first node will be listed in the UNASSIGNED NODES section.
Click ADD NODE and obtain a token. You will need it to authorize and add the second and other nodes.
Boot the second node from the installation media and make the required choices installation sections: set up date and time, choose the destination partition, check and/or configure network settings. In the Virtuozzo Storage section, choose Storage, enter the IP address of the management panel, and the token.
After deployment, the second node will appear in the UNASSIGNED NODES section.
Repeat the previous step on remaining nodes. After deployment, they will appear in the UNASSIGNED NODES section.
Having deployed all nodes, open the management panel and configure network interfaces of all nodes. Virtuozzo Storage uses two networks To do this, click node name > NETWORK > Configure. Check and/or configure network settings and select the internal Storage role (in addition to already selected, if any).
After roles are assigned, create a cluster. To do this, click a node in the UNASSIGNED LIST section, click Create cluster, enter cluster name, make sure that a network interface with the storage role is chosen, and click New cluster.
You can monitor cluster creation progress in the HEALTHY list of the NODES screen.
Add other nodes to the cluster. To do this, click a node in the UNASSIGNED LIST section, click Join cluster, make sure that a network interface with the storage role is chosen, and click Join cluster.
As a result of installation, you should have a Virtuozzo Storage cluster deployed and configured across multiple nodes. You will get 1TB of storage space for free. To have more, you will need to obtain a license from the sales team and install it on the LICENSES > Register key screen. You can track the current space usage on the cluster OVERVIEW screen.
Do not install a trial license unless your cluster is intended for production. Once a trial license expires, the free 1TB will no longer be available.
For the complete installation instructions, see the Virtuozzo Storage 2 Installation Guide.
Docker containers may be shown in the Virtuozzo Storage web interface as regular disks. However, they are not intended to (and cannot) be managed via Virtuozzo Storage.