IslandzVW / halcyon

InWorldz Halcyon 3d virtual reality world simulator
BSD 3-Clause "New" or "Revised" License
21 stars 26 forks source link

Restart Question #434

Closed WhiteCoreWebUI closed 6 years ago

WhiteCoreWebUI commented 6 years ago

When i restart a region from the console or from the region menu it shuts down, i know in opensim there was a .ini flag to trigger that behaviour or to turn it off, is there something similiar in halcyon?

kf6kjg commented 6 years ago

Restarting a region is a task for an external handler. Vinhold's system currently uses a batch file, Maestro also handles that.

In this way you can manage region status remotely.

On Sun, Mar 25, 2018 at 11:42 AM ThunderLife notifications@github.com wrote:

When i restart a region from the console or from the region menu it shuts down, i know in opensim there was a .ini flag to trigger that behaviour or to turn it off, is there something similiar in halcyon?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/434, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGoaKaz8tXRbb1aHaSeM4LKMWoQprlqks5th-UfgaJpZM4S6QHK .

WhiteCoreWebUI commented 6 years ago

yes but i worry that if a user attempts to restart his/her region via the region tools it wont come back on

kf6kjg commented 6 years ago

That's what I was saying, though I had but a phone's keyboard to type upon then.

A region may also need to be restarted from a crash, again without intervention from an admin.

For now simply launch your regions via a BAT file that has a loop to automatically relaunch the region. You could additionally add logic to terminate if the exit code from the region so calls for it. This is the current method Vinhold uses, though he plans on replacing it with a piece of .NET code that integrates with his MyWorld grid management platform.

Alternatively you could look into setting up Maestro to do all the above.

On Sun, Mar 25, 2018 at 11:56 AM, ThunderLife notifications@github.com wrote:

yes but i worry that if a user attempts to restart his/her region via the region tools it wont come back on

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/434#issuecomment-375994246, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGoaPP0f2nwMtgaS5Ta_VWsi2Gb6f1Wks5th-h5gaJpZM4S6QHK .

WhiteCoreWebUI commented 6 years ago

as i dont use myworld (aspx is just not my thing) i reverted to use a free windows program that checks the PID file from halcyon and does a start if the software is down, i might add a code in halcyon itself that does a simple region restart instead of shutting down as right now it takes at least 2 minutes for the region to be back

WhiteCoreWebUI commented 6 years ago

for now i can highly recommend https://www.portablefreeware.com/?id=1873 as it allows to add the working directory eliminating the need to pass a argument for the .ini file

kf6kjg commented 6 years ago

If ASPX isn't your thing, it's not mine either, then I recommend Maestro again: you're going to want a grid management tool, and that includes the ability to shut off a region without having to find and log into the server that's hosting that region.

On Sun, Mar 25, 2018 at 1:10 PM, ThunderLife notifications@github.com wrote:

for now i can highly recommend https://www.portablefreeware.com/?id=1873 as it allows to add the working directory eliminating the need to pass a argument for the .ini file

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/434#issuecomment-375999504, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGoaJZWI6sLe1BSWPmrc8yorIx7BKAcks5th_mrgaJpZM4S6QHK .

WhiteCoreWebUI commented 6 years ago

i do all that over PHP :)

emperorstarfinder commented 6 years ago

In order for that to happen you would have to actually press Ctrl + C on the region console to completely shut it down. It is a good safeguard that Halcyon did put in place to ensure region consoles don’t go down by accident. When a user restarts a region via region tools via the region manager in their region management area on the website or in-world via viewer the regions will restart and be fine.

On our Halcyon test grid we have not yet had trouble with region consoles closing during a region restart.

Where your using PHP for your website Maestro probably is the better example of how to implement that in the region. However Vinhold’s MyWorld Website is pretty good and stable and with that you in fact can create regions and estates via the website administration area and pretty much manage things from the website. The MyWorld website however is written in aspx/ visual basic. So your web server would have to support the aspx language.

From: ThunderLife notifications@github.com Sent: Sunday, March 25, 2018 2:57 PM To: InWorldz/halcyon halcyon@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [InWorldz/halcyon] Restart Question (#434)

yes but i worry that if a user attempts to restart his/her region via the region tools it wont come back on

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/434#issuecomment-375994246 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACFq_lprZInj08_Cex97cm-jj0L-_neUks5th-h5gaJpZM4S6QHK . https://github.com/notifications/beacon/ACFq_ihODbZ2_UGvgiGUoxUTTfOpjiEHks5th-h5gaJpZM4S6QHK.gif

kf6kjg commented 6 years ago

lol, I dislike PHP as much as I dislike ASPX. :P Alrighty then, your call for your grid! :D

On Sun, Mar 25, 2018 at 1:25 PM, ThunderLife notifications@github.com wrote:

i do all that over PHP :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/434#issuecomment-376000571, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGoaD5Ij8_17mFEK12lmHcWp8AW4943ks5th_0fgaJpZM4S6QHK .

WhiteCoreWebUI commented 6 years ago

i have myworld installed for the landtool only, but unfortunatly i found to many errors in myworld and my lack of aspx knowledge prevents me from fixing those lol

WhiteCoreWebUI commented 6 years ago

but right now i am trying to compile maestro, i hope it works

Vinhold commented 6 years ago

WhiteCoreUI: You can always contact me using the MyWorldSrc.com/ContactUs.aspx page for any MyWorld page errors you find. I am actively working on the project and am using it in several world installations as the website front end.

WhiteCoreWebUI commented 6 years ago

@Vinhold just tried its impossible: Send Email Failed! Error: Mailbox unavailable. The server response was: Delivery is not allowed to this address.

Vinhold commented 6 years ago

Checking on that... Thank you. Last test I did on it was working. Not supposed to foul up without any changes done to it. lol

Vinhold commented 6 years ago

ContactUs page is corrected. I had better secured my hMailserver and the page had the wrong email address in it. Ooops.

WhiteCoreWebUI commented 6 years ago

ok its out

kf6kjg commented 6 years ago

Closing as it's currently the opinion of the developers, as far as I've conversed with them, that restarts should be the responsibility of external monitoring software: such software is needful anyway in case the region spontaneously crashes.