Difference between revisions of "Excelero Nvmesh"

From Define Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== Installation of NVmesh onto Centos 7 ==
 
== Installation of NVmesh onto Centos 7 ==
 +
 +
Tried and tested
  
 
Chose which node on you`re chosen infrastructure to install the NVmesh management GUI.
 
Chose which node on you`re chosen infrastructure to install the NVmesh management GUI.
Line 7: Line 9:
 
To install the web based administration GUI you need to install Mongo DB and nodejs 6.* or 8.*  
 
To install the web based administration GUI you need to install Mongo DB and nodejs 6.* or 8.*  
  
Here is a example repo entry:
+
Here is a example repo entry for mongodb:
 +
 
 
<pre style="color: silver; background: black;">
 
<pre style="color: silver; background: black;">
 
[mongodb-org-3.4]
 
[mongodb-org-3.4]
Line 15: Line 18:
 
enabled=1
 
enabled=1
 
</pre>
 
</pre>
 +
 +
To install Mongodb:
 +
 
<pre style="color: silver; background: black;">
 
<pre style="color: silver; background: black;">
yum install mongodb-org
+
yum install mongodb-org -y
 
</pre>
 
</pre>
2. Install nodejs
 
 
   
 
   
Install epel repo:
+
Install epel repo and nodejs:
 
<pre style="color: silver; background: black;">
 
<pre style="color: silver; background: black;">
 
yum install epel-release
 
yum install epel-release
 
yum install nodejs
 
yum install nodejs
</pre>  
+
</pre>
 +
 
 +
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:
 
Alternative way:
 
Add nodejs repo:
 
Add nodejs repo:
Line 37: Line 44:
 
service mongod status
 
service mongod status
 
   
 
   
4. Open port 4000 and 4001 (4001 is only when using MCS - aka Management HA)-
+
4. Open port 4000 and 4001. 4001 is only required when having more than one Management server.
  <pre style="color: silver; background: black;">
+
   
 +
<pre style="color: silver; background: black;">
 
sudo iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 4000 -j ACCEPT -m comment --comment Excelero-Management
 
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
 
sudo firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p -tcp --dport 4000 -j ACCEPT -m comment --comment Excelero-Management
</pre?
+
</pre>
 +
 
 
5. Install NVMesh from the repo below -
 
5. Install NVMesh from the repo below -
 
<pre style="color: silver; background: black;">
 
<pre style="color: silver; background: black;">

Revision as of 16:30, 10 April 2018

== Prerequ

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.