Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (~deplyr.6)[bharsh@vellerosbuild ~deplyr.6]$ fab -u velleros deploy:configFile=./config.cspire
- [192.168.16.125] Performing tests on this host...
- [192.168.16.125] sudo: cat /etc/sudoers > /dev/null
- [192.168.16.125] Login password:
- [192.168.16.125] out:
- [192.168.16.125] out: We trust you have received the usual lecture from the local System
- [192.168.16.125] out: Administrator. It usually boils down to these three things:
- [192.168.16.125] out: #1) Respect the privacy of others.
- [192.168.16.125] out: #2) Think before you type.
- [192.168.16.125] out: #3) With great power comes great responsibility.
- [192.168.16.125] out: sudo password:
- [192.168.16.125] Checking installations
- [192.168.16.125] sudo: [ -d /var/lib/mysql ]
- [192.168.16.125] sudo: [ -d /var/lib/heartbeat/crm ]
- [192.168.16.125] sudo: [ -d /usr/lib/ocf/resource.d/velleros ]
- [192.168.16.125] sudo: [ -f /etc/init.d/pacemaker ]
- [192.168.16.125] sudo: [ -f /etc/init.d/corosync ]
- [192.168.16.125] sudo: [ -f /etc/init.d/mysqld ]
- [192.168.16.125] Making sure relevant services are shut down
- [192.168.16.125] sudo: /etc/init.d/pacemaker stop
- [192.168.16.125] out: sudo password:[192.168.16.125] sudo: /etc/init.d/corosync stop
- [192.168.16.125] sudo: /etc/init.d/mysqld stop
- [192.168.16.125] out: Stopping mysqld: [ OK ]
- If everything looks okay for this host, hit enter and I'll move on to the next. Otherwise C-c
- [192.168.16.126] Performing tests on this host...
- [192.168.16.126] sudo: cat /etc/sudoers > /dev/null
- [192.168.16.126] out:
- [192.168.16.126] out: We trust you have received the usual lecture from the local System
- [192.168.16.126] out: Administrator. It usually boils down to these three things:
- [192.168.16.126] out: #1) Respect the privacy of others.
- [192.168.16.126] out: #2) Think before you type.
- [192.168.16.126] out: #3) With great power comes great responsibility.
- [192.168.16.126] out: sudo password:
- [192.168.16.126] Checking installations
- [192.168.16.126] sudo: [ -d /var/lib/mysql ]
- [192.168.16.126] sudo: [ -d /var/lib/heartbeat/crm ]
- [192.168.16.126] sudo: [ -d /usr/lib/ocf/resource.d/velleros ]
- [192.168.16.126] sudo: [ -f /etc/init.d/pacemaker ]
- [192.168.16.126] sudo: [ -f /etc/init.d/corosync ]
- [192.168.16.126] sudo: [ -f /etc/init.d/mysqld ]
- [192.168.16.126] Making sure relevant services are shut down
- [192.168.16.126] sudo: /etc/init.d/pacemaker stop
- [192.168.16.126] out: sudo password:[192.168.16.126] sudo: /etc/init.d/corosync stop
- [192.168.16.126] sudo: /etc/init.d/mysqld stop
- [192.168.16.126] out: Stopping mysqld: [ OK ]
- If everything looks okay for this host, hit enter and I'll move on to the next. Otherwise C-c
- [localhost] local: mkdir -p hosts/192.168.16.125
- [192.168.16.125] sudo: /usr/sbin/corosync-keygen
- [192.168.16.125] out: Corosync Cluster Engine Authentication key generator.
- [192.168.16.125] out: Gathering 1024 bits for key from /dev/random.
- [192.168.16.125] out: Press keys on your keyboard to generate entropy.
- [192.168.16.125] out: Writing corosync key to /etc/corosync/authkey.
- [192.168.16.125] sudo: chmod go+r /etc/corosync/authkey
- [192.168.16.125] download: /home/bharsh/deployer/~deplyr.6/hosts/authkey <- /etc/corosync/authkey
- Warning: Local file /home/bharsh/deployer/~deplyr.6/hosts/authkey already exists and is being overwritten.
- [192.168.16.125] sudo: chmod go-r /etc/corosync/authkey
- [192.168.16.125] sudo: /etc/init.d/pacemaker status
- [192.168.16.125] out: pacemakerd is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/pacemaker status'
- [192.168.16.125] sudo: /etc/init.d/corosync status
- [192.168.16.125] out: corosync is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/corosync status'
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/corosync.conf and uploading to /etc/corosync/corosync.conf
- [localhost] local: mkdir -p hosts/192.168.16.125
- [localhost] local: cp conf/pcmk.template hosts/192.168.16.125/pcmk
- [localhost] local: cp conf/corosync.template.conf hosts/192.168.16.125/corosync.conf
- [localhost] local: sed -i "s/|bindnetaddr|/192.168.16.0/g" hosts/192.168.16.125/corosync.conf
- [localhost] local: sed -i "s/|members|/\tmember {\n\tmemberaddr: 192.168.16.125\n\t}\n\tmember {\n\tmemberaddr: 192.168.16.126\n\t}\n/g" hosts/192.168.16.125/corosync.conf
- [192.168.16.125] put: hosts/192.168.16.125/pcmk -> /etc/corosync/service.d/pcmk
- [192.168.16.125] put: hosts/192.168.16.125/corosync.conf -> /etc/corosync/corosync.conf
- [192.168.16.125] sudo: /etc/init.d/corosync start
- [192.168.16.125] out: Starting Corosync Cluster Engine (corosync): [ OK ]
- [192.168.16.125] sudo: /etc/init.d/pacemaker start
- [192.168.16.125] out: Starting Pacemaker Cluster Manager: [ OK ]
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/cvne.ini and uploading to /etc/velleros/cvned.ini
- [localhost] local: mkdir -p hosts/192.168.16.125
- [localhost] local: cp conf/cvne.template.ini hosts/192.168.16.125/cvne.ini
- [localhost] local: sed -i "s@|db|@/var/db/cvne.sqlite3@g" hosts/192.168.16.125/cvne.ini
- [localhost] local: sed -i "s/|listen-port|/4442/g" hosts/192.168.16.125/cvne.ini
- [localhost] local: sed -i "s/|listen-addr|/0.0.0.0/g" hosts/192.168.16.125/cvne.ini
- [localhost] local: sed -i "s/|vne-peer|/192.168.16.126:4442/g" hosts/192.168.16.125/cvne.ini
- [192.168.16.125] put: hosts/192.168.16.125/cvne.ini -> /etc/velleros/cvned.ini
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/avne.ini and uploading to /etc/velleros/avned.ini
- [localhost] local: mkdir -p hosts/192.168.16.125
- [localhost] local: cp conf/avne.template.ini hosts/192.168.16.125/avne.ini
- [localhost] local: sed -i "s@|db|@/var/db/avne.sqlite3@g" hosts/192.168.16.125/avne.ini
- [localhost] local: sed -i "s/|listen-port|/4443/g" hosts/192.168.16.125/avne.ini
- [localhost] local: sed -i "s/|listen-addr|/0.0.0.0/g" hosts/192.168.16.125/avne.ini
- [localhost] local: sed -i "s/|vne-peer|/192.168.16.126:4443/g" hosts/192.168.16.125/avne.ini
- [192.168.16.125] put: hosts/192.168.16.125/avne.ini -> /etc/velleros/avned.ini
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/cmspgw.ini and uploading to /etc/velleros/cmspgw.ini
- [localhost] local: mkdir -p hosts/192.168.16.125
- [localhost] local: cp conf/cmspgw.template.ini hosts/192.168.16.125/cmspgw.ini
- [localhost] local: sed -i "s/|cvne-host|/localhost/g" hosts/192.168.16.125/cmspgw.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.125/cmspgw.ini
- [localhost] local: sed -i "s/|femagateway|/192.168.16.81/g" hosts/192.168.16.125/cmspgw.ini
- [192.168.16.125] put: hosts/192.168.16.125/cmspgw.ini -> /etc/velleros/cmspgw.ini
- [192.168.16.125] sudo: /etc/init.d/mysqld status
- [192.168.16.125] out: mysqld is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/mysqld status'
- [192.168.16.125] Performing initial mysql setup
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/my.cnf and uploading to /etc/my.cnf
- [localhost] local: mkdir -p hosts/192.168.16.125
- [localhost] local: cp conf/my.template.cnf hosts/192.168.16.125/my.cnf
- [localhost] local: sed -i "s/|repldb|/gis/g" hosts/192.168.16.125/my.cnf
- [localhost] local: sed -i "s/|servid|/1/g" hosts/192.168.16.125/my.cnf
- [192.168.16.125] put: hosts/192.168.16.125/my.cnf -> /etc/my.cnf
- [192.168.16.125] sudo: /etc/init.d/mysqld start
- [192.168.16.125] out: Initializing MySQL database: WARNING: The host 'cspire-cmsp1' could not be looked up with resolveip.
- [192.168.16.125] out: This probably means that your libc libraries are not 100 % compatible
- [192.168.16.125] out: with this binary MySQL version. The MySQL daemon, mysqld, should work
- [192.168.16.125] out: normally with the exception that host name resolving will not work.
- [192.168.16.125] out: This means that you should use IP addresses instead of hostnames
- [192.168.16.125] out: when specifying MySQL privileges !
- [192.168.16.125] out: Installing MySQL system tables...
- [192.168.16.125] out: OK
- [192.168.16.125] out: Filling help tables...
- [192.168.16.125] out: OK
- [192.168.16.125] out: To start mysqld at boot time you have to copy
- [192.168.16.125] out: support-files/mysql.server to the right place for your system
- [192.168.16.125] out: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
- [192.168.16.125] out: To do so, start the server, then issue the following commands:
- [192.168.16.125] out: /usr/bin/mysqladmin -u root password 'new-password'
- [192.168.16.125] out: /usr/bin/mysqladmin -u root -h cspire-cmsp1 password 'new-password'
- [192.168.16.125] out: Alternatively you can run:
- [192.168.16.125] out: /usr/bin/mysql_secure_installation
- [192.168.16.125] out: which will also give you the option of removing the test
- [192.168.16.125] out: databases and anonymous user created by default. This is
- [192.168.16.125] out: strongly recommended for production servers.
- [192.168.16.125] out: See the manual for more instructions.
- [192.168.16.125] out: You can start the MySQL daemon with:
- [192.168.16.125] out: cd /usr ; /usr/bin/mysqld_safe &
- [192.168.16.125] out: You can test the MySQL daemon with mysql-test-run.pl
- [192.168.16.125] out: cd /usr/mysql-test ; perl mysql-test-run.pl
- [192.168.16.125] out: Please report any problems with the /usr/bin/mysqlbug script!
- [192.168.16.125] out: [ OK ]
- [192.168.16.125] out: Starting mysqld: [ OK ]
- [192.168.16.125] sudo: /usr/bin/mysqladmin -u root password 'pa22wd'
- [192.168.16.125] sudo: echo "CREATE USER 'repluser'@'192.168.16.126' identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.125] sudo: echo "GRANT REPLICATION SLAVE ON *.* to repluser@192.168.16.126 identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.125] sudo: echo "CHANGE MASTER TO MASTER_HOST='192.168.16.126', MASTER_USER='repluser', MASTER_PASSWORD='R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.125] sudo: echo "START SLAVE;"|mysql --batch --user=root --password=pa22wd
- [192.168.16.125] sudo: /etc/init.d/mysqld stop
- [192.168.16.125] out: Stopping mysqld: [ OK ]
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/gisd.ini and uploading to /etc/velleros/gisd.ini
- [localhost] local: mkdir -p hosts/192.168.16.125
- [localhost] local: cp conf/gisd.template.ini hosts/192.168.16.125/gisd.ini
- [localhost] local: sed -i "s/|mysql-host|/localhost/g" hosts/192.168.16.125/gisd.ini
- [localhost] local: sed -i "s/|mysql-user|/gis/g" hosts/192.168.16.125/gisd.ini
- [localhost] local: sed -i "s/|mysql-pass|/gis/g" hosts/192.168.16.125/gisd.ini
- [localhost] local: sed -i "s/|mysql-database|/gis/g" hosts/192.168.16.125/gisd.ini
- [localhost] local: sed -i "s/|gisd-host|/0.0.0.0/g" hosts/192.168.16.125/gisd.ini
- [localhost] local: sed -i "s/|gisd-port|/3477/g" hosts/192.168.16.125/gisd.ini
- [192.168.16.125] put: hosts/192.168.16.125/gisd.ini -> /etc/velleros/gisd.ini
- [192.168.16.125] Examining broadcaster configuration
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini and uploading to /etc/velleros/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: cp conf/cmspgw-cdma-cbc-broadcaster.template.ini hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cbc-host|/127.0.0.1/g" hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cbc-port|/7888/g" hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-host|/127.0.0.1/g" hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|listen-host|/0.0.0.0/g" hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|listen-port|/6080/g" hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini
- [192.168.16.125] put: hosts/192.168.16.125/cmspgw-cdma-cbc-broadcaster.ini -> /etc/velleros/cmspgw-cdma-cbc-broadcaster.ini
- [192.168.16.125] Applying configuration to hosts/192.168.16.125/cmspgw-avne-broadcaster.ini and uploading to /etc/velleros/cmspgw-avne-broadcaster.ini
- [localhost] local: cp conf/cmspgw-avne-broadcaster.template.ini hosts/192.168.16.125/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|avne-host|/127.0.0.1/g" hosts/192.168.16.125/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|avne-port|/4443/g" hosts/192.168.16.125/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-host|/127.0.0.1/g" hosts/192.168.16.125/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.125/cmspgw-avne-broadcaster.ini
- [192.168.16.125] put: hosts/192.168.16.125/cmspgw-avne-broadcaster.ini -> /etc/velleros/cmspgw-avne-broadcaster.ini
- [192.168.16.126] put: hosts/authkey -> /etc/corosync/authkey
- [192.168.16.126] sudo: chmod go-r /etc/corosync/authkey
- [192.168.16.126] sudo: /etc/init.d/pacemaker status
- [192.168.16.126] out: pacemakerd is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/pacemaker status'
- [192.168.16.126] sudo: /etc/init.d/corosync status
- [192.168.16.126] out: corosync is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/corosync status'
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/corosync.conf and uploading to /etc/corosync/corosync.conf
- [localhost] local: mkdir -p hosts/192.168.16.126
- [localhost] local: cp conf/pcmk.template hosts/192.168.16.126/pcmk
- [localhost] local: cp conf/corosync.template.conf hosts/192.168.16.126/corosync.conf
- [localhost] local: sed -i "s/|bindnetaddr|/192.168.16.0/g" hosts/192.168.16.126/corosync.conf
- [localhost] local: sed -i "s/|members|/\tmember {\n\tmemberaddr: 192.168.16.125\n\t}\n\tmember {\n\tmemberaddr: 192.168.16.126\n\t}\n/g" hosts/192.168.16.126/corosync.conf
- [192.168.16.126] put: hosts/192.168.16.126/pcmk -> /etc/corosync/service.d/pcmk
- [192.168.16.126] put: hosts/192.168.16.126/corosync.conf -> /etc/corosync/corosync.conf
- [192.168.16.126] sudo: /etc/init.d/corosync start
- [192.168.16.126] out: Starting Corosync Cluster Engine (corosync): [ OK ]
- [192.168.16.126] sudo: /etc/init.d/pacemaker start
- [192.168.16.126] out: Starting Pacemaker Cluster Manager: [ OK ]
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/cvne.ini and uploading to /etc/velleros/cvned.ini
- [localhost] local: mkdir -p hosts/192.168.16.126
- [localhost] local: cp conf/cvne.template.ini hosts/192.168.16.126/cvne.ini
- [localhost] local: sed -i "s@|db|@/var/db/cvne.sqlite3@g" hosts/192.168.16.126/cvne.ini
- [localhost] local: sed -i "s/|listen-port|/4442/g" hosts/192.168.16.126/cvne.ini
- [localhost] local: sed -i "s/|listen-addr|/0.0.0.0/g" hosts/192.168.16.126/cvne.ini
- [localhost] local: sed -i "s/|vne-peer|/192.168.16.125:4442/g" hosts/192.168.16.126/cvne.ini
- [192.168.16.126] put: hosts/192.168.16.126/cvne.ini -> /etc/velleros/cvned.ini
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/avne.ini and uploading to /etc/velleros/avned.ini
- [localhost] local: mkdir -p hosts/192.168.16.126
- [localhost] local: cp conf/avne.template.ini hosts/192.168.16.126/avne.ini
- [localhost] local: sed -i "s@|db|@/var/db/avne.sqlite3@g" hosts/192.168.16.126/avne.ini
- [localhost] local: sed -i "s/|listen-port|/4443/g" hosts/192.168.16.126/avne.ini
- [localhost] local: sed -i "s/|listen-addr|/0.0.0.0/g" hosts/192.168.16.126/avne.ini
- [localhost] local: sed -i "s/|vne-peer|/192.168.16.125:4443/g" hosts/192.168.16.126/avne.ini
- [192.168.16.126] put: hosts/192.168.16.126/avne.ini -> /etc/velleros/avned.ini
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/cmspgw.ini and uploading to /etc/velleros/cmspgw.ini
- [localhost] local: mkdir -p hosts/192.168.16.126
- [localhost] local: cp conf/cmspgw.template.ini hosts/192.168.16.126/cmspgw.ini
- [localhost] local: sed -i "s/|cvne-host|/localhost/g" hosts/192.168.16.126/cmspgw.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.126/cmspgw.ini
- [localhost] local: sed -i "s/|femagateway|/192.168.16.81/g" hosts/192.168.16.126/cmspgw.ini
- [192.168.16.126] put: hosts/192.168.16.126/cmspgw.ini -> /etc/velleros/cmspgw.ini
- [192.168.16.126] sudo: /etc/init.d/mysqld status
- [192.168.16.126] out: mysqld is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/mysqld status'
- [192.168.16.126] Performing initial mysql setup
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/my.cnf and uploading to /etc/my.cnf
- [localhost] local: mkdir -p hosts/192.168.16.126
- [localhost] local: cp conf/my.template.cnf hosts/192.168.16.126/my.cnf
- [localhost] local: sed -i "s/|repldb|/gis/g" hosts/192.168.16.126/my.cnf
- [localhost] local: sed -i "s/|servid|/2/g" hosts/192.168.16.126/my.cnf
- [192.168.16.126] put: hosts/192.168.16.126/my.cnf -> /etc/my.cnf
- [192.168.16.126] sudo: /etc/init.d/mysqld start
- [192.168.16.126] out: Initializing MySQL database: WARNING: The host 'cspire-cmsp2' could not be looked up with resolveip.
- [192.168.16.126] out: This probably means that your libc libraries are not 100 % compatible
- [192.168.16.126] out: with this binary MySQL version. The MySQL daemon, mysqld, should work
- [192.168.16.126] out: normally with the exception that host name resolving will not work.
- [192.168.16.126] out: This means that you should use IP addresses instead of hostnames
- [192.168.16.126] out: when specifying MySQL privileges !
- [192.168.16.126] out: Installing MySQL system tables...
- [192.168.16.126] out: OK
- [192.168.16.126] out: Filling help tables...
- [192.168.16.126] out: OK
- [192.168.16.126] out: To start mysqld at boot time you have to copy
- [192.168.16.126] out: support-files/mysql.server to the right place for your system
- [192.168.16.126] out: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
- [192.168.16.126] out: To do so, start the server, then issue the following commands:
- [192.168.16.126] out: /usr/bin/mysqladmin -u root password 'new-password'
- [192.168.16.126] out: /usr/bin/mysqladmin -u root -h cspire-cmsp2 password 'new-password'
- [192.168.16.126] out: Alternatively you can run:
- [192.168.16.126] out: /usr/bin/mysql_secure_installation
- [192.168.16.126] out: which will also give you the option of removing the test
- [192.168.16.126] out: databases and anonymous user created by default. This is
- [192.168.16.126] out: strongly recommended for production servers.
- [192.168.16.126] out: See the manual for more instructions.
- [192.168.16.126] out: You can start the MySQL daemon with:
- [192.168.16.126] out: cd /usr ; /usr/bin/mysqld_safe &
- [192.168.16.126] out: You can test the MySQL daemon with mysql-test-run.pl
- [192.168.16.126] out: cd /usr/mysql-test ; perl mysql-test-run.pl
- [192.168.16.126] out: Please report any problems with the /usr/bin/mysqlbug script!
- [192.168.16.126] out: [ OK ]
- [192.168.16.126] out: Starting mysqld: [ OK ]
- [192.168.16.126] sudo: /usr/bin/mysqladmin -u root password 'pa22wd'
- [192.168.16.126] sudo: echo "CREATE USER 'repluser'@'192.168.16.125' identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.126] sudo: echo "GRANT REPLICATION SLAVE ON *.* to repluser@192.168.16.125 identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.126] sudo: echo "CHANGE MASTER TO MASTER_HOST='192.168.16.125', MASTER_USER='repluser', MASTER_PASSWORD='R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.126] sudo: echo "START SLAVE;"|mysql --batch --user=root --password=pa22wd
- [192.168.16.126] sudo: /etc/init.d/mysqld stop
- [192.168.16.126] out: Stopping mysqld: [ OK ]
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/gisd.ini and uploading to /etc/velleros/gisd.ini
- [localhost] local: mkdir -p hosts/192.168.16.126
- [localhost] local: cp conf/gisd.template.ini hosts/192.168.16.126/gisd.ini
- [localhost] local: sed -i "s/|mysql-host|/localhost/g" hosts/192.168.16.126/gisd.ini
- [localhost] local: sed -i "s/|mysql-user|/gis/g" hosts/192.168.16.126/gisd.ini
- [localhost] local: sed -i "s/|mysql-pass|/gis/g" hosts/192.168.16.126/gisd.ini
- [localhost] local: sed -i "s/|mysql-database|/gis/g" hosts/192.168.16.126/gisd.ini
- [localhost] local: sed -i "s/|gisd-host|/0.0.0.0/g" hosts/192.168.16.126/gisd.ini
- [localhost] local: sed -i "s/|gisd-port|/3477/g" hosts/192.168.16.126/gisd.ini
- [192.168.16.126] put: hosts/192.168.16.126/gisd.ini -> /etc/velleros/gisd.ini
- [192.168.16.126] Examining broadcaster configuration
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini and uploading to /etc/velleros/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: cp conf/cmspgw-cdma-cbc-broadcaster.template.ini hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cbc-host|/127.0.0.1/g" hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cbc-port|/7888/g" hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-host|/127.0.0.1/g" hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|listen-host|/0.0.0.0/g" hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini
- [localhost] local: sed -i "s/|listen-port|/6080/g" hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini
- [192.168.16.126] put: hosts/192.168.16.126/cmspgw-cdma-cbc-broadcaster.ini -> /etc/velleros/cmspgw-cdma-cbc-broadcaster.ini
- [192.168.16.126] Applying configuration to hosts/192.168.16.126/cmspgw-avne-broadcaster.ini and uploading to /etc/velleros/cmspgw-avne-broadcaster.ini
- [localhost] local: cp conf/cmspgw-avne-broadcaster.template.ini hosts/192.168.16.126/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|avne-host|/127.0.0.1/g" hosts/192.168.16.126/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|avne-port|/4443/g" hosts/192.168.16.126/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-host|/127.0.0.1/g" hosts/192.168.16.126/cmspgw-avne-broadcaster.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.126/cmspgw-avne-broadcaster.ini
- [192.168.16.126] put: hosts/192.168.16.126/cmspgw-avne-broadcaster.ini -> /etc/velleros/cmspgw-avne-broadcaster.ini
- [192.168.16.125] sudo: /etc/init.d/pacemaker status
- [192.168.16.125] out: pacemakerd (pid 4194) is running...
- [192.168.16.125] sudo: /etc/init.d/corosync status
- [192.168.16.125] out: corosync (pid 4133) is running...
- [192.168.16.125] sudo: /usr/sbin/crm configure property stonith-enabled=false
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive FloatingIP ocf:heartbeat:IPaddr2 params ip=192.168.16.127 cidr_netmask=32 op monitor interval=10s
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive cvne ocf:velleros:vne params pidfile=/var/run/cvne.pid config=/etc/velleros/cvned.ini op monitor interval=10s
- [192.168.16.125] sudo: /usr/sbin/crm configure clone cluster_cvne cvne meta globally-unique="true" clone-max="2" clone-node-max="1" interleave="true"
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive avne ocf:velleros:vne params pidfile=/var/run/avne.pid config=/etc/velleros/avned.ini op monitor interval=10s
- [192.168.16.125] sudo: /usr/sbin/crm configure clone cluster_avne avne meta globally-unique="true" clone-max="2" clone-node-max="1" interleave="true"
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive cmspgw ocf:velleros:cmspgw params pidfile=/var/run/cmspgw.pid config=/etc/velleros/cmspgw.ini op monitor interval=10s
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive vmysqld ocf:heartbeat:mysql params binary="/usr/bin/mysqld_safe" config="/etc/my.cnf" socket="/var/lib/mysql/mysql.sock" datadir="/var/lib/mysql" user="mysql" op monitor interval=10s
- [192.168.16.125] out: WARNING: vmysqld: default timeout 20s for start is smaller than the advised 120
- [192.168.16.125] out: WARNING: vmysqld: default timeout 20s for stop is smaller than the advised 120
- [192.168.16.125] out: WARNING: vmysqld: default timeout 20s for monitor is smaller than the advised 30
- [192.168.16.125] sudo: crm configure clone cluster_vmysqld vmysqld meta globally-unique="true" clone-max="2" clone-node-max="1" interleave="true"
- [192.168.16.125] Waiting 15 seconds for Cluster to settle before proceeding...
- [192.168.16.125] sudo: echo "CREATE DATABASE gis;"|mysql --batch --user=root --password=pa22wd
- [192.168.16.125] out: sudo password:
- [192.168.16.125] out: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
- Warning: sudo() encountered an error (return code 1) while executing 'echo "CREATE DATABASE gis;"|mysql --batch --user=root --password=pa22wd '
- [192.168.16.125] sudo: mysql --batch --user=root --password=pa22wd gis < /etc/velleros/schema/gis_objects.sql
- [192.168.16.125] out: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
- Warning: sudo() encountered an error (return code 1) while executing 'mysql --batch --user=root --password=pa22wd gis < /etc/velleros/schema/gis_objects.sql'
- [192.168.16.125] Waiting 60 seconds for MySQL replication to occur
- [192.168.16.125] sudo: echo "CREATE USER 'gis'@'localhost' identified by 'gis';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.125] sudo: echo "GRANT ALL PRIVILEGES ON *.* to gis@localhost identified by 'gis';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive gisd ocf:velleros:gisd params pidfile=/var/run/gisd.pid config=/etc/velleros/gisd.ini op monitor interval=10s
- [192.168.16.125] sudo: /usr/sbin/crm configure clone cluster_gisd gisd meta globally-unique="true" clone-max="2" clone-node-max="1" interleave="true"
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive cmspgw-cdma-cbc ocf:velleros:cmspgw-broadcaster params pidfile=/var/run/cmspgw-cdma-cbc.pid config=/etc/velleros/cmspgw-cdma-cbc-broadcaster.ini broadcaster_type=cdma-cbc op monitor interval=10s
- [192.168.16.125] sudo: /usr/sbin/crm configure primitive cmspgw-avne ocf:velleros:cmspgw-broadcaster params pidfile=/var/run/cmspgw-avne.pid config=/etc/velleros/cmspgw-avne-broadcaster.ini broadcaster_type=avne op monitor interval=10s
- [192.168.16.125] sudo: /usr/sbin/crm configure group actsby FloatingIP cmspgw cmspgw-cdma-cbc cmspgw-avne
- [192.168.16.126] sudo: echo "CREATE USER 'gis'@'localhost' identified by 'gis';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.126] sudo: echo "GRANT ALL PRIVILEGES ON *.* to gis@localhost identified by 'gis';"|mysql --batch --user=root --password=pa22wd
- Done.
- Disconnecting from 192.168.16.126... done.
- Disconnecting from 192.168.16.125... done.
- (~deplyr.6)[bharsh@vellerosbuild ~deplyr.6]$ exit
- [bharsh@vellerosbuild ~deplyr.6]$ cat config.cspire
- [192.168.16.125]
- role=primary
- ip=192.168.16.125
- cluster_bind_addr=192.168.16.0
- cluster_floating_addr=192.168.16.127
- cvne_enable=True
- cvne_remote_config=/etc/velleros/cvned.ini
- cvne_port=4442
- cvne_listen=0.0.0.0
- cvne_peers=192.168.16.126:4442
- cvne_db=/var/db/cvne.sqlite3
- avne_enable=True
- avne_remote_config=/etc/velleros/avned.ini
- avne_port=4443
- avne_listen=0.0.0.0
- avne_peers=192.168.16.126:4443
- avne_db=/var/db/avne.sqlite3
- cmspgw_enable=True
- cmspgw_remote_config=/etc/velleros/cmspgw.ini
- cmspgw_cvne_host=localhost
- cmspgw_cvne_port=4442
- cmspgw_femagateway=192.168.16.81
- mysql_repl_rootpass=pa22wd
- mysql_repl_enable=True
- mysql_repl_master=192.168.16.126
- mysql_repl_user=repluser
- mysql_repl_pass=R3pl1cat3
- mysql_repl_dbs=gis
- gisd_enable=True
- gisd_remote_config=/etc/velleros/gisd.ini
- gisd_mysql_host=localhost
- gisd_mysql_user=gis
- gisd_mysql_pass=gis
- gisd_mysql_database=gis
- gisd_port=3477
- gisd_host=0.0.0.0
- #Broadcasters
- cdma_cbc_broadcaster_enable=True
- cdma_cbc_remote_config=/etc/velleros/cmspgw-cdma-cbc-broadcaster.ini
- cdma_cbc_host=127.0.0.1
- cdma_cbc_port=7888
- cdma_cbc_cvne_host=127.0.0.1
- cdma_cbc_cvne_port=4442
- cdma_cbc_listen_host=0.0.0.0
- cdma_cbc_listen_port=6080
- gsm_cbc_broadcaster_enable=False
- gsm_cbc_remote_config=/etc/velleros/cmspgw-gsm-cbc-broadcaster.ini
- gsm_cbc_host=127.0.0.1
- gsm_cbc_port=7888
- gsm_cbc_cvne_host=127.0.0.1
- gsm_cbc_cvne_port=4442
- gsm_cbc_listen_host=0.0.0.0
- gsm_cbc_listen_port=6080
- gis_broadcaster_enable=False
- gis_broadcaster_remote_config=/etc/velleros/cmspgw-gis-broadcaster.ini
- gis_broadcaster_gis_host=127.0.0.1
- gis_broadcaster_gis_port=3477
- gis_broadcaster_cvne_host=127.0.0.1
- gis_broadcaster_cvne_port=4442
- gis_broadcaster_listen_host=0.0.0.0
- gis_broadcaster_listen_port=6080
- avne_broadcaster_enable=True
- avne_broadcaster_remote_config=/etc/velleros/cmspgw-avne-broadcaster.ini
- avne_broadcaster_cvne_host=127.0.0.1
- avne_broadcaster_cvne_port=4442
- avne_broadcaster_avne_host=127.0.0.1
- avne_broadcaster_avne_port=4443
- [192.168.16.126]
- role=secondary
- ip=192.168.16.126
- cluster_bind_addr=192.168.16.0
- cvne_enable=True
- cvne_remote_config=/etc/velleros/cvned.ini
- cvne_port=4442
- cvne_listen=0.0.0.0
- cvne_peers=192.168.16.125:4442
- cvne_db=/var/db/cvne.sqlite3
- avne_enable=True
- avne_remote_config=/etc/velleros/avned.ini
- avne_port=4443
- avne_listen=0.0.0.0
- avne_peers=192.168.16.125:4443
- avne_db=/var/db/avne.sqlite3
- cmspgw_enable=True
- cmspgw_remote_config=/etc/velleros/cmspgw.ini
- cmspgw_cvne_host=localhost
- cmspgw_cvne_port=4442
- cmspgw_femagateway=192.168.16.81
- mysql_repl_rootpass=pa22wd
- mysql_repl_enable=True
- mysql_repl_master=192.168.16.125
- mysql_repl_user=repluser
- mysql_repl_pass=R3pl1cat3
- mysql_repl_dbs=gis
- gisd_enable=True
- gisd_remote_config=/etc/velleros/gisd.ini
- gisd_mysql_host=localhost
- gisd_mysql_user=gis
- gisd_mysql_pass=gis
- gisd_mysql_database=gis
- gisd_port=3477
- gisd_host=0.0.0.0
- #Broadcasters
- cdma_cbc_broadcaster_enable=True
- cdma_cbc_remote_config=/etc/velleros/cmspgw-cdma-cbc-broadcaster.ini
- cdma_cbc_host=127.0.0.1
- cdma_cbc_port=7888
- cdma_cbc_cvne_host=127.0.0.1
- cdma_cbc_cvne_port=4442
- cdma_cbc_listen_host=0.0.0.0
- cdma_cbc_listen_port=6080
- gsm_cbc_broadcaster_enable=False
- gsm_cbc_remote_config=/etc/velleros/cmspgw-gsm-cbc-broadcaster.ini
- gsm_cbc_host=127.0.0.1
- gsm_cbc_port=7888
- gsm_cbc_cvne_host=127.0.0.1
- gsm_cbc_cvne_port=4442
- gsm_cbc_listen_host=0.0.0.0
- gsm_cbc_listen_port=6080
- gis_broadcaster_enable=False
- gis_broadcaster_remote_config=/etc/velleros/cmspgw-gis-broadcaster.ini
- gis_broadcaster_gis_host=127.0.0.1
- gis_broadcaster_gis_port=3477
- gis_broadcaster_cvne_host=127.0.0.1
- gis_broadcaster_cvne_port=4442
- gis_broadcaster_listen_host=0.0.0.0
- gis_broadcaster_listen_port=6080
- avne_broadcaster_enable=True
- avne_broadcaster_remote_config=/etc/velleros/cmspgw-avne-broadcaster.ini
- avne_broadcaster_cvne_host=127.0.0.1
- avne_broadcaster_cvne_port=4442
- avne_broadcaster_avne_host=127.0.0.1
- avne_broadcaster_avne_port=4443
- [bharsh@vellerosbuild ~deplyr.6]$
Add Comment
Please, Sign In to add comment