Excelero Nvmesh

From Define Wiki
Revision as of 16:15, 10 April 2018 by Matt hole (talk | contribs)
Jump to navigation Jump to search

Installation of NVmesh onto Centos 7

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:
[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

yum install mongodb-org

2. Install nodejs

Install epel repo: yum install epel-release yum install nodejs

Alternative way: Add nodejs repo: curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - Install nodejs: yum install nodejs

3. Verify mongodb is running service mongod status

4. Open port 4000 and 4001 (4001 is only when using MCS - aka Management HA)-

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://user:password@repo.excelero.com/repos/NVMesh/redhat/7.3 gpgcheck=0 enabled=1

Your username / password is bostonuk/bostonuk so it has to be_ baseurl=https://bostonuk:bostonuk@repo.excelero.com/repos/NVMesh/redhat/7.3

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.