Re: MySQL HA

2017-12-15 Thread Alireza Eskandari
Hi

Gabriel,
My configuration is same as your suggestion, but I get the errors.

Rafael,
You are right. I confirm that CS works normally but I get those warnings.
I would make me happy to help you for this fix :)


On Tue, Dec 12, 2017 at 3:30 PM, Rafael Weingärtner
 wrote:
> Alireza,
> This is a warning and should not cause you much trouble. I have been trying
> to pin point this problem for quite some time now.
> If I generate a fix, would you be willing to test it?
>
> On Tue, Dec 12, 2017 at 8:56 AM, Gabriel Beims Bräscher <
> gabrasc...@gmail.com> wrote:
>
>> Hi Alireza,
>>
>> I have production environments with Master to Master replication and
>> we have no problems. We may need more details of your configuration.
>> Have you configured the slave database? Are you sure that you configured
>> correctly the ha heuristic?
>>
>> Considering that you already configured replication and "my.cnf", I will
>> focus on the CloudSack db.properties file.
>>
>> When configuring Master-Master replication, you should have at
>> /etc/cloudstack/management/db.properties something like:
>> -
>> db.cloud.autoReconnectForPools=true
>>
>> #High Availability And Cluster Properties
>> db.ha.enabled=true
>>
>> db.cloud.queriesBeforeRetryMaster=5000
>> db.usage.failOverReadOnly=false
>> db.cloud.slaves=acs-db-02
>>
>> cluster.node.IP=
>>
>> db.usage.autoReconnect=true
>>
>> db.cloud.host=acs-db-01
>> db.usage.host=acs-db-01
>>
>> #db.ha.loadBalanceStrategy=com.mysql.jdbc.SequentialBalanceStrategy
>> db.ha.loadBalanceStrategy=com.cloud.utils.db.StaticStrategy
>>
>> db.cloud.failOverReadOnly=false
>> db.usage.slaves=acs-db-02
>> -
>>
>> "db.ha.loadBalanceStrategy" is confiugured with the heuristic
>> "com.cloud.utils.db.StaticStrategy"
>>
>> "db.ha.enabled" need to be “true”
>>
>> The primary database is configured with the variable “db.cloud.host”. The
>> secondary database(s) is(are) configured with the variable
>> “db.usage.slaves”. One variable that is different from both Apache
>> CloudStack servers is “cluster.node.IP”, being the ACS mgt IP.
>> Additionally, you will need to create a folder
>> “/usr/share/cloudstack-mysql-ha/lib/” and move the jar file
>> “cloud-plugin-database-mysqlha-4.9.3.0.jar” into the new folder.
>>
>> -
>> mkdir -p /usr/share/cloudstack-mysql-ha/lib/
>> cp
>> /usr/share/cloudstack-management/webapps/client/WEB-
>> INF/lib/cloud-plugin-database-mysqlha-4.9.3.0.jar
>> /usr/share/cloudstack-mysql-ha/lib/
>> -
>>
>> Cheers,
>> Gabriel.
>>
>> 2017-12-12 6:30 GMT-02:00 Alireza Eskandari :
>>
>> > I have opened a new jira ticket about this problem:
>> > https://issues.apache.org/jira/browse/CLOUDSTACK-10186
>> >
>>
>
>
>
> --
> Rafael Weingärtner


Re: [jira] [Commented] (CLOUDSTACK-10025) To create a better VNC client for Cloudstack using noVNC

2017-12-15 Thread Tutkowski, Mike
Hi,

You can find information on how to unsubscribe here:

https://cloudstack.apache.org/mailing-lists.html

Thanks,
Mike

On Dec 11, 2017, at 1:10 AM, Mohammad Aladwan 
> wrote:

hi,

please i want to leave this group,i am not sure how i  can leave it


my best regards

On Mon, Dec 11, 2017 at 1:55 AM, ASF GitHub Bot (JIRA) 
>
wrote:


   [ https://issues.apache.org/jira/browse/CLOUDSTACK-10025?
page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&
focusedCommentId=16285617#comment-16285617 ]

ASF GitHub Bot commented on CLOUDSTACK-10025:
-

sachinnitw1317 commented on issue #2204: [CLOUDSTACK-10025] Adding Support
for NoVNC Console for KVM and XENSERVER
URL: https://github.com/apache/cloudstack/pull/2204#issuecomment-350647294


  Hey, I reported the keyboard problem earlier as well. If you do a right
click -> reload frame it will start taking your keyboard strokes. I never
got the fix though. Let me  know if you need any help from me.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


To create a better VNC client for Cloudstack using noVNC


   Key: CLOUDSTACK-10025
   URL: https://issues.apache.org/
jira/browse/CLOUDSTACK-10025
   Project: CloudStack
Issue Type: New Feature
Security Level: Public(Anyone can view this level - this is the
default.)
Components: VNC Proxy
  Affects Versions: 4.11.0.0
  Reporter: Sachin
  Priority: Minor
Labels: features

I have implemented this feature as my GSoC'17 project. noVNC is written
in javascript and uses websockets to connect to VNC server. We have
modified the ConsoleProxy server to accept websocket request from noVNC
client, which then forwards the request request to VNC server.
Javascript cannot make plain tcp request, hence the websocket request
have to be forwarded to the VNC server via a proxy server that basically
converts websocket request from client to plain tcp request for VNC server.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)



Re: CloudStack 4.9.3.0 missing from CentOS 7 CloudStack respository?

2017-12-15 Thread Rafael Weingärtner
Thanks Rohit!

On Fri, Dec 15, 2017 at 4:40 AM, Rohit Yadav 
wrote:

> Hi Rafael,
>
>
> The official release process is limited to source code release and not
> package publishing. Without an "official" repository or medium to publish
> and maintain, it's up to the maintainers of rpm/deb repositories to
> kick/publish the artifacts.
>
>
> I think I did reach out to PL/Wido for doing the 4.9.3.0 rpms/debs as I
> don't have access to the build server myself. Wido/PL - can you please kick
> the builds and publish 4.9.3.0?
>
>
> I had published the artifacts in this repository that you may consume
> 4.9.3.0 from:
>
> http://packages.shapeblue.com/cloudstack/upstream/centos7/4.9/
>
>
> Regards.
>
> 
> From: Rafael Weingärtner 
> Sent: Friday, December 15, 2017 2:56:22 AM
> To: dev@cloudstack.apache.org
> Subject: CloudStack 4.9.3.0 missing from CentOS 7 CloudStack respository?
>
> Hi folks,
>
> I installed ACS today in a CentOS7 and I noticed that the package version
> is 4.9.2.0. I checked http://cloudstack.apt-get.eu/centos/7/4.9/, and the
> last version there is indeed 4.9.2.0. Was ACS 4.9.3.0 released?
>
> Is this a problem in our release process?
>
>
> --
> Rafael Weingärtner
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


-- 
Rafael Weingärtner