Skip to main content

 

Druva Documentation

Create an inSync Storage Node on Linux

inSync Private Cloud Editions: File:/tick.png Elite File:/tick.png Enterprise

Before you begin

Before you create an inSync Storage Node on Linux, ensure the following:

  • You have root privileges on the computer where you want to install an inSync Storage Node.
  • The time on the inSync Storage Node and the time on the inSync Master match after considering the time zone difference. Suppose the inSync Master is in London and the inSync Storage Node is in Mumbai. The time zone difference between the two cities is +4:30 hours. So, if the time on the inSync Master is 1:00 PM, the time on the inSync Storage Node must be 5:30 PM. If the time difference is more than 120 seconds, inSync Storage Node registration fails.
  • You downloaded the inSync Storage Node installer.

Step 1 of 4: Installation procedure

For Ubuntu

To create an inSync Storage Node

  1. Open a terminal.
  2. Change the current working directory to the directory that contains the .deb package.
  3. Run the following command: 
sudo dpkg -i <package_name>

where <package_name> represents the file name (along with the extension) of the installer.

For RHEL

To create an inSync Storage Node

  1. Open a terminal.
  2. Change the current working directory to the directory that contains the .rpm package.
  3. Run the following command
rpm -ivh <package_name>

where <package_name> represents the file name (along with the extension) of the installer.

Step 2 of 4: Generate a registration key

To generate a registration key

  1. Log on to the server where the inSync Storage Node is installed.
  2. Open a terminal.
  3. Change the current working directory to the directory that contains the package.
  4. Run the following command:
    sudo insync-storagenode-config.sh -k

    The registration key appears.

  5. Click Copy the registration key.

Step 3 of 4: Register the inSync Storage Node on the inSync Master

To register the inSync Storage Node on the inSync Master

  1. Log on to the inSync Master Management Console.
  2. On the menu bar, click Manage > Storage Nodes.
  3. Click Create New Storage Node.
  4. Provide the appropriate information for each field.
    Field Action
    Storage node name Type a name for the inSync Storage Node.
    Primary IP (or) FQDN Type the IP address or FQDN of the inSync Storage Node.
    Backup & sync port

    Type the port that the inSync Storage Node uses to backup and synchronize data. The default value is 443.

    Note: Ensure that the ports are free on the server where the inSync Storage Node is installed.
    User web access port

    Type the port that the inSync Storage Node uses to access inSync Web. The default value is 443.

    Note: Ensure that the ports are free on the server where the inSync Storage Node is installed.
    Storage node registration key Provide the inSync Storage Node registration key that you copied when you generated the key.
  5. Click Next.
  6. If you are using an inSync Edge Server, type the details for the server. For more information, see Set up inSync Edge Servers.
  7. Click Create Storage Node.

Step 4 of 4: (Best practice) Optimize memory management

To ensure optimum memory management of your Linux systems, perform the following steps before you create a storage on the Linux inSync Storage Node:

  1. Log on to the inSync Storage Node as a superuser.
  2. Open a terminal.
  3. Run the following commands:
    sysctl -w vm.drop_caches=2
    sysctl -w vm.vfs_cache_pressure=200
    sysctl -w vm.zone_reclaim_mode=6 
  4. Open the /etc/sysctl.conf file in a text editor and add the following lines:
    vm.drop_caches=2
    vm.vfs_cache_pressure=200 ​
    vm.zone_reclaim_mode=6
  5. Save the file.