From 7e51cd53af1d1561691d88b0a5192992549aa45f Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 18 Oct 2012 14:56:48 +0000 Subject: [PATCH] deployment: set role definition for 2nd node and copy network.yml from shared on sp2 we're getting closer i guess From: Michael Prokop --- deployment.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deployment.sh b/deployment.sh index e7a1d93..078b87c 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1190,9 +1190,13 @@ if "$PRO_EDITION" ; then ngcp-network --host=$ROLE --set-interface=$INTERNAL_DEV ngcp-network --host=$ROLE --move-from=lo --move-to=$INTERNAL_DEV --type=ha_int ngcp-network --host=$PEER --set-interface=eth1 --ip=$DEFAULT_IP2 --netmask=$DEFAULT_INTERNAL_NETMASK --type=ha_int + ngcp-network --host=$PEER --role=proxy --role=lb --role=mgmt cp /etc/ngcp-config/network.yml /mnt/glusterfs/shared_config/network.yml + ngcpcfg build + else # ROLE = sp2 + cp /mnt/glusterfs/shared_config/network.yml /etc/ngcp-config/network.yml ngcpcfg build fi EOT