Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2010-01-04 Thread Tony Paloma
Ya, the only time I've had problems updating while the servers are running
is when one changes map during or after update.

You can only update while the server is running on Linux. Windows won't
allow binaries currently loaded to be deleted but Linux will.

-Original Message-
From: hlds_linux-boun...@list.valvesoftware.com
[mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Nephyrin Zey
Sent: Monday, January 04, 2010 1:18 PM
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] Auto-Update Inquiry/Suggestion

This method would work fine, but if you share the files accross installs 
you need to be careful of the permissions involved. Another option would 
just be using rsync, if the diskspace is not an issue. If you're setting 
up something really complex, using a unionfs might also be good.

I suspect most GSPs do something to this effect. With one install, 
however, i've never crashed a server by updating it while its still 
running. A few specific scenarios definitely could, but 99% of the time 
it goes through fine, and even if it doesn't, the reboot just occurs a 
few moments early :-P. You could even send a command to each server to 
disable map changes to further reduce the odds of anything breaking 
while updating it in place.

- Neph

On 01/04/2010 09:49 AM, Kaspars wrote:
> es creating a base installation of the server files and then
> hard linking them to other folder with command cp -f -p -r -l
/path/to/base
> /path/to/real/server. Then it is possible to update base server files
using
> the srcupdatecheck (from neph)&  steam binary. Steam binary will unlink
> them, leaving real server wi


___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2010-01-04 Thread Nephyrin Zey
This method would work fine, but if you share the files accross installs 
you need to be careful of the permissions involved. Another option would 
just be using rsync, if the diskspace is not an issue. If you're setting 
up something really complex, using a unionfs might also be good.

I suspect most GSPs do something to this effect. With one install, 
however, i've never crashed a server by updating it while its still 
running. A few specific scenarios definitely could, but 99% of the time 
it goes through fine, and even if it doesn't, the reboot just occurs a 
few moments early :-P. You could even send a command to each server to 
disable map changes to further reduce the odds of anything breaking 
while updating it in place.

- Neph

On 01/04/2010 09:49 AM, Kaspars wrote:
> es creating a base installation of the server files and then
> hard linking them to other folder with command cp -f -p -r -l /path/to/base
> /path/to/real/server. Then it is possible to update base server files using
> the srcupdatecheck (from neph)&  steam binary. Steam binary will unlink
> them, leaving real server wi


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2010-01-04 Thread Kaspars
This topic might be a bit old, however I have a suggestion for a realtime
update of server without switching it off or crashing it while updating. The
method involves creating a base installation of the server files and then
hard linking them to other folder with command cp -f -p -r -l /path/to/base
/path/to/real/server. Then it is possible to update base server files using
the srcupdatecheck (from neph) & steam binary. Steam binary will unlink
them, leaving real server with old files and the base folder with new files.
After the update is complete the server must be turned off and the cp -f -p
-r -l... should be executed again which will link the new files overwriting
old ones. Just tried this manually, works pretty well.

2009/12/19 Nathan D. 

> When the L4D 2 update was released tonight, I changed maps but this did
> not update the server. I then immediately exited the server and when it
> restarted, it was up to date. So apparently, even if a map change does
> sometimes update the server, it's definitely not the quickest and most
> assuring method.
>
> So, we still need some sort of script, or preferably an update to
> "-autoupdate" that will:
>
> 1.) Detect when an update is available
> 2.) Wait for the server to become empty OR wait X amount of time before
> exiting - whichever comes first.
> 3.) Exit the server so that it can update and restart.
>
> This would obviously keep a large amount of dedicated servers more
> up-to-date and available to play on.
>
> Cordially,
>
> -Nate
> >
> >
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-18 Thread Nathan D.
When the L4D 2 update was released tonight, I changed maps but this did 
not update the server. I then immediately exited the server and when it 
restarted, it was up to date. So apparently, even if a map change does 
sometimes update the server, it's definitely not the quickest and most 
assuring method.

So, we still need some sort of script, or preferably an update to 
"-autoupdate" that will:

1.) Detect when an update is available
2.) Wait for the server to become empty OR wait X amount of time before 
exiting - whichever comes first.
3.) Exit the server so that it can update and restart.

This would obviously keep a large amount of dedicated servers more 
up-to-date and available to play on.

Cordially,

-Nate
>
>   

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-16 Thread Ronny Schedel
There is another way without stressing the master servers:

- run the server with screen
- each 5 minutes, capture the text from the screen to a text file (it's an
option of screen)
- parse the text file for the update message, if message present, restart
the screen

As you said, the master servers are already heavily overloaded, that's why
Valve brought up 15 master servers for srcds games. It's not a good idea to
stress it even more.



>I know of maybe 6 people that use this script, so I dont think its an
> issue. Besides, if you're using an update daemon, it reregisters itself
> every few seconds, so deregistering has no useful effect. The script has
> to use a 3-in-a-row approach the responses are so unreliable from the
> master server anyway - half the time the deregister packet would never
> arrive.
>
> A slightly better way is to increase a srcds instance's heartbeat
> frequency to every few minutes, then hooking the out of date
> notification there. Still much slower and requires a plugin, but doesn't
> load the master server as much. If valve just put up a simple txt file
> that held the lastest repo information (and was updated live from the
> content servers so it wasn't made useless by delay) it would make
> everyone's life a little easier.
>
> - Neph
>
> On 12/15/2009 12:34 AM, Ronny Schedel wrote:
>> You should send also a quit command to the master server in your
>> srcupdatecheck, otherwise thousands of non existent servers are 
>> registered
>> to the master server if alot of people will use this script.
>>
>>
>>
>>> The latest version of nemrun:
>>> http://nephyrin.net/tools/nemrun/
>>>
>>> Supports starting an 'update daemon' that watches for updates and sends
>>> reboot commands to servers. My servers usually are updated within
>>> minutes of an update (and they beat the rush to the content servers, so
>>> the DL doesn't take ages). I know its not exactly what you're looking
>>> for, but its another option. You can modify the reboot command it sends
>>> to servers, so you could write a plugin that provides, say, a
>>> "sm_updateavailable" command that nemrun's daemon could send, allowing
>>> the plugin to then decide what to do.
>>>
>>> There's also a way a SM could hook the 'out of date' notification, but i
>>> dont know if anyone has done it in a publicly available extension. This
>>> could be used in conjunction with higher heartbeat frequency to let
>>> servers become aware of updates much more quickly, and decide what to 
>>> do.
>>>
>>> - Neph
>>>
>>> On 12/13/2009 01:44 AM, Nathan D. wrote:
>>>
 Currently, when auto-update is turned on and updates to a game are
 released, we have to manually restart our server(s) so that auto-update
 will update the server during start up. Because we have to manually
 restart, there is X amount of time before our server(s) are updated and
 are usually empty since most of the clients have already updated.

 A suggestion of mine would be to make auto-update 1.) aware when 
 updates
 are released and 2.) know when the server has players in it or not.
 Therefore, when auto-update knows there is an update available and
 realizes the server is empty, it could automatically issue the "exit"
 command to restart the server so that auto-update will run.

 In the meantime while Valve considers my suggestion, does anyone know
 some sort of practical way to have the server restart itself when an
 update is available? For someone who runs many servers, it is a slight
 hassle to restart each server manually so that auto-update can run.

 My apologies if something relative to this has already been discussed; 
 I
 just re-joined the mailing list after many years of being unsubscribed.

 -Nate

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux


>>>
>>> ___
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>
>>>
>>
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-15 Thread Nephyrin Zey
I know of maybe 6 people that use this script, so I dont think its an 
issue. Besides, if you're using an update daemon, it reregisters itself 
every few seconds, so deregistering has no useful effect. The script has 
to use a 3-in-a-row approach the responses are so unreliable from the 
master server anyway - half the time the deregister packet would never 
arrive.

A slightly better way is to increase a srcds instance's heartbeat 
frequency to every few minutes, then hooking the out of date 
notification there. Still much slower and requires a plugin, but doesn't 
load the master server as much. If valve just put up a simple txt file 
that held the lastest repo information (and was updated live from the 
content servers so it wasn't made useless by delay) it would make 
everyone's life a little easier.

- Neph

On 12/15/2009 12:34 AM, Ronny Schedel wrote:
> You should send also a quit command to the master server in your
> srcupdatecheck, otherwise thousands of non existent servers are registered
> to the master server if alot of people will use this script.
>
>
>
>> The latest version of nemrun:
>> http://nephyrin.net/tools/nemrun/
>>
>> Supports starting an 'update daemon' that watches for updates and sends
>> reboot commands to servers. My servers usually are updated within
>> minutes of an update (and they beat the rush to the content servers, so
>> the DL doesn't take ages). I know its not exactly what you're looking
>> for, but its another option. You can modify the reboot command it sends
>> to servers, so you could write a plugin that provides, say, a
>> "sm_updateavailable" command that nemrun's daemon could send, allowing
>> the plugin to then decide what to do.
>>
>> There's also a way a SM could hook the 'out of date' notification, but i
>> dont know if anyone has done it in a publicly available extension. This
>> could be used in conjunction with higher heartbeat frequency to let
>> servers become aware of updates much more quickly, and decide what to do.
>>
>> - Neph
>>
>> On 12/13/2009 01:44 AM, Nathan D. wrote:
>>  
>>> Currently, when auto-update is turned on and updates to a game are
>>> released, we have to manually restart our server(s) so that auto-update
>>> will update the server during start up. Because we have to manually
>>> restart, there is X amount of time before our server(s) are updated and
>>> are usually empty since most of the clients have already updated.
>>>
>>> A suggestion of mine would be to make auto-update 1.) aware when updates
>>> are released and 2.) know when the server has players in it or not.
>>> Therefore, when auto-update knows there is an update available and
>>> realizes the server is empty, it could automatically issue the "exit"
>>> command to restart the server so that auto-update will run.
>>>
>>> In the meantime while Valve considers my suggestion, does anyone know
>>> some sort of practical way to have the server restart itself when an
>>> update is available? For someone who runs many servers, it is a slight
>>> hassle to restart each server manually so that auto-update can run.
>>>
>>> My apologies if something relative to this has already been discussed; I
>>> just re-joined the mailing list after many years of being unsubscribed.
>>>
>>> -Nate
>>>
>>> ___
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>
>>>
>>
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>>  
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-15 Thread Ronny Schedel

You should send also a quit command to the master server in your 
srcupdatecheck, otherwise thousands of non existent servers are registered 
to the master server if alot of people will use this script.


> The latest version of nemrun:
> http://nephyrin.net/tools/nemrun/
>
> Supports starting an 'update daemon' that watches for updates and sends
> reboot commands to servers. My servers usually are updated within
> minutes of an update (and they beat the rush to the content servers, so
> the DL doesn't take ages). I know its not exactly what you're looking
> for, but its another option. You can modify the reboot command it sends
> to servers, so you could write a plugin that provides, say, a
> "sm_updateavailable" command that nemrun's daemon could send, allowing
> the plugin to then decide what to do.
>
> There's also a way a SM could hook the 'out of date' notification, but i
> dont know if anyone has done it in a publicly available extension. This
> could be used in conjunction with higher heartbeat frequency to let
> servers become aware of updates much more quickly, and decide what to do.
>
> - Neph
>
> On 12/13/2009 01:44 AM, Nathan D. wrote:
>> Currently, when auto-update is turned on and updates to a game are
>> released, we have to manually restart our server(s) so that auto-update
>> will update the server during start up. Because we have to manually
>> restart, there is X amount of time before our server(s) are updated and
>> are usually empty since most of the clients have already updated.
>>
>> A suggestion of mine would be to make auto-update 1.) aware when updates
>> are released and 2.) know when the server has players in it or not.
>> Therefore, when auto-update knows there is an update available and
>> realizes the server is empty, it could automatically issue the "exit"
>> command to restart the server so that auto-update will run.
>>
>> In the meantime while Valve considers my suggestion, does anyone know
>> some sort of practical way to have the server restart itself when an
>> update is available? For someone who runs many servers, it is a slight
>> hassle to restart each server manually so that auto-update can run.
>>
>> My apologies if something relative to this has already been discussed; I
>> just re-joined the mailing list after many years of being unsubscribed.
>>
>> -Nate
>>
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-14 Thread Nephyrin Zey
The latest version of nemrun:
http://nephyrin.net/tools/nemrun/

Supports starting an 'update daemon' that watches for updates and sends 
reboot commands to servers. My servers usually are updated within 
minutes of an update (and they beat the rush to the content servers, so 
the DL doesn't take ages). I know its not exactly what you're looking 
for, but its another option. You can modify the reboot command it sends 
to servers, so you could write a plugin that provides, say, a 
"sm_updateavailable" command that nemrun's daemon could send, allowing 
the plugin to then decide what to do.

There's also a way a SM could hook the 'out of date' notification, but i 
dont know if anyone has done it in a publicly available extension. This 
could be used in conjunction with higher heartbeat frequency to let 
servers become aware of updates much more quickly, and decide what to do.

- Neph

On 12/13/2009 01:44 AM, Nathan D. wrote:
> Currently, when auto-update is turned on and updates to a game are
> released, we have to manually restart our server(s) so that auto-update
> will update the server during start up. Because we have to manually
> restart, there is X amount of time before our server(s) are updated and
> are usually empty since most of the clients have already updated.
>
> A suggestion of mine would be to make auto-update 1.) aware when updates
> are released and 2.) know when the server has players in it or not.
> Therefore, when auto-update knows there is an update available and
> realizes the server is empty, it could automatically issue the "exit"
> command to restart the server so that auto-update will run.
>
> In the meantime while Valve considers my suggestion, does anyone know
> some sort of practical way to have the server restart itself when an
> update is available? For someone who runs many servers, it is a slight
> hassle to restart each server manually so that auto-update can run.
>
> My apologies if something relative to this has already been discussed; I
> just re-joined the mailing list after many years of being unsubscribed.
>
> -Nate
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread Zover Mirklo
But, if we dont try to catch it but presume that server is empy and so
it could start autoupdate mapchange is needed and if server has plugin
which changes map even when its empty then it gets restarted and
updated anyway:
http://forums.alliedmods.net/showthread.php?p=501451
http://forums.alliedmods.net/showthread.php?p=570384
 Quoting w4rezz : The problem is, how catch that masterserver
restartrequest message
 with sourcemod...?
 2009/12/13 Zover Mirklo :
 > You should use some plugin for example sourcemod plugin which
manages
 > empty servers and changes map even when they are empty (i know
that
 > there are bunch of them ar sourcemod.net)  Then your server
will
 > get updated anyway.
 >  Quoting Nikolay Shopik : Yep, if server is empty it may
never be
 > updated, but if update is pushed
 >  when game is going it works.
 >  On 14.12.2009 0:01, Nathan D. wrote:
 >  > I have noticed this but with Left4Dead 2, sometimes the
map
 > doesn't
 >  > change for a long time when the server is empty. I'm
looking for
 > a
 >  > quicker resolution.
 >  >
 >  > As far as scripting something to do this, I know nothing
about
 > scripts
 >  > so I wouldn't know where to begin.
 >  >
 >  > Nikolay Shopik wrote:
 >  >> On 13.12.2009 12:44, Nathan D. wrote:
 >  >>
 >  >>> Currently, when auto-update is turned on and updates to
a game
 > are
 >  >>> released, we have to manually restart our server(s) so
that
 > auto-update
 >  >>> will update the server during start up. Because we have
to
 > manually
 >  >>> restart, there is X amount of time before our server(s)
are
 > updated and
 >  >>> are usually empty since most of the clients have
already
 > updated.
 >  >>>
 >  >>
 >  >> When update released master servers send requestrestart
for
 > server and
 >  >> it will automatically restart when change level occur,
and start
 > update
 >  >> itself.
 >  >>
 >  >>
 >  >> ___
 >  >> To unsubscribe, edit your list preferences, or view the
list
 > archives, please visit:
 >  >>
http://list.valvesoftware.com/mailman/listinfo/hlds_linux
 >  >>
 >  >>
 >  >
 >  ___
 >  To unsubscribe, edit your list preferences, or view the
list
 > archives, please visit:
 >  http://list.valvesoftware.com/mailman/listinfo/hlds_linux
 >
 >
 > Links:
 > --
 > [1] mailto:sho...@inblock.ru
 > ___
 > To unsubscribe, edit your list preferences, or view the list
archives, please visit:
 > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
 >
 ___
 To unsubscribe, edit your list preferences, or view the list
archives, please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux
 

Links:
--
[1] mailto:w4r...@gmail.com
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread w4rezz
The problem is, how catch that masterserver restartrequest message
with sourcemod...?

2009/12/13 Zover Mirklo :
> You should use some plugin for example sourcemod plugin which manages
> empty servers and changes map even when they are empty (i know that
> there are bunch of them ar sourcemod.net)  Then your server will
> get updated anyway.
>  Quoting Nikolay Shopik : Yep, if server is empty it may never be
> updated, but if update is pushed
>  when game is going it works.
>  On 14.12.2009 0:01, Nathan D. wrote:
>  > I have noticed this but with Left4Dead 2, sometimes the map
> doesn't
>  > change for a long time when the server is empty. I'm looking for
> a
>  > quicker resolution.
>  >
>  > As far as scripting something to do this, I know nothing about
> scripts
>  > so I wouldn't know where to begin.
>  >
>  > Nikolay Shopik wrote:
>  >> On 13.12.2009 12:44, Nathan D. wrote:
>  >>
>  >>> Currently, when auto-update is turned on and updates to a game
> are
>  >>> released, we have to manually restart our server(s) so that
> auto-update
>  >>> will update the server during start up. Because we have to
> manually
>  >>> restart, there is X amount of time before our server(s) are
> updated and
>  >>> are usually empty since most of the clients have already
> updated.
>  >>>
>  >>
>  >> When update released master servers send requestrestart for
> server and
>  >> it will automatically restart when change level occur, and start
> update
>  >> itself.
>  >>
>  >>
>  >> ___
>  >> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
>  >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>  >>
>  >>
>  >
>  ___
>  To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
>  http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> Links:
> --
> [1] mailto:sho...@inblock.ru
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread Zover Mirklo
You should use some plugin for example sourcemod plugin which manages
empty servers and changes map even when they are empty (i know that
there are bunch of them ar sourcemod.net)  Then your server will
get updated anyway.
 Quoting Nikolay Shopik : Yep, if server is empty it may never be
updated, but if update is pushed 
 when game is going it works.
 On 14.12.2009 0:01, Nathan D. wrote:
 > I have noticed this but with Left4Dead 2, sometimes the map
doesn't
 > change for a long time when the server is empty. I'm looking for
a
 > quicker resolution.
 >
 > As far as scripting something to do this, I know nothing about
scripts
 > so I wouldn't know where to begin.
 >
 > Nikolay Shopik wrote:
 >> On 13.12.2009 12:44, Nathan D. wrote:
 >>
 >>> Currently, when auto-update is turned on and updates to a game
are
 >>> released, we have to manually restart our server(s) so that
auto-update
 >>> will update the server during start up. Because we have to
manually
 >>> restart, there is X amount of time before our server(s) are
updated and
 >>> are usually empty since most of the clients have already
updated.
 >>>
 >>
 >> When update released master servers send requestrestart for
server and
 >> it will automatically restart when change level occur, and start
update
 >> itself.
 >>
 >>
 >> ___
 >> To unsubscribe, edit your list preferences, or view the list
archives, please visit:
 >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
 >>
 >>
 >
 ___
 To unsubscribe, edit your list preferences, or view the list
archives, please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux
 

Links:
--
[1] mailto:sho...@inblock.ru
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread Nikolay Shopik
Yep, if server is empty it may never be updated, but if update is pushed 
when game is going it works.

On 14.12.2009 0:01, Nathan D. wrote:
> I have noticed this but with Left4Dead 2, sometimes the map doesn't
> change for a long time when the server is empty. I'm looking for a
> quicker resolution.
>
> As far as scripting something to do this, I know nothing about scripts
> so I wouldn't know where to begin.
>
> Nikolay Shopik wrote:
>> On 13.12.2009 12:44, Nathan D. wrote:
>>
>>> Currently, when auto-update is turned on and updates to a game are
>>> released, we have to manually restart our server(s) so that auto-update
>>> will update the server during start up. Because we have to manually
>>> restart, there is X amount of time before our server(s) are updated and
>>> are usually empty since most of the clients have already updated.
>>>
>>
>> When update released master servers send requestrestart for server and
>> it will automatically restart when change level occur, and start update
>> itself.
>>
>>
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>>
>



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread Nathan D.
I have noticed this but with Left4Dead 2, sometimes the map doesn't 
change for a long time when the server is empty. I'm looking for a 
quicker resolution.

As far as scripting something to do this, I know nothing about scripts 
so I wouldn't know where to begin.

Nikolay Shopik wrote:
> On 13.12.2009 12:44, Nathan D. wrote:
>   
>> Currently, when auto-update is turned on and updates to a game are
>> released, we have to manually restart our server(s) so that auto-update
>> will update the server during start up. Because we have to manually
>> restart, there is X amount of time before our server(s) are updated and
>> are usually empty since most of the clients have already updated.
>> 
>
> When update released master servers send requestrestart for server and 
> it will automatically restart when change level occur, and start update 
> itself.
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>   

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread Nikolay Shopik
On 13.12.2009 12:44, Nathan D. wrote:
> Currently, when auto-update is turned on and updates to a game are
> released, we have to manually restart our server(s) so that auto-update
> will update the server during start up. Because we have to manually
> restart, there is X amount of time before our server(s) are updated and
> are usually empty since most of the clients have already updated.

When update released master servers send requestrestart for server and 
it will automatically restart when change level occur, and start update 
itself.


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread John Q
Something like this could be done with some scripting, but finding a trigger
would be the tough. Without looking into this at all, What i would do is
make a script and use qstat to check if the server is empty and if it is
have it restart the server, just set a cronjob to whatever script you made.
Thats one solution for automated updates, triggering it right when an update
comes out would be harder since well, you need a trigger. Thats my quick
take on it atleast. If you need and help lemme know.

On Sun, Dec 13, 2009 at 1:44 AM, Nathan D.  wrote:

> Currently, when auto-update is turned on and updates to a game are
> released, we have to manually restart our server(s) so that auto-update
> will update the server during start up. Because we have to manually
> restart, there is X amount of time before our server(s) are updated and
> are usually empty since most of the clients have already updated.
>
> A suggestion of mine would be to make auto-update 1.) aware when updates
> are released and 2.) know when the server has players in it or not.
> Therefore, when auto-update knows there is an update available and
> realizes the server is empty, it could automatically issue the "exit"
> command to restart the server so that auto-update will run.
>
> In the meantime while Valve considers my suggestion, does anyone know
> some sort of practical way to have the server restart itself when an
> update is available? For someone who runs many servers, it is a slight
> hassle to restart each server manually so that auto-update can run.
>
> My apologies if something relative to this has already been discussed; I
> just re-joined the mailing list after many years of being unsubscribed.
>
> -Nate
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>


-- 

Stephen 
Leacock
- "I detest life-insurance agents: they always argue that I shall some
day
die, which is not so."
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


[hlds_linux] Auto-Update Inquiry/Suggestion

2009-12-13 Thread Nathan D.
Currently, when auto-update is turned on and updates to a game are 
released, we have to manually restart our server(s) so that auto-update 
will update the server during start up. Because we have to manually 
restart, there is X amount of time before our server(s) are updated and 
are usually empty since most of the clients have already updated.

A suggestion of mine would be to make auto-update 1.) aware when updates 
are released and 2.) know when the server has players in it or not. 
Therefore, when auto-update knows there is an update available and 
realizes the server is empty, it could automatically issue the "exit" 
command to restart the server so that auto-update will run.

In the meantime while Valve considers my suggestion, does anyone know 
some sort of practical way to have the server restart itself when an 
update is available? For someone who runs many servers, it is a slight 
hassle to restart each server manually so that auto-update can run.

My apologies if something relative to this has already been discussed; I 
just re-joined the mailing list after many years of being unsubscribed.

-Nate

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux