Hello Rohit,

So when doing a "cloudstack-setup-databases" with "-i 192.168.0.100" i have
to specify the vip of the netscaler ? As well i am on the first node or on
the second node or N node ?

Yes the management server was crashed, for the moment i don't have the
access to this management server pool.
As soon i'm getting back to this mgmt server pool, i give you more infos.

I'm going to reinstall some fresh mgmt servers and give you more feedback.

Concerning the mgmt server log entries "Resp: Routing to peer", is it
normal that the mgmt server is producing so much log entries with this
message (seeing my mgmt log file growing very fast).

Thanks for your response.

Regards, Benoit.

2014-10-29 16:04 GMT+01:00 Rohit Yadav <[email protected]>:

> Hi Benoit,
>
> Please see my reply in-line;
>
> > On 29-Oct-2014, at 7:56 pm, benoit lair <[email protected]> wrote:
> >
> > I'm going to redeploy my management nodes and retest my load balacning
> > confgiuration.
> >
> > Also concerning the commands i used in order to deploy the management
> > servers :
> >
> > "
> > For the first node (192.168.0.10) i've done :
> >
> > cloudstack-setup-databases cloud:[email protected]
> > <cloud%[email protected]> --deploy-as=root:mypassroot -e file -m
> > mypassphrase -k mypassphrase -i 192.168.0.100
> >
> > The second node (192.168.0.11) was deployed with
> > cloudstack-setup-databases cloud:[email protected]
> > <cloud%[email protected]> -e file -m mypassphrase -k mypassphrase
> -i
> > 192.168.0.100
> >
> > Is it alright, or is this what did a split brain scenario ?
> > "
> >
> > Was i in the right way ?
>
> This is correct. The first management server is deployed with —deploy-as
> which sets up your database. More management server nodes need to use the
> same script without the —deploy-as which only configures db options (host,
> port, ip, username and password) but this won’t redeploy your database.
> Just make sure to use the same password/ip and db as before, and make sure
> that the cloud user (or other username) can connect to the MySQL server
> from both the IPs. (do something like grant user@<% for host or 192.168.%
> etc.>).
>
> > Concerning my split brain scenario, i had a management server whom
> detected
> > (after being up for few minutes, deployed a zone, cluster, host and first
> > virtual machine) there was split brain and so it killed itself, if i
> tried
>
> When you say it killed itself, did the management server crash. What did
> the logs say?
>
> > to reup this management server, i got full entries in the logs like  :
> >
> > DEBUG [c.c.a.m.
> > ClusteredAgentManagerImpl] (AgentManager-Handler-8:null) Seq 1-289341441:
> > MgmtId 104425904713066: Resp: Routing to peer
>
> This is fine, this simply means it is load balancing requests (both
> api<->mgmt server and mgmt server<->systemvms).
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | [email protected]
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

Reply via email to