I'm working on getting a nightly deployment of our software up on a test
server.  Part of the install requires rebooting the deployment server,
so I need a good way of detecting that the deployment server is alive
and kicking.

The process is going to be
 - map drive to remote computer
 - run uninstall of previous build
 - copy fresh build
 - reboot remote
 - wait till remote back online
 - remotely execute installer
 - reboot remote
 - wait till remote back online
 - test server is functional
 - continue on with other tasks

The mapping is easy and handled.  
The remote execution I think I'll use psexec from pstools for or a vbs
script calling WMI
Copying is simple
Rebooting remotely I'll use pstools or vbs calling WMI

Where I'm looking for guidance is how to detect the remote server has
finished it's reboot and test the remote server is up.

Servicecontroller might have been a possibility if it had a status
actiontype, but it only has actiontypes that change the server.

I was thinking if there was a exec I could perform in a loop, and
checking the output with conditionals to see the program had the results
I wanted or not.. but I'm not sure if I can process the output of a exec
command inside nant?

Suggestions on a route to take?

I know I can do this type of conditional checking in another scripting
language, but I hate adding more and more dependancies into the
environment.  If I could do this within nant alone with windows supplied
programs that's the best case.

-Steve


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to