Rebooting a Node
If a node needs to be rebooted it can often be done from the command line without having to call the ISP to ask for a tech to physically turn the machine off and back on.
Steps to Reboot a Node
- Use the SecureCRT program to connect to the node that needs to be rebooted.
- After connecting to the node you will be presented with a command prompt similar to the one below:
Become the root user by entering the following command at the command prompt:
[vwpoint@cablegnw vwpoint]$ su -
- The system will prompt for the root password:
[vwpoint@cablegnw vwpoint]$ su - Password:
After entering the correct root password for the node you will be presented with the root command prompt (Notice that the command prompt has changed to a hash mark):
- To reboot the node, copy and paste the following command at the root command prompt and press Enter:
shutdown -r now
- After running the above command the system will notify you that it is going down for a reboot and will proceed to shut down and restart. Below is an example of what it looks like to run the shutdown command:
[root@cablegnw root]# shutdown -r now Broadcast message from root (pts/0) (Mon Nov 16 12:35:22 2009): The system is going down for reboot NOW! [root@cablegnw root]#Note: Once you receive the above message it can sometimes take several minutes for the reboot to complete, but it is OK to go ahead and close the SecureCRT window that you were using.
Follow up to node reboot: After the node reboots, the GNW processes will automatically restart within the next 10 minutes.
To check how long the node has been running since the reboot you can log back on to the node using SecureCRT and run the uptime command:
[vwpoint@cablegnw vwpoint]$ uptime 12:40pm up 3 min, 1 user, load average: 0.05, 0.12, 0.05 [vwpoint@cablegnw vwpoint]$
- The output from this command tells us that the node has been up for 3 minutes.
To close the connection to the node type exit at the command prompt and then close the SecureCRT window.
[vwpoint@cablegnw vwpoint]$ exit