Chapter 7. Highly Available controller pairs
93
In the example, the N series
itsonas1
rebooted when you ran the
cf takeover
command.
When one N series storage system node is in takeover mode, the partner N series node does
not reboot until the
cf giveback
command is run.
Starting giveback by using the CLI
While in takeover mode, the N series administrator can move the console context to the
controller that was taken over. This move is accomplished by using the
partner
command.
Example 7-12 shows how you can run commands from the N series node that is taken over.
Run the
partner
command followed by the command that you need to run. Another
partner
command brings the operator back to the takeover N series node. The prompt changes to
reflect which N series node has the console.
Example 7-12 Moving context to the controller that is being taken over
itsonas1(takeover)> partner
Login to partner shell: itsonas2
itsonas2/itsonas1> Tue Apr 12 03:14:02 GMT-7 [itsonas1 (takeover):
cf.partner.login:notice]: Login to partner shell: itsonas2
itsonas2/itsonas1> vol status
Volume State Status Options
vol0 online raid_dp, flex root
Flexvolume_copy online raid_dp, flex create_ucode=on,
sis convert_ucode=on
dedupe online raid_dp, flex create_ucode=on,
sis convert_ucode=on
testdata online raid_dp, flex create_ucode=on,
convert_ucode=on
itsonas2/itsonas1> aggr status
Aggr State Status Options
aggr0 online raid_dp, aggr root
itsonas2/itsonas1> partner
Logoff from partner shell: itsonas2
itsonas1(takeover)>
To give back resources, run the
cf giveback
command, as shown in Example 7-13.
Example 7-13 cf giveback
itsonas1(takeover)> cf status
itsonas1 has taken over itsonas2.
itsonas2 is ready for giveback.
Takeover due to negotiated failover, reason: operator initiated cf takeover
itsonas1(takeover)> cf giveback
itsonas1(takeover)> Tue Apr 12 03:17:11 GMT-7 [itsonas1 (takeover): kern.cli.cmd:debug]:
Command line input: the command is 'cf'. The full command line is 'cf giveback'.
Tue Apr 12 03:17:11 GMT-7 [itsonas1 (takeover): cf.misc.operatorGiveback:info]: Cluster
monitor: giveback initiated by operator
Tue Apr 12 03:17:11 GMT-7 [itsonas1: cf.fm.givebackStarted:warning]: Cluster monitor:
giveback started
CIFS partner server is shutting down...
CIFS partner server has shut down...
Summary of Contents for N Series
Page 2: ......
Page 12: ...x IBM System Storage N series Hardware Guide ...
Page 18: ...xvi IBM System Storage N series Hardware Guide ...
Page 20: ...xviii IBM System Storage N series Hardware Guide ...
Page 22: ...2 IBM System Storage N series Hardware Guide ...
Page 32: ...12 IBM System Storage N series Hardware Guide ...
Page 52: ...32 IBM System Storage N series Hardware Guide ...
Page 64: ...44 IBM System Storage N series Hardware Guide ...
Page 90: ...70 IBM System Storage N series Hardware Guide ...
Page 122: ...102 IBM System Storage N series Hardware Guide ...
Page 194: ...174 IBM System Storage N series Hardware Guide ...
Page 200: ...180 IBM System Storage N series Hardware Guide ...
Page 224: ...204 IBM System Storage N series Hardware Guide ...
Page 244: ...224 IBM System Storage N series Hardware Guide ...
Page 292: ...272 IBM System Storage N series Hardware Guide ...
Page 298: ...278 IBM System Storage N series Hardware Guide ...
Page 300: ...280 IBM System Storage N series Hardware Guide ...
Page 314: ...294 IBM System Storage N series Hardware Guide ...
Page 326: ...306 IBM System Storage N series Hardware Guide ...
Page 327: ... Copyright IBM Corp 2012 2014 All rights reserved 307 Part 5 Appendixes Part 5 ...
Page 328: ...308 IBM System Storage N series Hardware Guide ...
Page 362: ...342 IBM System Storage N series Hardware Guide ...
Page 366: ...IBM System Storage N series Hardware Guide IBM System Storage N series Hardware Guide ...
Page 367: ......