Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA mysql: parameterization, account security #26

Merged
merged 1 commit into from
Oct 24, 2013

Conversation

cwolferh
Copy link

Add HA-mysql-related parameters to the node manifest.
Add the account_security manifest to remove unused mysql accounts.

group => "mygroup",
#cidr_netmask => "24",
#nic => "eth3",
#ip_address => "192.168.200.50",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line can just be removed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On 10/23/2013 06:43 AM, jguiditta wrote:

@@ -46,10 +67,11 @@
}

  class {"pacemaker::resource::ip":
  •  ip_address => "192.168.200.50",
    
  •  group => "mygroup",
    
  •  #cidr_netmask => "24",
    
  •  #nic => "eth3",
    
  •  #ip_address => "192.168.200.50",
    
    This line can just be removed

Reply to this email directly or view it on GitHub:
https://github.com/redhat-openstack/astapor/pull/26/files#r7157094
removed.

Add HA-mysql-related parameters to the node manifest.
Add the account_security manifest to remove unused mysql accounts.
@jguiditta
Copy link
Member

OK, so after running this on a 3-node setup, it all works as expected, though I do have to do 2 runs of the agent to have it show as successful in foreman (I think this is still expected, due to our fact being out of date by the end of the first run). I am going to say that is a known, unrelated issues, and merge this. For posterity, after setting all three nodes up, and running 'pcs status' on the active one, I get:

Cluster name: hamysql
Last updated: Thu Oct 24 14:05:16 2013
Last change: Thu Oct 24 13:50:24 2013 via cibadmin on 192.168.200.11
Stack: cman
Current DC: 192.168.200.11 - partition with quorum
Version: 1.1.10-1.el6_4.2-368c726
3 Nodes configured
3 Resources configured

Online: [ 192.168.200.11 192.168.200.12 192.168.200.13 ]

Full list of resources:

 Resource Group: mysqlgrp
     ip-192.168.200.10  (ocf::heartbeat:IPaddr2):       Started 192.168.200.11 
     fs-varlibmysql     (ocf::heartbeat:Filesystem):    Started 192.168.200.11 
     mysql-ostk-mysql   (ocf::heartbeat:mysql): Started 192.168.200.11

jguiditta added a commit that referenced this pull request Oct 24, 2013
HA mysql: parameterization, account security
@jguiditta jguiditta merged commit b3f8ecb into redhat-openstack:master Oct 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants