Posted: 01 November 2010 at 1:14pm | IP Logged
|
|
|
Hi All,
FYI, I noticed that the autoupdate feature of SRCDS didnt seem to be working, so I have written a script to take down all of our servers, one at a time, update them and restart them. It takes about 30secs per server and the scheduled downtime will be around 6am every morning.
Any questions/issues let me know.
Sample output of script:
Restart and Update Log Started: 01/11/2010 12:59:17.48 ################################## HLDS SERVERS ##################################
The FireDaemon Service: HLDSRATS1 service was stopped successfully. 01/11/2010 12:59:17.64 Updating hldsrats1 (HLDS1)... The FireDaemon Service: HLDSRATS1 service is starting. The FireDaemon Service: HLDSRATS1 service was started successfully.
The FireDaemon Service: HLDSCUSTOMS1 service was stopped successfully. 01/11/2010 12:59:28.06 Updating hldscustoms1 (HLDS2)... The FireDaemon Service: HLDSCUSTOMS1 service is starting. The FireDaemon Service: HLDSCUSTOMS1 service was started successfully.
The FireDaemon Service: HLDSJUMP1 service was stopped successfully. 01/11/2010 12:59:38.60 Updating hldsjump1 (HLDS3)... The FireDaemon Service: HLDSJUMP1 service is starting. The FireDaemon Service: HLDSJUMP1 service was started successfully.
The FireDaemon Service: HLDSGUNGAME1 service was stopped successfully. 01/11/2010 13:00:11.37 Updating hldsgungame1 (HLDS4)... The FireDaemon Service: HLDSGUNGAME1 service is starting. The FireDaemon Service: HLDSGUNGAME1 service was started successfully.
################################## SRCDS SERVERS ##################################
The FireDaemon Service: SRCDSCSS27019 service was stopped successfully. 01/11/2010 13:01:01.82 Updating SRCDSCSS27019 (SRCDS6)... The FireDaemon Service: SRCDSCSS27019 service is starting. The FireDaemon Service: SRCDSCSS27019 service was started successfully.
The FireDaemon Service: SRCDSCSS27050 service was stopped successfully. 01/11/2010 13:01:20.71 Updating SRCDSCSS27050 (SRCDS7)... The FireDaemon Service: SRCDSCSS27050 service is starting. The FireDaemon Service: SRCDSCSS27050 service was started successfully.
The FireDaemon Service: SRCDSCSS27055 service was stopped successfully. 01/11/2010 13:01:40.60 Updating SRCDSCSS27055 (SRCDS8)... The FireDaemon Service: SRCDSCSS27055 service is starting. The FireDaemon Service: SRCDSCSS27055 service was started successfully.
The FireDaemon Service: SRCDSDOD27017 service was stopped successfully. 01/11/2010 13:02:00.39 Updating SRCDSDOD1 (SRCDS1)... The FireDaemon Service: SRCDSDOD27017 service is starting. The FireDaemon Service: SRCDSDOD27017 service was started successfully.
The FireDaemon Service: SRCDSTF2-27030 service was stopped successfully. 01/11/2010 13:02:17.00 Updating SRCDSTF2 (SRCDS3)... The FireDaemon Service: SRCDSTF2-27030 service is starting. The FireDaemon Service: SRCDSTF2-27030 service was started successfully.
Finished: 01/11/2010 13:02:38.48
__________________ There is no IRL, there's just AFK.
|