2.2. Installing with GUI Management

To install Virtuozzo Hybrid Server with GUI management in graphics mode, choose Install 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 Hybrid Server.

../_images/vzinstall1_0.png

2.2.1. Accepting EULA

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

To accept the Virtuozzo Hybrid Server 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 Hybrid Server 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 Hybrid Server, 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 as detailed in Setting Up Network Bonding. 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.

2.2.5. Installing Virtuozzo Automator Components

To install Virtuozzo Automator along with Virtuozzo Hybrid Server, 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 Hybrid Server 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 (see Registering a Physical Server in |vauto|.

  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 Hybrid Server, 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 |vstorage|. Install Virtuozzo Hybrid Server on local hard drives. If you select this option, click Done, and proceed to set the installation destination as described in Choosing the 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 Hybrid Server 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 the 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 the Installation Destination.

2.2.7. Choosing the 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 the Installation

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

../_images/vzinstall16.png

While Virtuozzo Hybrid Server 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 Hybrid Server is installing, you can activate a license and disable the automatic updating of the Virtuozzo ReadyKernel patch if needed. If you choose not to activate a license at this time, you may need to take additional steps to switch the memory management policy. For more details, see Configuring Automatic Memory Management Policies.

2.2.8.1. Activating a License

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

../_images/vzinstall32.png

If you do not have a license, you can fill in the Free Trial Request form.

Alternatively, you can activate a license with the vzlicload command after the installation is complete. For more details, see Understanding Licensing.

Note

If the license is not activated, containers and virtual machines will be deactivated (suspended without a possibility to resume) after a grace period. All the newly created containers and virtual machines will run for 5 minutes. Containers with Virtuozzo Storage and Virtuozzo Automator management panels (if installed) will run for 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 Updating the Kernel with ReadyKernel.

In previous Virtuozzo Hybrid Server versions, you can turn off the option of automatic update of Virtuozzo ReadyKernel patches while installing Virtuozzo Hybrid Server. In the latest versions, you can switch it off after installing Virtuozzo Hybrid Server. To do this, click READYKERNEL, clear the ReadyKernel automatic update checkbox, and click Done.

../_images/vzinstall33.png

2.2.8.3. Completing Installation

Once the installation has been complete, click Reboot to restart the server.

../_images/vzinstall18.png

Note

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

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

2.2.8.4. Building the 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 |vstorage| Administrator’s Guide and |vauto| Administrator’s Guide.