Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There is a rolling reboot option to our snmp-castor-tool.sh support script bundled in our support tools: swarm-support-tools.tgz

The snmp-castor-tool.sh script is developed on and only tested on the CSN.

...

Often times, I like to make a manual list of IPs, one IP per chassis, to run this script from. That way the script doesn't try to reboot each IP address on every chassis. The script should account for multiple IPs per chassis and NOT reboot each chassis more than once, but I like to make sure it only sends the reboot to one IP address per chassis.  A reboot to any one IP address in the chassis reboots the entire chassis. If you'd prefer to use that option, simply create a file called NODES.csv in the directory where you are running the script from and add one IP address from each chassis- one per line- and add the -n option when running the script.

Here's a demonstration.   You might prefer to run this command in a screen session in case the SSH session breaks for any reason.

...