Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Launch process on remote computer

Status
Not open for further replies.

raklet

MIS
Aug 19, 2003
370
US
I am trying to automate the setup of Tivoli Storage Manager Backup client on 50+ servers.

Manually, there are several steps needed to accomplish this.

First, Tivoli Services have to be stopped in the services manager.

Second, you have to run setup and answer a bunch of questions.

Third, you have to restart the Tivoli Services.

Being the lazy and impatient person I am, I want to script this with perl so it will be done automatically.

I am using Win32::Service to stop and start the Tivoli services. This is not a problem.


Running the setup has been more difficult for me. I got the instructions from Tivoli on how to run an unattended silent install of the application; however, I cannot find a module that will launch that process on a remote computer. I have looked at Win32::Spawn, Win32::process, and Win32::AdminMisc, but none of them support creating processes on remote machines. It only works for the machine the perl script is actually running on.

I have tried calling both psexec.exe and runas.exe from the script, but neither one function properly.

Anybody know of a pure perl/perl module solution that will allow me to accomplish this task?
 
Executing setup remotely sounds more like a windows issue than a perl issue. For it to work, something on the remote computer would have to be waiting to repond and be able to execute it (unlikely that a perl solution is already running there, waiting to be tapped).

There are services available for things like remote desktop, I want to say that admin services for starting a remote process are available too (kind of like RPC, but I really don't know, never used them).

I'd say wait for the regulars to come back monday and see if any have suggestions, but otherwise you might want to query one of the windows forums for a service that might do it that you could utilize.

----------------------------------------------------------------------------------
...but I'm just a C man trying to see the light
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top