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