Zeo Server and Client Issue PLEASE HELP !

classic Classic list List threaded Threaded
6 messages Options
masc2279 masc2279
Reply | Threaded
Open this post in threaded view
|

Zeo Server and Client Issue PLEASE HELP !

This post was updated on .
I have been testing my servers for power out and start up issues since they are ready to go live and if i start them up in this order ZEO Server (wait till done with complete booting) , then 3 x Servers with ZEO clients start up everything works great starts up automatically and everything runs smoothly. But this is not a true power out test since i am controlling the order of server boots.

My problem is if i truly simulate power outage and all servers go down and boot back up on their own the client servers are multiple times faster than the server with the ZEO Server on it since it has a san and other hardware to load and verify. So the client machines finish booting but the ZEO clients shut down since they cannot find the ZEO server.

My question is how do i tell the ZEO clients to stay running, The server is on its way ? So they do not shut down ?  What am i missing ? PLEASE HELP !
masc2279 masc2279
Reply | Threaded
Open this post in threaded view
|

Re: Zeo Server and Client Issue PLEASE HELP !

This post was updated on .
A little more info :

i am starting my servers with the following script inside the /etc/init.d/  folder it works great if there servers start and load in proper order only.

#!/bin/sh
    #
    # chkconfig:   345 05 95
    # description:   zeoclient
    # ....
clear
echo "attempting to run plone script"

/srv/Plone/zeocluster/bin/plonectl client1 start
/srv/Plone/zeocluster/bin/plonectl client2 start
/srv/Plone/zeocluster/bin/plonectl client3 start
/srv/Plone/zeocluster/bin/plonectl client4 start
/srv/Plone/zeocluster/bin/plonectl client5 start
/srv/Plone/zeocluster/bin/plonectl client6 start
/srv/Plone/zeocluster/bin/plonectl client7 start
/srv/Plone/zeocluster/bin/plonectl client8 start
c.ledermann c.ledermann
Reply | Threaded
Open this post in threaded view
|

Re: Zeo Server and Client Issue PLEASE HELP !

In reply to this post by masc2279
try to run the clients under supervisord 


On Thu, Mar 13, 2014 at 5:02 PM, masc2279 <[hidden email]> wrote:
I have been testing my servers for power out and start up issues since they
are ready to go live and if i start them up in this order ZEO Server (wait
till done with complete booting) , then 3 x Servers with ZEO clients start
up everything works great starts up automatically and everything runs
smoothly. But this is not a true power out test since i am controlling the
order of server boots.

My problem is if i truly simulate power outage and all servers go down and
boot back up on their own the client servers are multiple times faster than
the server with the ZEO Server on it since it has a san and other hardware
to load and verify. So the client machines finish booting but the ZEO
clients shut down since they cannot find the ZEO server.

My question is how do i tell the ZEO clients to stay running, The server is
on its way ? So they do not shut down ?  What am i missing ? PLEASE HELP !



--
View this message in context: http://plone.293351.n2.nabble.com/Zeo-Server-and-Client-Issue-PLEASE-HELP-tp7570598.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-setup



--
Best Regards,

Christian Ledermann

London - UK
Mobile : +44 7899488511

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

_______________________________________________
Setup mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-setup
masc2279 masc2279
Reply | Threaded
Open this post in threaded view
|

Re: Zeo Server and Client Issue PLEASE HELP !

I do not understand. Is this a feature on ZEO ?  or are you asking me to start them up as supervised in CentOS. They all start fine as long as the ZEO Server is present. This is how i start them up from the /etc/init.d/  folder.

#!/bin/sh
    #
    # chkconfig:   345 05 95
    # description:   zeoclient
    # ....
clear
echo "attempting to run plone script"

/srv/Plone/zeocluster/bin/plonectl client1 start
/srv/Plone/zeocluster/bin/plonectl client2 start
/srv/Plone/zeocluster/bin/plonectl client3 start
/srv/Plone/zeocluster/bin/plonectl client4 start
/srv/Plone/zeocluster/bin/plonectl client5 start
/srv/Plone/zeocluster/bin/plonectl client6 start
/srv/Plone/zeocluster/bin/plonectl client7 start
/srv/Plone/zeocluster/bin/plonectl client8 start
Steve McMahon Steve McMahon
Reply | Threaded
Open this post in threaded view
|

Re: Zeo Server and Client Issue PLEASE HELP !

In reply to this post by masc2279
I'd use a process control mechanism like supervisor to start/stop. It will keep trying to start the servers for a controllable retry count.


On Thu, Mar 13, 2014 at 10:09 AM, masc2279 <[hidden email]> wrote:
A little more info :

i am starting my servers with the following script inside the /etc/init.d/
folder it works great if there servers start and load in proper order only.

#!/bin/sh
    #
    # chkconfig:   345 05 95
    # description:   zeoserver
    # ....
clear
echo "attempting to run plone script"

/srv/Plone/zeocluster/bin/plonectl client1 start
/srv/Plone/zeocluster/bin/plonectl client2 start
/srv/Plone/zeocluster/bin/plonectl client3 start
/srv/Plone/zeocluster/bin/plonectl client4 start
/srv/Plone/zeocluster/bin/plonectl client5 start
/srv/Plone/zeocluster/bin/plonectl client6 start
/srv/Plone/zeocluster/bin/plonectl client7 start
/srv/Plone/zeocluster/bin/plonectl client8 start




--
View this message in context: http://plone.293351.n2.nabble.com/Zeo-Server-and-Client-Issue-PLEASE-HELP-tp7570598p7570599.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-setup


_______________________________________________
Setup mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-setup
Steve McMahon Steve McMahon
Reply | Threaded
Open this post in threaded view
|

Re: Zeo Server and Client Issue PLEASE HELP !

In reply to this post by masc2279
http://supervisord.org/

It's available as a package on most recent OS releases, and is very easy to build on any Linux server.


On Thu, Mar 13, 2014 at 10:25 AM, masc2279 <[hidden email]> wrote:
I do not understand. Is this a feature on ZEO ?  or are you asking me to
start them up as supervised in CentOS. They all start fine as long as the
ZEO Server is present. This is how i start them up from the /etc/init.d/
folder.

#!/bin/sh
    #
    # chkconfig:   345 05 95
    # description:   zeoclient
    # ....
clear
echo "attempting to run plone script"

/srv/Plone/zeocluster/bin/plonectl client1 start
/srv/Plone/zeocluster/bin/plonectl client2 start
/srv/Plone/zeocluster/bin/plonectl client3 start
/srv/Plone/zeocluster/bin/plonectl client4 start
/srv/Plone/zeocluster/bin/plonectl client5 start
/srv/Plone/zeocluster/bin/plonectl client6 start
/srv/Plone/zeocluster/bin/plonectl client7 start
/srv/Plone/zeocluster/bin/plonectl client8 start



--
View this message in context: http://plone.293351.n2.nabble.com/Zeo-Server-and-Client-Issue-PLEASE-HELP-tp7570598p7570601.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-setup


_______________________________________________
Setup mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-setup