2.2. Installing Virtuozzo with GUI Management

To install Virtuozzo with GUI management in graphics mode, choose Install Virtuozzo 7 with GUI management on the welcome screen. After the installation program loads, you will see the Installation Summary screen. On this screen, you need to specify a number of parameters required to install Virtuozzo.

../_images/vzinstall1_0.png

2.2.1. Accepting EULA

You need to accept the Virtuozzo End-User License Agreement to install Virtuozzo.

To accept the Virtuozzo EULA, open the EULA screen, select Accept, and click Done.

../_images/vzinstall1_1.png

2.2.2. Setting Date and Time

If you need to set the date and time for your Virtuozzo installation, open the DATE & TIME screen and make the necessary changes.

../_images/vzinstall2.png

2.2.3. Selecting the Keyboard Layout

The selected keyboard layout can be used during installation and, once the installation is complete, in the console (e.g., for entering localized descriptions, configuration file comments, and such).

If you need to change the default English (US) keyboard layout, open the KEYBOARD screen, click the plus sign to add a layout, and click Options to choose a key combination for switching layouts.

../_images/vzinstall3.png

2.2.4. Configuring Network

Usually network is configured automatically by the installation program. If you need to modify network settings, you can do so on the NETWORK & HOST NAME screen.

To install Virtuozzo, you will need to have at least one network card configured and you will also need to provide a hostname: either a fully qualified domain name (<hostname>.<domainname>) or a short name (<hostname>).

../_images/vzinstall4.png

2.2.4.1. Creating Bonded and Teamed Connections

Bonded and teamed connections offer increased throughput beyond the capabilities of a single network card as well as improved redundancy.

During installation, you can configure bonding on the NETWORK & HOSTNAME screen as described below. Teaming can be configured in a similar way after choosing Team on step 1.

  1. To add a new bonded connection, click the plus button in the bottom, select Bond from the drop-down list, and click Add.

    ../_images/stor_install1.png
  2. In the Editing Bond connection... window, set the following parameters:

    1. Mode to XOR.
    2. Link Monitoring to MII (recommended).
    3. Monitoring frequency, Link up delay, and Link down delay to 300.
    ../_images/stor_install2.png

    Note

    It is also recommended to manually set xmit_hash_policy to layer3+4 after the installation. For more information on network bonding, see Red Hat Enterprise Linux Deployment Guide and Linux Ethernet Bonding Driver HOWTO.

  3. In the Bonded connections section on the Bond tab, click Add.

  4. In the Choose a Connection Type window, select Ethernet from the in the drop-down list, and click Create.

    ../_images/stor_install3.png
  5. In the Editing bond slave... window, select a network interface to bond from the Device drop-down list.

    ../_images/stor_install4.png
  6. Configure other parameters if required and click Save.

  7. Repeat steps 3 to 7 for each network interface you need to add to the bonded connection.

  8. Configure other parameters if required and click Save.

The connection will appear in the list on the NETWORK & HOSTNAME screen.

../_images/stor_install5.png

2.2.4.2. Creating VLAN Adapters

While installing Virtuozzo, you can also create virtual local area network (VLAN) adapters on the basis of physical adapters on the NETWORK & HOSTNAME screen as described below.

  1. To add a new VLAN adapter, click the plus button in the bottom, select VLAN from the drop-down list, and click Add.

    ../_images/vzinstall34.png
  2. In the Editing VLAN connection... window:

    1. Select a physical adapter the VLAN adapter will be based on from the Parent interface drop-down list.
    2. Specify a VLAN adapter identifier in the VLAN ID field. The value must be in the 1-4094 range.
    ../_images/vzinstall35.png
  3. Configure other parameters if required and click Save.

The VLAN adapter will appear in the list on the NETWORK & HOSTNAME screen.

../_images/vzinstall36.png

2.2.5. Installing Virtuozzo Automator Components

To install Virtuozzo Automator along with Virtuozzo, you need to choose the respective component to install on the VIRTUOZZO AUTOMATOR screen.

../_images/vzinstall27.png

The following options are available:

  • Management Panel and Compute. Install the management panel and agent components of Virtuozzo Automator. The former is installed into a container on the node and allows you to manage registered nodes and virtual environments on them. The latter is installed on the node itself and lets the node be registered in the management panel.
  • Compute. Install the agent on the node so the node can be registered in the management panel.

Important

Only one VA Management Node is needed, so choose Management Panel and Compute only for the first node in your Virtuozzo Automator infrastructure. For the second and other nodes choose Compute. The detailed instructions are provided in the following subsections.

2.2.5.1. Installing Management Panel and Compute on the First Server

On the first server in your Virtuozzo Automator infrastructure, you will need to install both the management panel and compute components.

Do the following on the VIRTUOZZO AUTOMATOR screen:

  1. Choose Management Panel and Compute.

    ../_images/vzinstall28.png
  2. Specify an VA Management Node IP address and, optionally, a VA Management Node hostname.

    Virtuozzo will create a container with the specified IP and install the management panel in it. The management panel will be available at the specified IP address (or hostname) on default port 4648.

  3. Click Done and proceed to configure Virtuozzo Storage as described in Installing Virtuozzo Storage Components.

2.2.5.2. Installing Compute on the Second and Other Servers

On the second and other servers in your Virtuozzo Automator infrastructure, you will need to install the compute component only.

Do the following on the VIRTUOZZO AUTOMATOR screen:

  1. Choose Compute.

    ../_images/vzinstall29.png
  2. To register the node in the management panel, specify the following:

    1. in the Management node field, the IP address or hostname of the container with the management panel;
    2. in the Password field, the password of the management panel administrator.

    Note

    Alternatively, you can register the node in Virtuozzo Automator manually later.

  3. Click Done and proceed to configure Virtuozzo Storage as described in Installing Virtuozzo Storage Components.

2.2.6. Installing Virtuozzo Storage Components

To install Virtuozzo Storage along with Virtuozzo, you need to choose the respective component to install on the VIRTUOZZO STORAGE screen.

../_images/vzinstall24.png

The following options are available:

  • Management Panel and Storage. Install the Virtuozzo Storage management panel and prepare the node for data storage. The management panel is installed into a container on the node. Storage nodes run data storage services as well as store and provide access to user data.
  • Storage. Prepare the node for data storage. Storage nodes run data storage services as well as store and provide access to user data.
  • No Virtuozzo Storage. Install Virtuozzo on local hard drives. If you select this option, click Done, and proceed to set the installation destination as described in Choosing Installation Destination.

Important

Only one management panel is needed, so choose Management Panel and Storage only for the first node in your Virtuozzo Storage infrastructure. For the second and other nodes choose Storage. The detailed instructions are provided in the following subsections.

2.2.6.1. Installing Management Panel and Storage on the First Server

On the first server in your Virtuozzo Storage infrastructure, you will need to install both the management panel and storage components. This node will also become a storage node. It will be added to the Virtuozzo Storage infrastructure and registered in the management panel during installation.

Do the following on the VIRTUOZZO STORAGE screen:

  1. Choose Management Panel and Storage.

    ../_images/vzinstall25.png
  2. Specify an Storage UI IP address and, optionally, a Storage UI Node hostname.

    Virtuozzo will create a new container with the specified IP and install the Virtuozzo Storage management panel in it. The management panel will be available at the specified IP address (or hostname) on default port 8888.

  3. Click Done and proceed to set installation destination as described in Choosing Installation Destination.

2.2.6.2. Installing Storage on the Second and Other Servers

On the second and other servers in your Virtuozzo Storage infrastructure, you will need to install the Storage component only. Storage nodes will be added to the Virtuozzo Storage infrastructure and registered in the management panel during installation.

For security reasons, you will need to provide a token that can only be obtained from the management panel you have installed on the first server. A single token can be used to install the storage component on multiple servers in parallel.

To obtain a token:

  1. Log in to the Virtuozzo Storage management panel with the password created while deploying the first server. To do this, on any computer with network access to the container with the management panel, open a web browser and visit the container’s IP address or hostname on port 8888.

  2. In the management panel, click ADD NODE to open a screen with the token (you can generate a new one if needed; generating a new token invalidates the old one).

    ../_images/stor_image12.png

Having obtained the token, do the following on the VIRTUOZZO STORAGE screen:

  1. Choose Storage.

    ../_images/vzinstall26.png
  2. Register the node in the Virtuozzo Storage management panel. To do this, specify the following:

    1. in the Management node field, the IP address or hostname of the container with the management panel;
    2. in the Token field, the acquired token.

    Note

    Alternatively, you can register the node in the management panel manually later by logging in to the node via SSH and running /usr/libexec/vstorage-ui-agent/bin/register-storage-node.sh -m <MP_addr> -t <token> in the node’s console, where <MP_addr> is the IP address of the management panel container and <token> is the token obtained in the management panel.

  3. Click Done and proceed to set installation destination as described in Choosing Installation Destination.

2.2.7. Choosing Installation Destination

Having chosen the storage type, open the INSTALLATION DESTINATION screen. If you have multiple disks, select which one will be system. Other disks will be used according to the chosen storage type.

Warning

All disks recognized by the installation program will be cleaned from partitions once you click Begin Installation.

Click Done and proceed to finish the installation.

2.2.8. Finishing Installation

Having configured everything necessary on the INSTALLATION SUMMARY screen, click Begin Installation.

../_images/vzinstall16.png

While Virtuozzo is installing, click ROOT PASSWORD to create a password for the root account. Installation will not finish until the password is created.

../_images/vzinstall17.png

While Virtuozzo is installing, you can also activate a Virtuozzo license and disable the automatic updating of Virtuozzo ReadyKernel patches if required.

2.2.8.1. Activating License

To activate a Virtuozzo license, click LICENSE KEY, enter a key, and click Done.

../_images/vzinstall32.png

If you do not have a license, you can get one by clicking “Try Virtuozzo Today” at https://virtuozzo.com/.

Alternatively, you can activate a license with the vzlicload command after the installation is complete. For more details, see the Virtuozzo 7 User’s Guide.

Note

If the license is not activated, containers and virtual machines will be deactivated (suspended without possibility to resume) after a grace period. All the newly created containers and virtual machines will run 5 minutes. Containers with Virtuozzo Storage and Virtuozzo Automator management panels (if installed) will run 24 hours.

2.2.8.2. Configuring ReadyKernel

With automatic updating enabled by default, ReadyKernel will check for new patches daily at 12:00 server time. If a patch is available, ReadyKernel will download, install, and load it for the current kernel. For more details, see the Virtuozzo 7 User’s Guide.

While Virtuozzo is installing, you can disable the automatic updating of Virtuozzo ReadyKernel patches if required. To do this, click READYKERNEL, uncheck ReadyKernel automatic update, and click Done.

../_images/vzinstall33.png

2.2.8.3. Completing Installation

Once the installation is complete, click Reboot to restart the server.

../_images/vzinstall18.png

Note

If you are installing Virtuozzo from a USB drive, remove the drive before restarting the server.

After restart, you can continue building your Virtuozzo infrastructure as described in Building Virtuozzo Infrastructure.

2.2.8.4. Building Virtuozzo Infrastructure

Your next steps will depend on which Virtuozzo Storage and Virtuozzo Automator components you have already installed and which you still need to install.

  • If you installed Virtuozzo Storage and Virtuozzo Automator management panels on the first server, proceed to install storage and compute components, respectively, on the second and other servers.
  • If you installed storage and compute components on a server and need to install it on more servers, repeat the performed installation steps. When on the VIRTUOZZO STORAGE or VIRTUOZZO AUTOMATOR screen, follow the instructions in Installing Storage on the Second and Other Servers or Installing Compute on the Second and Other Servers.
  • If you installed storage and compute components on the last server, do the following:
    • Log in to the Virtuozzo Storage management panel and make sure that all storage nodes are present in the UNASSIGNED list on the NODES screen.
    • Log in to the Virtuozzo Automator management panel and make sure that all compute nodes are present on the Infrastructure > Hardware Nodes tab.

With everything ready, you can start managing your infrastructure as described in the Virtuozzo Storage Administrator’s Guide and Virtuozzo Automator Administrator’s Guide.