~ivoks/charms/precise/nova-cloud-controller/fix-neutron-url

« back to all changes in this revision

Viewing changes to scripts/add_to_cluster

  • Committer: James Page
  • Date: 2013-06-03 16:47:15 UTC
  • mfrom: (48.1.26 nova-cloud-controller)
  • Revision ID: james.page@canonical.com-20130603164715-pxj02ata0swcz51a
* Updated for Grizzly.

* Highly-available API services via the hacluster subordinate.

* SSH Key management for compute nodes, to facilitate live migration.

* Various bug fixes and cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
service corosync start || /bin/true
 
3
sleep 2
 
4
while ! service pacemaker start; do
 
5
    echo "Attempting to start pacemaker"
 
6
    sleep 1;
 
7
done;
 
8
crm node online
 
9
sleep 2
 
10
while crm status | egrep -q 'Stopped$'; do
 
11
    echo "Waiting for nodes to come online"
 
12
    sleep 1
 
13
done