Skip to content

Commit

Permalink
Working with 3 auto-scale groups
Browse files Browse the repository at this point in the history
  • Loading branch information
KenBarr committed Apr 24, 2017
1 parent bdc4a90 commit 9a9aaee
Show file tree
Hide file tree
Showing 10 changed files with 2,035 additions and 43 deletions.
Empty file added scripts/config-solace-ha.sh
Empty file.
3 changes: 1 addition & 2 deletions scripts/gen-cluster-hosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
# If no stack is given, we try to figure out out from tags of this
# instance.
#
# The assumption is that the Cloudformation Stack deploys 1 or more
# autoscaling groups.
# The assumption is that the Cloudformation Stack deploys 2 autoscaling groups.
# MessageRouter (/tmp/routers)
# MonitorNodes (/tmp/monitors)
#
Expand Down
25 changes: 25 additions & 0 deletions scripts/install-ansible.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

if [ ! -f /usr/bin/wget ] ; then
[ `which yum` ] && yum install -y wget
[ `which apt-get` ] && apt-get -y install wget
fi

if [ ! -f /usr/local/bin/ansible ] ; then
pip install ansible
fi
Empty file added scripts/install-solace.sh
Empty file.
Loading

0 comments on commit 9a9aaee

Please sign in to comment.