.. _Choosing Virtuozzo Infrastructure Platform Components to Install:

Choosing Virtuozzo Infrastructure Platform Components to Install
----------------------------------------------------------------

To deploy Virtuozzo Infrastructure Platform, you need to choose components to install on the **Virtuozzo Infrastructure Platform** screen:

- **Management Panel and Storage** or
- **Storage**.

Install the **Management Panel and Storage** components on the first server and just the **Storage** component on all other servers. The detailed instructions are provided in the following sections.

.. _Choosing the Components to Install on the First Server:

Choosing the Components to Install on the First Server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On the first server, you will need to install the management panel alongside the storage component.

Do the following on the **Virtuozzo Infrastructure Platform** screen:

#. Choose **Management Panel and Storage**.

#. In the **Management Panel network** drop-down list, select a network interface that will provide access to the management panel.

#. In the **Management network** drop-down list, select a network interface and specify a port for internal management and configuration purposes (the port 8888 is used by default).

#. Create a password for the ``admin`` account of the management panel and confirm it in the corresponding fields.

#. Click **Done**.

.. image:: ../../../images/stor_image11.png
   :align: center
   :class: align-center

After completing the steps above, proceed to :ref:`Selecting Destination Partition`.

.. _Choosing the Components to Install on the Second and Other Servers:

Choosing the Components to Install on the Second and Other Servers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On the second and other servers, you will need to install the **Storage** component only. Such servers will run services related to data storage and will be added to the Virtuozzo Infrastructure Platform infrastructure 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:

#. Log in to the Virtuozzo Infrastructure Platform management panel. On any computer with access to the management panel network, open a web browser and visit the management node IP address on port 8888: https://<management_node_IP_address>:8888. If prompted, add the security certificate to browser's exceptions.

#. In the management panel, you will see the **NODES** screen where the only node will be shown in the **UNASSIGNED** list.

   .. image:: ../../../images/stor_image12.png
      :align: center
      :class: align-center 

   Click **ADD NODE** and a screen with instructions on adding storage nodes will appear. On it, a token will be shown (you can generate a new one if needed; generating a new token invalidates the old one).

   .. image:: ../../../images/stor_image13.png
      :align: center
      :class: align-center 

Having obtained the token, do the following on the **Virtuozzo Infrastructure Platform** screen:

#. Choose **Storage**.

   .. image:: ../../../images/stor_image14.png
      :align: center
      :class: align-center

#. In the **Management node** field, specify the IP address of the node with the management panel.

#. In the **Token** field, specify the acquired token.

#. Click **Done** and proceed to :ref:`Selecting Destination Partition`.
