Excelero Nvmesh
Prerequisites
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.