Excelero Nvmesh

From Define Wiki
Revision as of 08:14, 11 April 2018 by Matt hole (talk | contribs)
Jump to navigation Jump to search

Prerequisites

Excelero requires certain OS and kernel versions to be supported. As of 11/04/2018.

Centos

• c7.4m

• MLNX_OFED_LINUX-4.2-1.0.0.0-rhel7.4-x86_64.tgz

• 0 : "3.10.0-693.5.2.el7.x86_64"

• 1 : "3.10.0-693.11.1.el7.x86_64"

• MLNX_OFED_LINUX-4.1-1.0.2.0-rhel7.4-x86_64.tgz

• 0 : "3.10.0-693.5.2.el7.x86_64"

• 1 : "3.10.0-693.el7.x86_64"

• none

• 0 : "3.10.0-693.11.1.el7.x86_64"

• 1 : "3.10.0-693.5.2.el7.x86_64"

Ubuntu

Version: Ubuntu 16.04.3

Kernels supported: 4.4.0-103-generic, 4.4.0-108-generic and 4.4.0-116-generic.

Installation of NVmesh onto Centos 7

Tried and tested

Chose which node on you`re chosen infrastructure to install the NVmesh management GUI.

To install the web based administration GUI you need to install Mongo DB and nodejs 6.* or 8.*

Here is a example repo entry for mongodb:

[mongodb-org-3.4]
name=MongoDB Repository
baseurl=http://repo.mongodb.org/yum/redhat/7/mongodb-org/3.4/x86_64/
gpgcheck=0
enabled=1

To install Mongodb:

yum install mongodb-org -y

Install epel repo and nodejs:

yum install epel-release
yum install nodejs

However when we tried to install this, we found that the epel-release of nodejs would install correctly but nvmesh management would break and proceed to never start. Using the alternative way gets around this, its not a error per say but the nvmeshmanagement service will just never start with nodejs from epel. Alternative way: Add nodejs repo:

curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -

Install nodejs:

yum install nodejs -y

3. Verify mongodb is running service mongod status

4. Open port 4000 and 4001. 4001 is only required when having more than one Management server.

sudo iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 4000 -j ACCEPT -m comment --comment Excelero-Management
sudo firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p -tcp --dport 4000 -j ACCEPT -m comment --comment Excelero-Management

5. Install NVMesh from the repo below -

[NVMesh] 
name=NVMesh repository 
baseurl=https://bostonuk:bostonuk@repo.excelero.com/repos/NVMesh/redhat/7.3
gpgcheck=0 
enabled=1
 

6. Restart nvmeshmgr service.

7. Install NVMesh client and target RPMs (note: the Client RPMs contains the common module so get prompted to install this dependency even if you dont want to run the Client service. We will change this in a later release. It is just “cosmetic” the time being).

Lastly, run nvmesh_format.py to format the disks you plan to use.