cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robin@cywee.com" <ro...@cywee.com>
Subject Re: Re: cloudstack-management switch over fail
Date Fri, 19 Sep 2014 06:32:02 GMT
Hi, Geoff ,
Server B works as Master.
The 'host' in global configuration is a VIP and the VIP is set to db.cloud.host(in db.properties)
for both A and B.
But there is till problem with following log:
"2014-09-19 14:25:22,960 DEBUG [utils.crypt.DBEncryptionUtil] (Timer-2:null) Error while decrypting:
SmVGNRd3CmQeMUHog+iSuQ== "
I have one question for the cluster.node.IP in db.properties. What shoud it be?




robin@cywee.com

From: Geoff Higginbottom
Date: 2014-09-19 13:36
To: <users@cloudstack.apache.org>
Subject: Re: cloudstack-management switch over fail
Robin,

You need to make server B the new MySQL Master and also point CloudStack at the new MySQL
Server.

Also when using two Management Servers, you should have a load balancer which is referenced
by the global setting 'host'.  If you do have this setup, you will need to update the host
setting to point to server B, then stop and start (not simply restart) each system VM?

Regards

Geoff Higginbottom
CTO / Cloud Architect


D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540>
| M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<mailto:geoff.higginbottom@shapeblue.com> | www.shapeblue.com<htp://www.shapeblue.com/>

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS<x-apple-data-detectors://37>



On 19 Sep 2014, at 03:33, "robin@cywee.com<mailto:robin@cywee.com>" <robin@cywee.com<mailto:robin@cywee.com>>
wrote:

Hi,
In Cloudstack v4.2.1
There has two servers A, B. Both installed cloudstack-management service and mysql individually.
 Server A work as mysql master, and B works as mysql slave.
step1: CS management service on A is running and management service on B shuts down. Mysql
on B keeps synchronized with A timely.
step2: Server A shutdown, means service of CS management and mysql on A shutdown.
step3: CS management service on server B startup.   But there has problem when it is starting
up.
          The log is:
"Error while decrypting: sTe567ED+dHX6WiWJWa53KdBSXQ0neJhKqcDENu7aMWqD2Z1JkXhYBm/7dKlIDpVpT6JdgecZPQ4jMge5Ldtx
+7VUP8xjKoLn0EIxz85R30ePcMlDHw/Oy2SwkNM2HGQ "

Then,  user can not loggin.





robin@cywee.com<mailto:robin@cywee.com>
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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message