Difference between revisions of "Excelero Nvmesh"

From Define Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
== Prerequ
 +
 
== Installation of NVmesh onto Centos 7 ==
 
== Installation of NVmesh onto Centos 7 ==
  
Line 13: Line 15:
 
enabled=1
 
enabled=1
 
</pre>
 
</pre>
 +
<pre style="color: silver; background: black;">
 
yum install mongodb-org
 
yum install mongodb-org
+
</pre>
 
2. Install nodejs
 
2. Install nodejs
 
   
 
   
 
Install epel repo:
 
Install epel repo:
 +
<pre style="color: silver; background: black;">
 
yum install epel-release
 
yum install epel-release
 
yum install nodejs
 
yum install nodejs
+
</pre>
 
Alternative way:
 
Alternative way:
 
Add nodejs repo:
 
Add nodejs repo:
 +
<pre style="color: silver; background: black;">
 
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
 
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
 +
</pre>
 
Install nodejs:
 
Install nodejs:
yum install nodejs
+
<pre style="color: silver; background: black;">
+
yum install nodejs -y
 +
</pre>
 
3. Verify mongodb is running
 
3. Verify mongodb is running
 
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 when using MCS - aka Management HA)-
   
+
  <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?
 
5. Install NVMesh from the repo below -
 
5. Install NVMesh from the repo below -
+
<pre style="color: silver; background: black;">
 
[NVMesh]  
 
[NVMesh]  
 
name=NVMesh repository  
 
name=NVMesh repository  
baseurl=https://user:password@repo.excelero.com/repos/NVMesh/redhat/7.3
+
baseurl=https://bostonuk:bostonuk@repo.excelero.com/repos/NVMesh/redhat/7.3
 
gpgcheck=0  
 
gpgcheck=0  
 
enabled=1
 
enabled=1
   
+
  </pre>
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.
 
6. Restart nvmeshmgr service.
 
   
 
   

Revision as of 16:19, 10 April 2018

== Prerequ

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 -y

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
</pre?
5. Install NVMesh from the repo below -
<pre style="color: silver; background: black;">
[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.