4.4. Specifying Acronis Storage 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_interface> -i <private_interface>
    

    where

    • <superadmin_password> is the password of the superadmin account of management panel,
    • <public_interface> is the name of the public network interface,
    • <private_interface> 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 public (external) and private (internal) network interfaces and the password for the superadmin account of the management panel in the end of the kickstart file. For example:

%addon com_vstorage --external-iface=<public_interface> --internal-iface=<private_interface> --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=<IP_address>
%end