After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 249 of 317

Chapter 11 239 First node (openstack1) With the /etc/corosync/corosync.conf file modified and the /etc/corosync/ authkey file generated, we copy this to the other node (or nodes) in our cluster, as follows: scp /etc/corosync/corosync.conf /etc/corosync/authkey openstack@172.16.0.2: Second node (openstack2) We can now put the same corosync.conf file as used by our first node, and the generated authkey file, into /etc/corosync: sudo mv corosync.conf authkey /etc/corosync Start the Pacemaker and Corosync services 1. We are now ready to start the services. On both nodes, issue the following commands: sudo service pacemaker start sudo service corosync start 2. To check that our services have started fine and our cluster is working, we can use the crm_mon command to query the cluster status, as follows: sudo crm_mon -1 3. This will return output similar to the following: ============ Last updated: Tue Jun 12 21:07:05 2012 Last change: Tue Jun 12 21:06:10 2012 via crmd on openstack1 Stack: openais Current DC: openstack1 - partition with quorum Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c 2 Nodes configured, 2 expected votes 0 Resources configured. ============ Online: [ openstack1 openstack2 ] www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook