Create an inSync Storage Node on Linux


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
- Open a terminal.
- Change the current working directory to the directory that contains the .deb package.
- 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
- Open a terminal.
- Change the current working directory to the directory that contains the .rpm package.
- 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
- Log on to the server where the inSync Storage Node is installed.
- Open a terminal.
- Change the current working directory to the directory that contains the package.
- Run the following command:
sudo insync-storagenode-config.sh -k
The registration key appears.
- 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
- Log on to the inSync Master Management Console.
- On the menu bar, click Manage > Storage Nodes.
- Click Create New Storage Node.
- 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. - Click Next.
- If you are using an inSync Edge Server, type the details for the server. For more information, see Set up inSync Edge Servers.
- 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:
- Log on to the inSync Storage Node as a superuser.
- Open a terminal.
- Run the following commands:
sysctl -w vm.drop_caches=2 sysctl -w vm.vfs_cache_pressure=200 sysctl -w vm.zone_reclaim_mode=6
- 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
- Save the file.