Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> How to remotely reboot multiple systems with a script or a command?, Linux remote reboot
struct
post Feb 14 2008, 02:28 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 14-February 08
Member No.: 13,332



Hello everyone, I just picked up linux and falling in love with the OS. Most of the time when I run into a wall, I do research on net to find my solutions. However, this one I'm stumped.
I have 25+ on Network and I have ssh access to central Fedora server from outside world. Every night I have to log in to all systems - except the server - to run a reboot command. This is because systems slows down due to high memory consumptions. Just a quick memory flush smile.gif I hoping there is a way to reboot all workstations by running a script or a command.

Would you nice folks give me some pointers? A place for me to start would be very helpful.

Thank you.

- struct
Go to the top of the page
 
+Quote Post
michaelk
post Feb 14 2008, 05:37 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



The long term answer is to determine what is slowing down your computers so that rebooting is not required. What processes are you running vs memory
and swap sizes?

The simplest would be to setup a cron job on each computer to reboot at a particular time. Setting up SSH on all of the computers with a private key would allow
passwordless logins. You could then run a script to reboot each computer via a ssh command.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th December 2017 - 02:23 AM