Hello,
I am relatively new to Perl and I need help in creating a Perl script to automate a crontab job that starts and shutdowns multiple servers one server at a time. Script is to be run once a week. Below are the steps needed for the job...
- Start stopping server1 and server2 using /admin/backups/bin/components_stop
- Start stopping server3 and server4 using /admin/backups/bin/components_stop
- Start stopping server 5
- Start stopping the Database using the cluster
4a. Start to unmonitor the database
4b. Start disabling database a
4c. Start disabling database b
4d. Start disabling database c
4e. Start disabling database d
and then start up the application the other way.
The programming to actually run these tasks is already done, we just do it manually once a week. Basically need a Perl script to invoke\automate the whole job. Running in a Solaris 10 environment in crontab...Any suggestions would be very much appreciated...
Thanks