4.4. Specifying Components to Install

Finally, you need to specify which Acronis Storage components you need to install on the node:

  • management panel with or without storage,
  • storage.

You can install the components in two ways:

  • (Recommended) Do not specify the tokens for storage and superadmin password for the management panel in the kickstart file. In this case, you will need to manually run additional scripts after the installation.
  • Specify the tokens and superadmin password in the kickstart file. In this case, you will not need to manually run additional scripts after the installation.

4.4.1. Installing Management Panel with or without Storage

To install both the management panel and storage components on the node without exposing the superadmin password and storage token in the kickstart file, do the following:

  1. Add the %addon com_vstorage script to the end of the kickstart file:

    %addon com_vstorage --management --storage --bare
    %end
    

    If you do not want to install the storage component on the same node, omit the --storage option.

  2. Once the installation is complete, execute the following command on the node to configure the management panel component:

    echo <superadmin_password> | /usr/libexec/vstorage-ui-backend/bin/configure-backend.sh \
    -x <public_iface> -i <private_iface>
    

    where

    • <superadmin_password> is the password of the superadmin account of management panel,
    • <public_iface> is the name of the public network interface,
    • <private_iface> is the name of the private network interface.
  3. Start the management panel service:

    # systemctl start vstorage-ui-backend
    
  4. If you also installed the storage component on the node, execute the following command:

    # /usr/libexec/vstorage-ui-agent/bin/register-storage-node.sh -m <management_IP_address>
    

To install the components without running scripts afterwards, specify the interfaces for the public (external) and private (internal) networks and the password for the superadmin account of the management panel in the end of the kickstart file. For example:

%addon com_vstorage --internal-iface=<private_iface> --external-iface=<public_iface> \
--password=<password> --management --storage
%end

If you do not want to install the storage component on the same node, omit the --storage option.

4.4.2. Installing Storage Component Only

The storage component alone, without the management panel, is installed by default and does not require any scripts in the kickstart file unless you want to specify the token.

If you do not want to expose the token in the kickstart file, run the following command on the node after the installation to register the node in the management panel:

# /usr/libexec/vstorage-ui-agent/bin/register-storage-node.sh -m <MN_IP_address> -t <token>

where

  • <token> is the token that can be obtained in the management panel,
  • <MN_IP_address> is the IP address of the private network interface on the node with the management panel.

To install the storage component without running scripts afterwards, specify the token and the IP address of the node with the management panel in the kickstart file. For example:

%addon com_vstorage --storage --token=<token> --mgmt-node-addr=<MN_IP_address>
%end