Advertisement
Guest User

Untitled

a guest
May 29th, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.91 KB | None | 0 0
  1. (deployomc)[steve@fedora6 deployomc]$ fab -u slinthicum deploy:configFile=./config.omc
  2. [192.168.16.251] Performing tests on this host...
  3. [192.168.16.251] sudo: cat /etc/sudoers > /dev/null
  4. [192.168.16.251] Login password:
  5. [192.168.16.251] Checking installations
  6. [192.168.16.251] sudo: [ -d /var/lib/mysql ]
  7. [192.168.16.251] sudo: [ -d /var/lib/heartbeat/crm ]
  8. [192.168.16.251] sudo: [ -d /usr/lib/ocf/resource.d/velleros ]
  9. [192.168.16.251] sudo: [ -f /etc/init.d/pacemaker ]
  10. [192.168.16.251] sudo: [ -f /etc/init.d/corosync ]
  11. [192.168.16.251] sudo: [ -f /etc/init.d/mysqld ]
  12. [192.168.16.251] sudo: [ -d /var/www ]
  13. [192.168.16.251] sudo: [ -d /etc/httpd/conf ]
  14. [192.168.16.251] sudo: [ -f /etc/php.ini ]
  15. [192.168.16.251] Making sure relevant services are shut down
  16. [192.168.16.251] sudo: /etc/init.d/pacemaker stop
  17. [192.168.16.251] sudo: /etc/init.d/corosync stop
  18. [192.168.16.251] sudo: /etc/init.d/mysqld stop
  19. [192.168.16.251] out: Stopping mysqld: [ OK ]
  20.  
  21. [192.168.16.251] sudo: /etc/init.d/httpd stop
  22. [192.168.16.251] out: Stopping httpd: [ OK ]
  23.  
  24. If everything looks okay for this host, hit enter and I'll move on to the next. Otherwise C-c
  25. [192.168.16.250] Performing tests on this host...
  26. [192.168.16.250] sudo: cat /etc/sudoers > /dev/null
  27. [192.168.16.250] Checking installations
  28. [192.168.16.250] sudo: [ -d /var/lib/mysql ]
  29. [192.168.16.250] sudo: [ -d /var/lib/heartbeat/crm ]
  30. [192.168.16.250] sudo: [ -d /usr/lib/ocf/resource.d/velleros ]
  31. [192.168.16.250] sudo: [ -f /etc/init.d/pacemaker ]
  32. [192.168.16.250] sudo: [ -f /etc/init.d/corosync ]
  33. [192.168.16.250] sudo: [ -f /etc/init.d/mysqld ]
  34. [192.168.16.250] sudo: [ -d /var/www ]
  35. [192.168.16.250] sudo: [ -d /etc/httpd/conf ]
  36. [192.168.16.250] sudo: [ -f /etc/php.ini ]
  37. [192.168.16.250] Making sure relevant services are shut down
  38. [192.168.16.250] sudo: /etc/init.d/pacemaker stop
  39. [192.168.16.250] sudo: /etc/init.d/corosync stop
  40. [192.168.16.250] sudo: /etc/init.d/mysqld stop
  41. [192.168.16.250] out: Stopping mysqld: [ OK ]
  42.  
  43. [192.168.16.250] sudo: /etc/init.d/httpd stop
  44. [192.168.16.250] out: Stopping httpd: [ OK ]
  45.  
  46. If everything looks okay for this host, hit enter and I'll move on to the next. Otherwise C-c
  47. [localhost] local: mkdir -p hosts/192.168.16.251
  48. [192.168.16.251] sudo: /usr/sbin/corosync-keygen
  49. [192.168.16.251] out: Corosync Cluster Engine Authentication key generator.
  50. [192.168.16.251] out: Gathering 1024 bits for key from /dev/random.
  51. [192.168.16.251] out: Press keys on your keyboard to generate entropy.
  52. [192.168.16.251] out: Writing corosync key to /etc/corosync/authkey.
  53.  
  54. [192.168.16.251] sudo: chmod go+r /etc/corosync/authkey
  55. [192.168.16.251] download: /home/steve/deployomc/hosts/authkey <- /etc/corosync/authkey
  56. [192.168.16.251] sudo: chmod go-r /etc/corosync/authkey
  57. [192.168.16.251] sudo: /etc/init.d/pacemaker status
  58. [192.168.16.251] out: pacemakerd is stopped
  59.  
  60.  
  61. Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/pacemaker status'
  62.  
  63. [192.168.16.251] sudo: /etc/init.d/corosync status
  64. [192.168.16.251] out: corosync is stopped
  65.  
  66.  
  67. Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/corosync status'
  68.  
  69. [192.168.16.251] Applying configuration to hosts/192.168.16.251/corosync.conf and uploading to /etc/corosync/corosync.conf
  70. [localhost] local: mkdir -p hosts/192.168.16.251
  71. [localhost] local: cp conf/pcmk.template hosts/192.168.16.251/pcmk
  72. [localhost] local: cp conf/corosync.template.conf hosts/192.168.16.251/corosync.conf
  73. [localhost] local: sed -i "s/|bindnetaddr|/192.168.16.0/g" hosts/192.168.16.251/corosync.conf
  74. [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
  75. [192.168.16.251] put: hosts/192.168.16.251/pcmk -> /etc/corosync/service.d/pcmk
  76. [192.168.16.251] put: hosts/192.168.16.251/corosync.conf -> /etc/corosync/corosync.conf
  77. [192.168.16.251] sudo: /etc/init.d/corosync start
  78. [192.168.16.251] out: Starting Corosync Cluster Engine (corosync): [ OK ]
  79.  
  80. [192.168.16.251] sudo: /etc/init.d/pacemaker start
  81. [192.168.16.251] out: Starting Pacemaker Cluster Manager: [ OK ]
  82.  
  83. [192.168.16.251] Applying configuration to hosts/192.168.16.251/httpd.conf and uploading to /etc/httpd/conf/httpd.conf
  84. [localhost] local: mkdir -p hosts/192.168.16.251
  85. [localhost] local: cp conf/http.template.conf hosts/192.168.16.251/httpd.conf
  86. [localhost] local: sed -i "s@|omcdocroot|@/var/www/html/zend/public@g" hosts/192.168.16.251/httpd.conf
  87. [192.168.16.251] put: hosts/192.168.16.251/httpd.conf -> /etc/httpd/conf/httpd.conf
  88. [192.168.16.251] Applying configuration to hosts/192.168.16.251/php.ini and uploading to /etc/php.ini
  89. [localhost] local: cp conf/php.template.ini hosts/192.168.16.251/php.ini
  90. [192.168.16.251] put: hosts/192.168.16.251/php.ini -> /etc/php.ini
  91. [192.168.16.251] Applying configuration to hosts/192.168.16.251/cmspgw-logger.ini and uploading to /etc/velleros/cmspgw-logger.ini
  92. [localhost] local: mkdir -p hosts/192.168.16.251
  93. [localhost] local: cp conf/cmspgw-logger.template.ini hosts/192.168.16.251/cmspgw-logger.ini
  94. [localhost] local: sed -i "s/|dbhost|/localhost/g" hosts/192.168.16.251/cmspgw-logger.ini
  95. [localhost] local: sed -i "s/|dbuser|/omc/g" hosts/192.168.16.251/cmspgw-logger.ini
  96. [localhost] local: sed -i "s/|dbpass|/omc/g" hosts/192.168.16.251/cmspgw-logger.ini
  97. [localhost] local: sed -i "s/|dbname|/omc/g" hosts/192.168.16.251/cmspgw-logger.ini
  98. [localhost] local: sed -i "s/|cvne-host|/192.168.16.207/g" hosts/192.168.16.251/cmspgw-logger.ini
  99. [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.251/cmspgw-logger.ini
  100. [192.168.16.251] put: hosts/192.168.16.251/cmspgw-logger.ini -> /etc/velleros/cmspgw-logger.ini
  101. [192.168.16.251] sudo: /etc/init.d/mysqld status
  102. [192.168.16.251] out: mysqld is stopped
  103.  
  104.  
  105. Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/mysqld status'
  106.  
  107. [192.168.16.251] Performing initial mysql setup
  108. [192.168.16.251] Applying configuration to hosts/192.168.16.251/my.cnf and uploading to /etc/my.cnf
  109. [localhost] local: mkdir -p hosts/192.168.16.251
  110. [localhost] local: cp conf/my.template.cnf hosts/192.168.16.251/my.cnf
  111. [localhost] local: sed -i "s/|repldb|/omc/g" hosts/192.168.16.251/my.cnf
  112. [localhost] local: sed -i "s/|autoincrincr|/10/g" hosts/192.168.16.251/my.cnf
  113. [localhost] local: sed -i "s/|autoincroffset|/1/g" hosts/192.168.16.251/my.cnf
  114. [localhost] local: sed -i "s/|servid|/1/g" hosts/192.168.16.251/my.cnf
  115. [192.168.16.251] put: hosts/192.168.16.251/my.cnf -> /etc/my.cnf
  116. [192.168.16.251] sudo: /etc/init.d/mysqld start
  117. [192.168.16.251] out: Initializing MySQL database: WARNING: The host 'steve-omc1' could not be looked up with resolveip.
  118. [192.168.16.251] out: This probably means that your libc libraries are not 100 % compatible
  119. [192.168.16.251] out: with this binary MySQL version. The MySQL daemon, mysqld, should work
  120. [192.168.16.251] out: normally with the exception that host name resolving will not work.
  121. [192.168.16.251] out: This means that you should use IP addresses instead of hostnames
  122. [192.168.16.251] out: when specifying MySQL privileges !
  123. [192.168.16.251] out: Installing MySQL system tables...
  124. [192.168.16.251] out: OK
  125. [192.168.16.251] out: Filling help tables...
  126. [192.168.16.251] out: OK
  127.  
  128. [192.168.16.251] out: To start mysqld at boot time you have to copy
  129. [192.168.16.251] out: support-files/mysql.server to the right place for your system
  130.  
  131. [192.168.16.251] out: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
  132. [192.168.16.251] out: To do so, start the server, then issue the following commands:
  133.  
  134. [192.168.16.251] out: /usr/bin/mysqladmin -u root password 'new-password'
  135. [192.168.16.251] out: /usr/bin/mysqladmin -u root -h steve-omc1 password 'new-password'
  136.  
  137. [192.168.16.251] out: Alternatively you can run:
  138. [192.168.16.251] out: /usr/bin/mysql_secure_installation
  139.  
  140. [192.168.16.251] out: which will also give you the option of removing the test
  141. [192.168.16.251] out: databases and anonymous user created by default. This is
  142. [192.168.16.251] out: strongly recommended for production servers.
  143.  
  144. [192.168.16.251] out: See the manual for more instructions.
  145.  
  146. [192.168.16.251] out: You can start the MySQL daemon with:
  147. [192.168.16.251] out: cd /usr ; /usr/bin/mysqld_safe &
  148.  
  149. [192.168.16.251] out: You can test the MySQL daemon with mysql-test-run.pl
  150. [192.168.16.251] out: cd /usr/mysql-test ; perl mysql-test-run.pl
  151.  
  152. [192.168.16.251] out: Please report any problems with the /usr/bin/mysqlbug script!
  153.  
  154. [192.168.16.251] out: [ OK ]
  155. [192.168.16.251] out: Starting mysqld: [ OK ]
  156.  
  157. [192.168.16.251] sudo: /usr/bin/mysqladmin -u root password 'pa22wd'
  158. [192.168.16.251] sudo: echo "CREATE USER 'repluser'@'192.168.16.250' identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
  159. [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
  160. [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
  161. [192.168.16.251] sudo: echo "START SLAVE;"|mysql --batch --user=root --password=pa22wd
  162. [192.168.16.251] sudo: /etc/init.d/mysqld stop
  163. [192.168.16.251] out: Stopping mysqld: [ OK ]
  164.  
  165. [192.168.16.250] put: hosts/authkey -> /etc/corosync/authkey
  166. [192.168.16.250] sudo: chmod go-r /etc/corosync/authkey
  167. [192.168.16.250] sudo: /etc/init.d/pacemaker status
  168. [192.168.16.250] out: pacemakerd is stopped
  169.  
  170.  
  171. Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/pacemaker status'
  172.  
  173. [192.168.16.250] sudo: /etc/init.d/corosync status
  174. [192.168.16.250] out: corosync is stopped
  175.  
  176.  
  177. Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/corosync status'
  178.  
  179. [192.168.16.250] Applying configuration to hosts/192.168.16.250/corosync.conf and uploading to /etc/corosync/corosync.conf
  180. [localhost] local: mkdir -p hosts/192.168.16.250
  181. [localhost] local: cp conf/pcmk.template hosts/192.168.16.250/pcmk
  182. [localhost] local: cp conf/corosync.template.conf hosts/192.168.16.250/corosync.conf
  183. [localhost] local: sed -i "s/|bindnetaddr|/192.168.16.0/g" hosts/192.168.16.250/corosync.conf
  184. [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
  185. [192.168.16.250] put: hosts/192.168.16.250/pcmk -> /etc/corosync/service.d/pcmk
  186. [192.168.16.250] put: hosts/192.168.16.250/corosync.conf -> /etc/corosync/corosync.conf
  187. [192.168.16.250] sudo: /etc/init.d/corosync start
  188. [192.168.16.250] out: Starting Corosync Cluster Engine (corosync): [ OK ]
  189.  
  190. [192.168.16.250] sudo: /etc/init.d/pacemaker start
  191. [192.168.16.250] out: Starting Pacemaker Cluster Manager: [ OK ]
  192.  
  193. [192.168.16.250] Applying configuration to hosts/192.168.16.250/httpd.conf and uploading to /etc/httpd/conf/httpd.conf
  194. [localhost] local: mkdir -p hosts/192.168.16.250
  195. [localhost] local: cp conf/http.template.conf hosts/192.168.16.250/httpd.conf
  196. [localhost] local: sed -i "s@|omcdocroot|@/var/www/html/zend/public@g" hosts/192.168.16.250/httpd.conf
  197. [192.168.16.250] put: hosts/192.168.16.250/httpd.conf -> /etc/httpd/conf/httpd.conf
  198. [192.168.16.250] Applying configuration to hosts/192.168.16.250/php.ini and uploading to /etc/php.ini
  199. [localhost] local: cp conf/php.template.ini hosts/192.168.16.250/php.ini
  200. [192.168.16.250] put: hosts/192.168.16.250/php.ini -> /etc/php.ini
  201. [192.168.16.250] Applying configuration to hosts/192.168.16.250/cmspgw-logger.ini and uploading to /etc/velleros/cmspgw-logger.ini
  202. [localhost] local: mkdir -p hosts/192.168.16.250
  203. [localhost] local: cp conf/cmspgw-logger.template.ini hosts/192.168.16.250/cmspgw-logger.ini
  204. [localhost] local: sed -i "s/|dbhost|/localhost/g" hosts/192.168.16.250/cmspgw-logger.ini
  205. [localhost] local: sed -i "s/|dbuser|/omc/g" hosts/192.168.16.250/cmspgw-logger.ini
  206. [localhost] local: sed -i "s/|dbpass|/omc/g" hosts/192.168.16.250/cmspgw-logger.ini
  207. [localhost] local: sed -i "s/|dbname|/omc/g" hosts/192.168.16.250/cmspgw-logger.ini
  208. [localhost] local: sed -i "s/|cvne-host|/192.168.16.207/g" hosts/192.168.16.250/cmspgw-logger.ini
  209. [localhost] local: sed -i "s/|cvne-port|/4442/g" hosts/192.168.16.250/cmspgw-logger.ini
  210. [192.168.16.250] put: hosts/192.168.16.250/cmspgw-logger.ini -> /etc/velleros/cmspgw-logger.ini
  211. [192.168.16.250] sudo: /etc/init.d/mysqld status
  212. [192.168.16.250] out: mysqld is stopped
  213.  
  214.  
  215. Warning: sudo() encountered an error (return code 3) while executing '/etc/init.d/mysqld status'
  216.  
  217. [192.168.16.250] Performing initial mysql setup
  218. [192.168.16.250] Applying configuration to hosts/192.168.16.250/my.cnf and uploading to /etc/my.cnf
  219. [localhost] local: mkdir -p hosts/192.168.16.250
  220. [localhost] local: cp conf/my.template.cnf hosts/192.168.16.250/my.cnf
  221. [localhost] local: sed -i "s/|repldb|/omc/g" hosts/192.168.16.250/my.cnf
  222. [localhost] local: sed -i "s/|autoincrincr|/10/g" hosts/192.168.16.250/my.cnf
  223. [localhost] local: sed -i "s/|autoincroffset|/2/g" hosts/192.168.16.250/my.cnf
  224. [localhost] local: sed -i "s/|servid|/2/g" hosts/192.168.16.250/my.cnf
  225. [192.168.16.250] put: hosts/192.168.16.250/my.cnf -> /etc/my.cnf
  226. [192.168.16.250] sudo: /etc/init.d/mysqld start
  227. [192.168.16.250] out: Initializing MySQL database: WARNING: The host 'steve-omc2' could not be looked up with resolveip.
  228. [192.168.16.250] out: This probably means that your libc libraries are not 100 % compatible
  229. [192.168.16.250] out: with this binary MySQL version. The MySQL daemon, mysqld, should work
  230. [192.168.16.250] out: normally with the exception that host name resolving will not work.
  231. [192.168.16.250] out: This means that you should use IP addresses instead of hostnames
  232. [192.168.16.250] out: when specifying MySQL privileges !
  233. [192.168.16.250] out: Installing MySQL system tables...
  234. [192.168.16.250] out: OK
  235. [192.168.16.250] out: Filling help tables...
  236. [192.168.16.250] out: OK
  237.  
  238. [192.168.16.250] out: To start mysqld at boot time you have to copy
  239. [192.168.16.250] out: support-files/mysql.server to the right place for your system
  240.  
  241. [192.168.16.250] out: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
  242. [192.168.16.250] out: To do so, start the server, then issue the following commands:
  243.  
  244. [192.168.16.250] out: /usr/bin/mysqladmin -u root password 'new-password'
  245. [192.168.16.250] out: /usr/bin/mysqladmin -u root -h steve-omc2 password 'new-password'
  246.  
  247. [192.168.16.250] out: Alternatively you can run:
  248. [192.168.16.250] out: /usr/bin/mysql_secure_installation
  249.  
  250. [192.168.16.250] out: which will also give you the option of removing the test
  251. [192.168.16.250] out: databases and anonymous user created by default. This is
  252. [192.168.16.250] out: strongly recommended for production servers.
  253.  
  254. [192.168.16.250] out: See the manual for more instructions.
  255.  
  256. [192.168.16.250] out: You can start the MySQL daemon with:
  257. [192.168.16.250] out: cd /usr ; /usr/bin/mysqld_safe &
  258.  
  259. [192.168.16.250] out: You can test the MySQL daemon with mysql-test-run.pl
  260. [192.168.16.250] out: cd /usr/mysql-test ; perl mysql-test-run.pl
  261.  
  262. [192.168.16.250] out: Please report any problems with the /usr/bin/mysqlbug script!
  263.  
  264. [192.168.16.250] out: [ OK ]
  265. [192.168.16.250] out: Starting mysqld: [ OK ]
  266.  
  267. [192.168.16.250] sudo: /usr/bin/mysqladmin -u root password 'pa22wd'
  268. [192.168.16.250] sudo: echo "CREATE USER 'repluser'@'192.168.16.251' identified by 'R3pl1cat3';"|mysql --batch --user=root --password=pa22wd
  269. [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
  270. [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
  271. [192.168.16.250] sudo: echo "START SLAVE;"|mysql --batch --user=root --password=pa22wd
  272. [192.168.16.250] sudo: /etc/init.d/mysqld stop
  273. [192.168.16.250] out: Stopping mysqld: [ OK ]
  274.  
  275. [192.168.16.251] sudo: /etc/init.d/pacemaker status
  276. [192.168.16.251] out: pacemakerd (pid 10430) is running...
  277.  
  278. [192.168.16.251] sudo: /etc/init.d/corosync status
  279. [192.168.16.251] out: corosync (pid 10370) is running...
  280.  
  281. [192.168.16.251] sudo: /usr/sbin/crm configure property stonith-enabled=false
  282. [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
  283. [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
  284. [192.168.16.251] out: WARNING: vmysqld: default timeout 20s for start is smaller than the advised 120
  285. [192.168.16.251] out: WARNING: vmysqld: default timeout 20s for stop is smaller than the advised 120
  286. [192.168.16.251] out: WARNING: vmysqld: default timeout 20s for monitor is smaller than the advised 30
  287.  
  288. [192.168.16.251] sudo: crm configure clone cluster_vmysqld vmysqld meta globally-unique="true" clone-max="2" clone-node-max="1" interleave="true"
  289. [192.168.16.251] Waiting 60 seconds for Cluster to settle before proceeding...
  290. [192.168.16.251] sudo: cp /var/www/html/zend/public/.htaccess.example /var/www/html/zend/public/.htaccess
  291. [192.168.16.251] sudo: sed -i "s/development/production/g" /var/www/html/zend/public/.htaccess
  292. [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
  293. [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
  294. [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
  295. [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
  296. [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.host.*/s//cmspgwlogdb\.host = localhost/" /var/www/html/zend/public/../application/configs/application.ini
  297. [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.username.*/s//cmspgwlogdb\.username = omc/" /var/www/html/zend/public/../application/configs/application.ini
  298. [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.password.*/s//cmspgwlogdb\.password = omc/" /var/www/html/zend/public/../application/configs/application.ini
  299. [192.168.16.251] sudo: sed -i "0,/cmspgwlogdb\.dbname.*/s//cmspgwlogdb\.dbname = omc/" /var/www/html/zend/public/../application/configs/application.ini
  300. [192.168.16.251] sudo: echo "CREATE DATABASE omc;"|mysql --batch --user=root --password=pa22wd
  301. [192.168.16.251] Applying OMC schema
  302. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/cmspgw_cmac_log.sql
  303. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/config.sql
  304. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/cmspgw_broadcasters.sql
  305. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/cmspgw_fema_gateways.sql
  306. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/cmspgw_servers.sql
  307. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/organizations.sql
  308. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/users.sql
  309. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/permissions.sql
  310. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/roles.sql
  311. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/user_roles.sql
  312. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/user_permissions.sql
  313. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/role_permissions.sql
  314. [192.168.16.251] sudo: mysql --batch --user=root --password=pa22wd omc < /etc/velleros/schema/omc/initial_data.sql
  315. [192.168.16.251] Waiting 60 seconds for MySQL replication to occur
  316. [192.168.16.251] sudo: echo "CREATE USER 'omc'@'localhost' identified by 'omc';"|mysql --batch --user=root --password=pa22wd
  317. [192.168.16.251] sudo: echo "GRANT ALL PRIVILEGES ON *.* to omc@localhost identified by 'omc';"|mysql --batch --user=root --password=pa22wd
  318. [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
  319. [192.168.16.251] out: WARNING: omchttp: default timeout 20s for start is smaller than the advised 40s
  320. [192.168.16.251] out: WARNING: omchttp: default timeout 20s for stop is smaller than the advised 60s
  321.  
  322. [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
  323. [192.168.16.251] sudo: /usr/sbin/crm configure colocation ip-with-omc INFINITY: omcip omchttp
  324. [192.168.16.251] sudo: /usr/sbin/crm configure order omc-after-vmysqld inf: cluster_vmysqld omchttp
  325. [192.168.16.251] sudo: /usr/sbin/crm configure order ip-after-omc inf: omchttp omcip
  326. [192.168.16.251] sudo: /usr/sbin/crm configure colocation cmspgwlogger-with-omc INFINITY: cmspgw-logger omchttp
  327. [192.168.16.251] sudo: /usr/sbin/crm configure order cmspgwlogger-after-vmysqld inf: cluster_vmysqld cmspgw-logger
  328. [192.168.16.251] sudo: /sbin/chkconfig corosync on
  329. [192.168.16.251] sudo: /sbin/chkconfig pacemaker on
  330. [192.168.16.250] sudo: cp /var/www/html/zend/public/.htaccess.example /var/www/html/zend/public/.htaccess
  331. [192.168.16.250] sudo: sed -i "s/development/production/g" /var/www/html/zend/public/.htaccess
  332. [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
  333. [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
  334. [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
  335. [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
  336. [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.host.*/s//cmspgwlogdb\.host = localhost/" /var/www/html/zend/public/../application/configs/application.ini
  337. [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.username.*/s//cmspgwlogdb\.username = omc/" /var/www/html/zend/public/../application/configs/application.ini
  338. [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.password.*/s//cmspgwlogdb\.password = omc/" /var/www/html/zend/public/../application/configs/application.ini
  339. [192.168.16.250] sudo: sed -i "0,/cmspgwlogdb\.dbname.*/s//cmspgwlogdb\.dbname = omc/" /var/www/html/zend/public/../application/configs/application.ini
  340. [192.168.16.250] sudo: echo "CREATE USER 'omc'@'localhost' identified by 'omc';"|mysql --batch --user=root --password=pa22wd
  341. [192.168.16.250] sudo: echo "GRANT ALL PRIVILEGES ON *.* to omc@localhost identified by 'omc';"|mysql --batch --user=root --password=pa22wd
  342. [192.168.16.250] sudo: /sbin/chkconfig corosync on
  343. [192.168.16.250] sudo: /sbin/chkconfig pacemaker on
  344.  
  345. Done.
  346. Disconnecting from 192.168.16.250... done.
  347. Disconnecting from 192.168.16.251... done.
  348. (deployomc)[steve@fedora6 deployomc]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement