Sunday, April 13, 2008

NAS Failover

Case: active/standby setup

In case of problems to the primary datamover the auto fail back is activated, to failback the datamover
Check the current status of the datamover

[nasadmin@fluxnasmgt1 toftp]$ nas_server -l
id type acl slot groupID state name
1 4 1000 2 2 server_2.faulted.server_3
2 1 1000 3 0 server_2

[nasadmin@fluxnasmgt1 toftp]$ /nas/sbin/getreason
10 - slot_0 primary control station
5 - slot_2 contacted
5 - slot_3 contacted

Execute the below command to make server2 active

[nasadmin@fluxnasmgt1 toftp]$ server_standby server_2 -r mover

Check the layout of the servers, it should appear as below

[nasadmin@fluxnasmgt1 toftp]$ nas_server -l
id type acl slot groupID state name
1 1 1000 2 0 server_2
2 4 1000 3 0 server_3

0 comments: