DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: NT Net commands on remote Server services

  1. #1
    Join Date
    May 2001
    Location
    Fairfax, virginia
    Posts
    23

    Post

    Hello Everyone -

    We are trying to perform an offline Oracle DB backup with BackupExec. I need to be able to stop and start services on a different server than the one containing the Backup Software. This requires the use of NT's "net commands", which work on the server you are executing them. I need to be able to issue the commands from a different server within a batch file to start and stop the services of the Oracle DB during the scheduled Offline backup from the BackupExec remote server.

    Telnet is not an option, as I see this as a solution to executing Net commands remotely. This does not work within a batch file!


    Any code is welcome!

    NT 4.0 SP6a
    Oracle8i
    BackupExec 8.5

  2. #2
    Join Date
    Sep 2001
    Posts
    30
    Hi Gary,

    Why don't you write the net start / stop commands in a batch file and put that bacth file on the server where you want to stop and start services. You can network map the remote drive where the start/shutdown services batch file is. Then write a second batch file on the BackupExec server which calls the start/shutdown services batch using the mapped drive.

    Thanks
    Jason

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Oracle DB Resources ( http://oracle.dbresources.com)
    < Online community for Oracle DBAs and Developers >
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width