D
Danny Parker
As part of a weekly cold backup process I am trying to stop various
services, run the backup then restart the services.
Backupexec 9.0 is being used and I'm using the pre and post backup script
option to execute two cmd scripts. These scripts need to stop 5 services
spread over 2 different servers. 2 on the backupexec server (which is easy,
I just use net stop & net start), the other three are on a second server so
I need to issue a remote service stop and start somehow. Both Servers are
running Windows Server 2003, are members of a domain & the backup account
has full admin rights to them.
Once upon a time I would have used netsvc or rcmd from the NT4 resource kit
to do this, but these no longer exist in the 2000/2003 resource kits
(correct me if i'm wrong but I can't find them!), it also seems 'net stop'
only works for the local host.
I'm sure there is a real simple answer to this, just can't work it out! Any
suggestions without having to buy a 3rd party product?
In case you wondered the services are - SQL2000 & PeopleSoft EO9 (on local
server) & IBM HTTP Server (2) & IBM WebSphere on the remote server.
Cheers!
Danny
(e-mail address removed)
remove zzz's to reply
services, run the backup then restart the services.
Backupexec 9.0 is being used and I'm using the pre and post backup script
option to execute two cmd scripts. These scripts need to stop 5 services
spread over 2 different servers. 2 on the backupexec server (which is easy,
I just use net stop & net start), the other three are on a second server so
I need to issue a remote service stop and start somehow. Both Servers are
running Windows Server 2003, are members of a domain & the backup account
has full admin rights to them.
Once upon a time I would have used netsvc or rcmd from the NT4 resource kit
to do this, but these no longer exist in the 2000/2003 resource kits
(correct me if i'm wrong but I can't find them!), it also seems 'net stop'
only works for the local host.
I'm sure there is a real simple answer to this, just can't work it out! Any
suggestions without having to buy a 3rd party product?
In case you wondered the services are - SQL2000 & PeopleSoft EO9 (on local
server) & IBM HTTP Server (2) & IBM WebSphere on the remote server.
Cheers!
Danny
(e-mail address removed)
remove zzz's to reply