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:
rocess, 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?
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:
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?