Install FlexSDS
Install FlexSDS Scale-out Software Software is very easy, after you request the FlexSDS Scale-out Storage setup package from us, the package could be .rpm for CentOS and Redhat, or .deb for Debian series systems, then you may follow the steps to install it.
Step 1. login to servers
User can log on single node via ssh or using pdsh to install multiple nodes in one time, like:
pdsh -l root -w 192.168.0.101,192.168.0.102,192.168.0.102 #manage network.
-l to specify login user name, we use root as an example.
-w to specify hosts list.
Step 2. Preparing environment
Configure firewall to allow the following ports:
FlexSDS Cluster: TCP 6260, UDP 6260 (Inbound, Outbound)
FlexSDS Manage: TCP 6261 (Inbound, Outbound)
iSCSI: TCP 3260 (Inbound, Outbound for remote mirror)
iSER: TCP and RDMA 3260 (Inbound, Outbound for remote mirror)
NVMe-oF: TCP 4420 (Inbound, Outbound for remote mirror)
or stop it in testing mode:
service firewalld stop
Install depended packages, we need some packages to be installed like libibverbs:
yum install -y librdmacm
yum install -y libibverbs
In Debian series system, run:
apt-get install -y librdmacm
apt-get install -y libibverbs
Step 3. Install flexsds software stack
rpm -ivh flexsds-3.0-1.el7.centos.x86_64.rpm
In Debian series system, run:
dpkg -i flexsds-3.0-1.el7.deb
Note, after installed FlexSDS Software, user must configure it before to use it.
Step 4. Deployment
Deploy the Scale-out storage cluster, deployment scripts:
Executable: /opt/flexsds/bin/deploy.sh
Parameters:
-m, to specify working mode, “cluster” for multiple nodes storage cluster, “self” for single mode, “cluster” for preparing a member for adding it to a cluster as well.
-h, host list, i.e. 192.168.80.101,192.168.80.102,192.168.80.102, the IP list should be in storage (not management) network.
-r, enable RDMA in crossing nodes data transfer.
-s, configuring ssh, only need once in a storage cluster setting up. If not specify this parameter, password inputting will be required in every time.
- deploy single node
/opt/flexsds/bin/deploy.sh -m self -h 192.168.80.104 -r
host is self IP address (storage network). - deploy cluster nodes (Only need to run the command on one node):
/opt/flexsds/bin/deploy.sh -m cluster -h 192.168.80.101,192.168.80.102,192.168.80.103 -r
- deploy cluster member node, the new node is 192.168.80.104 as an example, and need to specify current cluster nodes list: 192.168.80.101,192.168.80.102,192.168.80.103
/opt/flexsds/bin/deploy.sh -m cluster -h 192.168.80.101,192.168.80.102,192.168.80.103 -r
Step 5. Waiting for finish
it will take in less than 1 minute, the following message will be shown one or more times (for multiple nodes):
Installing flexsdsd...
**********************setup flexsds************************
Copying files...
Setting up service...
Starting service...
Starting flexsdsd (via systemctl): [ OK ]
***********************finished*****************************
After deployment finished, user can check its working status by:
service flexsdsd status
to check service is setting up correctly.
To check cluster nodes online status:
flexsds node list
Note, for single mode, the node list will show the only self node.
Step 6. Install WEB management platform (management node)
The WEB management platform can be install to any one of the storage cluster nodes and it can be installed into separated node which is outside of the cluster as well.
rpm -ivh flexsds-web-3.0-1.el7.centos.x86_64.rpm
In Debian series system, run:
dpkg -i flexsds-web-3.0-1.el7.deb
Step 7. Launch the WEB management platform
Launch any Internet Browser and navigate to the URL:
http://server_ip_of_web_platform/
Default credentials are:
root
flexsds