Advertisement
Guest User

Zenoss5-auto-script

a guest
Jun 15th, 2016
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 118.65 KB | None | 0 0
  1. root@zenoss5 tmp]# chmod +x core-autodeploy.sh
  2. [root@zenoss5 tmp]# ./core-autodeploy.sh -d /dev/sdb1 -s /dev/sdb2 -v /dev/sdb3 -b /dev/sdb4
  3. Autodeploy script 2016-03-02 for Control Center master host and Zenoss Core 5/Zenoss Resource Manager 5
  4. Ultimate graph and dashboard solution for Zenoss 5 / Grafana 2 for Zenoss 5 - http://bit.ly/zenoss5grafana
  5. Install guide: https://www.zenoss.com/resources/documentation?field_zsd_core_value_selective=Core&field_product_value_selective=All&field_version_sort_tid_selective=All
  6. You should to read 'How to install Zenoss 5 successfuly' first - http://bit.ly/zenoss5. OK (y/n)? This autodeploy script was not tested/prepared for current Zenoss version 5.1.x. Do you really want to continue (y/n)?y
  7. CentOS Linux release 7.2.1511 (Core)
  8. Hardware Requirements:
  9. Min number of available CPUs: 4
  10. Min size of available RAM: 20GB
  11. These filesystems must be mounted with correct type and size:
  12. Path Type Min size
  13. / xfs 30GB
  14. /var/lib/docker xfs 30GB
  15. /opt/serviced/var xfs 30GB
  16. /opt/serviced/var/volumes btrfs 1GB
  17. /opt/serviced/var/backups xfs 1GB
  18. 0 Preparing /var/lib/docker filesystem - device: /dev/sdb1
  19. mkdir -p /var/lib/docker
  20. /dev/sdb1 will be formated to xfs. All current data on /dev/sdb1 will be lost and /etc/fstab will be updated. Do you want to continue (y/n)? y
  21. mkfs -t xfs -f /dev/sdb1
  22. meta-data=/dev/sdb1 isize=256 agcount=4, agsize=1159690 blks
  23. = sectsz=512 attr=2, projid32bit=1
  24. = crc=0 finobt=0
  25. data = bsize=4096 blocks=4638760, imaxpct=25
  26. = sunit=0 swidth=0 blks
  27. naming =version 2 bsize=4096 ascii-ci=0 ftype=0
  28. log =internal log bsize=4096 blocks=2560, version=2
  29. = sectsz=512 sunit=0 blks, lazy-count=1
  30. realtime =none extsz=4096 blocks=0, rtextents=0
  31. sed -i -e "\|^/dev/sdb1|d" /etc/fstab
  32. echo "/dev/sdb1 /var/lib/docker xfs defaults,noatime 0 0" >> /etc/fstab
  33. mount /var/lib/docker
  34. 0 Preparing /opt/serviced/var filesystem - device: /dev/sdb2
  35. mkdir -p /opt/serviced/var
  36. /dev/sdb2 will be formated to xfs. All current data on /dev/sdb2 will be lost and /etc/fstab will be updated. Do you want to continue (y/n)? y
  37. mkfs -t xfs -f /dev/sdb2
  38. meta-data=/dev/sdb2 isize=256 agcount=4, agsize=1159692 blks
  39. = sectsz=512 attr=2, projid32bit=1
  40. = crc=0 finobt=0
  41. data = bsize=4096 blocks=4638768, imaxpct=25
  42. = sunit=0 swidth=0 blks
  43. naming =version 2 bsize=4096 ascii-ci=0 ftype=0
  44. log =internal log bsize=4096 blocks=2560, version=2
  45. = sectsz=512 sunit=0 blks, lazy-count=1
  46. realtime =none extsz=4096 blocks=0, rtextents=0
  47. sed -i -e "\|^/dev/sdb2|d" /etc/fstab
  48. echo "/dev/sdb2 /opt/serviced/var xfs defaults,noatime 0 0" >> /etc/fstab
  49. mount /opt/serviced/var
  50. 0 Preparing /opt/serviced/var/volumes filesystem - device: /dev/sdb3
  51. mkdir -p /opt/serviced/var/volumes
  52. /dev/sdb3 will be formated to btrfs. All current data on /dev/sdb3 will be lost and /etc/fstab will be updated. Do you want to continue (y/n)? y
  53. mkfs -t btrfs -f --nodiscard /dev/sdb3
  54. btrfs-progs v3.19.1
  55. See http://btrfs.wiki.kernel.org for more information.
  56.  
  57. Turning ON incompat feature 'extref': increased hardlink limit per file to 65536
  58. Turning ON incompat feature 'skinny-metadata': reduced-size metadata extent refs
  59. fs created label (null) on /dev/sdb3
  60. nodesize 16384 leafsize 16384 sectorsize 4096 size 14.90GiB
  61. sed -i -e "\|^/dev/sdb3|d" /etc/fstab
  62. echo "/dev/sdb3 /opt/serviced/var/volumes btrfs rw,noatime,nodatacow,skip_balance 0 0" >> /etc/fstab
  63. mount /opt/serviced/var/volumes
  64. 0 Preparing /opt/serviced/var/backups filesystem - device: /dev/sdb4
  65. mkdir -p /opt/serviced/var/backups
  66. /dev/sdb4 will be formated to xfs. All current data on /dev/sdb4 will be lost and /etc/fstab will be updated. Do you want to continue (y/n)? y
  67. mkfs -t xfs -f /dev/sdb4
  68. meta-data=/dev/sdb4 isize=256 agcount=4, agsize=1291685 blks
  69. = sectsz=512 attr=2, projid32bit=1
  70. = crc=0 finobt=0
  71. data = bsize=4096 blocks=5166739, imaxpct=25
  72. = sunit=0 swidth=0 blks
  73. naming =version 2 bsize=4096 ascii-ci=0 ftype=0
  74. log =internal log bsize=4096 blocks=2560, version=2
  75. = sectsz=512 sunit=0 blks, lazy-count=1
  76. realtime =none extsz=4096 blocks=0, rtextents=0
  77. sed -i -e "\|^/dev/sdb4|d" /etc/fstab
  78. echo "/dev/sdb4 /opt/serviced/var/backups xfs defaults,noatime 0 0" >> /etc/fstab
  79. mount /opt/serviced/var/backups
  80. 1 Checks - (Wed, 15 Jun 2016 08:00:35 -0400)
  81. 1.1 Root permission check
  82. Done
  83. 1.2 Architecture check
  84. Done
  85. 1.4 CPU check
  86. Done
  87. 1.5 RAM check
  88. Only 9GB of RAM has been detected, but at least 20GB is recommended. Do you want to continue (y/n)? y
  89. Done
  90. 1.6 Filesystem configuration check
  91. / filesystem check in progress...
  92. / filesystem size is less (17GB) than required 30GB. Do you want to continue (y/n)? y
  93. /var/lib/docker filesystem check in progress...
  94. /var/lib/docker filesystem size is less (17GB) than required 30GB. Do you want to continue (y/n)? y
  95. /opt/serviced/var filesystem check in progress...
  96. /opt/serviced/var filesystem size is less (17GB) than required 30GB. Do you want to continue (y/n)? y
  97. /opt/serviced/var/volumes filesystem check in progress...OK
  98. /opt/serviced/var/backups filesystem check in progress...OK
  99. 2 Preparing the host - (Wed, 15 Jun 2016 08:00:42 -0400)
  100. 2.1 IP configurations
  101. Detected interface: eno16777736
  102. Hostname: zenoss5
  103. echo "x.x.x.x-IP zenoss5" >> /etc/hosts
  104. Public IPv4: x.x.x.x-IP
  105. Private IPv4: x.x.x.x-IP
  106. Done
  107. 2.2 Disable the firewall
  108. systemctl stop firewalld && systemctl disable firewalld
  109. Failed to stop firewalld.service: Unit firewalld.service not loaded.
  110. Done
  111. 2.3 Enable persistent storage for log files
  112. mkdir -p /var/log/journal && systemctl restart systemd-journald
  113. Done
  114. 2.4 Disable selinux
  115. echo 0 > /selinux/enforce
  116. ./core-autodeploy.sh: line 610: /selinux/enforce: No such file or directory
  117. sed -i."167-080052" -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && grep '^SELINUX=' /etc/selinux/config
  118. SELINUX=disabled
  119. Done
  120. 2.5 Zenoss/Docker repositories config
  121. rpm -ivh http://get.zenoss.io/yum/zenoss-repo-1-1.x86_64.rpm
  122. Retrieving http://get.zenoss.io/yum/zenoss-repo-1-1.x86_64.rpm
  123. Preparing... ########################################
  124. Updating / installing...
  125. zenoss-repo-1-1 ########################################
  126. Done
  127. /etc/yum.repos.d/docker.repo
  128. yum -y -q --enablerepo=docker install docker-engine-1.9.0
  129. warning: /var/cache/yum/x86_64/7/docker/packages/docker-engine-selinux-1.11.2-1.el7.centos.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 2c52609d: NOKEY
  130. Public key for docker-engine-selinux-1.11.2-1.el7.centos.noarch.rpm is not installed
  131. Importing GPG key 0x2C52609D:
  132. Userid : "Docker Release Tool (releasedocker) <docker@docker.com>"
  133. Fingerprint: 5811 8e89 f3a9 1289 7c07 0adb f762 2157 2c52 609d
  134. From : https://yum.dockerproject.org/gpg
  135. Warning: RPMDB altered outside of yum.
  136. /lib/systemd/system/docker.service optimization
  137. systemctl daemon-reload
  138. Done
  139. 2.6 Install and start the dnsmasq package
  140. yum install -y dnsmasq && systemctl enable dnsmasq && systemctl start dnsmasq
  141. Loaded plugins: fastestmirror
  142. Loading mirror speeds from cached hostfile
  143. * base: mirrors.clouvider.net
  144. * extras: centos.mirroring.pulsant.co.uk
  145. * updates: mirrors.clouvider.net
  146. Package dnsmasq-2.66-14.el7_1.x86_64 already installed and latest version
  147. Nothing to do
  148. Created symlink from /etc/systemd/system/multi-user.target.wants/dnsmasq.service to /usr/lib/systemd/system/dnsmasq.service.
  149. Done
  150. 2.7 Install and start the ntp package
  151. yum install -y ntp && systemctl enable ntpd
  152. Loaded plugins: fastestmirror
  153. Loading mirror speeds from cached hostfile
  154. * base: mirrors.clouvider.net
  155. * extras: centos.mirroring.pulsant.co.uk
  156. * updates: mirrors.clouvider.net
  157. Resolving Dependencies
  158. --> Running transaction check
  159. ---> Package ntp.x86_64 0:4.2.6p5-22.el7.centos.2 will be installed
  160. --> Processing Dependency: ntpdate = 4.2.6p5-22.el7.centos.2 for package: ntp-4.2.6p5-22.el7.centos.2.x86_64
  161. --> Processing Dependency: libopts.so.25()(64bit) for package: ntp-4.2.6p5-22.el7.centos.2.x86_64
  162. --> Running transaction check
  163. ---> Package autogen-libopts.x86_64 0:5.18-5.el7 will be installed
  164. ---> Package ntpdate.x86_64 0:4.2.6p5-22.el7.centos.2 will be installed
  165. --> Finished Dependency Resolution
  166.  
  167. Dependencies Resolved
  168.  
  169. ======================================================================================================
  170. Package Arch Version Repository Size
  171. ======================================================================================================
  172. Installing:
  173. ntp x86_64 4.2.6p5-22.el7.centos.2 updates 544 k
  174. Installing for dependencies:
  175. autogen-libopts x86_64 5.18-5.el7 base 66 k
  176. ntpdate x86_64 4.2.6p5-22.el7.centos.2 updates 84 k
  177.  
  178. Transaction Summary
  179. ======================================================================================================
  180. Install 1 Package (+2 Dependent packages)
  181.  
  182. Total download size: 694 k
  183. Installed size: 1.6 M
  184. Downloading packages:
  185. (1/3): autogen-libopts-5.18-5.el7.x86_64.rpm | 66 kB 00:00:00
  186. (2/3): ntpdate-4.2.6p5-22.el7.centos.2.x86_64.rpm | 84 kB 00:00:00
  187. (3/3): ntp-4.2.6p5-22.el7.centos.2.x86_64.rpm | 544 kB 00:00:00
  188. ------------------------------------------------------------------------------------------------------
  189. Total 876 kB/s | 694 kB 00:00:00
  190. Running transaction check
  191. Running transaction test
  192. Transaction test succeeded
  193. Running transaction
  194. Installing : autogen-libopts-5.18-5.el7.x86_64 1/3
  195. Installing : ntpdate-4.2.6p5-22.el7.centos.2.x86_64 2/3
  196. Installing : ntp-4.2.6p5-22.el7.centos.2.x86_64 3/3
  197. Verifying : ntp-4.2.6p5-22.el7.centos.2.x86_64 1/3
  198. Verifying : ntpdate-4.2.6p5-22.el7.centos.2.x86_64 2/3
  199. Verifying : autogen-libopts-5.18-5.el7.x86_64 3/3
  200.  
  201. Installed:
  202. ntp.x86_64 0:4.2.6p5-22.el7.centos.2
  203.  
  204. Dependency Installed:
  205. autogen-libopts.x86_64 0:5.18-5.el7 ntpdate.x86_64 0:4.2.6p5-22.el7.centos.2
  206.  
  207. Complete!
  208. Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service.
  209. Done
  210. 2.8 ntpd autostart workaround
  211. echo "systemctl start ntpd" >> /etc/rc.d/rc.local && chmod +x /etc/rc.d/rc.local
  212. Done
  213. 2.9 ntpd start
  214. systemctl start ntpd
  215. Done
  216. 3 Installing on the master host - (Wed, 15 Jun 2016 08:01:21 -0400)
  217. 3.1 Install Control Center, Zenoss Core/Resource Manager, and Docker
  218. yum --enablerepo=zenoss-stable install -y zenoss-core-service
  219. Loaded plugins: fastestmirror
  220. zenoss-stable | 2.9 kB 00:00:00
  221. zenoss-stable/primary_db | 22 kB 00:00:00
  222. Loading mirror speeds from cached hostfile
  223. * base: mirrors.clouvider.net
  224. * extras: centos.mirroring.pulsant.co.uk
  225. * updates: mirrors.clouvider.net
  226. Resolving Dependencies
  227. --> Running transaction check
  228. ---> Package zenoss-core-service.noarch 0:5.1.3-1 will be installed
  229. --> Processing Dependency: serviced for package: zenoss-core-service-5.1.3-1.noarch
  230. --> Running transaction check
  231. ---> Package serviced.x86_64 0:1.1.5-1 will be installed
  232. --> Processing Dependency: rsync for package: serviced-1.1.5-1.x86_64
  233. --> Processing Dependency: nfs-utils for package: serviced-1.1.5-1.x86_64
  234. --> Processing Dependency: bash-completion for package: serviced-1.1.5-1.x86_64
  235. --> Running transaction check
  236. ---> Package bash-completion.noarch 1:2.1-6.el7 will be installed
  237. ---> Package nfs-utils.x86_64 1:1.3.0-0.21.el7_2 will be installed
  238. --> Processing Dependency: libtirpc >= 0.2.3-1 for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  239. --> Processing Dependency: gssproxy >= 0.3.0-0 for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  240. --> Processing Dependency: rpcbind for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  241. --> Processing Dependency: quota for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  242. --> Processing Dependency: libnfsidmap for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  243. --> Processing Dependency: libevent for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  244. --> Processing Dependency: keyutils for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  245. --> Processing Dependency: libtirpc.so.1()(64bit) for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  246. --> Processing Dependency: libnfsidmap.so.0()(64bit) for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  247. --> Processing Dependency: libevent-2.0.so.5()(64bit) for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
  248. ---> Package rsync.x86_64 0:3.0.9-17.el7 will be installed
  249. --> Running transaction check
  250. ---> Package gssproxy.x86_64 0:0.4.1-7.el7 will be installed
  251. --> Processing Dependency: libverto-tevent for package: gssproxy-0.4.1-7.el7.x86_64
  252. --> Processing Dependency: libini_config.so.3(INI_CONFIG_1.1.0)(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
  253. --> Processing Dependency: libref_array.so.1()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
  254. --> Processing Dependency: libini_config.so.3()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
  255. --> Processing Dependency: libcollection.so.2()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
  256. --> Processing Dependency: libbasicobjects.so.0()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
  257. ---> Package keyutils.x86_64 0:1.5.8-3.el7 will be installed
  258. ---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
  259. ---> Package libnfsidmap.x86_64 0:0.25-12.el7 will be installed
  260. ---> Package libtirpc.x86_64 0:0.2.4-0.6.el7 will be installed
  261. ---> Package quota.x86_64 1:4.01-11.el7_2.1 will be installed
  262. --> Processing Dependency: quota-nls = 1:4.01-11.el7_2.1 for package: 1:quota-4.01-11.el7_2.1.x86_64
  263. --> Processing Dependency: tcp_wrappers for package: 1:quota-4.01-11.el7_2.1.x86_64
  264. ---> Package rpcbind.x86_64 0:0.2.0-33.el7_2 will be installed
  265. --> Running transaction check
  266. ---> Package libbasicobjects.x86_64 0:0.1.1-25.el7 will be installed
  267. ---> Package libcollection.x86_64 0:0.6.2-25.el7 will be installed
  268. ---> Package libini_config.x86_64 0:1.2.0-25.el7 will be installed
  269. --> Processing Dependency: libpath_utils.so.1(PATH_UTILS_0.2.1)(64bit) for package: libini_config-1.2.0-25.el7.x86_64
  270. --> Processing Dependency: libpath_utils.so.1()(64bit) for package: libini_config-1.2.0-25.el7.x86_64
  271. ---> Package libref_array.x86_64 0:0.1.5-25.el7 will be installed
  272. ---> Package libverto-tevent.x86_64 0:0.2.5-4.el7 will be installed
  273. --> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
  274. --> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
  275. --> Processing Dependency: libtevent.so.0()(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
  276. --> Processing Dependency: libtalloc.so.2()(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
  277. ---> Package quota-nls.noarch 1:4.01-11.el7_2.1 will be installed
  278. ---> Package tcp_wrappers.x86_64 0:7.6-77.el7 will be installed
  279. --> Running transaction check
  280. ---> Package libpath_utils.x86_64 0:0.2.1-25.el7 will be installed
  281. ---> Package libtalloc.x86_64 0:2.1.5-1.el7_2 will be installed
  282. ---> Package libtevent.x86_64 0:0.9.26-1.el7_2.1 will be installed
  283. --> Finished Dependency Resolution
  284.  
  285. Dependencies Resolved
  286.  
  287. ======================================================================================================
  288. Package Arch Version Repository Size
  289. ======================================================================================================
  290. Installing:
  291. zenoss-core-service noarch 5.1.3-1 zenoss-stable 84 k
  292. Installing for dependencies:
  293. bash-completion noarch 1:2.1-6.el7 base 85 k
  294. gssproxy x86_64 0.4.1-7.el7 base 84 k
  295. keyutils x86_64 1.5.8-3.el7 base 54 k
  296. libbasicobjects x86_64 0.1.1-25.el7 base 24 k
  297. libcollection x86_64 0.6.2-25.el7 base 40 k
  298. libevent x86_64 2.0.21-4.el7 base 214 k
  299. libini_config x86_64 1.2.0-25.el7 base 59 k
  300. libnfsidmap x86_64 0.25-12.el7 base 46 k
  301. libpath_utils x86_64 0.2.1-25.el7 base 27 k
  302. libref_array x86_64 0.1.5-25.el7 base 26 k
  303. libtalloc x86_64 2.1.5-1.el7_2 updates 34 k
  304. libtevent x86_64 0.9.26-1.el7_2.1 updates 33 k
  305. libtirpc x86_64 0.2.4-0.6.el7 base 85 k
  306. libverto-tevent x86_64 0.2.5-4.el7 base 9.0 k
  307. nfs-utils x86_64 1:1.3.0-0.21.el7_2 updates 371 k
  308. quota x86_64 1:4.01-11.el7_2.1 updates 178 k
  309. quota-nls noarch 1:4.01-11.el7_2.1 updates 90 k
  310. rpcbind x86_64 0.2.0-33.el7_2 updates 57 k
  311. rsync x86_64 3.0.9-17.el7 base 360 k
  312. serviced x86_64 1.1.5-1 zenoss-stable 16 M
  313. tcp_wrappers x86_64 7.6-77.el7 base 78 k
  314.  
  315. Transaction Summary
  316. ======================================================================================================
  317. Install 1 Package (+21 Dependent packages)
  318.  
  319. Total download size: 18 M
  320. Installed size: 74 M
  321. Downloading packages:
  322. (1/22): libbasicobjects-0.1.1-25.el7.x86_64.rpm | 24 kB 00:00:00
  323. (2/22): keyutils-1.5.8-3.el7.x86_64.rpm | 54 kB 00:00:00
  324. (3/22): bash-completion-2.1-6.el7.noarch.rpm | 85 kB 00:00:00
  325. (4/22): gssproxy-0.4.1-7.el7.x86_64.rpm | 84 kB 00:00:00
  326. (5/22): libcollection-0.6.2-25.el7.x86_64.rpm | 40 kB 00:00:00
  327. (6/22): libini_config-1.2.0-25.el7.x86_64.rpm | 59 kB 00:00:00
  328. (7/22): libnfsidmap-0.25-12.el7.x86_64.rpm | 46 kB 00:00:00
  329. (8/22): libref_array-0.1.5-25.el7.x86_64.rpm | 26 kB 00:00:00
  330. (9/22): libpath_utils-0.2.1-25.el7.x86_64.rpm | 27 kB 00:00:00
  331. (10/22): libtirpc-0.2.4-0.6.el7.x86_64.rpm | 85 kB 00:00:00
  332. (11/22): libverto-tevent-0.2.5-4.el7.x86_64.rpm | 9.0 kB 00:00:00
  333. (12/22): libtalloc-2.1.5-1.el7_2.x86_64.rpm | 34 kB 00:00:00
  334. (13/22): libtevent-0.9.26-1.el7_2.1.x86_64.rpm | 33 kB 00:00:00
  335. (14/22): libevent-2.0.21-4.el7.x86_64.rpm | 214 kB 00:00:00
  336. (15/22): quota-4.01-11.el7_2.1.x86_64.rpm | 178 kB 00:00:00
  337. (16/22): nfs-utils-1.3.0-0.21.el7_2.x86_64.rpm | 371 kB 00:00:00
  338. (17/22): quota-nls-4.01-11.el7_2.1.noarch.rpm | 90 kB 00:00:00
  339. (18/22): rpcbind-0.2.0-33.el7_2.x86_64.rpm | 57 kB 00:00:00
  340. (19/22): tcp_wrappers-7.6-77.el7.x86_64.rpm | 78 kB 00:00:00
  341. (20/22): rsync-3.0.9-17.el7.x86_64.rpm | 360 kB 00:00:00
  342. warning: /var/cache/yum/x86_64/7/zenoss-stable/packages/zenoss-core-service-5.1.3-1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID aa5a1ad7: NOKEY
  343. Public key for zenoss-core-service-5.1.3-1.noarch.rpm is not installed
  344. (21/22): zenoss-core-service-5.1.3-1.noarch.rpm | 84 kB 00:00:00
  345. (22/22): serviced-1.1.5-1.x86_64.rpm | 16 MB 00:00:08
  346. ------------------------------------------------------------------------------------------------------
  347. Total 1.8 MB/s | 18 MB 00:00:09
  348. Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZENOSS
  349. Importing GPG key 0xAA5A1AD7:
  350. Userid : "Zenoss, Inc. <dev@zenoss.com>"
  351. Fingerprint: f31f fd84 6a23 b3d5 981d a728 ed0a 5fd2 aa5a 1ad7
  352. Package : zenoss-repo-1-1.x86_64 (installed)
  353. From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ZENOSS
  354. Running transaction check
  355. Running transaction test
  356. Transaction test succeeded
  357. Running transaction
  358. Installing : libcollection-0.6.2-25.el7.x86_64 1/22
  359. Installing : libref_array-0.1.5-25.el7.x86_64 2/22
  360. Installing : libtalloc-2.1.5-1.el7_2.x86_64 3/22
  361. Installing : libtirpc-0.2.4-0.6.el7.x86_64 4/22
  362. Installing : rpcbind-0.2.0-33.el7_2.x86_64 5/22
  363. Installing : libbasicobjects-0.1.1-25.el7.x86_64 6/22
  364. Installing : libtevent-0.9.26-1.el7_2.1.x86_64 7/22
  365. Installing : libverto-tevent-0.2.5-4.el7.x86_64 8/22
  366. Installing : rsync-3.0.9-17.el7.x86_64 9/22
  367. Installing : tcp_wrappers-7.6-77.el7.x86_64 10/22
  368. Installing : libpath_utils-0.2.1-25.el7.x86_64 11/22
  369. Installing : libini_config-1.2.0-25.el7.x86_64 12/22
  370. Installing : gssproxy-0.4.1-7.el7.x86_64 13/22
  371. Installing : libnfsidmap-0.25-12.el7.x86_64 14/22
  372. Installing : 1:quota-nls-4.01-11.el7_2.1.noarch 15/22
  373. Installing : 1:quota-4.01-11.el7_2.1.x86_64 16/22
  374. Installing : libevent-2.0.21-4.el7.x86_64 17/22
  375. Installing : 1:bash-completion-2.1-6.el7.noarch 18/22
  376. Installing : keyutils-1.5.8-3.el7.x86_64 19/22
  377. Installing : 1:nfs-utils-1.3.0-0.21.el7_2.x86_64 20/22
  378. Installing : serviced-1.1.5-1.x86_64 21/22
  379. Installing : zenoss-core-service-5.1.3-1.noarch 22/22
  380. Verifying : libverto-tevent-0.2.5-4.el7.x86_64 1/22
  381. Verifying : libbasicobjects-0.1.1-25.el7.x86_64 2/22
  382. Verifying : keyutils-1.5.8-3.el7.x86_64 3/22
  383. Verifying : rpcbind-0.2.0-33.el7_2.x86_64 4/22
  384. Verifying : libini_config-1.2.0-25.el7.x86_64 5/22
  385. Verifying : 1:bash-completion-2.1-6.el7.noarch 6/22
  386. Verifying : libtirpc-0.2.4-0.6.el7.x86_64 7/22
  387. Verifying : libtalloc-2.1.5-1.el7_2.x86_64 8/22
  388. Verifying : 1:quota-4.01-11.el7_2.1.x86_64 9/22
  389. Verifying : libevent-2.0.21-4.el7.x86_64 10/22
  390. Verifying : 1:nfs-utils-1.3.0-0.21.el7_2.x86_64 11/22
  391. Verifying : libref_array-0.1.5-25.el7.x86_64 12/22
  392. Verifying : libtevent-0.9.26-1.el7_2.1.x86_64 13/22
  393. Verifying : 1:quota-nls-4.01-11.el7_2.1.noarch 14/22
  394. Verifying : libnfsidmap-0.25-12.el7.x86_64 15/22
  395. Verifying : zenoss-core-service-5.1.3-1.noarch 16/22
  396. Verifying : libcollection-0.6.2-25.el7.x86_64 17/22
  397. Verifying : gssproxy-0.4.1-7.el7.x86_64 18/22
  398. Verifying : libpath_utils-0.2.1-25.el7.x86_64 19/22
  399. Verifying : serviced-1.1.5-1.x86_64 20/22
  400. Verifying : tcp_wrappers-7.6-77.el7.x86_64 21/22
  401. Verifying : rsync-3.0.9-17.el7.x86_64 22/22
  402.  
  403. Installed:
  404. zenoss-core-service.noarch 0:5.1.3-1
  405.  
  406. Dependency Installed:
  407. bash-completion.noarch 1:2.1-6.el7 gssproxy.x86_64 0:0.4.1-7.el7
  408. keyutils.x86_64 0:1.5.8-3.el7 libbasicobjects.x86_64 0:0.1.1-25.el7
  409. libcollection.x86_64 0:0.6.2-25.el7 libevent.x86_64 0:2.0.21-4.el7
  410. libini_config.x86_64 0:1.2.0-25.el7 libnfsidmap.x86_64 0:0.25-12.el7
  411. libpath_utils.x86_64 0:0.2.1-25.el7 libref_array.x86_64 0:0.1.5-25.el7
  412.  
  413. #!/bin/bash
  414.  
  415. # Script for Control Center and Zenoss Core 5 / Zenoss Resource Manager 5 deployement
  416. # Copyright (C) 2016 Jan Garaj - www.monitoringartist.com / www.jangaraj.com
  417. version="2016-03-02"
  418.  
  419. # Analytics
  420. starttimestamp=$(date +%s)
  421. cid=$(md5sum <<< $(hostname) | awk -F - '{print $1}' | tr -d ' ')
  422. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=123234ee2&t=pageview&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  423. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Start&el=Start&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  424.  
  425. # Variables
  426. # Default resource requirements
  427. cpus_min=4
  428. rams_min=20 #GB
  429. # Default filesystem requirements (RHEL 7 / CentOS 7)
  430. maxusage=90 #% max disk usage
  431. root_fs_min_size=30 #GB
  432. root_fs_type="xfs"
  433. root_fs_path="/"
  434. docker_fs_min_size=30 #GB
  435. docker_fs_type="xfs"
  436. docker_fs_path="/var/lib/docker"
  437. serviced_fs_min_size=30 #GB
  438. serviced_fs_type="xfs"
  439. serviced_fs_path="/opt/serviced/var"
  440. servicedvolumes_fs_min_size=1 #GB
  441. servicedvolumes_fs_type="btrfs"
  442. servicedvolumes_fs_path="/opt/serviced/var/volumes"
  443. servicedbackups_fs_min_size=1 #GB
  444. servicedbackups_fs_type="xfs"
  445. servicedbackups_fs_path="/opt/serviced/var/backups"
  446. # Mount parameters for fstab
  447. mount_parameters_btrfs="rw,noatime,nodatacow,skip_balance 0 0"
  448. mount_parameters_xfs="defaults,noatime 0 0"
  449. mount_parameters_ext4="defaults 0 0"
  450. # Docker and Zenoss Settings
  451. docker_version=1.9.0
  452. g2k=1048576
  453. user="ccuser"
  454. retries_max=90
  455. sleep_duration=10
  456. install_doc="https://www.zenoss.com/resources/documentation?field_zsd_core_value_selective=Core&field_product_value_selective=All&field_version_sort_tid_selective=All"
  457. install_doc_enterprise="https://www.zenoss.com/resources/documentation?field_zsd_core_value_selective=ZSD&field_product_value_selective=All&field_version_sort_tid_selective=All"
  458. log_watch="journalctl -u serviced -f -a -n 0"
  459. log_watch_last_line="journalctl -u serviced -a -n 1 | tail -n 1"
  460. zenoss_package="zenoss-core-service"
  461. zenoss_package_enterprise="zenoss-resmgr-service"
  462. :1022
  463.  
  464. echo -e "${blue}4 ${zenoss_installation} deployement - (`date -R`)${endColor}"
  465.  
  466. echo -e "${yellow}4.1 Adding current host to the default resource pool${endColor}"
  467. echo -e "${yellow}Please be patient, because docker image zenoss/serviced-isvcs must be downloaded before first start.${endColor}"
  468. echo -e "${yellow}You can check progress in new console: ${log_watch}${endColor}"
  469. echo -e "${yellow}Script is trying to check status every 10s. Timeout for this step is 15 minutes.${endColor}"
  470. echo "serviced host list 2>&1"
  471. test=$(serviced host list 2>&1)
  472. # wait for serviced start
  473. retry=1
  474. while [ "$test" = "rpc: can't find service Master.GetHosts" ] || [[ "$test" =~ "could not create a client to the master: dial tcp" ]] && [ $retry -lt $retries_max ]
  475. do
  476. echo $test
  477. echo "#${retry}: This is not a problem, because Control Centre service is not fully started, I'm trying in ${sleep_duration} seconds"
  478. echo "Message from author of autodeploy script: Keep calm and be patient! - http://www.keepcalmandposters.com/posters/38112.png"
  479. echo -n "Last serviced log: "
  480. eval $log_watch_last_line
  481. retry=$(( $retry + 1 ))
  482. sleep $sleep_duration
  483. test=$(serviced host list 2>&1)
  484. done
  485. if [ "$test" = "no hosts found" ]; then
  486. echo "serviced host add $hostname:4979 default"
  487. serviced host add $hostname:4979 default
  488. if [ $? -ne 0 ]; then
  489. echo -e "${red}Problem with command: serviced host add $privateipv4:4979 default${endColor}"
  490. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Error&el=ServicedAddHost%20error&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  491. exit 1
  492. else
  493. echo -e "${green}Done${endColor}"
  494. fi
  495. else
  496. echo "echo \"$test\" | grep -v loopback | wc -l"
  497. test2=$(echo "$test" | grep -v loopback | wc -l)
  498. if [ "$test2" -gt "1" ]; then
  499. echo -e "${yellow}Skipping - some host is deployed already${endColor}"
  500. echo -e "${green}Done${endColor}"
  501. else
  502. echo -e "${red}Problem with adding a host - check output from test: $test${endColor}"
  503. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Error&el=ServicedAddHost2%20error&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  504. exit 1
  505. fi
  506. fi
  507.  
  508. /pullin
  509. libtalloc.x86_64 0:2.1.5-1.el7_2 libtevent.x86_64 0:0.9.26-1.el7_2.1
  510. libtirpc.x86_64 0:0.2.4-0.6.el7 libverto-tevent.x86_64 0:0.2.5-4.el7
  511. nfs-utils.x86_64 1:1.3.0-0.21.el7_2 quota.x86_64 1:4.01-11.el7_2.1
  512. quota-nls.noarch 1:4.01-11.el7_2.1 rpcbind.x86_64 0:0.2.0-33.el7_2
  513. rsync.x86_64 0:3.0.9-17.el7 serviced.x86_64 0:1.1.5-1
  514. tcp_wrappers.x86_64 0:7.6-77.el7
  515.  
  516. Complete!
  517. Done
  518. 3.2 Start Docker
  519.  
  520.  
  521. echo -e "${yellow}5.4 Deleting the RabbitMQ guest user account${endColor}"
  522. serviced service start $(serviced service list | grep -i rabbitmq | awk '{print $2}')
  523. sleep 30
  524. serviced service attach $(serviced service list | grep -i rabbitmq | awk '{print $2}') rabbitmqctl delete_user guest
  525. serviced service stop $(serviced service list | grep -i rabbitmq | awk '{print $2}')
  526. echo -e "${green}Done${endColor}"
  527.  
  528. echo -e "${yellow}5.5 Port forwarding${endColor}"
  529. ipv4forwarding=$(sysctl net.ipv4.conf.all.forwarding)
  530. if [ "$ipv4forwarding" != "net.ipv4.conf.all.forwarding = 1" ]; then
  531. sysctl net.ipv4.conf.all.forwarding=1
  532. sed -i -e "\|^net.ipv4.conf.all.forwarding |d" /etc/sysctl.conf
  533. echo "net.ipv4.conf.all.forwarding = 1" >> /etc/sysctl.conf
  534. echo -e "${green}Done${endColor}"
  535. else
  536. echo -e "${green}Done${endColor} - already enabled"
  537. fi
  538.  
  539. if [ "$zenoss_impact" == "$zenoss_impact_enterprise" ]; then
  540. echo -e "${yellow}6 Pull Service Impact Docker image (the deployment step can take 3-5 minutes)${endColor}"
  541. echo "docker pull $zenoss_impact"
  542. docker pull $zenoss_impact
  543. if [ $rc -ne 0 ]; then
  544. echo -e "${red}Problem with pulling Service Impact Docker image${endColor}"
  545. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Error&el=ImpactPull2%20error&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  546. else
  547. echo -e "${green}Done${endColor}"
  548. fi
  549. fi
  550.  
  551. echo -e "${yellow}7 Extra templates${endColor}"
  552. domains=" "
  553. echo -e "${yellow}Adding Zabbix 3.0 template${endColor}"
  554. echo "Visit: https://github.com/monitoringartist/control-center-zabbix"
  555. curl -O https://raw.githubusercontent.com/monitoringartist/control-center-zabbix/master/Control-Center-Zabbix-3.0-template.json
  556. echo "serviced template add Control-Center-Zabbix-3.0-template.json"
  557. serviced template add Control-Center-Zabbix-3.0-template.json
  558. rm -rf Control-Center-Zabbix-3.0-template.json
  559. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Extra%20template&el=zabbix&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  560. echo -e "${green}Done${endColor}"
  561.  
  562. echo -e "${yellow}Adding Elasticsearch 2.0 template${endColor}"
  563. echo "Visit: https://github.com/monitoringartist/control-center-elasticsearch"
  564. curl -O https://raw.githubusercontent.com/monitoringartist/control-center-elasticsearch/master/Control-Center-Eleasticsearch-2.0-template.json
  565. echo "serviced template add Control-Center-Eleasticsearch-2.0-template.json"
  566. search hit BOTTOM, continuing at TOP
  567. systemctl enable docker && systemctl start docker
  568. Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
  569. Done
  570. 3.3 Identify the IPv4 address and subnet of Docker
  571. sleep 10
  572. ip addr | grep -A 2 'docker0:' | grep inet | awk '{print $2}' | awk -F'/' '{print $1}'
  573. Done
  574. 3.4 Add the devicemapper and DNS flags to the Docker startup options
  575. sed -i -e "\|^DOCKER_OPTS=\"-s devicemapper --dns=|d" /etc/sysconfig/docker
  576. sed: can't read /etc/sysconfig/docker: No such file or directory
  577. echo "DOCKER_OPTS=\"-s devicemapper --dns=$docker_ip\"" >> /etc/sysconfig/docker
  578. Done
  579. 3.5 Creating user ccuser for Control Center (serviced) management
  580. id -u ccuser
  581. id: ccuser: no such user
  582. adduser -M -c 'Management user for Control Center (serviced)' ccuser
  583. usermod -aG wheel ccuser
  584. Done
  585.  
  586. echo "$output"
  587. substring="stop"
  588. if [ "$output" != "${output%$substring*}" ]; then
  589. echo "start serviced"
  590. start serviced
  591. fi
  592. fi
  593. if [ $? -ne 0 ]; then
  594. echo -e "${red}Problem with starting of serviced${endColor}"
  595. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Error&el=ServicedStart%20error&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  596. exit 1
  597. else
  598. echo -e "${green}Done${endColor}"
  599. fi
  600.  
  601. # exit host installation
  602. if [ ! -z "$MHOST" ]; then
  603. echo -e "${green}Control Center installation on the host completed${endColor}"
  604. echo -e "${green}Please visit Control Center${endColor}"
  605. echo -e "${green}You can check status of serviced: systemctl status serviced${endColor}"
  606. echo -e "Install guide: ${install_doc}"
  607. echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
  608. exit 0
  609. fi
  610.  
  611. echo -e "${blue}4 ${zenoss_installation} deployement - (`date -R`)${endColor}"
  612.  
  613. echo -e "${yellow}4.1 Adding current host to the default resource pool${endColor}"
  614. echo -e "${yellow}Please be patient, because docker image zenoss/serviced-isvcs must be downloaded before first start.${endColor}"
  615. echo -e "${yellow}You can check progress in new console: ${log_watch}${endColor}"
  616. echo -e "${yellow}Script is trying to check status every 10s. Timeout for this step is 15 minutes.${endColor}"
  617. echo "serviced host list 2>&1"
  618. test=$(serviced host list 2>&1)
  619. # wait for serviced start
  620. #retry=1
  621. #while [ "$test" = "rpc: can't find service Master.GetHosts" ] || [[ "$test" =~ "could not create a client to the master: dial tcp" ]] && [ $retry -lt $retries_max ]
  622. #do
  623. # echo $test
  624. # echo "#${retry}: This is not a problem, because Control Centre service is not fully started, I'm trying in ${sleep_duration} seconds"
  625. # echo "Message from author of autodeploy script: Keep calm and be patient! - http://www.keepcalmandposters.com/posters/38112.png"
  626. echo -n "Last serviced log: "
  627. eval $log_watch_last_line
  628. retry=$(( $retry + 1 ))
  629. sleep $sleep_duration
  630. test=$(serviced host list 2>&1)
  631. done
  632. if [ "$test" = "no hosts found" ]; then
  633. -- INSERT -- 1016,2 77%
  634. if [ $rc -ne 0 ]; then
  635. echo -e "${red}Problem with command: serviced template deploy $TEMPLATEID default zenoss${endColor}"
  636. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Error&el=ServicedTempDeploy%20error&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  637. exit 1
  638. else
  639. echo -e "${green}Done${endColor}"
  640. fi
  641. else
  642. if [ "$services" -gt "0" ]; then
  643. echo -e "${yellow}Skipping - some services are already deployed, check: serviced service list${endColor}"
  644. echo -e "${green}Done${endColor}"
  645. else
  646. echo -e "${red}Skipping deploying an application - check output from template test: $TEMPLATEID${endColor}"
  647. curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid}&t=event&ec=Installation&ea=Error&el=ServicedTempDeploy2%20error&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  648. exit 1
  649. fi
  650. fi
  651.  
  652. echo -e "${yellow}5 Tuning ${zenoss_template}${endColor}"
  653.  
  654. # Additional packages
  655. echo -e "${yellow}5.1 Installing additional packages: quilt, fping, mtr${endColor}"
  656. echo "Creating /tmp/packages.txt"
  657. cat > /tmp/packages.txt << EOF
  658. DESCRIPTION packages.txt -- add quilt, fping, mtr to a Zenoss image
  659. VERSION zenoss-quilt-1.0
  660. REQUIRE_SVC
  661. SNAPSHOT
  662.  
  663. # Download the EPEL RPM
  664. SVC_EXEC COMMIT ${zenoss_template} yum install -y epel-release
  665. # Download repository metadata
  666. SVC_EXEC COMMIT ${zenoss_template} yum makecache -y
  667. # Install quilt
  668. SVC_EXEC COMMIT ${zenoss_template} yum install -y quilt fping mtr
  669. # Remove EPEL
  670. SVC_EXEC COMMIT ${zenoss_template} yum erase -y epel-release
  671. # Clean up yum caches
  672. SVC_EXEC COMMIT ${zenoss_template} yum clean all
  673. EOF
  674.  
  675. echo "Syntax verification of /tmp/packages.txt"
  676. serviced script parse /tmp/packages.txt
  677. if [ $? -ne 0 ]; then
  678. echo -e "${red}Problem with syntax verification of /tmp/packages.txt${endColor}"
  679. rm -rf /tmp/packages.txt
  680. fi
  681. 1 change; before #11 2 seconds ago
  682. echo -e "${yellow}You can check progress in new console: ${log_watch}${endColor}"
  683. echo "serviced host list 2>&1"
  684. test=$(serviced host list 2>&1)
  685. # wait for serviced start
  686. retry=1
  687. 1013 do
  688. 1014 echo $test
  689. 1015 echo "#${retry}: This is not a problem, because Control Centre service is not fully started, I'm trying in ${sleep_duration} seconds"
  690. 1016 echo "Message from author of autodeploy script: Keep calm and be patient! - http://www.keepca lmandposters.com/posters/38112.png"
  691. 1017 echo -n "Last serviced log: "
  692. 1018 eval $log_watch_last_line
  693. 1019 retry=$(( $retry + 1 ))
  694. 1020 sleep $sleep_duration
  695. 1021 test=$(serviced host list 2>&1)
  696. 1022 done
  697. 1023 if [ "$test" = "no hosts found" ]; then
  698. 1024 echo "serviced host add $hostname:4979 default"
  699. 1025 serviced host add $hostname:4979 default
  700. 1026 if [ $? -ne 0 ]; then
  701. 1027 echo -e "${red}Problem with command: serviced host add $privateipv4:4979 default${endColo r}"
  702. 1028 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&ci d=${cid}&t=event&ec=Installation&ea=Error&el=ServicedAddHost%20error&ev=1&dp=%2F&dl=http%3A%2F%2F github.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  703. 1029 exit 1
  704. 1030 else
  705. 1031 echo -e "${green}Done${endColor}"
  706. 1032 fi
  707. 1033 else
  708. 1034 echo "echo \"$test\" | grep -v loopback | wc -l"
  709. 1035 test2=$(echo "$test" | grep -v loopback | wc -l)
  710. 1036 if [ "$test2" -gt "1" ]; then
  711. 1037 echo -e "${yellow}Skipping - some host is deployed already${endColor}"
  712. 1038 echo -e "${green}Done${endColor}"
  713. 1039 else
  714. 1040 echo -e "${red}Problem with adding a host - check output from test: $test${endColor}"
  715. 1041 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&ci d=${cid}&t=event&ec=Installation&ea=Error&el=ServicedAddHost2%20error&ev=1&dp=%2F&dl=http%3A%2F%2 Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  716. 1042 exit 1
  717. 1043 fi
  718. 1044 fi
  719. 1045
  720. 1046 echo -e "${yellow}4.2 Deploy ${zenoss_template} application (the deployment step can take 15-30 m inutes)${endColor}"
  721. 1047 echo -e "${yellow}Please be patient, because all Zenoss docker images must be downloaded before f irst start.${endColor}"
  722. 1048 echo -e "${yellow}Warning: Could not find container for isvc logstash is not a problem - please b e only patient.${endColor}"
  723. 1049 echo -e "${yellow}Progress from serviced log file is presented. No timeout for this step.${endCol or}"
  724. 1050 echo "serviced template list 2>&1 | grep \"${zenoss_template}\" | awk '{print \$1}'"
  725. 1051 TEMPLATEID=$(serviced template list 2>&1 | grep "${zenoss_template}" | awk '{print $1}')
  726. 1052 echo 'serviced service list 2>/dev/null | wc -l'
  727. 1053 services=$(serviced service list 2>/dev/null | wc -l)
  728. 1054 if [ "$services" == "0" ]; then
  729. 1055 echo "serviced template deploy $TEMPLATEID default zenoss"
  730. :set number 1022,1 80%
  731. 1271 echo -e "${green}Control Center & ${zenoss_installation} installation completed${endColor}"
  732. 1272 echo -e "${green}Set password for Control Center ${user} user: passwd ${user}${endColor}"
  733. 1273 echo -e "${green}Please visit Control Center https://$publicipv4/ in your favorite web browser to complete setup, log in with ${user} user${endColor}"
  734. 1274 echo -e "${green}Add following line to your hosts file (Install guide - \"Configuring name resolu tion on ...\"):${endColor}"
  735. 1275 echo -e "${green}$publicipv4 $hostname hbase.$hostname opentsdb.$hostname rabbitmq.$hostname zeno ss5.$hostname$domains${endColor}"
  736. 1276 echo -e "${green}or edit /etc/default/serviced and set SERVICED_VHOST_ALIASES to your FQDN${endCo lor}"
  737. 1277 # selinux test
  738. 1278 output=$(id)
  739. 1279 substring="context="
  740. 1280 if [ "$output" != "${output%$substring*}" ]; then
  741. 1281 echo -e "${red}Please also reboot machine, because SELINUX is still active!${endColor}"
  742. 1282 fi
  743. 1283 echo -e "Install guide: ${install_doc}"
  744. 1284 echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
  745. 1285 echo -e "${yellow}${advert}${endColor}"
  746. 1286 duration=$(($(date +%s) - $starttimestamp))
  747. 1287 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Installation&ea=Stop%20OK&el=Install%20OK%20${duration}&ev=${duration}&dp=%2F&dl=http %3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy"
  748. 1288 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=OS&el=${hostos}&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fz enoss5-core-autodeploy" &> /dev/null
  749. 1289 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=Duration&el=${duration}%20sec&ev=${duration}&dp=%2F&dl=http%3A%2F%2Fgithub.co m%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  750. 1290 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=CPU&el=${cpus}%20count&ev=${cpus}&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitor ingartist%2Fzenoss5-core-autodeploy" &> /dev/null
  751. 1291 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=RAM&el=${rams}%20GB&ev=${rams}&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoring artist%2Fzenoss5-core-autodeploy" &> /dev/null
  752. 1292 if [ "$hostos" == "redhat" ]; then
  753. 1293 serviced_version=serviced%20$(rpm -qi serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
  754. 1294 zenoss_version=${zenoss_package}%20$(rpm -qi $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
  755. 1295 else
  756. 1296 serviced_version=serviced%20$(dpkg -s serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
  757. 1297 zenoss_version=${zenoss_package}%20$(dpkg -s $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
  758. 1298 fi
  759. 1299 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=Zenoss%20version&el=${zenoss_version}&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com% 2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  760. 1300 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=Serviced%20version&el=${serviced_version}&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub. com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  761. 1301 # finish ring
  762. 1302 printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a';
  763. 1302,1 Bot
  764. 1 #!/bin/bash
  765. 2
  766. 3 # Script for Control Center and Zenoss Core 5 / Zenoss Resource Manager 5 deployement
  767. 4 # Copyright (C) 2016 Jan Garaj - www.monitoringartist.com / www.jangaraj.com
  768. 5 version="2016-03-02"
  769. 6
  770. 7 # Analytics
  771. 8 starttimestamp=$(date +%s)
  772. 9 cid=$(md5sum <<< $(hostname) | awk -F - '{print $1}' | tr -d ' ')
  773. 12
  774. 13 # Variables
  775. 14 # Default resource requirements
  776. 15 cpus_min=4
  777. 16 rams_min=20 #GB
  778. 17 # Default filesystem requirements (RHEL 7 / CentOS 7)
  779. 18 maxusage=90 #% max disk usage
  780. 19 root_fs_min_size=30 #GB
  781. 20 root_fs_type="xfs"
  782. 21 root_fs_path="/"
  783. 22 docker_fs_min_size=30 #GB
  784. 23 docker_fs_type="xfs"
  785. 24 docker_fs_path="/var/lib/docker"
  786. 25 serviced_fs_min_size=30 #GB
  787. 26 serviced_fs_type="xfs"
  788. 27 serviced_fs_path="/opt/serviced/var"
  789. 28 servicedvolumes_fs_min_size=1 #GB
  790. 29 servicedvolumes_fs_type="btrfs"
  791. 30 servicedvolumes_fs_path="/opt/serviced/var/volumes"
  792. 31 servicedbackups_fs_min_size=1 #GB
  793. 32 servicedbackups_fs_type="xfs"
  794. 33 servicedbackups_fs_path="/opt/serviced/var/backups"
  795. 34 # Mount parameters for fstab
  796. 35 mount_parameters_btrfs="rw,noatime,nodatacow,skip_balance 0 0"
  797. 36 mount_parameters_xfs="defaults,noatime 0 0"
  798. 37 mount_parameters_ext4="defaults 0 0"
  799. 38 # Docker and Zenoss Settings
  800. 39 docker_version=1.9.0
  801. 40 g2k=1048576
  802. 51 zenoss_installation_enterprise="Zenoss Resource Manager 5"
  803. 52 zenoss_template="Zenoss.core"
  804. 56 docker_registry_user=""
  805. 57 docker_registry_email=""
  806. 58 docker_registry_password=""
  807. 59 MHOST=""
  808. 61
  809. 62 # Magical colors of the wind
  810. 68
  811. 72 #echo " ... continuing"
  812. 73 mycontinue="yes"
  813. 74 else
  814. 75 exit 1
  815. 76 fi
  816. 77 }
  817. 78
  818. 70 read answer
  819. 71 if echo "$answer" | grep -iq "^y" ;then
  820. 72 #echo " ... continuing"
  821. 73 mycontinue="yes"
  822. 74 else
  823. 75 exit 1
  824. 76 fi
  825. 77 }
  826. 78
  827. 79 mycontinue="no"
  828. 80 mylocation=$1
  829. 81 myfilesystem=$2
  830. 82 myminsize=$3
  831. 83
  832. 84 echo -en "${yellow} $mylocation filesystem check in progress...${endColor}"
  833. 85 fs=$(df -TP | grep "$mylocation$" | awk '{print $2}')
  834. 86 # Fall back to root fs
  835. 87 if [ "$fs" == "" ]; then
  836. 88 fs=$(df -TP | grep "/$" | awk '{print $2}')
  837. 89 fi
  838. 90 if [ "$fs" != "$myfilesystem" ]; then
  839. 91 echo -en "\n${red} ${fs} ${mylocation} filesystem detected, but ${myfilesystem} is requir ed. Do you want to continue (y/n)? ${endColor}"
  840. 92 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&ci d=${cid}&t=event&ec=Installation&ea=Error&el=Wrong%20FS%20${mylocation}%20${fs}&ev=1&dp=%2F&dl=ht tp%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  841. 93 prompt_continue
  842. 94 if [ "$mylocation" == "$servicedvolumes_fs_path" ]; then
  843. 95 echo -en "${red}No, No and No. Author of autodeployement script refuses to make this exception. Please use manual deployement!!!${endColor}"
  844. 96 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375- 1&cid=${cid}&t=event&ec=Installation&ea=Error&el=Wrong%20FS%20${mylocation}%20${fs}%20NO&ev=1&dp= %2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  845. 97 exit 1
  846. 98 fi
  847. 99 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&ci d=${cid}&t=event&ec=Installation&ea=Error&el=Wrong%20FS%20${mylocation}%20${fs}%20yes&ev=1&dp=%2F &dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  848. 100 mycontinue="yes"
  849. 101 fi
  850. 102 usage=$(df -ha | grep "$mylocation$" | awk '{print $5}' | tail -n 1 | tr -d "%")
  851. 103 # Fall back to root fs
  852. 104 if [ "$usage" == "" ]; then
  853. 105 usage=$(df -ha | grep "/$" | awk '{print $5}' | tail -n 1 | tr -d "%")
  854. 106 fi
  855. 107 if [ $usage -gt $maxusage ]; then
  856. 108 echo -en "\n${red} ${mylocation} filesystem usage (${usage}%) is more than defined maximu m ${maxusage}%. Do you want to continue (y/n)? ${endColor}"
  857. 109 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&ci d=${cid}&t=event&ec=Installation&ea=Error&el=Overutilized%20FS%20${mylocation}&ev=1&dp=%2F&dl=htt p%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  858. 110 prompt_continue
  859. @ @
  860. 79,5 5%
  861. 954 #cd /etc/ssl/certs/serviced
  862. 955 #mkdir -p /tmp/ssl
  863. 956 #docker run --name simp_le -v /tmp/ssl:/usr/share/nginx/html:ro -p 80:80 -d nginx
  864. 957 #simp_le -f key.pem -f cert.pem -f fullchain.pem -d ccmaster.domain.com:/tmp/ssl -f account_key.j son
  865. 958 #docker rm -f simp_le
  866. 959 #docker rmi -f nginx
  867. 960 #rm -rf /tmp/ssl
  868. 961 #
  869. 962 #vi /etc/default/serviced
  870. 963 #SERVICED_KEY_FILE=/etc/ssl/certs/serviced/key.pem
  871. 964 #SERVICED_CERT_FILE=/etc/ssl/certs/serviced/cert.pem
  872. 965 ### TODO cron for auto cert update - probably with serviced restart
  873. 966
  874. 967 # Startup serviced services
  875. 968 echo -e "${yellow}3.9 Start the Control Center service${endColor}"
  876. 969 if [ "$hostos" == "redhat" ]; then
  877. 970 echo "systemctl enable serviced && systemctl start serviced"
  878. 971 systemctl enable serviced && systemctl start serviced
  879. 972 elif [ "$hostos" == "ubuntu" ]; then
  880. 973 echo 'service serviced status'
  881. 974 output=$(service serviced status)
  882. 975 com_ret=$?
  883. 976 echo "$output"
  884. 977 substring="stop"
  885. 978 if [ "$output" != "${output%$substring*}" ]; then
  886. 979 echo "start serviced"
  887. 980 start serviced
  888. 981 fi
  889. 982 fi
  890. 983 if [ $? -ne 0 ]; then
  891. 984 echo -e "${red}Problem with starting of serviced${endColor}"
  892. 985 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${ cid}&t=event&ec=Installation&ea=Error&el=ServicedStart%20error&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub .com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  893. 986 exit 1
  894. 987 else
  895. 988 echo -e "${green}Done${endColor}"
  896. 989 fi
  897. 990
  898. 991 # exit host installation
  899. 992 if [ ! -z "$MHOST" ]; then
  900. 993 echo -e "${green}Control Center installation on the host completed${endColor}"
  901. 994 echo -e "${green}Please visit Control Center${endColor}"
  902. 995 echo -e "${green}You can check status of serviced: systemctl status serviced${endColor}"
  903. 996 echo -e "Install guide: ${install_doc}"
  904. 997 echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
  905. 998 exit 0
  906. 999 fi
  907. 1000
  908. 1001 echo -e "${blue}4 ${zenoss_installation} deployement - (`date -R`)${endColor}"
  909. 1002
  910. 1003 echo -e "${yellow}4.1 Adding current host to the default resource pool${endColor}"
  911. @
  912. 966,0-1 76%
  913. 1270 echo -e "${green}Control Center & ${zenoss_installation} installation completed${endColor}"
  914. 1271 echo -e "${green}Set password for Control Center ${user} user: passwd ${user}${endColor}"
  915. 1272 echo -e "${green}Please visit Control Center https://$publicipv4/ in your favorite web browser to complete setup, log in with ${user} user${endColor}"
  916. 1273 echo -e "${green}Add following line to your hosts file (Install guide - \"Configuring name resolu tion on ...\"):${endColor}"
  917. 1274 echo -e "${green}$publicipv4 $hostname hbase.$hostname opentsdb.$hostname rabbitmq.$hostname zeno ss5.$hostname$domains${endColor}"
  918. 1275 echo -e "${green}or edit /etc/default/serviced and set SERVICED_VHOST_ALIASES to your FQDN${endCo lor}"
  919. 1276 # selinux test
  920. 1277 output=$(id)
  921. 1278 substring="context="
  922. 1279 if [ "$output" != "${output%$substring*}" ]; then
  923. 1280 echo -e "${red}Please also reboot machine, because SELINUX is still active!${endColor}"
  924. 1281 fi
  925. 1282 echo -e "Install guide: ${install_doc}"
  926. 1283 echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
  927. 1284 echo -e "${yellow}${advert}${endColor}"
  928. 1285 duration=$(($(date +%s) - $starttimestamp))
  929. 1286 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Installation&ea=Stop%20OK&el=Install%20OK%20${duration}&ev=${duration}&dp=%2F&dl=http %3A%2F%2Fgithub.com%2Fmonitoringartist%2Fzenoss5-core-autodeploy"
  930. 1287 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=OS&el=${hostos}&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoringartist%2Fz enoss5-core-autodeploy" &> /dev/null
  931. 1288 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=Duration&el=${duration}%20sec&ev=${duration}&dp=%2F&dl=http%3A%2F%2Fgithub.co m%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  932. 1289 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=CPU&el=${cpus}%20count&ev=${cpus}&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitor ingartist%2Fzenoss5-core-autodeploy" &> /dev/null
  933. 1290 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=RAM&el=${rams}%20GB&ev=${rams}&dp=%2F&dl=http%3A%2F%2Fgithub.com%2Fmonitoring artist%2Fzenoss5-core-autodeploy" &> /dev/null
  934. 1291 if [ "$hostos" == "redhat" ]; then
  935. 1292 serviced_version=serviced%20$(rpm -qi serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
  936. 1293 zenoss_version=${zenoss_package}%20$(rpm -qi $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
  937. 1294 else
  938. 1295 serviced_version=serviced%20$(dpkg -s serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
  939. 1296 zenoss_version=${zenoss_package}%20$(dpkg -s $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
  940. 1297 fi
  941. 1298 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=Zenoss%20version&el=${zenoss_version}&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub.com% 2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  942. 1299 curl -ks -o /dev/null "http://www.google-analytics.com/r/collect?v=1&tid=UA-68890375-1&cid=${cid} &t=event&ec=Stat&ea=Serviced%20version&el=${serviced_version}&ev=1&dp=%2F&dl=http%3A%2F%2Fgithub. com%2Fmonitoringartist%2Fzenoss5-core-autodeploy" &> /dev/null
  943. 1300 # finish ring
  944. 1301 printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a';
  945. 1301,1 Bot
  946. 1 #!/bin/bash
  947. 2
  948. 3 # Script for Control Center and Zenoss Core 5 / Zenoss Resource Manager 5 deployement
  949. 4 # Copyright (C) 2016 Jan Garaj - www.monitoringartist.com / www.jangaraj.com
  950. 5 version="2016-03-02"
  951. 6
  952. 7 # Analytics
  953. 8 starttimestamp=$(date +%s)
  954. 9 cid=$(md5sum <<< $(hostname) | awk -F - '{print $1}' | tr -d ' ')
  955. 12
  956. 13 # Variables
  957. 14 # Default resource requirements
  958. 15 cpus_min=4
  959. 16 rams_min=20 #GB
  960. 17 # Default filesystem requirements (RHEL 7 / CentOS 7)
  961. 18 maxusage=90 #% max disk usage
  962. 19 root_fs_min_size=30 #GB
  963. 20 root_fs_type="xfs"
  964. 21 root_fs_path="/"
  965. 22 docker_fs_min_size=30 #GB
  966. 23 docker_fs_type="xfs"
  967. 24 docker_fs_path="/var/lib/docker"
  968. 25 serviced_fs_min_size=30 #GB
  969. 26 serviced_fs_type="xfs"
  970. 27 serviced_fs_path="/opt/serviced/var"
  971. 28 servicedvolumes_fs_min_size=1 #GB
  972. 29 servicedvolumes_fs_type="btrfs"
  973. 30 servicedvolumes_fs_path="/opt/serviced/var/volumes"
  974. 31 servicedbackups_fs_min_size=1 #GB
  975. 32 servicedbackups_fs_type="xfs"
  976. 33 servicedbackups_fs_path="/opt/serviced/var/backups"
  977. 34 # Mount parameters for fstab
  978. 35 mount_parameters_btrfs="rw,noatime,nodatacow,skip_balance 0 0"
  979. 36 mount_parameters_xfs="defaults,noatime 0 0"
  980. 37 mount_parameters_ext4="defaults 0 0"
  981. 38 # Docker and Zenoss Settings
  982. 39 docker_version=1.9.0
  983. 46 log_watch="journalctl -u serviced -f -a -n 0"
  984. 50 zenoss_installation="Zenoss Core 5"
  985. 51 zenoss_installation_enterprise="Zenoss Resource Manager 5"
  986. 55 zenoss_impact_enterprise="zenoss/impact_5.0:5.0.5.0.0"
  987. 56 docker_registry_user=""
  988. 3.6 Stop and restart Docker
  989. systemctl stop docker && systemctl start docker
  990. Done
  991. Editing /etc/default/serviced on CC master
  992. 3.7 Change the volume type for application data
  993. sed -i."167-080209" -e 's|^#[^S]*\(SERVICED_FS_TYPE=\).*$|\1btrfs|' /etc/default/serviced
  994. Done
  995. 3.8 rpcbind workaround
  996. systemctl status rpcbind &>/dev/null
  997. Applying rpcbind workaround
  998. systemctl start rpcbind
  999. echo "systemctl start rpcbind" >> /etc/rc.d/rc.local && chmod +x /etc/rc.d/rc.local
  1000. Done
  1001. 3.9 Start the Control Center service
  1002. systemctl enable serviced && systemctl start serviced
  1003. Done
  1004. 4 Zenoss Core 5 deployement - (Wed, 15 Jun 2016 08:02:11 -0400)
  1005. 4.1 Adding current host to the default resource pool
  1006. Please be patient, because docker image zenoss/serviced-isvcs must be downloaded before first start.
  1007. You can check progress in new console: journalctl -u serviced -f -a -n 0
  1008. Script is trying to check status every 10s. Timeout for this step is 15 minutes.
  1009. serviced host list 2>&1
  1010. echo "dial tcp4 x.x.x.x-IP:4979: connection refused" | grep -v loopback | wc -l
  1011. Problem with adding a host - check output from test: dial tcp4 x.x.x.x-IP:4979: connection refused
  1012. [root@zenoss5 tmp]# vim core-autodeploy.sh
  1013. [root@zenoss5 tmp]# serviced host add `hostname`:4979 default
  1014. 1b0a8d70
  1015. [root@zenoss5 tmp]#
  1016. [root@zenoss5 tmp]#
  1017. [root@zenoss5 tmp]# serviced host list
  1018. ID Pool Name Addr RPCPort Cores RAM Cur/Max/Avg Network Release
  1019. 1b0a8d70 default zenoss5 x.x.x.x-IP 4979 4 9.5G 0 / 0 / 8388608T 172.17.0.0/255.255.0.0 1.1.5-1
  1020. [root@zenoss5 tmp]# vim core-autodeploy.sh
  1021. [root@zenoss5 tmp]# ./core-autodeploy.sh
  1022. 4.2 Deploy Zenoss.core application (the deployment step can take 15-30 minutes)
  1023. Please be patient, because all Zenoss docker images must be downloaded before first start.
  1024. Warning: Could not find container for isvc logstash is not a problem - please be only patient.
  1025. Progress from serviced log file is presented. No timeout for this step.
  1026. serviced template list 2>&1 | grep "Zenoss.core" | awk '{print $1}'
  1027. serviced service list 2>/dev/null | wc -l
  1028. serviced template deploy dc6f4e13e8d703925131fe3e600e7c94 default zenoss
  1029. -- Logs begin at Wed 2016-06-15 07:56:06 EDT. --
  1030. Jun 15 08:06:11 zenoss5 serviced[2296]: I0615 12:06:11.928423 02296 zzk.go:186] Starting a listener at /virtualIPs
  1031. Deploying template - please wait...
  1032. Jun 15 08:09:57 zenoss5 serviced[2296]: I0615 12:09:57.674049 02296 servicetemplate.go:269] Deploying application Zenoss.core to zenoss
  1033. Jun 15 08:09:57 zenoss5 serviced[2296]: I0615 12:09:57.677120 02296 download.go:130] Image zenoss/core_5.1:5.1.3_1 not found locally, pulling
  1034. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.461724 02296 listener.go:124] Checking if push required for id=ZTkwODd5bzAwMHc0cmczeTZqMHo5d2FvbS9jb3JlXzUuMTpsYXRlc3Q= node: core_5.1:latest latest (UUID=8ff20d7c29428e5e51466006530a450e5536e7b6b5479f1c42938caa92f99c7b)
  1035. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.474090 02296 leader.go:188] w /docker/registry/repos/e9087yo000w4rg3y6j0z9waom/core_5.1/_c_8a137e7154a25983c33a1a08128fb0a8-leader-0000000000
  1036. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.484782 02296 leader.go:190] calling wait on /docker/registry/repos/e9087yo000w4rg3y6j0z9waom/core_5.1/_c_8a137e7154a25983c33a1a08128fb0a8-leader-0000000000: %!s(<nil>)
  1037. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.590513 02296 service.go:112] Created service Zenoss.core (e9087yo000w4rg3y6j0z9waom)
  1038. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.600904 02296 serviceconfig.go:80] Adding config file /opt/zenoss/zproxy/conf/zproxy-nginx.conf for service e9087yo000w4rg3y6j0z9waom
  1039. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.624064 02296 service.go:117] Set configuration information for service Zenoss.core (e9087yo000w4rg3y6j0z9waom)
  1040. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.668219 02296 service.go:123] Synced service Zenoss.core (e9087yo000w4rg3y6j0z9waom) to the coordinator
  1041. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.707263 02296 service.go:112] Created service Zenoss (d95vvppxbbyxxnwcoya8t17w6)
  1042. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.713187 02296 service.go:117] Set configuration information for service Zenoss (d95vvppxbbyxxnwcoya8t17w6)
  1043. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.747658 02296 service.go:123] Synced service Zenoss (d95vvppxbbyxxnwcoya8t17w6) to the coordinator
  1044. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.786526 02296 service.go:112] Created service User Interface (6fc8qg7x8qhzdqfxy4w61xi28)
  1045. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.797972 02296 service.go:117] Set configuration information for service User Interface (6fc8qg7x8qhzdqfxy4w61xi28)
  1046. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.828067 02296 service.go:123] Synced service User Interface (6fc8qg7x8qhzdqfxy4w61xi28) to the coordinator
  1047. Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.990262 02296 service.go:112] Created service Zope (2jxrwpp0ixp3mfkxxg4x4pkat)
  1048. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.022324 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 2jxrwpp0ixp3mfkxxg4x4pkat
  1049. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.047312 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zope.conf for service 2jxrwpp0ixp3mfkxxg4x4pkat
  1050. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.098323 02296 service.go:117] Set configuration information for service Zope (2jxrwpp0ixp3mfkxxg4x4pkat)
  1051. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.263856 02296 service.go:123] Synced service Zope (2jxrwpp0ixp3mfkxxg4x4pkat) to the coordinator
  1052. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.389353 02296 service.go:112] Created service zenjobs (9154s1ysrjd6vfyh2xbwxo16y)
  1053. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.405120 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 9154s1ysrjd6vfyh2xbwxo16y
  1054. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.420029 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenjobs.conf for service 9154s1ysrjd6vfyh2xbwxo16y
  1055. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.439105 02296 service.go:117] Set configuration information for service zenjobs (9154s1ysrjd6vfyh2xbwxo16y)
  1056. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.465016 02296 service.go:123] Synced service zenjobs (9154s1ysrjd6vfyh2xbwxo16y) to the coordinator
  1057. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.503784 02296 service.go:112] Created service Collection (d87je4rmlchcbvjk1vubjsg2g)
  1058. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.510893 02296 service.go:117] Set configuration information for service Collection (d87je4rmlchcbvjk1vubjsg2g)
  1059. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.528769 02296 service.go:123] Synced service Collection (d87je4rmlchcbvjk1vubjsg2g) to the coordinator
  1060. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.551022 02296 service.go:112] Created service localhost (3g3v7xqy7c943sr54yrk0x1nu)
  1061. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.567812 02296 service.go:117] Set configuration information for service localhost (3g3v7xqy7c943sr54yrk0x1nu)
  1062. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.588701 02296 service.go:123] Synced service localhost (3g3v7xqy7c943sr54yrk0x1nu) to the coordinator
  1063. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.704803 02296 service.go:112] Created service zenhub (doy5is0vgqhxslal93wjpc2as)
  1064. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.721682 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service doy5is0vgqhxslal93wjpc2as
  1065. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.737441 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenhub.conf for service doy5is0vgqhxslal93wjpc2as
  1066. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.757396 02296 service.go:117] Set configuration information for service zenhub (doy5is0vgqhxslal93wjpc2as)
  1067. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.842621 02296 service.go:123] Synced service zenhub (doy5is0vgqhxslal93wjpc2as) to the coordinator
  1068. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.870012 02296 service.go:112] Created service localhost (b33cti0nwd54o48ojwinufym)
  1069. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.878343 02296 service.go:117] Set configuration information for service localhost (b33cti0nwd54o48ojwinufym)
  1070. Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.913401 02296 service.go:123] Synced service localhost (b33cti0nwd54o48ojwinufym) to the coordinator
  1071. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.118055 02296 service.go:112] Created service zentrap (1uhabl7swz97ztappbmmwpx48)
  1072. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.139742 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 1uhabl7swz97ztappbmmwpx48
  1073. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.163831 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zentrap.conf for service 1uhabl7swz97ztappbmmwpx48
  1074. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.182590 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zentrap.filter.conf for service 1uhabl7swz97ztappbmmwpx48
  1075. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.200930 02296 service.go:117] Set configuration information for service zentrap (1uhabl7swz97ztappbmmwpx48)
  1076. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.254311 02296 service.go:123] Synced service zentrap (1uhabl7swz97ztappbmmwpx48) to the coordinator
  1077. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.436582 02296 service.go:112] Created service zenmail (8knj8no2ho2ub5qkwfbbm5pme)
  1078. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.449695 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 8knj8no2ho2ub5qkwfbbm5pme
  1079. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.459796 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenmail.conf for service 8knj8no2ho2ub5qkwfbbm5pme
  1080. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.475156 02296 service.go:117] Set configuration information for service zenmail (8knj8no2ho2ub5qkwfbbm5pme)
  1081. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.504696 02296 service.go:123] Synced service zenmail (8knj8no2ho2ub5qkwfbbm5pme) to the coordinator
  1082. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.753371 02296 service.go:112] Created service zenperfsnmp (dhtq04jb374l2pf1caxqxy6wm)
  1083. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.765860 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service dhtq04jb374l2pf1caxqxy6wm
  1084. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.782331 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenperfsnmp.conf for service dhtq04jb374l2pf1caxqxy6wm
  1085. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.793306 02296 service.go:117] Set configuration information for service zenperfsnmp (dhtq04jb374l2pf1caxqxy6wm)
  1086. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.821289 02296 service.go:123] Synced service zenperfsnmp (dhtq04jb374l2pf1caxqxy6wm) to the coordinator
  1087. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.963088 02296 service.go:112] Created service zenpop3 (dyzgatep7pp0dy5mbiefvoqem)
  1088. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.978695 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service dyzgatep7pp0dy5mbiefvoqem
  1089. Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.990588 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenpop3.conf for service dyzgatep7pp0dy5mbiefvoqem
  1090. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.000324 02296 service.go:117] Set configuration information for service zenpop3 (dyzgatep7pp0dy5mbiefvoqem)
  1091. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.033017 02296 service.go:123] Synced service zenpop3 (dyzgatep7pp0dy5mbiefvoqem) to the coordinator
  1092. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.124196 02296 service.go:112] Created service MetricShipper (e15dplchvoj00a3q6h3x3wxp1)
  1093. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.136803 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/metricshipper/metricshipper.yaml for service e15dplchvoj00a3q6h3x3wxp1
  1094. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.147559 02296 service.go:117] Set configuration information for service MetricShipper (e15dplchvoj00a3q6h3x3wxp1)
  1095. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.191076 02296 service.go:123] Synced service MetricShipper (e15dplchvoj00a3q6h3x3wxp1) to the coordinator
  1096. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.338760 02296 service.go:112] Created service zenping (4qyhibh97fgey845n090zjwyn)
  1097. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.363554 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenping.conf for service 4qyhibh97fgey845n090zjwyn
  1098. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.378631 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 4qyhibh97fgey845n090zjwyn
  1099. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.400457 02296 service.go:117] Set configuration information for service zenping (4qyhibh97fgey845n090zjwyn)
  1100. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.458965 02296 service.go:123] Synced service zenping (4qyhibh97fgey845n090zjwyn) to the coordinator
  1101. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.630915 02296 service.go:112] Created service zenprocess (1fqj7arzoo9blcpn94fgo1wz6)
  1102. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.641748 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenprocess.conf for service 1fqj7arzoo9blcpn94fgo1wz6
  1103. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.650103 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 1fqj7arzoo9blcpn94fgo1wz6
  1104. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.657468 02296 service.go:117] Set configuration information for service zenprocess (1fqj7arzoo9blcpn94fgo1wz6)
  1105. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.684221 02296 service.go:123] Synced service zenprocess (1fqj7arzoo9blcpn94fgo1wz6) to the coordinator
  1106. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.821927 02296 service.go:112] Created service zensyslog (boz6t9h8eipaptm2sdfyd4koa)
  1107. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.837209 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service boz6t9h8eipaptm2sdfyd4koa
  1108. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.851209 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zensyslog.conf for service boz6t9h8eipaptm2sdfyd4koa
  1109. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.862776 02296 service.go:117] Set configuration information for service zensyslog (boz6t9h8eipaptm2sdfyd4koa)
  1110. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.893101 02296 service.go:123] Synced service zensyslog (boz6t9h8eipaptm2sdfyd4koa) to the coordinator
  1111. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.981115 02296 service.go:112] Created service zminion (altjgwwxdvpy6v1xaulp1s8x3)
  1112. Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.993374 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zminion/supervisord.conf for service altjgwwxdvpy6v1xaulp1s8x3
  1113. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.007773 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zminion/zminion_supervisor.conf for service altjgwwxdvpy6v1xaulp1s8x3
  1114. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.020768 02296 service.go:117] Set configuration information for service zminion (altjgwwxdvpy6v1xaulp1s8x3)
  1115. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.055423 02296 service.go:123] Synced service zminion (altjgwwxdvpy6v1xaulp1s8x3) to the coordinator
  1116. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.149522 02296 service.go:112] Created service collectorredis (6r3ol1f9higsxldmnjsf7f8dq)
  1117. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.171187 02296 serviceconfig.go:80] Adding config file /etc/redis.conf for service 6r3ol1f9higsxldmnjsf7f8dq
  1118. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.190032 02296 service.go:117] Set configuration information for service collectorredis (6r3ol1f9higsxldmnjsf7f8dq)
  1119. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.224367 02296 service.go:123] Synced service collectorredis (6r3ol1f9higsxldmnjsf7f8dq) to the coordinator
  1120. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.420736 02296 service.go:112] Created service zencommand (9vu1t5ub123gxormhld94qmp9)
  1121. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.433136 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 9vu1t5ub123gxormhld94qmp9
  1122. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.443940 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zencommand.conf for service 9vu1t5ub123gxormhld94qmp9
  1123. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.454682 02296 service.go:117] Set configuration information for service zencommand (9vu1t5ub123gxormhld94qmp9)
  1124. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.479200 02296 service.go:123] Synced service zencommand (9vu1t5ub123gxormhld94qmp9) to the coordinator
  1125. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.830278 02296 service.go:112] Created service zenstatus (at4gxr8n7e2kcffy5y6058r7d)
  1126. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.841798 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service at4gxr8n7e2kcffy5y6058r7d
  1127. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.852981 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenstatus.conf for service at4gxr8n7e2kcffy5y6058r7d
  1128. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.868111 02296 service.go:117] Set configuration information for service zenstatus (at4gxr8n7e2kcffy5y6058r7d)
  1129. Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.949955 02296 service.go:123] Synced service zenstatus (at4gxr8n7e2kcffy5y6058r7d) to the coordinator
  1130. Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.552337 02296 service.go:112] Created service zenmodeler (1472j3dzw35k0c6ensh1o0j1i)
  1131. Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.562792 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 1472j3dzw35k0c6ensh1o0j1i
  1132. Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.579910 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenmodeler.conf for service 1472j3dzw35k0c6ensh1o0j1i
  1133. Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.598217 02296 service.go:117] Set configuration information for service zenmodeler (1472j3dzw35k0c6ensh1o0j1i)
  1134. Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.623832 02296 service.go:123] Synced service zenmodeler (1472j3dzw35k0c6ensh1o0j1i) to the coordinator
  1135. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.084101 02296 service.go:112] Created service zenpython (2y4bxdwtoiyd9ke08rqwpo8qq)
  1136. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.094206 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 2y4bxdwtoiyd9ke08rqwpo8qq
  1137. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.108538 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenpython.conf for service 2y4bxdwtoiyd9ke08rqwpo8qq
  1138. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.118469 02296 service.go:117] Set configuration information for service zenpython (2y4bxdwtoiyd9ke08rqwpo8qq)
  1139. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.141697 02296 service.go:123] Synced service zenpython (2y4bxdwtoiyd9ke08rqwpo8qq) to the coordinator
  1140. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.162103 02296 service.go:112] Created service Events (67ko8ll1mrk2u70596ywyibcg)
  1141. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.167768 02296 service.go:117] Set configuration information for service Events (67ko8ll1mrk2u70596ywyibcg)
  1142. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.190849 02296 service.go:123] Synced service Events (67ko8ll1mrk2u70596ywyibcg) to the coordinator
  1143. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.453135 02296 service.go:112] Created service zeneventd (bfdogea0xzr8zq70gbcpdg0n0)
  1144. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.468385 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service bfdogea0xzr8zq70gbcpdg0n0
  1145. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.475435 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zeneventd.conf for service bfdogea0xzr8zq70gbcpdg0n0
  1146. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.484526 02296 service.go:117] Set configuration information for service zeneventd (bfdogea0xzr8zq70gbcpdg0n0)
  1147. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.503727 02296 service.go:123] Synced service zeneventd (bfdogea0xzr8zq70gbcpdg0n0) to the coordinator
  1148. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.793188 02296 service.go:112] Created service zeneventserver (3ne3a8a71db97h7ajgnmfq593)
  1149. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.808871 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 3ne3a8a71db97h7ajgnmfq593
  1150. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.818144 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zeneventserver.conf for service 3ne3a8a71db97h7ajgnmfq593
  1151. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.830509 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zeneventserver/jetty/jetty.ini for service 3ne3a8a71db97h7ajgnmfq593
  1152. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.846352 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zeneventserver/jetty/start.config for service 3ne3a8a71db97h7ajgnmfq593
  1153. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.857289 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zeneventserver/logback.xml for service 3ne3a8a71db97h7ajgnmfq593
  1154. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.869874 02296 service.go:117] Set configuration information for service zeneventserver (3ne3a8a71db97h7ajgnmfq593)
  1155. Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.902216 02296 service.go:123] Synced service zeneventserver (3ne3a8a71db97h7ajgnmfq593) to the coordinator
  1156. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.477705 02296 service.go:112] Created service zenactiond (8gu2muh3g7gwk2ca7imvl9iy5)
  1157. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.487935 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/global.conf for service 8gu2muh3g7gwk2ca7imvl9iy5
  1158. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.499111 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/zenactiond.conf for service 8gu2muh3g7gwk2ca7imvl9iy5
  1159. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.517102 02296 service.go:117] Set configuration information for service zenactiond (8gu2muh3g7gwk2ca7imvl9iy5)
  1160. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.540217 02296 service.go:123] Synced service zenactiond (8gu2muh3g7gwk2ca7imvl9iy5) to the coordinator
  1161. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.556355 02296 service.go:112] Created service Metrics (cq4dpdgg51p8owxl40ahy9lq7)
  1162. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.561071 02296 service.go:117] Set configuration information for service Metrics (cq4dpdgg51p8owxl40ahy9lq7)
  1163. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.597474 02296 service.go:123] Synced service Metrics (cq4dpdgg51p8owxl40ahy9lq7) to the coordinator
  1164. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.831100 02296 service.go:112] Created service CentralQuery (b3ealvi9z7p5bgo99flauhmu3)
  1165. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.842474 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/central-query/central-query_supervisor.conf for service b3ealvi9z7p5bgo99flauhmu3
  1166. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.850575 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/central-query/configuration.yaml for service b3ealvi9z7p5bgo99flauhmu3
  1167. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.859195 02296 service.go:117] Set configuration information for service CentralQuery (b3ealvi9z7p5bgo99flauhmu3)
  1168. Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.880922 02296 service.go:123] Synced service CentralQuery (b3ealvi9z7p5bgo99flauhmu3) to the coordinator
  1169. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.405559 02296 service.go:112] Created service MetricConsumer (cyyws0q31hvjzop6nowbajg9n)
  1170. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.414100 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/metric-consumer-app/configuration.yaml for service cyyws0q31hvjzop6nowbajg9n
  1171. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.423345 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/metric-consumer-app/metric-consumer-app_supervisor.conf for service cyyws0q31hvjzop6nowbajg9n
  1172. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.432557 02296 service.go:117] Set configuration information for service MetricConsumer (cyyws0q31hvjzop6nowbajg9n)
  1173. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.453037 02296 service.go:123] Synced service MetricConsumer (cyyws0q31hvjzop6nowbajg9n) to the coordinator
  1174. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.816330 02296 service.go:112] Created service MetricShipper (65nd2pxen0r79n7bfi8ip9o2w)
  1175. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.827384 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/metricshipper/metricshipper.yaml for service 65nd2pxen0r79n7bfi8ip9o2w
  1176. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.837625 02296 service.go:117] Set configuration information for service MetricShipper (65nd2pxen0r79n7bfi8ip9o2w)
  1177. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.868885 02296 service.go:123] Synced service MetricShipper (65nd2pxen0r79n7bfi8ip9o2w) to the coordinator
  1178. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.883731 02296 service.go:112] Created service Infrastructure (24zgzn85op3mhs1nmj1lzw39h)
  1179. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.888892 02296 service.go:117] Set configuration information for service Infrastructure (24zgzn85op3mhs1nmj1lzw39h)
  1180. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.904966 02296 service.go:123] Synced service Infrastructure (24zgzn85op3mhs1nmj1lzw39h) to the coordinator
  1181. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.923469 02296 service.go:112] Created service HBase (16vvx2dyvy5mpvi8pfhyrwg5u)
  1182. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.930849 02296 service.go:117] Set configuration information for service HBase (16vvx2dyvy5mpvi8pfhyrwg5u)
  1183. Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.951814 02296 service.go:123] Synced service HBase (16vvx2dyvy5mpvi8pfhyrwg5u) to the coordinator
  1184. Jun 15 08:11:05 zenoss5 serviced[2296]: I0615 12:11:05.247262 02296 download.go:130] Image zenoss/hbase:v12.1 not found locally, pulling
  1185. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.432525 02296 listener.go:124] Checking if push required for id=ZTkwODd5bzAwMHc0cmczeTZqMHo5d2FvbS9oYmFzZTpsYXRlc3Q= node: hbase:latest latest (UUID=734911bb236ac8a09b02229ee477964c61f3b01992f96890162ca527769ee54f)
  1186. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.468513 02296 leader.go:188] w /docker/registry/repos/e9087yo000w4rg3y6j0z9waom/hbase/_c_bec503e9a272536416f24b9144569934-leader-0000000000
  1187. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.474504 02296 leader.go:190] calling wait on /docker/registry/repos/e9087yo000w4rg3y6j0z9waom/hbase/_c_bec503e9a272536416f24b9144569934-leader-0000000000: %!s(<nil>)
  1188. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.533025 02296 service.go:112] Created service HMaster (6sdhttwqv9znpyuyq7xh01qkb)
  1189. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.553119 02296 serviceconfig.go:80] Adding config file /etc/hbase-env.sh for service 6sdhttwqv9znpyuyq7xh01qkb
  1190. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.564826 02296 serviceconfig.go:80] Adding config file /etc/hbase-site.xml for service 6sdhttwqv9znpyuyq7xh01qkb
  1191. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.575864 02296 service.go:117] Set configuration information for service HMaster (6sdhttwqv9znpyuyq7xh01qkb)
  1192. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.605793 02296 service.go:123] Synced service HMaster (6sdhttwqv9znpyuyq7xh01qkb) to the coordinator
  1193. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.699885 02296 service.go:112] Created service RegionServer (cbzmsd1kocomp5ogrvf6v8dep)
  1194. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.713870 02296 serviceconfig.go:80] Adding config file /etc/hbase-env.sh for service cbzmsd1kocomp5ogrvf6v8dep
  1195. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.728630 02296 serviceconfig.go:80] Adding config file /etc/hbase-site.xml for service cbzmsd1kocomp5ogrvf6v8dep
  1196. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.743561 02296 service.go:117] Set configuration information for service RegionServer (cbzmsd1kocomp5ogrvf6v8dep)
  1197. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.792197 02296 service.go:123] Synced service RegionServer (cbzmsd1kocomp5ogrvf6v8dep) to the coordinator
  1198. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.919450 02296 service.go:112] Created service ZooKeeper (8yp6ox70v1bvaozhx5t7a5fj9)
  1199. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.940121 02296 serviceconfig.go:80] Adding config file /etc/zookeeper.cfg for service 8yp6ox70v1bvaozhx5t7a5fj9
  1200. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.959381 02296 serviceconfig.go:80] Adding config file /var/lib/zookeeper/myid for service 8yp6ox70v1bvaozhx5t7a5fj9
  1201. Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.970744 02296 service.go:117] Set configuration information for service ZooKeeper (8yp6ox70v1bvaozhx5t7a5fj9)
  1202. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.027186 02296 service.go:123] Synced service ZooKeeper (8yp6ox70v1bvaozhx5t7a5fj9) to the coordinator
  1203. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.119509 02296 service.go:112] Created service RabbitMQ (6xciinqsojjoadpcqosjndup7)
  1204. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.129046 02296 serviceconfig.go:80] Adding config file /etc/rabbitmq/rabbitmq-env.conf for service 6xciinqsojjoadpcqosjndup7
  1205. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.138498 02296 serviceconfig.go:80] Adding config file /etc/rabbitmq/rabbitmq.config for service 6xciinqsojjoadpcqosjndup7
  1206. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.148869 02296 service.go:117] Set configuration information for service RabbitMQ (6xciinqsojjoadpcqosjndup7)
  1207. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.214016 02296 service.go:123] Synced service RabbitMQ (6xciinqsojjoadpcqosjndup7) to the coordinator
  1208. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.552625 02296 service.go:112] Created service mariadb (aazawnkwwxs8s47n42sqt5tpk)
  1209. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.560107 02296 serviceconfig.go:80] Adding config file /etc/my.cnf for service aazawnkwwxs8s47n42sqt5tpk
  1210. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.569099 02296 service.go:117] Set configuration information for service mariadb (aazawnkwwxs8s47n42sqt5tpk)
  1211. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.597538 02296 service.go:123] Synced service mariadb (aazawnkwwxs8s47n42sqt5tpk) to the coordinator
  1212. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.910893 02296 service.go:112] Created service memcached (ern91geamd91pwb28w76al5vs)
  1213. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.924629 02296 serviceconfig.go:80] Adding config file /etc/sysconfig/memcached for service ern91geamd91pwb28w76al5vs
  1214. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.937407 02296 service.go:117] Set configuration information for service memcached (ern91geamd91pwb28w76al5vs)
  1215. Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.968121 02296 service.go:123] Synced service memcached (ern91geamd91pwb28w76al5vs) to the coordinator
  1216. Jun 15 08:11:53 zenoss5 serviced[2296]: I0615 12:11:53.009522 02296 download.go:130] Image zenoss/opentsdb:v19.1 not found locally, pulling
  1217. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.034604 02296 listener.go:124] Checking if push required for id=ZTkwODd5bzAwMHc0cmczeTZqMHo5d2FvbS9vcGVudHNkYjpsYXRlc3Q= node: opentsdb:latest latest (UUID=734911bb236ac8a09b02229ee477964c61f3b01992f96890162ca527769ee54f)
  1218. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.071485 02296 leader.go:188] w /docker/registry/repos/e9087yo000w4rg3y6j0z9waom/opentsdb/_c_583d3b105a30c6ebdea71568d4d44638-leader-0000000000
  1219. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.087780 02296 leader.go:190] calling wait on /docker/registry/repos/e9087yo000w4rg3y6j0z9waom/opentsdb/_c_583d3b105a30c6ebdea71568d4d44638-leader-0000000000: %!s(<nil>)
  1220. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.171379 02296 service.go:112] Created service opentsdb (cv47ijimivtmcc6vovxwl1ubq)
  1221. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.182433 02296 serviceconfig.go:80] Adding config file /opt/zenoss/etc/opentsdb/opentsdb.conf for service cv47ijimivtmcc6vovxwl1ubq
  1222. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.199989 02296 service.go:117] Set configuration information for service opentsdb (cv47ijimivtmcc6vovxwl1ubq)
  1223. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.247210 02296 service.go:123] Synced service opentsdb (cv47ijimivtmcc6vovxwl1ubq) to the coordinator
  1224. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.393629 02296 service.go:112] Created service redis (zqg83imyr3el8nhdz7xltkkl)
  1225. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.405448 02296 serviceconfig.go:80] Adding config file /etc/redis.conf for service zqg83imyr3el8nhdz7xltkkl
  1226. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.425275 02296 service.go:117] Set configuration information for service redis (zqg83imyr3el8nhdz7xltkkl)
  1227. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.456733 02296 service.go:123] Synced service redis (zqg83imyr3el8nhdz7xltkkl) to the coordinator
  1228. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.475160 02296 server.go:423] bindMount /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom at /exports/serviced_volumes_v2/e9087yo000w4rg3y6j0z9waom
  1229. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.476665 02296 server.go:435] running mount: mount -o bind /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom /exports/serviced_volumes_v2/e9087yo000w4rg3y6j0z9waom
  1230. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.486343 02296 server.go:324] serviced exports:
  1231. Jun 15 08:11:56 zenoss5 serviced[2296]: /exports *(rw,fsid=0,no_root_squash,insecure,no_subtree_check,async,crossmnt)
  1232. Jun 15 08:11:56 zenoss5 serviced[2296]: /exports/serviced_volumes_v2/e9087yo000w4rg3y6j0z9waom *(rw,fsid=1,no_root_squash,insecure,no_subtree_check,async)
  1233. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.517737 02296 nfs.go:78] started nfs server:
  1234. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.545241 02296 nfs.go:62] reloaded nfs server:
  1235. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.701052 02296 service.go:1412] Created address assignment for endpoint zentrap of service 1uhabl7swz97ztappbmmwpx48 at x.x.x.x-IP:162
  1236. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.757870 02296 service.go:1412] Created address assignment for endpoint zenmail_smtp of service 8knj8no2ho2ub5qkwfbbm5pme at x.x.x.x-IP:25
  1237. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.890657 02296 service.go:1412] Created address assignment for endpoint zenmail_pop3 of service dyzgatep7pp0dy5mbiefvoqem at x.x.x.x-IP:110
  1238. Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.962962 02296 service.go:1412] Created address assignment for endpoint syslog of service boz6t9h8eipaptm2sdfyd4koa at x.x.x.x-IP:514
  1239. Jun 15 08:11:57 zenoss5 serviced[2296]: I0615 12:11:57.129916 02296 service.go:1412] Created address assignment for endpoint rabbitmq of service 6xciinqsojjoadpcqosjndup7 at x.x.x.x-IP:5672
  1240. e9087yo000w4rg3y6j0z9waom
  1241. ./core-autodeploy.sh: line 114: 4527 Terminated $log_watch
  1242. Done
  1243. 5 Tuning Zenoss.core
  1244. 5.1 Installing additional packages: quilt, fping, mtr
  1245. Creating /tmp/packages.txt
  1246. Syntax verification of /tmp/packages.txt
  1247. Installing additional package
  1248. Logging to logfile: /var/log/serviced/script-2016-06-15-081202-root.log
  1249. Script started, file is /var/log/serviced/script-2016-06-15-081202-root.log
  1250. I0615 08:12:03.612726 05925 runner.go:159] executing step 0: DESCRIPTION packages.txt -- add quilt, fping, mtr to a Zenoss image
  1251. I0615 08:12:03.612801 05925 runner.go:159] executing step 1: VERSION zenoss-quilt-1.0
  1252. I0615 08:12:03.612808 05925 runner.go:159] executing step 2: REQUIRE_SVC
  1253. I0615 08:12:03.612814 05925 eval.go:340] checking service requirement
  1254. I0615 08:12:03.612821 05925 eval.go:344] verifying service e9087yo000w4rg3y6j0z9waom
  1255. I0615 08:12:03.613682 05925 eval.go:350] found e9087yo000w4rg3y6j0z9waom tenant id for service e9087yo000w4rg3y6j0z9waom
  1256. I0615 08:12:03.613700 05925 runner.go:159] executing step 3: SNAPSHOT
  1257. I0615 08:12:03.613706 05925 eval.go:22] performing snapshot
  1258. I0615 08:12:08.359307 05925 eval.go:47] snapshot id: e9087yo000w4rg3y6j0z9waom_20160615-121205.588
  1259. I0615 08:12:08.359364 05925 runner.go:159] executing step 4: SVC_EXEC COMMIT Zenoss.core yum install -y epel-release
  1260. I0615 08:12:09.746078 05925 eval.go:302] running: serviced service shell -s 081209-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum install -y epel-release
  1261. I0615 08:12:10.753741 06034 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
  1262. I0615 08:12:10.766101 06034 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
  1263. I0615 08:12:11.266411 06034 server.go:453] Acquiring image from the dfs...
  1264. I0615 08:12:12.166130 06034 server.go:458] Acquired! Starting shell
  1265. Loaded plugins: fastestmirror, ovl
  1266. Determining fastest mirrors
  1267. * base: ftp.heanet.ie
  1268. * extras: mirrors.coreix.net
  1269. * updates: mirrors.coreix.net
  1270. Resolving Dependencies
  1271. --> Running transaction check
  1272. ---> Package epel-release.noarch 0:7-6 will be installed
  1273. --> Finished Dependency Resolution
  1274.  
  1275. Dependencies Resolved
  1276.  
  1277. ================================================================================
  1278. Package Arch Version Repository Size
  1279. ================================================================================
  1280. Installing:
  1281. epel-release noarch 7-6 extras 14 k
  1282.  
  1283. Transaction Summary
  1284. ================================================================================
  1285. Install 1 Package
  1286.  
  1287. Total download size: 14 k
  1288. Installed size: 24 k
  1289. Downloading packages:
  1290. Running transaction check
  1291. Running transaction test
  1292. Transaction test succeeded
  1293. Running transaction
  1294. Installing : epel-release-7-6.noarch 1/1
  1295. Verifying : epel-release-7-6.noarch 1/1
  1296.  
  1297. Installed:
  1298. epel-release.noarch 0:7-6
  1299.  
  1300. Complete!
  1301. I0615 08:12:35.355269 05925 eval.go:312] committing container 081209-20160615_e9087yo000w4rg3y6j0z9waom
  1302.  
  1303.  
  1304. I0615 08:18:56.589107 05925 runner.go:159] executing step 5: SVC_EXEC COMMIT Zenoss.core yum makecache -y
  1305. I0615 08:18:57.466936 05925 eval.go:302] running: serviced service shell -s 081857-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum makecache -y
  1306. I0615 08:18:58.366569 06461 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
  1307. I0615 08:18:58.378400 06461 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
  1308. I0615 08:18:59.644553 06461 server.go:453] Acquiring image from the dfs...
  1309. I0615 08:19:00.546770 06461 server.go:458] Acquired! Starting shell
  1310. Loaded plugins: fastestmirror, ovl
  1311. https://mirrors.uni-ruse.bg/epel/7/x86_64/repodata/2f1894a3779c1e472296756c25b639e50ff3bdf8263dbabc2b4d94bf8db0cffd-filelists.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
  1312. Trying other mirror.
  1313. To address this issue please refer to the below knowledge base article
  1314.  
  1315. https://access.redhat.com/articles/1320623
  1316.  
  1317. If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
  1318.  
  1319. Loading mirror speeds from cached hostfile
  1320. * base: ftp.heanet.ie
  1321. * epel: mirrors.uni-ruse.bg
  1322. * extras: mirrors.coreix.net
  1323. * updates: mirrors.coreix.net
  1324. Metadata Cache Created
  1325. I0615 08:19:36.624474 05925 eval.go:312] committing container 081857-20160615_e9087yo000w4rg3y6j0z9waom
  1326. I0615 08:19:56.503272 05925 runner.go:159] executing step 6: SVC_EXEC COMMIT Zenoss.core yum install -y quilt fping mtr
  1327. I0615 08:19:57.388042 05925 eval.go:302] running: serviced service shell -s 081957-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum install -y quilt fping mtr
  1328. I0615 08:19:58.169895 06733 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
  1329. I0615 08:19:58.184738 06733 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
  1330. I0615 08:19:58.664514 06733 server.go:453] Acquiring image from the dfs...
  1331. I0615 08:19:59.553449 06733 server.go:458] Acquired! Starting shell
  1332. Loaded plugins: fastestmirror, ovl
  1333. Loading mirror speeds from cached hostfile
  1334. * base: ftp.heanet.ie
  1335. * epel: mirrors.uni-ruse.bg
  1336. * extras: mirrors.coreix.net
  1337. * updates: mirrors.coreix.net
  1338. Resolving Dependencies
  1339. --> Running transaction check
  1340. ---> Package fping.x86_64 0:3.10-4.el7 will be installed
  1341. ---> Package mtr.x86_64 2:0.85-7.el7 will be installed
  1342. ---> Package quilt.noarch 0:0.63-2.el7 will be installed
  1343. --> Processing Dependency: rpm-build for package: quilt-0.63-2.el7.noarch
  1344. --> Processing Dependency: procmail for package: quilt-0.63-2.el7.noarch
  1345. --> Processing Dependency: diffstat for package: quilt-0.63-2.el7.noarch
  1346. --> Processing Dependency: bzip2 for package: quilt-0.63-2.el7.noarch
  1347. --> Processing Dependency: /usr/sbin/sendmail for package: quilt-0.63-2.el7.noarch
  1348. --> Running transaction check
  1349. ---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed
  1350. ---> Package diffstat.x86_64 0:1.57-4.el7 will be installed
  1351. ---> Package procmail.x86_64 0:3.22-35.el7 will be installed
  1352. ---> Package rpm-build.x86_64 0:4.11.3-17.el7 will be installed
  1353. --> Processing Dependency: elfutils >= 0.128 for package: rpm-build-4.11.3-17.el7.x86_64
  1354. --> Processing Dependency: system-rpm-config for package: rpm-build-4.11.3-17.el7.x86_64
  1355. --> Processing Dependency: perl(Thread::Queue) for package: rpm-build-4.11.3-17.el7.x86_64
  1356. --> Processing Dependency: /usr/bin/gdb-add-index for package: rpm-build-4.11.3-17.el7.x86_64
  1357. ---> Package ssmtp.x86_64 0:2.64-14.el7 will be installed
  1358. --> Running transaction check
  1359. ---> Package elfutils.x86_64 0:0.163-3.el7 will be installed
  1360. ---> Package gdb.x86_64 0:7.6.1-80.el7 will be installed
  1361. ---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
  1362. ---> Package redhat-rpm-config.noarch 0:9.1.0-68.el7.centos will be installed
  1363. --> Processing Dependency: dwz >= 0.4 for package: redhat-rpm-config-9.1.0-68.el7.centos.noarch
  1364. --> Processing Dependency: perl-srpm-macros for package: redhat-rpm-config-9.1.0-68.el7.centos.noarch
  1365. --> Running transaction check
  1366. ---> Package dwz.x86_64 0:0.11-3.el7 will be installed
  1367. ---> Package perl-srpm-macros.noarch 0:1-8.el7 will be installed
  1368. --> Finished Dependency Resolution
  1369.  
  1370. Dependencies Resolved
  1371.  
  1372. ================================================================================
  1373. Package Arch Version Repository
  1374. Size
  1375. ================================================================================
  1376. Installing:
  1377. fping x86_64 3.10-4.el7 epel 46 k
  1378. mtr x86_64 2:0.85-7.el7 base 71 k
  1379. quilt noarch 0.63-2.el7 epel 273 k
  1380. Installing for dependencies:
  1381. bzip2 x86_64 1.0.6-13.el7 base 52 k
  1382. diffstat x86_64 1.57-4.el7 base 35 k
  1383. dwz x86_64 0.11-3.el7 base 99 k
  1384. elfutils x86_64 0.163-3.el7 base 268 k
  1385. gdb x86_64 7.6.1-80.el7 base 2.4 M
  1386. perl-Thread-Queue noarch 3.02-2.el7 base 17 k
  1387. perl-srpm-macros noarch 1-8.el7 base 4.6 k
  1388. procmail x86_64 3.22-35.el7 base 171 k
  1389. redhat-rpm-config noarch 9.1.0-68.el7.centos base 77 k
  1390. rpm-build x86_64 4.11.3-17.el7 base 143 k
  1391. ssmtp x86_64 2.64-14.el7 epel 50 k
  1392.  
  1393. Transaction Summary
  1394. ================================================================================
  1395. Install 3 Packages (+11 Dependent packages)
  1396.  
  1397. Total download size: 3.7 M
  1398. Installed size: 9.5 M
  1399. Downloading packages:
  1400. --------------------------------------------------------------------------------
  1401. Total 536 kB/s | 3.7 MB 00:07
  1402. Running transaction check
  1403. Running transaction test
  1404. Transaction test succeeded
  1405. Running transaction
  1406. Installing : bzip2-1.0.6-13.el7.x86_64 1/14
  1407. Installing : perl-srpm-macros-1-8.el7.noarch 2/14
  1408. Installing : diffstat-1.57-4.el7.x86_64 3/14
  1409. Installing : ssmtp-2.64-14.el7.x86_64 4/14
  1410. Installing : dwz-0.11-3.el7.x86_64 5/14
  1411. Installing : redhat-rpm-config-9.1.0-68.el7.centos.noarch 6/14
  1412. Installing : perl-Thread-Queue-3.02-2.el7.noarch 7/14
  1413. Installing : procmail-3.22-35.el7.x86_64 8/14
  1414. Installing : elfutils-0.163-3.el7.x86_64 9/14
  1415. Installing : gdb-7.6.1-80.el7.x86_64 10/14
  1416. Installing : rpm-build-4.11.3-17.el7.x86_64 11/14
  1417. Installing : quilt-0.63-2.el7.noarch 12/14
  1418. Installing : fping-3.10-4.el7.x86_64 13/14
  1419. Installing : 2:mtr-0.85-7.el7.x86_64 14/14
  1420. Verifying : gdb-7.6.1-80.el7.x86_64 1/14
  1421. Verifying : elfutils-0.163-3.el7.x86_64 2/14
  1422. Verifying : rpm-build-4.11.3-17.el7.x86_64 3/14
  1423. Verifying : redhat-rpm-config-9.1.0-68.el7.centos.noarch 4/14
  1424. Verifying : 2:mtr-0.85-7.el7.x86_64 5/14
  1425. Verifying : bzip2-1.0.6-13.el7.x86_64 6/14
  1426. Verifying : procmail-3.22-35.el7.x86_64 7/14
  1427. Verifying : perl-Thread-Queue-3.02-2.el7.noarch 8/14
  1428. Verifying : quilt-0.63-2.el7.noarch 9/14
  1429. Verifying : dwz-0.11-3.el7.x86_64 10/14
  1430. Verifying : ssmtp-2.64-14.el7.x86_64 11/14
  1431. Verifying : diffstat-1.57-4.el7.x86_64 12/14
  1432. Verifying : fping-3.10-4.el7.x86_64 13/14
  1433. Verifying : perl-srpm-macros-1-8.el7.noarch 14/14
  1434.  
  1435. Installed:
  1436. fping.x86_64 0:3.10-4.el7 mtr.x86_64 2:0.85-7.el7 quilt.noarch 0:0.63-2.el7
  1437.  
  1438. Dependency Installed:
  1439. bzip2.x86_64 0:1.0.6-13.el7
  1440. diffstat.x86_64 0:1.57-4.el7
  1441. dwz.x86_64 0:0.11-3.el7
  1442. elfutils.x86_64 0:0.163-3.el7
  1443. gdb.x86_64 0:7.6.1-80.el7
  1444. perl-Thread-Queue.noarch 0:3.02-2.el7
  1445. perl-srpm-macros.noarch 0:1-8.el7
  1446. procmail.x86_64 0:3.22-35.el7
  1447. redhat-rpm-config.noarch 0:9.1.0-68.el7.centos
  1448. rpm-build.x86_64 0:4.11.3-17.el7
  1449. ssmtp.x86_64 0:2.64-14.el7
  1450.  
  1451. Complete!
  1452. I0615 08:20:16.578793 05925 eval.go:312] committing container 081957-20160615_e9087yo000w4rg3y6j0z9waom
  1453. I0615 08:20:57.840124 05925 runner.go:159] executing step 7: SVC_EXEC COMMIT Zenoss.core yum erase -y epel-release
  1454. I0615 08:20:58.666874 05925 eval.go:302] running: serviced service shell -s 082058-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum erase -y epel-release
  1455. I0615 08:20:59.348223 06958 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
  1456. I0615 08:20:59.367611 06958 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
  1457. I0615 08:20:59.442657 06958 server.go:453] Acquiring image from the dfs...
  1458. I0615 08:21:00.265811 06958 server.go:458] Acquired! Starting shell
  1459. Loaded plugins: fastestmirror, ovl
  1460. Resolving Dependencies
  1461. --> Running transaction check
  1462. ---> Package epel-release.noarch 0:7-6 will be erased
  1463. --> Finished Dependency Resolution
  1464.  
  1465. Dependencies Resolved
  1466.  
  1467. ================================================================================
  1468. Package Arch Version Repository Size
  1469. ================================================================================
  1470. Removing:
  1471. epel-release noarch 7-6 @extras 24 k
  1472.  
  1473. Transaction Summary
  1474. ================================================================================
  1475. Remove 1 Package
  1476.  
  1477. Installed size: 24 k
  1478. Downloading packages:
  1479. Running transaction check
  1480. Running transaction test
  1481. Transaction test succeeded
  1482. Running transaction
  1483. Erasing : epel-release-7-6.noarch 1/1
  1484. Verifying : epel-release-7-6.noarch 1/1
  1485.  
  1486. Removed:
  1487. epel-release.noarch 0:7-6
  1488.  
  1489. Complete!
  1490. I0615 08:21:01.985538 05925 eval.go:312] committing container 082058-20160615_e9087yo000w4rg3y6j0z9waom
  1491. I0615 08:21:11.169298 05925 runner.go:159] executing step 8: SVC_EXEC COMMIT Zenoss.core yum clean all
  1492. I0615 08:21:11.961963 05925 eval.go:302] running: serviced service shell -s 082111-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum clean all
  1493. I0615 08:21:12.537221 07105 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
  1494. I0615 08:21:12.545056 07105 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
  1495. I0615 08:21:12.610988 07105 server.go:453] Acquiring image from the dfs...
  1496. I0615 08:21:13.206413 07105 server.go:458] Acquired! Starting shell
  1497. Loaded plugins: fastestmirror, ovl
  1498. Cleaning repos: base extras updates
  1499. Cleaning up everything
  1500. Cleaning up list of fastest mirrors
  1501. I0615 08:21:14.355441 05925 eval.go:312] committing container 082111-20160615_e9087yo000w4rg3y6j0z9waom
  1502. I0615 08:21:21.764020 05925 runner.go:151] Executing exit functions
  1503. e9087yo000w4rg3y6j0z9waom_20160615-121854.962
  1504. e9087yo000w4rg3y6j0z9waom_20160615-121954.979
  1505. e9087yo000w4rg3y6j0z9waom_20160615-122056.529
  1506. e9087yo000w4rg3y6j0z9waom_20160615-122110.023
  1507. e9087yo000w4rg3y6j0z9waom_20160615-122120.862
  1508. Script done, file is /var/log/serviced/script-2016-06-15-081202-root.log
  1509. Done
  1510. 5.2 Installing the Percona Toolkit
  1511. serviced service list | grep -i mariadb | awk '{print }' | sort -r | grep -i 'mariadb' | head -n 1
  1512. serviced service start mariadb
  1513. Scheduled 1 service(s) to start
  1514. serviced service run zope install-percona
  1515. I0615 08:22:18.975550 07329 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
  1516. I0615 08:22:18.998543 07329 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
  1517. I0615 08:22:19.061941 07329 server.go:453] Acquiring image from the dfs...
  1518. I0615 08:22:19.515506 07329 server.go:458] Acquired! Starting shell
  1519. I0615 08:22:19.517415 07329 shell.go:214] started command in container &{/usr/bin/docker [/usr/bin/docker run -v /opt/serviced/bin/:/serviced -v /tmp:/mnt/pwd -v /go/src/github.com/control-center/serviced/isvcs/resources:/usr/local/serviced/resources -u root -w / -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/zenoss-export:/opt/zenoss/export -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/zenoss-var-ext:/opt/zenoss/var/ext -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/zenpack-backup:/opt/zenoss/.ZenPacks -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/.ssh:/home/zenoss/.ssh -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/var-zenpacks:/var/zenoss -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/zenjobs:/opt/zenoss/log/jobs -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/zenoss-custom-patches:/opt/zenoss/patches -v /opt/serviced/var/volumes/e9087yo000w4rg3y6j0z9waom/zenoss-custom-patches-pc:/opt/zenoss/.pc --name=2grgbu43hi45giiTKYQdOO -e CONTROLPLANE_SYSTEM_USER=system_user -e CONTROLPLANE_SYSTEM_PASSWORD=4sepnpqqul1ij12qzlwit1igh -e SERVICED_NOREGISTRY= -e SERVICED_IS_SERVICE_SHELL=true -e SERVICED_SERVICE_IMAGE=localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest -e SERVICED_UI_PORT=443 localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest /serviced/serviced-controller --logtostderr=false --autorestart=false --disable-metric-forwarding --logstash=true --logstash-idle-flush-time=100ms --logstash-settle-time=5s 2jxrwpp0ixp3mfkxxg4x4pkat 0 su - root -c '${ZENHOME:-/opt/zenoss}/bin/zenrun percona.sh install '] [] %!s(*os.File=&{0xc20803c1e0}) %!s(*os.File=&{0xc20803c210}) %!s(*os.File=&{0xc20803c240}) [] %!s(*syscall.SysProcAttr=<nil>) %!s(*os.Process=&{8363 0 0}) <nil> <nil> %!s(bool=false) [%!s(*os.File=&{0xc20803c1e0}) %!s(*os.File=&{0xc20803c210}) %!s(*os.File=&{0xc20803c240})] [] [] [] %!s(chan error=0xc2082a7620)}
  1520. Installing percona to /var/zenoss/percona
  1521. Downloading percona toolkit: http://www.percona.com/downloads/percona-toolkit/2.2.12/tarball/percona-toolkit-2.2.12.tar.gz
  1522. % Total % Received % Xferd Average Speed Time Time Time Current
  1523. Dload Upload Total Spent Left Speed
  1524. 100 178 100 178 0 0 562 0 --:--:-- --:--:-- --:--:-- 563
  1525. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0percona-toolkit-2.2.12/README
  1526. percona-toolkit-2.2.12/MANIFEST
  1527. percona-toolkit-2.2.12/Makefile.PL
  1528. percona-toolkit-2.2.12/INSTALL
  1529. percona-toolkit-2.2.12/COPYING
  1530. percona-toolkit-2.2.12/Changelog
  1531. percona-toolkit-2.2.12/lib/
  1532. percona-toolkit-2.2.12/docs/
  1533. percona-toolkit-2.2.12/docs/percona-toolkit.pod
  1534. percona-toolkit-2.2.12/bin/
  1535. percona-toolkit-2.2.12/bin/pt-visual-explain
  1536. percona-toolkit-2.2.12/bin/pt-variable-advisor
  1537. percona-toolkit-2.2.12/bin/pt-upgrade
  1538. percona-toolkit-2.2.12/bin/pt-table-usage
  1539. 15 1360k 15 207k 0 0 141k 0 0:00:09 0:00:01 0:00:08 227kpercona-toolkit-2.2.12/bin/pt-table-sync
  1540. percona-toolkit-2.2.12/bin/pt-table-checksum
  1541. percona-toolkit-2.2.12/bin/pt-summary
  1542. percona-toolkit-2.2.12/bin/pt-stalk
  1543. percona-toolkit-2.2.12/bin/pt-slave-restart
  1544. percona-toolkit-2.2.12/bin/pt-slave-find
  1545. percona-toolkit-2.2.12/bin/pt-slave-delay
  1546. percona-toolkit-2.2.12/bin/pt-sift
  1547. percona-toolkit-2.2.12/bin/pt-show-grants
  1548. percona-toolkit-2.2.12/bin/pt-query-digest
  1549. percona-toolkit-2.2.12/bin/pt-pmp
  1550. percona-toolkit-2.2.12/bin/pt-online-schema-change
  1551. percona-toolkit-2.2.12/bin/pt-mysql-summary
  1552. percona-toolkit-2.2.12/bin/pt-mext
  1553. percona-toolkit-2.2.12/bin/pt-kill
  1554. percona-toolkit-2.2.12/bin/pt-ioprofile
  1555. percona-toolkit-2.2.12/bin/pt-index-usage
  1556. percona-toolkit-2.2.12/bin/pt-heartbeat
  1557. percona-toolkit-2.2.12/bin/pt-fk-error-logger
  1558. percona-toolkit-2.2.12/bin/pt-fingerprint
  1559. percona-toolkit-2.2.12/bin/pt-find
  1560. percona-toolkit-2.2.12/bin/pt-fifo-split
  1561. percona-toolkit-2.2.12/bin/pt-duplicate-key-checker
  1562. percona-toolkit-2.2.12/bin/pt-diskstats
  1563. percona-toolkit-2.2.12/bin/pt-deadlock-logger
  1564. percona-toolkit-2.2.12/bin/pt-config-diff
  1565. 100 1360k 100 1360k 0 0 770k 0 0:00:01 0:00:01 --:--:-- 1126k
  1566. percona-toolkit-2.2.12/bin/pt-archiver
  1567. percona-toolkit-2.2.12/bin/pt-align
  1568. I0615 08:22:28.292796 07329 shell.go:249] Committing container
  1569. Problem with installing the Percona Toolkit
  1570. serviced service stop mariadb
  1571. Scheduled 1 service(s) to stop
  1572. Done
  1573. 5.4 Deleting the RabbitMQ guest user account
  1574. Scheduled 1 service(s) to start
  1575. Deleting user "guest" ...
  1576. ...done.
  1577. Scheduled 1 service(s) to stop
  1578. Done
  1579. 5.5 Port forwarding
  1580. Done - already enabled
  1581. 7 Extra templates
  1582. Adding Zabbix 3.0 template
  1583. Visit: https://github.com/monitoringartist/control-center-zabbix
  1584. % Total % Received % Xferd Average Speed Time Time Time Current
  1585. Dload Upload Total Spent Left Speed
  1586. 100 26664 100 26664 0 0 43902 0 --:--:-- --:--:-- --:--:-- 43927
  1587. serviced template add Control-Center-Zabbix-3.0-template.json
  1588. e8756b6a30cba16bb12dea80781c078a
  1589. Done
  1590. Adding Elasticsearch 2.0 template
  1591. Visit: https://github.com/monitoringartist/control-center-elasticsearch
  1592. % Total % Received % Xferd Average Speed Time Time Time Current
  1593. Dload Upload Total Spent Left Speed
  1594. 100 5987 100 5987 0 0 12878 0 --:--:-- --:--:-- --:--:-- 12903
  1595. serviced template add Control-Center-Eleasticsearch-2.0-template.json
  1596. a768a070a22b3bdce82540b6c35c5bad
  1597. Done
  1598. Adding Zenoss-Searcher template
  1599. Visit: https://github.com/monitoringartist/control-center-zenoss-searcher
  1600. % Total % Received % Xferd Average Speed Time Time Time Current
  1601. Dload Upload Total Spent Left Speed
  1602. 100 2353 100 2353 0 0 5270 0 --:--:-- --:--:-- --:--:-- 5263
  1603. serviced template add Control-Center-Zenoss-Searcher-template.json
  1604. cb82c508ee126ea0b4facee96fefc9c0
  1605. Done
  1606. Adding Jenkins template
  1607. Visit: https://github.com/monitoringartist/control-center-jenkins
  1608. % Total % Received % Xferd Average Speed Time Time Time Current
  1609. Dload Upload Total Spent Left Speed
  1610. 100 2505 100 2505 0 0 5296 0 --:--:-- --:--:-- --:--:-- 5295
  1611. serviced template add Control-Center-Jenkins-template.json
  1612. 7fc9a45e60da1e45931b81f4981855ba
  1613. Done
  1614. Adding Grafana-Demo template
  1615. Visit: https://github.com/monitoringartist/control-center-gerrit
  1616. % Total % Received % Xferd Average Speed Time Time Time Current
  1617. Dload Upload Total Spent Left Speed
  1618. 100 2914 100 2914 0 0 6358 0 --:--:-- --:--:-- --:--:-- 6362
  1619. serviced template add Control-Center-Gerrit-template.json
  1620. 75dcfa7820e0a5ad565331ad2526538f
  1621. Done
  1622. Adding Grafana-Demo template
  1623. Visit: https://github.com/monitoringartist/control-center-grafana-demo
  1624. % Total % Received % Xferd Average Speed Time Time Time Current
  1625. Dload Upload Total Spent Left Speed
  1626. 100 2358 100 2358 0 0 5072 --:--:-- --:--:-- --:--:-- 5081
  1627. serviced template add Control-Center-Grafana-Demo-template.json
  1628. aa4f8297bc4aab6f966331648437e550
  1629. Done
  1630. 5 Final overview - (Wed, 15 Jun 2016 08:23:20 -0400)
  1631. Control Center & Zenoss Core 5 installation completed
  1632. Set password for Control Center ccuser user: passwd ccuser
  1633. Please visit Control Center https:/// in your favorite web browser to complete setup, log in with ccuser user
  1634. Add following line to your hosts file (Install guide - "Configuring name resolution on ..."):
  1635. hbase. opentsdb. rabbitmq. zenoss5.
  1636. or edit /etc/default/serviced and set SERVICED_VHOST_ALIASES to your FQDN
  1637. Please also reboot machine, because SELINUX is still active!
  1638. Install guide: https://www.zenoss.com/resources/documentation?field_zsd_core_value_selective=Core&field_product_value_selective=All&field_version_sort_tid_selective=All
  1639. Credit: www.monitoringartist.com
  1640. Ultimate graph and dashboard solution for Zenoss 5 / Grafana 2 for Zenoss 5 - http://bit.ly/zenoss5grafana
  1641. ./core-autodeploy.sh: line 329: dpkg: command not found
  1642. ./core-autodeploy.sh: line 330: dpkg: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement