- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Running a script from single node
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 01:06 AM
тАО03-31-2009 01:06 AM
Running a script from single node
i have a monitoring script which am kept in server1 (hpux 11.23) ,i want to run the script in all 50 Servers(all are hpux servers) FROM SERVER1 .how to impliment it ? pls guide me
rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 01:30 AM
тАО03-31-2009 01:30 AM
Re: Running a script from single node
I would suggest granting one system password free access so it can run scripts.
http://www.hpux.ws/?p=10
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 01:36 AM
тАО03-31-2009 01:36 AM
Re: Running a script from single node
Configure without passwd into all the 50 server the scp your script into a perticular location for ex. /tmp/myscript
then take all 50 servers name into a file then run this script
for i in `cat myfile`
do
ssh $i sh /tmp/myscript
done
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 01:45 AM
тАО03-31-2009 01:45 AM
Re: Running a script from single node
http://docs.hp.com/en/T2786-90291/ch04s01.html?btnNext=next%A0%BB
As long as you have ssh on the target systems, I'm pretty sure pdsh will work fine.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 06:03 AM
тАО03-31-2009 06:03 AM
Re: Running a script from single node
Not so much the login process, but getting the remote process to read/execute a script that isn't locale????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 05:58 PM
тАО03-31-2009 05:58 PM
Re: Running a script from single node
one of the people mentioned DSAU. Version 1.00.19 (the latest verison on 0903) media kit works fine. Earlier versions did not always work correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 03:13 AM
тАО04-02-2009 03:13 AM
Re: Running a script from single node
my requiremnet is ,i have a simple bdf checking script and i have placed it in /tmp/check_bdf .i want to run manually that script in all 50 HPUX Server from a single server .i dont want to manually log in to 50 servers and run the scripts...pls help me
All our users are connecting to this 50 servers using ssh with password.
rgds
trng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 04:13 AM
тАО04-02-2009 04:13 AM
Re: Running a script from single node
List hpux server 'myfile'
for i in `cat myfile`
do
scp -p /tmp/myscript $i:/tmp
ssh $i sh /tmp/myscript
done
rgs