NAS Disaster Recovery (DR) Procedure |
Carlo Ambrosio has put together procedures for NAS recovery:
From: Carlo Ambrosio
Sent: Tuesday, November 15, 2016 8:33 AM
To: DL-SN-SES; DL-Service - SW Support
Cc: Alain Renaud
Subject: NAS DR
Guys,
I just put together the steps to do a NAS DR in case the file system where the NAS cluster files were stored is lost (for example RAID issue) or the .snnas directory is accidentally deleted.
On the Node where we have the NAS VIP interface running or actual Master Node:
From bash cli:
# initctl/systemctl stop snnas_controller
# /usr/local/quantum/bin/snnas_service.py stop
# kill -9 `cat /var/run/ctdb/ctdbd.pid`
# initctl/systemctl start snnas_controller
From panshell cli:
> reg set nas.cluster.join = 0
> reg set nas.cluster.join_complete = 0
> reg set nas.cluster.master = 0
> reg set nas.cluster.snfs_root = ''
> system restart services all
Do the same on the secondary node.
At this point you can just recreate the cluster, on the master node:
>nascluster enable master IP /mount/point
>nascluster enable node IP
>nascluster join /mount/point
On the secondary node:
> nascluster join /mount/point
For the NAS-VIP there is no much we can do, as soon we break the cluster, the NAS will ignore that value, so the best is to recreate a cluster using a different file system.
The benefit of using this procedure is that we won't need to join manually to the ADS again.
I also opened a Documentation bug: http://bo.quantum.com/bugzilla/show_bug.cgi?id=65557
Feel free to add customers if necessary.
Thanks,
Carlo
I will add couple of qualifiers to this:
1. If you have to really start from scratch, meaning .snnas dir is gone and you would like to reinstall NAS, Alain
Has a procedure to “reset to factory”:
To delete NAS from scratch, follow procedures at: “Reset to Factory”
http://dxwiki.quantum.com/dxwiki/Stornext_NAS_cheat_sheet#Reset_to_Factory
2. If an ghost virtual IP exists, it will prevent you from setting a new one thru NAS shell. Youll have delete it and reboot:
ifconfig down bond1:nas
This page was generated by the BrainKeeper Enterprise Wiki, © 2018 |