Applying a new StorNext license for HA / failover MDS configs.
The StorNext filesystems must be restarted to pickup the updated licenses, this will introduce a short service disruptions during the restart.
Do this on both MDSs:
Save and copy the license.dat fie
0) cd /usr/cvfs/config
1) Rename the existing "license.dat" to something else in case we might need it later.
2) Copy the new license file to the directory.
3) Rename the new license file to "license.dat".
On MDS1, run cvadmin to Identify which MDS is active and which is standby, then exit cvadmin. The entry with the * is the active MDS, in this example it is 1>ddn9900ssd[1] which is mds2, mds1 therefore is the standby.
# cvadmin
StorNext AdministratorEnter command(s)
For command help, enter "help" or "?".List FSS
File System Services (* indicates service is in control of FS):
1>*ddn9900ssd[1] located on mds2-120140002:50832 (pid 31918)
2> ddn9900ssd[0] located on mds1-120140002:47272 (pid 4559)snadmin> exit
On the standby MDS:
4) Run cvadmin on the standby MDS, stop the filesystem.
snadmin (ddn9900ssd) > stop 2
Stop FSS "2"FSS 'ddn9900ssd[0]' at mds1-120140002:51647 stop initiated.
FSS 'ddn9900ssd[0]' at mds1-120140002:51647 stopped.
Select FSM "none"
On the primary MDS: (this part will introduce SAN service interruption between the stop and the start)
5) Run cvadmin on the primary MDS, stop and then start the filesystem.
# cvadmin
StorNext AdministratorEnter command(s)
For command help, enter "help" or "?".List FSS
File System Services (* indicates service is in control of FS):
1>*ddn9900ssd[1] located on mds2-120140002:50832 (pid 31918)Select FSM "ddn9900ssd"
.....snadmin (ddn9900ssd) > stop 1
Stop FSS "1"FSS 'ddn9900ssd[1]' at mds2-120140002:50832 stop initiated.
FSS 'ddn9900ssd[1]' at mds2-120140002:50832 stopped.
WARNING: FSS 'ddn9900ssd' had active client mounts.
Select FSM "none"snadmin> start ddn9900ssd
Starting FSS locally.
Start FSS "ddn9900ssd"FSS 'ddn9900ssd' start initiated.
FSS 'ddn9900ssd' started.Starting FSS on HA peer 10.0.0.222.
Start FSS "ddn9900ssd"FSS 'ddn9900ssd' start initiated.
FSS 'ddn9900ssd' started.
Back on the standby MDS.
6) Run cvadmin again, start the filesystem if not already started.
0 Comments