The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shutdown script kingsto88 HP-UX 0 03-20-2007 08:43 PM
A script for shutdown kelu UNIX for Dummies Questions & Answers 12 08-23-2006 10:09 PM
Getting one script to run on multiple boxes bschnair UNIX for Dummies Questions & Answers 11 03-20-2006 11:25 AM
Shutdown script alpha_manic UNIX for Advanced & Expert Users 10 09-14-2005 05:14 PM
text boxes, radio buttons , check boxes in c++ on unix devy8 High Level Programming 3 07-07-2001 06:58 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-06-2006
blackfam972 blackfam972 is offline
Registered User
  
 

Join Date: May 2006
Posts: 2
I need a Script to rsh multiple hp boxes and shutdown

Hello I'm serving on a ship that has frequent power issues. Currently if we loose power we need to rush around to multiple UNIX machines and login to Sysadmin and power down each machine before we loose our ups. If sysadmin is asleep or not in the space we have some real problems. I would like to see script that remotes logs into each machine issuing the shutdown command. This way i could log into only one sysadmin on a machine and then automatically shutdown the rest. Any help will be appreciated.
  #2 (permalink)  
Old 05-08-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Here is a script that logs into different boxes to change the password:
changepass automate password changes on multiple systems

Most UPS systems have a monitor port which can be read with a serial connection. The system can monitor this and shut itself down when there is a power problem. Do you have any indicator which you can monitor? That might be a better approach.
  #3 (permalink)  
Old 05-09-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Because you specificly mention HP boxes, you may have another solution. HP has a package called Service Control Manager. It comes with HP-UX 11i. I understand that clients are available for 11.0 and 10.20 as well. I think it can do what you want; however, I have never used it.

Servicecontrol Manager User's Guide
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0