Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (deployomc)[steve@fedora6 deployomc]$ fab -u slinthicum deploy:configFile=./config.omc
- [192.168.16.251] Performing tests on this host...
- [192.168.16.251] sudo: cat /etc/sudoers > /dev/null
- [192.168.16.251] Login password:
- [192.168.16.251] Checking installations
- [192.168.16.251] sudo: [ -d /var/lib/mysql ]
- [192.168.16.251] sudo: [ -d /var/lib/heartbeat/crm ]
- [192.168.16.251] sudo: [ -d /usr/lib/ocf/resource.d/velleros ]
- [192.168.16.251] sudo: [ -f /etc/init.d/pacemaker ]
- [192.168.16.251] sudo: [ -f /etc/init.d/corosync ]
- [192.168.16.251] sudo: [ -f /etc/init.d/mysqld ]
- [192.168.16.251] sudo: [ -d /var/www ]
- [192.168.16.251] sudo: [ -d /etc/httpd/conf ]
- [192.168.16.251] sudo: [ -f /etc/php.ini ]
- [192.168.16.251] Making sure relevant services are shut down
- [192.168.16.251] sudo: /etc/init.d/pacemaker stop
- [192.168.16.251] sudo: /etc/init.d/corosync stop
- [192.168.16.251] sudo: /etc/init.d/mysqld stop
- [192.168.16.251] out: Stopping mysqld: [ OK ]
- [192.168.16.251] sudo: /etc/init.d/httpd stop
- [192.168.16.251] out: Stopping httpd: [ OK ]
- If everything looks okay for this host, hit enter and I'll move on to the next. Otherwise C-c
- [192.168.16.250] Performing tests on this host...
- [192.168.16.250] sudo: cat /etc/sudoers > /dev/null
- [192.168.16.250] Checking installations
- [192.168.16.250] sudo: [ -d /var/lib/mysql ]
- [192.168.16.250] sudo: [ -d /var/lib/heartbeat/crm ]
- [192.168.16.250] sudo: [ -d /usr/lib/ocf/resource.d/velleros ]
- [192.168.16.250] sudo: [ -f /etc/init.d/pacemaker ]
- [192.168.16.250] sudo: [ -f /etc/init.d/corosync ]
- [192.168.16.250] sudo: [ -f /etc/init.d/mysqld ]
- [192.168.16.250] sudo: [ -d /var/www ]
- [192.168.16.250] sudo: [ -d /etc/httpd/conf ]
- [192.168.16.250] sudo: [ -f /etc/php.ini ]
- [192.168.16.250] Making sure relevant services are shut down
- [192.168.16.250] sudo: /etc/init.d/pacemaker stop
- [192.168.16.250] sudo: /etc/init.d/corosync stop
- [192.168.16.250] sudo: /etc/init.d/mysqld stop
- [192.168.16.250] out: Stopping mysqld: [ OK ]
- [192.168.16.250] sudo: /etc/init.d/httpd stop
- [192.168.16.250] out: Stopping httpd: [ 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.251
- [192.168.16.251] sudo: /usr/sbin/corosync-keygen
- [192.168.16.251] out: Corosync Cluster Engine Authentication key generator.
- [192.168.16.251] out: Gathering 1024 bits for key from /dev/random.
- [192.168.16.251] out: Press keys on your keyboard to generate entropy.
- [192.168.16.251] out: Writing corosync key to /etc/corosync/authkey.
- [192.168.16.251] sudo: chmod go+r /etc/corosync/authkey
- [192.168.16.251] download: /home/steve/deployomc/hosts/authkey <- /etc/corosync/authkey
- [192.168.16.251] sudo: chmod go-r /etc/corosync/authkey
- [192.168.16.251] sudo: /etc/init.d/pacemaker status
- [192.168.16.251] out: pacemakerd is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/pacemaker status'
- [192.168.16.251] sudo: /etc/init.d/corosync status
- [192.168.16.251] out: corosync is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/corosync status'
- [192.168.16.251] Applying configuration to hosts/192.168.16.251/corosync.conf and uploading to /etc/corosync/corosync.conf
- [localhost] local: mkdir -p hosts/192.168.16.251
- [localhost] local: cp conf/pcmk.template hosts/192.168.16.251/pcmk
- [localhost] local: cp conf/corosync.template.conf hosts/192.168.16.251/corosync.conf
- [localhost] local: sed -i "s/|bindnetaddr|/192.168.16.0/g" hosts/192.168.16.251/corosync.conf
- [localhost] local: sed -i "s/|members|/\tmember {\n\tmemberaddr: 192.168.16.251\n\t}\n\tmember {\n\tmemberaddr: 192.168.16.250\n\t}\n/g" hosts/192.168.16.251/corosync.conf
- [192.168.16.251] put: hosts/192.168.16.251/pcmk -> /etc/corosync/service.d/pcmk
- [192.168.16.251] put: hosts/192.168.16.251/corosync.conf -> /etc/corosync/corosync.conf
- [192.168.16.251] sudo: /etc/init.d/corosync start
- [192.168.16.251] out: Starting Corosync Cluster Engine (corosync): [ OK ]
- [192.168.16.251] sudo: /etc/init.d/pacemaker start
- [192.168.16.251] out: Starting Pacemaker Cluster Manager: [ OK ]
- [192.168.16.251] Applying configuration to hosts/192.168.16.251/httpd.conf and uploading to /etc/httpd/conf/httpd.conf
- [localhost] local: mkdir -p hosts/192.168.16.251
- [localhost] local: cp conf/http.template.conf hosts/192.168.16.251/httpd.conf
- [localhost] local: sed -i "s@|omcdocroot|@/var/www/html/zend/public@g" hosts/192.168.16.251/httpd.conf
- [192.168.16.251] put: hosts/192.168.16.251/httpd.conf -> /etc/httpd/conf/httpd.conf
- [192.168.16.251] Applying configuration to hosts/192.168.16.251/php.ini and uploading to /etc/php.ini
- [localhost] local: cp conf/php.template.ini hosts/192.168.16.251/php.ini
- [192.168.16.251] put: hosts/192.168.16.251/php.ini -> /etc/php.ini
- [192.168.16.251] Applying configuration to hosts/192.168.16.251/cmspgw-logger.ini and uploading to /etc/velleros/cmspgw-logger.ini
- [localhost] local: mkdir -p hosts/192.168.16.251
- [localhost] local: cp conf/cmspgw-logger.template.ini hosts/192.168.16.251/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbhost|/localhost/g" hosts/192.168.16.251/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbuser|/omc/g" hosts/192.168.16.251/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbpass|/omc/g" hosts/192.168.16.251/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbname|/omc/g" hosts/192.168.16.251/cmspgw-logger.ini
- [localhost] local: sed -i "s/|cvne-host|/192.168.16.207/g" hosts/192.168.16.251/cmspgw-logger.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.251/cmspgw-logger.ini
- [192.168.16.251] put: hosts/192.168.16.251/cmspgw-logger.ini -> /etc/velleros/cmspgw-logger.ini
- [192.168.16.251] sudo: /etc/init.d/mysqld status
- [192.168.16.251] out: mysqld is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/mysqld status'
- [192.168.16.251] Performing initial mysql setup
- [192.168.16.251] Applying configuration to hosts/192.168.16.251/my.cnf and uploading to /etc/my.cnf
- [localhost] local: mkdir -p hosts/192.168.16.251
- [localhost] local: cp conf/my.template.cnf hosts/192.168.16.251/my.cnf
- [localhost] local: sed -i "s/|repldb|/omc/g" hosts/192.168.16.251/my.cnf
- [localhost] local: sed -i "s/|autoincrincr|/10/g" hosts/192.168.16.251/my.cnf
- [localhost] local: sed -i "s/|autoincroffset|/1/g" hosts/192.168.16.251/my.cnf
- [localhost] local: sed -i "s/|servid|/1/g" hosts/192.168.16.251/my.cnf
- [192.168.16.251] put: hosts/192.168.16.251/my.cnf -> /etc/my.cnf
- [192.168.16.251] sudo: /etc/init.d/mysqld start
- [192.168.16.251] out: Initializing MySQL database: WARNING: The host 'steve-omc1' could not be looked up with resolveip.
- [192.168.16.251] out: This probably means that your libc libraries are not 100 % compatible
- [192.168.16.251] out: with this binary MySQL version. The MySQL daemon, mysqld, should work
- [192.168.16.251] out: normally with the exception that host name resolving will not work.
- [192.168.16.251] out: This means that you should use IP addresses instead of hostnames
- [192.168.16.251] out: when specifying MySQL privileges !
- [192.168.16.251] out: Installing MySQL system tables...
- [192.168.16.251] out: OK
- [192.168.16.251] out: Filling help tables...
- [192.168.16.251] out: OK
- [192.168.16.251] out: To start mysqld at boot time you have to copy
- [192.168.16.251] out: support-files/mysql.server to the right place for your system
- [192.168.16.251] out: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
- [192.168.16.251] out: To do so, start the server, then issue the following commands:
- [192.168.16.251] out: /usr/bin/mysqladmin -u root password 'new-password'
- [192.168.16.251] out: /usr/bin/mysqladmin -u root -h steve-omc1 password 'new-password'
- [192.168.16.251] out: Alternatively you can run:
- [192.168.16.251] out: /usr/bin/mysql_secure_installation
- [192.168.16.251] out: which will also give you the option of removing the test
- [192.168.16.251] out: databases and anonymous user created by default. This is
- [192.168.16.251] out: strongly recommended for production servers.
- [192.168.16.251] out: See the manual for more instructions.
- [192.168.16.251] out: You can start the MySQL daemon with:
- [192.168.16.251] out: cd /usr ; /usr/bin/mysqld_safe &
- [192.168.16.251] out: You can test the MySQL daemon with mysql-test-run.pl
- [192.168.16.251] out: cd /usr/mysql-test ; perl mysql-test-run.pl
- [192.168.16.251] out: Please report any problems with the /usr/bin/mysqlbug script!
- [192.168.16.251] out: [ OK ]
- [192.168.16.251] out: Starting mysqld: [ OK ]
- [192.168.16.251] sudo: /usr/bin/mysqladmin -u root password 'pa22wd'
- [192.168.16.251] sudo: echo "CREATE USER 'repluser'@'192.168.16.250' identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.251] sudo: echo "GRANT REPLICATION SLAVE ON *.* to repluser@192.168.16.250 identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.251] sudo: echo "CHANGE MASTER TO MASTER_HOST='192.168.16.250', MASTER_USER='repluser', MASTER_PASSWORD='R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.251] sudo: echo "START SLAVE;"|mysql --batch --user=root --password=pa22wd
- [192.168.16.251] sudo: /etc/init.d/mysqld stop
- [192.168.16.251] out: Stopping mysqld: [ OK ]
- [192.168.16.250] put: hosts/authkey -> /etc/corosync/authkey
- [192.168.16.250] sudo: chmod go-r /etc/corosync/authkey
- [192.168.16.250] sudo: /etc/init.d/pacemaker status
- [192.168.16.250] out: pacemakerd is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/pacemaker status'
- [192.168.16.250] sudo: /etc/init.d/corosync status
- [192.168.16.250] out: corosync is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/corosync status'
- [192.168.16.250] Applying configuration to hosts/192.168.16.250/corosync.conf and uploading to /etc/corosync/corosync.conf
- [localhost] local: mkdir -p hosts/192.168.16.250
- [localhost] local: cp conf/pcmk.template hosts/192.168.16.250/pcmk
- [localhost] local: cp conf/corosync.template.conf hosts/192.168.16.250/corosync.conf
- [localhost] local: sed -i "s/|bindnetaddr|/192.168.16.0/g" hosts/192.168.16.250/corosync.conf
- [localhost] local: sed -i "s/|members|/\tmember {\n\tmemberaddr: 192.168.16.251\n\t}\n\tmember {\n\tmemberaddr: 192.168.16.250\n\t}\n/g" hosts/192.168.16.250/corosync.conf
- [192.168.16.250] put: hosts/192.168.16.250/pcmk -> /etc/corosync/service.d/pcmk
- [192.168.16.250] put: hosts/192.168.16.250/corosync.conf -> /etc/corosync/corosync.conf
- [192.168.16.250] sudo: /etc/init.d/corosync start
- [192.168.16.250] out: Starting Corosync Cluster Engine (corosync): [ OK ]
- [192.168.16.250] sudo: /etc/init.d/pacemaker start
- [192.168.16.250] out: Starting Pacemaker Cluster Manager: [ OK ]
- [192.168.16.250] Applying configuration to hosts/192.168.16.250/httpd.conf and uploading to /etc/httpd/conf/httpd.conf
- [localhost] local: mkdir -p hosts/192.168.16.250
- [localhost] local: cp conf/http.template.conf hosts/192.168.16.250/httpd.conf
- [localhost] local: sed -i "s@|omcdocroot|@/var/www/html/zend/public@g" hosts/192.168.16.250/httpd.conf
- [192.168.16.250] put: hosts/192.168.16.250/httpd.conf -> /etc/httpd/conf/httpd.conf
- [192.168.16.250] Applying configuration to hosts/192.168.16.250/php.ini and uploading to /etc/php.ini
- [localhost] local: cp conf/php.template.ini hosts/192.168.16.250/php.ini
- [192.168.16.250] put: hosts/192.168.16.250/php.ini -> /etc/php.ini
- [192.168.16.250] Applying configuration to hosts/192.168.16.250/cmspgw-logger.ini and uploading to /etc/velleros/cmspgw-logger.ini
- [localhost] local: mkdir -p hosts/192.168.16.250
- [localhost] local: cp conf/cmspgw-logger.template.ini hosts/192.168.16.250/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbhost|/localhost/g" hosts/192.168.16.250/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbuser|/omc/g" hosts/192.168.16.250/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbpass|/omc/g" hosts/192.168.16.250/cmspgw-logger.ini
- [localhost] local: sed -i "s/|dbname|/omc/g" hosts/192.168.16.250/cmspgw-logger.ini
- [localhost] local: sed -i "s/|cvne-host|/192.168.16.207/g" hosts/192.168.16.250/cmspgw-logger.ini
- [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.250/cmspgw-logger.ini
- [192.168.16.250] put: hosts/192.168.16.250/cmspgw-logger.ini -> /etc/velleros/cmspgw-logger.ini
- [192.168.16.250] sudo: /etc/init.d/mysqld status
- [192.168.16.250] out: mysqld is stopped
- Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/mysqld status'
- [192.168.16.250] Performing initial mysql setup
- [192.168.16.250] Applying configuration to hosts/192.168.16.250/my.cnf and uploading to /etc/my.cnf
- [localhost] local: mkdir -p hosts/192.168.16.250
- [localhost] local: cp conf/my.template.cnf hosts/192.168.16.250/my.cnf
- [localhost] local: sed -i "s/|repldb|/omc/g" hosts/192.168.16.250/my.cnf
- [localhost] local: sed -i "s/|autoincrincr|/10/g" hosts/192.168.16.250/my.cnf
- [localhost] local: sed -i "s/|autoincroffset|/2/g" hosts/192.168.16.250/my.cnf
- [localhost] local: sed -i "s/|servid|/2/g" hosts/192.168.16.250/my.cnf
- [192.168.16.250] put: hosts/192.168.16.250/my.cnf -> /etc/my.cnf
- [192.168.16.250] sudo: /etc/init.d/mysqld start
- [192.168.16.250] out: Initializing MySQL database: WARNING: The host 'steve-omc2' could not be looked up with resolveip.
- [192.168.16.250] out: This probably means that your libc libraries are not 100 % compatible
- [192.168.16.250] out: with this binary MySQL version. The MySQL daemon, mysqld, should work
- [192.168.16.250] out: normally with the exception that host name resolving will not work.
- [192.168.16.250] out: This means that you should use IP addresses instead of hostnames
- [192.168.16.250] out: when specifying MySQL privileges !
- [192.168.16.250] out: Installing MySQL system tables...
- [192.168.16.250] out: OK
- [192.168.16.250] out: Filling help tables...
- [192.168.16.250] out: OK
- [192.168.16.250] out: To start mysqld at boot time you have to copy
- [192.168.16.250] out: support-files/mysql.server to the right place for your system
- [192.168.16.250] out: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
- [192.168.16.250] out: To do so, start the server, then issue the following commands:
- [192.168.16.250] out: /usr/bin/mysqladmin -u root password 'new-password'
- [192.168.16.250] out: /usr/bin/mysqladmin -u root -h steve-omc2 password 'new-password'
- [192.168.16.250] out: Alternatively you can run:
- [192.168.16.250] out: /usr/bin/mysql_secure_installation
- [192.168.16.250] out: which will also give you the option of removing the test
- [192.168.16.250] out: databases and anonymous user created by default. This is
- [192.168.16.250] out: strongly recommended for production servers.
- [192.168.16.250] out: See the manual for more instructions.
- [192.168.16.250] out: You can start the MySQL daemon with:
- [192.168.16.250] out: cd /usr ; /usr/bin/mysqld_safe &
- [192.168.16.250] out: You can test the MySQL daemon with mysql-test-run.pl
- [192.168.16.250] out: cd /usr/mysql-test ; perl mysql-test-run.pl
- [192.168.16.250] out: Please report any problems with the /usr/bin/mysqlbug script!
- [192.168.16.250] out: [ OK ]
- [192.168.16.250] out: Starting mysqld: [ OK ]
- [192.168.16.250] sudo: /usr/bin/mysqladmin -u root password 'pa22wd'
- [192.168.16.250] sudo: echo "CREATE USER 'repluser'@'192.168.16.251' identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.250] sudo: echo "GRANT REPLICATION SLAVE ON *.* to repluser@192.168.16.251 identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.250] sudo: echo "CHANGE MASTER TO MASTER_HOST='192.168.16.251', MASTER_USER='repluser', MASTER_PASSWORD='R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.250] sudo: echo "START SLAVE;"|mysql --batch --user=root --password=pa22wd
- [192.168.16.250] sudo: /etc/init.d/mysqld stop
- [192.168.16.250] out: Stopping mysqld: [ OK ]
- [192.168.16.251] sudo: /etc/init.d/pacemaker status
- [192.168.16.251] out: pacemakerd (pid 10430) is running...
- [192.168.16.251] sudo: /etc/init.d/corosync status
- [192.168.16.251] out: corosync (pid 10370) is running...
- [192.168.16.251] sudo: /usr/sbin/crm configure property stonith-enabled=false
- [192.168.16.251] sudo: /usr/sbin/crm configure primitive omcip ocf:heartbeat:IPaddr2 params ip=192.168.16.207 cidr_netmask=32 op monitor interval=10s
- [192.168.16.251] 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.251] out: WARNING: vmysqld: default timeout 20s for start is smaller than the advised 120
- [192.168.16.251] out: WARNING: vmysqld: default timeout 20s for stop is smaller than the advised 120
- [192.168.16.251] out: WARNING: vmysqld: default timeout 20s for monitor is smaller than the advised 30
- [192.168.16.251] sudo: crm configure clone cluster_vmysqld vmysqld meta globally-unique="true" clone-max="2" clone-node-max="1" interleave="true"
- [192.168.16.251] Waiting 60 seconds for Cluster to settle before proceeding...
- [192.168.16.251] sudo: cp /var/www/html/zend/public/.htaccess.example /var/www/html/zend/public/.htaccess
- [192.168.16.251] sudo: sed -i "s/development/production/g" /var/www/html/zend/public/.htaccess
- [192.168.16.251] sudo: sed -i "0,/resources\.db\.params\.host.*/s//resources\.db\.params\.host = localhost/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: sed -i "0,/resources\.db\.params\.username.*/s//resources\.db\.params\.username = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: sed -i "0,/resources\.db\.params\.password.*/s//resources\.db\.params\.password = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: sed -i "0,/resources\.db\.params\.dbname.*/s//resources\.db\.params\.dbname = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.host.*/s//cmspgwlogdb\.host = localhost/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.username.*/s//cmspgwlogdb\.username = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.password.*/s//cmspgwlogdb\.password = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.dbname.*/s//cmspgwlogdb\.dbname = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.251] sudo: echo "CREATE DATABASE omc;"|mysql --batch --user=root --password=pa22wd
- [192.168.16.251] Applying OMC schema
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/cmspgw_cmac_log.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/config.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/cmspgw_broadcasters.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/cmspgw_fema_gateways.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/cmspgw_servers.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/organizations.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/users.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/permissions.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/roles.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/user_roles.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/user_permissions.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/role_permissions.sql
- [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/initial_data.sql
- [192.168.16.251] Waiting 60 seconds for MySQL replication to occur
- [192.168.16.251] sudo: echo "CREATE USER 'omc'@'localhost' identified by 'omc';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.251] sudo: echo "GRANT ALL PRIVILEGES ON *.* to omc@localhost identified by 'omc';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.251] sudo: /usr/sbin/crm configure primitive omchttp ocf:heartbeat:apache params configfile=/etc/httpd/conf/httpd.conf op monitor interval=60
- [192.168.16.251] out: WARNING: omchttp: default timeout 20s for start is smaller than the advised 40s
- [192.168.16.251] out: WARNING: omchttp: default timeout 20s for stop is smaller than the advised 60s
- [192.168.16.251] sudo: /usr/sbin/crm configure primitive cmspgw-logger ocf:velleros:cmspgw-logger params pidfile=/var/run/cmspgw-logger.pid config=/etc/velleros/cmspgw-logger.ini op monitor interval=10s
- [192.168.16.251] sudo: /usr/sbin/crm configure colocation ip-with-omc INFINITY: omcip omchttp
- [192.168.16.251] sudo: /usr/sbin/crm configure order omc-after-vmysqld inf: cluster_vmysqld omchttp
- [192.168.16.251] sudo: /usr/sbin/crm configure order ip-after-omc inf: omchttp omcip
- [192.168.16.251] sudo: /usr/sbin/crm configure colocation cmspgwlogger-with-omc INFINITY: cmspgw-logger omchttp
- [192.168.16.251] sudo: /usr/sbin/crm configure order cmspgwlogger-after-vmysqld inf: cluster_vmysqld cmspgw-logger
- [192.168.16.251] sudo: /sbin/chkconfig corosync on
- [192.168.16.251] sudo: /sbin/chkconfig pacemaker on
- [192.168.16.250] sudo: cp /var/www/html/zend/public/.htaccess.example /var/www/html/zend/public/.htaccess
- [192.168.16.250] sudo: sed -i "s/development/production/g" /var/www/html/zend/public/.htaccess
- [192.168.16.250] sudo: sed -i "0,/resources\.db\.params\.host.*/s//resources\.db\.params\.host = localhost/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: sed -i "0,/resources\.db\.params\.username.*/s//resources\.db\.params\.username = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: sed -i "0,/resources\.db\.params\.password.*/s//resources\.db\.params\.password = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: sed -i "0,/resources\.db\.params\.dbname.*/s//resources\.db\.params\.dbname = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.host.*/s//cmspgwlogdb\.host = localhost/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.username.*/s//cmspgwlogdb\.username = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.password.*/s//cmspgwlogdb\.password = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.dbname.*/s//cmspgwlogdb\.dbname = omc/" /var/www/html/zend/public/../application/configs/application.ini
- [192.168.16.250] sudo: echo "CREATE USER 'omc'@'localhost' identified by 'omc';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.250] sudo: echo "GRANT ALL PRIVILEGES ON *.* to omc@localhost identified by 'omc';"|mysql --batch --user=root --password=pa22wd
- [192.168.16.250] sudo: /sbin/chkconfig corosync on
- [192.168.16.250] sudo: /sbin/chkconfig pacemaker on
- Done.
- Disconnecting from 192.168.16.250... done.
- Disconnecting from 192.168.16.251... done.
- (deployomc)[steve@fedora6 deployomc]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement