Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@zenoss5 tmp]# chmod +x core-autodeploy.sh
- [root@zenoss5 tmp]# ./core-autodeploy.sh -d /dev/sdb1 -s /dev/sdb2 -v /dev/sdb3 -b /dev/sdb4
- Autodeploy script 2016-03-02 for Control Center master host and Zenoss Core 5/Zenoss Resource Manager 5
- Ultimate graph and dashboard solution for Zenoss 5 / Grafana 2 for Zenoss 5 - http://bit.ly/zenoss5grafana
- 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
- 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
- CentOS Linux release 7.2.1511 (Core)
- Hardware Requirements:
- Min number of available CPUs: 4
- Min size of available RAM: 20GB
- These filesystems must be mounted with correct type and size:
- Path Type Min size
- / xfs 30GB
- /var/lib/docker xfs 30GB
- /opt/serviced/var xfs 30GB
- /opt/serviced/var/volumes btrfs 1GB
- /opt/serviced/var/backups xfs 1GB
- 0 Preparing /var/lib/docker filesystem - device: /dev/sdb1
- mkdir -p /var/lib/docker
- /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
- mkfs -t xfs -f /dev/sdb1
- meta-data=/dev/sdb1 isize=256 agcount=4, agsize=1159690 blks
- = sectsz=512 attr=2, projid32bit=1
- = crc=0 finobt=0
- data = bsize=4096 blocks=4638760, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=0
- log =internal log bsize=4096 blocks=2560, version=2
- = sectsz=512 sunit=0 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- sed -i -e "\|^/dev/sdb1|d" /etc/fstab
- echo "/dev/sdb1 /var/lib/docker xfs defaults,noatime 0 0" >> /etc/fstab
- mount /var/lib/docker
- 0 Preparing /opt/serviced/var filesystem - device: /dev/sdb2
- mkdir -p /opt/serviced/var
- /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
- mkfs -t xfs -f /dev/sdb2
- meta-data=/dev/sdb2 isize=256 agcount=4, agsize=1159692 blks
- = sectsz=512 attr=2, projid32bit=1
- = crc=0 finobt=0
- data = bsize=4096 blocks=4638768, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=0
- log =internal log bsize=4096 blocks=2560, version=2
- = sectsz=512 sunit=0 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- sed -i -e "\|^/dev/sdb2|d" /etc/fstab
- echo "/dev/sdb2 /opt/serviced/var xfs defaults,noatime 0 0" >> /etc/fstab
- mount /opt/serviced/var
- 0 Preparing /opt/serviced/var/volumes filesystem - device: /dev/sdb3
- mkdir -p /opt/serviced/var/volumes
- /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
- mkfs -t btrfs -f --nodiscard /dev/sdb3
- btrfs-progs v3.19.1
- See http://btrfs.wiki.kernel.org for more information.
- Turning ON incompat feature 'extref': increased hardlink limit per file to 65536
- Turning ON incompat feature 'skinny-metadata': reduced-size metadata extent refs
- fs created label (null) on /dev/sdb3
- nodesize 16384 leafsize 16384 sectorsize 4096 size 14.90GiB
- sed -i -e "\|^/dev/sdb3|d" /etc/fstab
- echo "/dev/sdb3 /opt/serviced/var/volumes btrfs rw,noatime,nodatacow,skip_balance 0 0" >> /etc/fstab
- mount /opt/serviced/var/volumes
- 0 Preparing /opt/serviced/var/backups filesystem - device: /dev/sdb4
- mkdir -p /opt/serviced/var/backups
- /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
- mkfs -t xfs -f /dev/sdb4
- meta-data=/dev/sdb4 isize=256 agcount=4, agsize=1291685 blks
- = sectsz=512 attr=2, projid32bit=1
- = crc=0 finobt=0
- data = bsize=4096 blocks=5166739, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=0
- log =internal log bsize=4096 blocks=2560, version=2
- = sectsz=512 sunit=0 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- sed -i -e "\|^/dev/sdb4|d" /etc/fstab
- echo "/dev/sdb4 /opt/serviced/var/backups xfs defaults,noatime 0 0" >> /etc/fstab
- mount /opt/serviced/var/backups
- 1 Checks - (Wed, 15 Jun 2016 08:00:35 -0400)
- 1.1 Root permission check
- Done
- 1.2 Architecture check
- Done
- 1.4 CPU check
- Done
- 1.5 RAM check
- Only 9GB of RAM has been detected, but at least 20GB is recommended. Do you want to continue (y/n)? y
- Done
- 1.6 Filesystem configuration check
- / filesystem check in progress...
- / filesystem size is less (17GB) than required 30GB. Do you want to continue (y/n)? y
- /var/lib/docker filesystem check in progress...
- /var/lib/docker filesystem size is less (17GB) than required 30GB. Do you want to continue (y/n)? y
- /opt/serviced/var filesystem check in progress...
- /opt/serviced/var filesystem size is less (17GB) than required 30GB. Do you want to continue (y/n)? y
- /opt/serviced/var/volumes filesystem check in progress...OK
- /opt/serviced/var/backups filesystem check in progress...OK
- 2 Preparing the host - (Wed, 15 Jun 2016 08:00:42 -0400)
- 2.1 IP configurations
- Detected interface: eno16777736
- Hostname: zenoss5
- echo "x.x.x.x-IP zenoss5" >> /etc/hosts
- Public IPv4: x.x.x.x-IP
- Private IPv4: x.x.x.x-IP
- Done
- 2.2 Disable the firewall
- systemctl stop firewalld && systemctl disable firewalld
- Failed to stop firewalld.service: Unit firewalld.service not loaded.
- Done
- 2.3 Enable persistent storage for log files
- mkdir -p /var/log/journal && systemctl restart systemd-journald
- Done
- 2.4 Disable selinux
- echo 0 > /selinux/enforce
- ./core-autodeploy.sh: line 610: /selinux/enforce: No such file or directory
- sed -i."167-080052" -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && grep '^SELINUX=' /etc/selinux/config
- SELINUX=disabled
- Done
- 2.5 Zenoss/Docker repositories config
- rpm -ivh http://get.zenoss.io/yum/zenoss-repo-1-1.x86_64.rpm
- Retrieving http://get.zenoss.io/yum/zenoss-repo-1-1.x86_64.rpm
- Preparing... ########################################
- Updating / installing...
- zenoss-repo-1-1 ########################################
- Done
- /etc/yum.repos.d/docker.repo
- yum -y -q --enablerepo=docker install docker-engine-1.9.0
- 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
- Public key for docker-engine-selinux-1.11.2-1.el7.centos.noarch.rpm is not installed
- Importing GPG key 0x2C52609D:
- Userid : "Docker Release Tool (releasedocker) <docker@docker.com>"
- Fingerprint: 5811 8e89 f3a9 1289 7c07 0adb f762 2157 2c52 609d
- From : https://yum.dockerproject.org/gpg
- Warning: RPMDB altered outside of yum.
- /lib/systemd/system/docker.service optimization
- systemctl daemon-reload
- Done
- 2.6 Install and start the dnsmasq package
- yum install -y dnsmasq && systemctl enable dnsmasq && systemctl start dnsmasq
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: mirrors.clouvider.net
- * extras: centos.mirroring.pulsant.co.uk
- * updates: mirrors.clouvider.net
- Package dnsmasq-2.66-14.el7_1.x86_64 already installed and latest version
- Nothing to do
- Created symlink from /etc/systemd/system/multi-user.target.wants/dnsmasq.service to /usr/lib/systemd/system/dnsmasq.service.
- Done
- 2.7 Install and start the ntp package
- yum install -y ntp && systemctl enable ntpd
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: mirrors.clouvider.net
- * extras: centos.mirroring.pulsant.co.uk
- * updates: mirrors.clouvider.net
- Resolving Dependencies
- --> Running transaction check
- ---> Package ntp.x86_64 0:4.2.6p5-22.el7.centos.2 will be installed
- --> Processing Dependency: ntpdate = 4.2.6p5-22.el7.centos.2 for package: ntp-4.2.6p5-22.el7.centos.2.x86_64
- --> Processing Dependency: libopts.so.25()(64bit) for package: ntp-4.2.6p5-22.el7.centos.2.x86_64
- --> Running transaction check
- ---> Package autogen-libopts.x86_64 0:5.18-5.el7 will be installed
- ---> Package ntpdate.x86_64 0:4.2.6p5-22.el7.centos.2 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ======================================================================================================
- Package Arch Version Repository Size
- ======================================================================================================
- Installing:
- ntp x86_64 4.2.6p5-22.el7.centos.2 updates 544 k
- Installing for dependencies:
- autogen-libopts x86_64 5.18-5.el7 base 66 k
- ntpdate x86_64 4.2.6p5-22.el7.centos.2 updates 84 k
- Transaction Summary
- ======================================================================================================
- Install 1 Package (+2 Dependent packages)
- Total download size: 694 k
- Installed size: 1.6 M
- Downloading packages:
- (1/3): autogen-libopts-5.18-5.el7.x86_64.rpm | 66 kB 00:00:00
- (2/3): ntpdate-4.2.6p5-22.el7.centos.2.x86_64.rpm | 84 kB 00:00:00
- (3/3): ntp-4.2.6p5-22.el7.centos.2.x86_64.rpm | 544 kB 00:00:00
- ------------------------------------------------------------------------------------------------------
- Total 876 kB/s | 694 kB 00:00:00
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : autogen-libopts-5.18-5.el7.x86_64 1/3
- Installing : ntpdate-4.2.6p5-22.el7.centos.2.x86_64 2/3
- Installing : ntp-4.2.6p5-22.el7.centos.2.x86_64 3/3
- Verifying : ntp-4.2.6p5-22.el7.centos.2.x86_64 1/3
- Verifying : ntpdate-4.2.6p5-22.el7.centos.2.x86_64 2/3
- Verifying : autogen-libopts-5.18-5.el7.x86_64 3/3
- Installed:
- ntp.x86_64 0:4.2.6p5-22.el7.centos.2
- Dependency Installed:
- autogen-libopts.x86_64 0:5.18-5.el7 ntpdate.x86_64 0:4.2.6p5-22.el7.centos.2
- Complete!
- Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service.
- Done
- 2.8 ntpd autostart workaround
- echo "systemctl start ntpd" >> /etc/rc.d/rc.local && chmod +x /etc/rc.d/rc.local
- Done
- 2.9 ntpd start
- systemctl start ntpd
- Done
- 3 Installing on the master host - (Wed, 15 Jun 2016 08:01:21 -0400)
- 3.1 Install Control Center, Zenoss Core/Resource Manager, and Docker
- yum --enablerepo=zenoss-stable install -y zenoss-core-service
- Loaded plugins: fastestmirror
- zenoss-stable | 2.9 kB 00:00:00
- zenoss-stable/primary_db | 22 kB 00:00:00
- Loading mirror speeds from cached hostfile
- * base: mirrors.clouvider.net
- * extras: centos.mirroring.pulsant.co.uk
- * updates: mirrors.clouvider.net
- Resolving Dependencies
- --> Running transaction check
- ---> Package zenoss-core-service.noarch 0:5.1.3-1 will be installed
- --> Processing Dependency: serviced for package: zenoss-core-service-5.1.3-1.noarch
- --> Running transaction check
- ---> Package serviced.x86_64 0:1.1.5-1 will be installed
- --> Processing Dependency: rsync for package: serviced-1.1.5-1.x86_64
- --> Processing Dependency: nfs-utils for package: serviced-1.1.5-1.x86_64
- --> Processing Dependency: bash-completion for package: serviced-1.1.5-1.x86_64
- --> Running transaction check
- ---> Package bash-completion.noarch 1:2.1-6.el7 will be installed
- ---> Package nfs-utils.x86_64 1:1.3.0-0.21.el7_2 will be installed
- --> Processing Dependency: libtirpc >= 0.2.3-1 for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: gssproxy >= 0.3.0-0 for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: rpcbind for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: quota for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: libnfsidmap for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: libevent for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: keyutils for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: libtirpc.so.1()(64bit) for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: libnfsidmap.so.0()(64bit) for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- --> Processing Dependency: libevent-2.0.so.5()(64bit) for package: 1:nfs-utils-1.3.0-0.21.el7_2.x86_64
- ---> Package rsync.x86_64 0:3.0.9-17.el7 will be installed
- --> Running transaction check
- ---> Package gssproxy.x86_64 0:0.4.1-7.el7 will be installed
- --> Processing Dependency: libverto-tevent for package: gssproxy-0.4.1-7.el7.x86_64
- --> Processing Dependency: libini_config.so.3(INI_CONFIG_1.1.0)(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
- --> Processing Dependency: libref_array.so.1()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
- --> Processing Dependency: libini_config.so.3()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
- --> Processing Dependency: libcollection.so.2()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
- --> Processing Dependency: libbasicobjects.so.0()(64bit) for package: gssproxy-0.4.1-7.el7.x86_64
- ---> Package keyutils.x86_64 0:1.5.8-3.el7 will be installed
- ---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
- ---> Package libnfsidmap.x86_64 0:0.25-12.el7 will be installed
- ---> Package libtirpc.x86_64 0:0.2.4-0.6.el7 will be installed
- ---> Package quota.x86_64 1:4.01-11.el7_2.1 will be installed
- --> Processing Dependency: quota-nls = 1:4.01-11.el7_2.1 for package: 1:quota-4.01-11.el7_2.1.x86_64
- --> Processing Dependency: tcp_wrappers for package: 1:quota-4.01-11.el7_2.1.x86_64
- ---> Package rpcbind.x86_64 0:0.2.0-33.el7_2 will be installed
- --> Running transaction check
- ---> Package libbasicobjects.x86_64 0:0.1.1-25.el7 will be installed
- ---> Package libcollection.x86_64 0:0.6.2-25.el7 will be installed
- ---> Package libini_config.x86_64 0:1.2.0-25.el7 will be installed
- --> Processing Dependency: libpath_utils.so.1(PATH_UTILS_0.2.1)(64bit) for package: libini_config-1.2.0-25.el7.x86_64
- --> Processing Dependency: libpath_utils.so.1()(64bit) for package: libini_config-1.2.0-25.el7.x86_64
- ---> Package libref_array.x86_64 0:0.1.5-25.el7 will be installed
- ---> Package libverto-tevent.x86_64 0:0.2.5-4.el7 will be installed
- --> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
- --> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
- --> Processing Dependency: libtevent.so.0()(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
- --> Processing Dependency: libtalloc.so.2()(64bit) for package: libverto-tevent-0.2.5-4.el7.x86_64
- ---> Package quota-nls.noarch 1:4.01-11.el7_2.1 will be installed
- ---> Package tcp_wrappers.x86_64 0:7.6-77.el7 will be installed
- --> Running transaction check
- ---> Package libpath_utils.x86_64 0:0.2.1-25.el7 will be installed
- ---> Package libtalloc.x86_64 0:2.1.5-1.el7_2 will be installed
- ---> Package libtevent.x86_64 0:0.9.26-1.el7_2.1 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ======================================================================================================
- Package Arch Version Repository Size
- ======================================================================================================
- Installing:
- zenoss-core-service noarch 5.1.3-1 zenoss-stable 84 k
- Installing for dependencies:
- bash-completion noarch 1:2.1-6.el7 base 85 k
- gssproxy x86_64 0.4.1-7.el7 base 84 k
- keyutils x86_64 1.5.8-3.el7 base 54 k
- libbasicobjects x86_64 0.1.1-25.el7 base 24 k
- libcollection x86_64 0.6.2-25.el7 base 40 k
- libevent x86_64 2.0.21-4.el7 base 214 k
- libini_config x86_64 1.2.0-25.el7 base 59 k
- libnfsidmap x86_64 0.25-12.el7 base 46 k
- libpath_utils x86_64 0.2.1-25.el7 base 27 k
- libref_array x86_64 0.1.5-25.el7 base 26 k
- libtalloc x86_64 2.1.5-1.el7_2 updates 34 k
- libtevent x86_64 0.9.26-1.el7_2.1 updates 33 k
- libtirpc x86_64 0.2.4-0.6.el7 base 85 k
- libverto-tevent x86_64 0.2.5-4.el7 base 9.0 k
- nfs-utils x86_64 1:1.3.0-0.21.el7_2 updates 371 k
- quota x86_64 1:4.01-11.el7_2.1 updates 178 k
- quota-nls noarch 1:4.01-11.el7_2.1 updates 90 k
- rpcbind x86_64 0.2.0-33.el7_2 updates 57 k
- rsync x86_64 3.0.9-17.el7 base 360 k
- serviced x86_64 1.1.5-1 zenoss-stable 16 M
- tcp_wrappers x86_64 7.6-77.el7 base 78 k
- Transaction Summary
- ======================================================================================================
- Install 1 Package (+21 Dependent packages)
- Total download size: 18 M
- Installed size: 74 M
- Downloading packages:
- (1/22): libbasicobjects-0.1.1-25.el7.x86_64.rpm | 24 kB 00:00:00
- (2/22): keyutils-1.5.8-3.el7.x86_64.rpm | 54 kB 00:00:00
- (3/22): bash-completion-2.1-6.el7.noarch.rpm | 85 kB 00:00:00
- (4/22): gssproxy-0.4.1-7.el7.x86_64.rpm | 84 kB 00:00:00
- (5/22): libcollection-0.6.2-25.el7.x86_64.rpm | 40 kB 00:00:00
- (6/22): libini_config-1.2.0-25.el7.x86_64.rpm | 59 kB 00:00:00
- (7/22): libnfsidmap-0.25-12.el7.x86_64.rpm | 46 kB 00:00:00
- (8/22): libref_array-0.1.5-25.el7.x86_64.rpm | 26 kB 00:00:00
- (9/22): libpath_utils-0.2.1-25.el7.x86_64.rpm | 27 kB 00:00:00
- (10/22): libtirpc-0.2.4-0.6.el7.x86_64.rpm | 85 kB 00:00:00
- (11/22): libverto-tevent-0.2.5-4.el7.x86_64.rpm | 9.0 kB 00:00:00
- (12/22): libtalloc-2.1.5-1.el7_2.x86_64.rpm | 34 kB 00:00:00
- (13/22): libtevent-0.9.26-1.el7_2.1.x86_64.rpm | 33 kB 00:00:00
- (14/22): libevent-2.0.21-4.el7.x86_64.rpm | 214 kB 00:00:00
- (15/22): quota-4.01-11.el7_2.1.x86_64.rpm | 178 kB 00:00:00
- (16/22): nfs-utils-1.3.0-0.21.el7_2.x86_64.rpm | 371 kB 00:00:00
- (17/22): quota-nls-4.01-11.el7_2.1.noarch.rpm | 90 kB 00:00:00
- (18/22): rpcbind-0.2.0-33.el7_2.x86_64.rpm | 57 kB 00:00:00
- (19/22): tcp_wrappers-7.6-77.el7.x86_64.rpm | 78 kB 00:00:00
- (20/22): rsync-3.0.9-17.el7.x86_64.rpm | 360 kB 00:00:00
- 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
- Public key for zenoss-core-service-5.1.3-1.noarch.rpm is not installed
- (21/22): zenoss-core-service-5.1.3-1.noarch.rpm | 84 kB 00:00:00
- (22/22): serviced-1.1.5-1.x86_64.rpm | 16 MB 00:00:08
- ------------------------------------------------------------------------------------------------------
- Total 1.8 MB/s | 18 MB 00:00:09
- Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZENOSS
- Importing GPG key 0xAA5A1AD7:
- Userid : "Zenoss, Inc. <dev@zenoss.com>"
- Fingerprint: f31f fd84 6a23 b3d5 981d a728 ed0a 5fd2 aa5a 1ad7
- Package : zenoss-repo-1-1.x86_64 (installed)
- From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ZENOSS
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : libcollection-0.6.2-25.el7.x86_64 1/22
- Installing : libref_array-0.1.5-25.el7.x86_64 2/22
- Installing : libtalloc-2.1.5-1.el7_2.x86_64 3/22
- Installing : libtirpc-0.2.4-0.6.el7.x86_64 4/22
- Installing : rpcbind-0.2.0-33.el7_2.x86_64 5/22
- Installing : libbasicobjects-0.1.1-25.el7.x86_64 6/22
- Installing : libtevent-0.9.26-1.el7_2.1.x86_64 7/22
- Installing : libverto-tevent-0.2.5-4.el7.x86_64 8/22
- Installing : rsync-3.0.9-17.el7.x86_64 9/22
- Installing : tcp_wrappers-7.6-77.el7.x86_64 10/22
- Installing : libpath_utils-0.2.1-25.el7.x86_64 11/22
- Installing : libini_config-1.2.0-25.el7.x86_64 12/22
- Installing : gssproxy-0.4.1-7.el7.x86_64 13/22
- Installing : libnfsidmap-0.25-12.el7.x86_64 14/22
- Installing : 1:quota-nls-4.01-11.el7_2.1.noarch 15/22
- Installing : 1:quota-4.01-11.el7_2.1.x86_64 16/22
- Installing : libevent-2.0.21-4.el7.x86_64 17/22
- Installing : 1:bash-completion-2.1-6.el7.noarch 18/22
- Installing : keyutils-1.5.8-3.el7.x86_64 19/22
- Installing : 1:nfs-utils-1.3.0-0.21.el7_2.x86_64 20/22
- Installing : serviced-1.1.5-1.x86_64 21/22
- Installing : zenoss-core-service-5.1.3-1.noarch 22/22
- Verifying : libverto-tevent-0.2.5-4.el7.x86_64 1/22
- Verifying : libbasicobjects-0.1.1-25.el7.x86_64 2/22
- Verifying : keyutils-1.5.8-3.el7.x86_64 3/22
- Verifying : rpcbind-0.2.0-33.el7_2.x86_64 4/22
- Verifying : libini_config-1.2.0-25.el7.x86_64 5/22
- Verifying : 1:bash-completion-2.1-6.el7.noarch 6/22
- Verifying : libtirpc-0.2.4-0.6.el7.x86_64 7/22
- Verifying : libtalloc-2.1.5-1.el7_2.x86_64 8/22
- Verifying : 1:quota-4.01-11.el7_2.1.x86_64 9/22
- Verifying : libevent-2.0.21-4.el7.x86_64 10/22
- Verifying : 1:nfs-utils-1.3.0-0.21.el7_2.x86_64 11/22
- Verifying : libref_array-0.1.5-25.el7.x86_64 12/22
- Verifying : libtevent-0.9.26-1.el7_2.1.x86_64 13/22
- Verifying : 1:quota-nls-4.01-11.el7_2.1.noarch 14/22
- Verifying : libnfsidmap-0.25-12.el7.x86_64 15/22
- Verifying : zenoss-core-service-5.1.3-1.noarch 16/22
- Verifying : libcollection-0.6.2-25.el7.x86_64 17/22
- Verifying : gssproxy-0.4.1-7.el7.x86_64 18/22
- Verifying : libpath_utils-0.2.1-25.el7.x86_64 19/22
- Verifying : serviced-1.1.5-1.x86_64 20/22
- Verifying : tcp_wrappers-7.6-77.el7.x86_64 21/22
- Verifying : rsync-3.0.9-17.el7.x86_64 22/22
- Installed:
- zenoss-core-service.noarch 0:5.1.3-1
- Dependency Installed:
- bash-completion.noarch 1:2.1-6.el7 gssproxy.x86_64 0:0.4.1-7.el7
- keyutils.x86_64 0:1.5.8-3.el7 libbasicobjects.x86_64 0:0.1.1-25.el7
- libcollection.x86_64 0:0.6.2-25.el7 libevent.x86_64 0:2.0.21-4.el7
- libini_config.x86_64 0:1.2.0-25.el7 libnfsidmap.x86_64 0:0.25-12.el7
- libpath_utils.x86_64 0:0.2.1-25.el7 libref_array.x86_64 0:0.1.5-25.el7
- ▽
- #!/bin/bash
- # Script for Control Center and Zenoss Core 5 / Zenoss Resource Manager 5 deployement
- # Copyright (C) 2016 Jan Garaj - www.monitoringartist.com / www.jangaraj.com
- version="2016-03-02"
- # Analytics
- starttimestamp=$(date +%s)
- cid=$(md5sum <<< $(hostname) | awk -F - '{print $1}' | tr -d ' ')
- 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
- 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
- # Variables
- # Default resource requirements
- cpus_min=4
- rams_min=20 #GB
- # Default filesystem requirements (RHEL 7 / CentOS 7)
- maxusage=90 #% max disk usage
- root_fs_min_size=30 #GB
- root_fs_type="xfs"
- root_fs_path="/"
- docker_fs_min_size=30 #GB
- docker_fs_type="xfs"
- docker_fs_path="/var/lib/docker"
- serviced_fs_min_size=30 #GB
- serviced_fs_type="xfs"
- serviced_fs_path="/opt/serviced/var"
- servicedvolumes_fs_min_size=1 #GB
- servicedvolumes_fs_type="btrfs"
- servicedvolumes_fs_path="/opt/serviced/var/volumes"
- servicedbackups_fs_min_size=1 #GB
- servicedbackups_fs_type="xfs"
- servicedbackups_fs_path="/opt/serviced/var/backups"
- # Mount parameters for fstab
- mount_parameters_btrfs="rw,noatime,nodatacow,skip_balance 0 0"
- mount_parameters_xfs="defaults,noatime 0 0"
- mount_parameters_ext4="defaults 0 0"
- # Docker and Zenoss Settings
- docker_version=1.9.0
- g2k=1048576
- user="ccuser"
- retries_max=90
- sleep_duration=10
- 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"
- 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"
- log_watch="journalctl -u serviced -f -a -n 0"
- log_watch_last_line="journalctl -u serviced -a -n 1 | tail -n 1"
- zenoss_package="zenoss-core-service"
- zenoss_package_enterprise="zenoss-resmgr-service"
- :1022
- echo -e "${blue}4 ${zenoss_installation} deployement - (`date -R`)${endColor}"
- echo -e "${yellow}4.1 Adding current host to the default resource pool${endColor}"
- echo -e "${yellow}Please be patient, because docker image zenoss/serviced-isvcs must be downloaded before first start.${endColor}"
- echo -e "${yellow}You can check progress in new console: ${log_watch}${endColor}"
- echo -e "${yellow}Script is trying to check status every 10s. Timeout for this step is 15 minutes.${endColor}"
- echo "serviced host list 2>&1"
- test=$(serviced host list 2>&1)
- # wait for serviced start
- retry=1
- while [ "$test" = "rpc: can't find service Master.GetHosts" ] || [[ "$test" =~ "could not create a client to the master: dial tcp" ]] && [ $retry -lt $retries_max ]
- do
- echo $test
- echo "#${retry}: This is not a problem, because Control Centre service is not fully started, I'm trying in ${sleep_duration} seconds"
- echo "Message from author of autodeploy script: Keep calm and be patient! - http://www.keepcalmandposters.com/posters/38112.png"
- echo -n "Last serviced log: "
- eval $log_watch_last_line
- retry=$(( $retry + 1 ))
- sleep $sleep_duration
- test=$(serviced host list 2>&1)
- done
- if [ "$test" = "no hosts found" ]; then
- echo "serviced host add $hostname:4979 default"
- serviced host add $hostname:4979 default
- if [ $? -ne 0 ]; then
- echo -e "${red}Problem with command: serviced host add $privateipv4:4979 default${endColor}"
- 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
- exit 1
- else
- echo -e "${green}Done${endColor}"
- fi
- else
- echo "echo \"$test\" | grep -v loopback | wc -l"
- test2=$(echo "$test" | grep -v loopback | wc -l)
- if [ "$test2" -gt "1" ]; then
- echo -e "${yellow}Skipping - some host is deployed already${endColor}"
- echo -e "${green}Done${endColor}"
- else
- echo -e "${red}Problem with adding a host - check output from test: $test${endColor}"
- 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
- exit 1
- fi
- fi
- /pullin
- libtalloc.x86_64 0:2.1.5-1.el7_2 libtevent.x86_64 0:0.9.26-1.el7_2.1
- libtirpc.x86_64 0:0.2.4-0.6.el7 libverto-tevent.x86_64 0:0.2.5-4.el7
- nfs-utils.x86_64 1:1.3.0-0.21.el7_2 quota.x86_64 1:4.01-11.el7_2.1
- quota-nls.noarch 1:4.01-11.el7_2.1 rpcbind.x86_64 0:0.2.0-33.el7_2
- rsync.x86_64 0:3.0.9-17.el7 serviced.x86_64 0:1.1.5-1
- tcp_wrappers.x86_64 0:7.6-77.el7
- Complete!
- Done
- 3.2 Start Docker
- ▽
- echo -e "${yellow}5.4 Deleting the RabbitMQ guest user account${endColor}"
- serviced service start $(serviced service list | grep -i rabbitmq | awk '{print $2}')
- sleep 30
- serviced service attach $(serviced service list | grep -i rabbitmq | awk '{print $2}') rabbitmqctl delete_user guest
- serviced service stop $(serviced service list | grep -i rabbitmq | awk '{print $2}')
- echo -e "${green}Done${endColor}"
- echo -e "${yellow}5.5 Port forwarding${endColor}"
- ipv4forwarding=$(sysctl net.ipv4.conf.all.forwarding)
- if [ "$ipv4forwarding" != "net.ipv4.conf.all.forwarding = 1" ]; then
- sysctl net.ipv4.conf.all.forwarding=1
- sed -i -e "\|^net.ipv4.conf.all.forwarding |d" /etc/sysctl.conf
- echo "net.ipv4.conf.all.forwarding = 1" >> /etc/sysctl.conf
- echo -e "${green}Done${endColor}"
- else
- echo -e "${green}Done${endColor} - already enabled"
- fi
- if [ "$zenoss_impact" == "$zenoss_impact_enterprise" ]; then
- echo -e "${yellow}6 Pull Service Impact Docker image (the deployment step can take 3-5 minutes)${endColor}"
- echo "docker pull $zenoss_impact"
- docker pull $zenoss_impact
- if [ $rc -ne 0 ]; then
- echo -e "${red}Problem with pulling Service Impact Docker image${endColor}"
- 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
- else
- echo -e "${green}Done${endColor}"
- fi
- fi
- echo -e "${yellow}7 Extra templates${endColor}"
- domains=" "
- echo -e "${yellow}Adding Zabbix 3.0 template${endColor}"
- echo "Visit: https://github.com/monitoringartist/control-center-zabbix"
- curl -O https://raw.githubusercontent.com/monitoringartist/control-center-zabbix/master/Control-Center-Zabbix-3.0-template.json
- echo "serviced template add Control-Center-Zabbix-3.0-template.json"
- serviced template add Control-Center-Zabbix-3.0-template.json
- rm -rf Control-Center-Zabbix-3.0-template.json
- 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
- echo -e "${green}Done${endColor}"
- echo -e "${yellow}Adding Elasticsearch 2.0 template${endColor}"
- echo "Visit: https://github.com/monitoringartist/control-center-elasticsearch"
- curl -O https://raw.githubusercontent.com/monitoringartist/control-center-elasticsearch/master/Control-Center-Eleasticsearch-2.0-template.json
- echo "serviced template add Control-Center-Eleasticsearch-2.0-template.json"
- search hit BOTTOM, continuing at TOP
- systemctl enable docker && systemctl start docker
- Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
- Done
- 3.3 Identify the IPv4 address and subnet of Docker
- sleep 10
- ip addr | grep -A 2 'docker0:' | grep inet | awk '{print $2}' | awk -F'/' '{print $1}'
- Done
- 3.4 Add the devicemapper and DNS flags to the Docker startup options
- sed -i -e "\|^DOCKER_OPTS=\"-s devicemapper --dns=|d" /etc/sysconfig/docker
- sed: can't read /etc/sysconfig/docker: No such file or directory
- echo "DOCKER_OPTS=\"-s devicemapper --dns=$docker_ip\"" >> /etc/sysconfig/docker
- Done
- 3.5 Creating user ccuser for Control Center (serviced) management
- id -u ccuser
- id: ccuser: no such user
- adduser -M -c 'Management user for Control Center (serviced)' ccuser
- usermod -aG wheel ccuser
- Done
- ▽
- echo "$output"
- substring="stop"
- if [ "$output" != "${output%$substring*}" ]; then
- echo "start serviced"
- start serviced
- fi
- fi
- if [ $? -ne 0 ]; then
- echo -e "${red}Problem with starting of serviced${endColor}"
- 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
- exit 1
- else
- echo -e "${green}Done${endColor}"
- fi
- # exit host installation
- if [ ! -z "$MHOST" ]; then
- echo -e "${green}Control Center installation on the host completed${endColor}"
- echo -e "${green}Please visit Control Center${endColor}"
- echo -e "${green}You can check status of serviced: systemctl status serviced${endColor}"
- echo -e "Install guide: ${install_doc}"
- echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
- exit 0
- fi
- echo -e "${blue}4 ${zenoss_installation} deployement - (`date -R`)${endColor}"
- echo -e "${yellow}4.1 Adding current host to the default resource pool${endColor}"
- echo -e "${yellow}Please be patient, because docker image zenoss/serviced-isvcs must be downloaded before first start.${endColor}"
- echo -e "${yellow}You can check progress in new console: ${log_watch}${endColor}"
- echo -e "${yellow}Script is trying to check status every 10s. Timeout for this step is 15 minutes.${endColor}"
- echo "serviced host list 2>&1"
- test=$(serviced host list 2>&1)
- # wait for serviced start
- #retry=1
- #while [ "$test" = "rpc: can't find service Master.GetHosts" ] || [[ "$test" =~ "could not create a client to the master: dial tcp" ]] && [ $retry -lt $retries_max ]
- #do
- # echo $test
- # echo "#${retry}: This is not a problem, because Control Centre service is not fully started, I'm trying in ${sleep_duration} seconds"
- # echo "Message from author of autodeploy script: Keep calm and be patient! - http://www.keepcalmandposters.com/posters/38112.png"
- echo -n "Last serviced log: "
- eval $log_watch_last_line
- retry=$(( $retry + 1 ))
- sleep $sleep_duration
- test=$(serviced host list 2>&1)
- done
- if [ "$test" = "no hosts found" ]; then
- -- INSERT -- 1016,2 77%
- if [ $rc -ne 0 ]; then
- echo -e "${red}Problem with command: serviced template deploy $TEMPLATEID default zenoss${endColor}"
- 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
- exit 1
- else
- echo -e "${green}Done${endColor}"
- fi
- else
- if [ "$services" -gt "0" ]; then
- echo -e "${yellow}Skipping - some services are already deployed, check: serviced service list${endColor}"
- echo -e "${green}Done${endColor}"
- else
- echo -e "${red}Skipping deploying an application - check output from template test: $TEMPLATEID${endColor}"
- 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
- exit 1
- fi
- fi
- echo -e "${yellow}5 Tuning ${zenoss_template}${endColor}"
- # Additional packages
- echo -e "${yellow}5.1 Installing additional packages: quilt, fping, mtr${endColor}"
- echo "Creating /tmp/packages.txt"
- cat > /tmp/packages.txt << EOF
- DESCRIPTION packages.txt -- add quilt, fping, mtr to a Zenoss image
- VERSION zenoss-quilt-1.0
- REQUIRE_SVC
- SNAPSHOT
- # Download the EPEL RPM
- SVC_EXEC COMMIT ${zenoss_template} yum install -y epel-release
- # Download repository metadata
- SVC_EXEC COMMIT ${zenoss_template} yum makecache -y
- # Install quilt
- SVC_EXEC COMMIT ${zenoss_template} yum install -y quilt fping mtr
- # Remove EPEL
- SVC_EXEC COMMIT ${zenoss_template} yum erase -y epel-release
- # Clean up yum caches
- SVC_EXEC COMMIT ${zenoss_template} yum clean all
- EOF
- echo "Syntax verification of /tmp/packages.txt"
- serviced script parse /tmp/packages.txt
- if [ $? -ne 0 ]; then
- echo -e "${red}Problem with syntax verification of /tmp/packages.txt${endColor}"
- rm -rf /tmp/packages.txt
- fi
- 1 change; before #11 2 seconds ago
- echo -e "${yellow}You can check progress in new console: ${log_watch}${endColor}"
- echo "serviced host list 2>&1"
- test=$(serviced host list 2>&1)
- # wait for serviced start
- retry=1
- 1013 do
- 1014 echo $test
- 1015 echo "#${retry}: This is not a problem, because Control Centre service is not fully started, I'm trying in ${sleep_duration} seconds"
- 1016 echo "Message from author of autodeploy script: Keep calm and be patient! - http://www.keepca lmandposters.com/posters/38112.png"
- 1017 echo -n "Last serviced log: "
- 1018 eval $log_watch_last_line
- 1019 retry=$(( $retry + 1 ))
- 1020 sleep $sleep_duration
- 1021 test=$(serviced host list 2>&1)
- 1022 done
- 1023 if [ "$test" = "no hosts found" ]; then
- 1024 echo "serviced host add $hostname:4979 default"
- 1025 serviced host add $hostname:4979 default
- 1026 if [ $? -ne 0 ]; then
- 1027 echo -e "${red}Problem with command: serviced host add $privateipv4:4979 default${endColo r}"
- 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
- 1029 exit 1
- 1030 else
- 1031 echo -e "${green}Done${endColor}"
- 1032 fi
- 1033 else
- 1034 echo "echo \"$test\" | grep -v loopback | wc -l"
- 1035 test2=$(echo "$test" | grep -v loopback | wc -l)
- 1036 if [ "$test2" -gt "1" ]; then
- 1037 echo -e "${yellow}Skipping - some host is deployed already${endColor}"
- 1038 echo -e "${green}Done${endColor}"
- 1039 else
- 1040 echo -e "${red}Problem with adding a host - check output from test: $test${endColor}"
- 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
- 1042 exit 1
- 1043 fi
- 1044 fi
- 1045
- 1046 echo -e "${yellow}4.2 Deploy ${zenoss_template} application (the deployment step can take 15-30 m inutes)${endColor}"
- 1047 echo -e "${yellow}Please be patient, because all Zenoss docker images must be downloaded before f irst start.${endColor}"
- 1048 echo -e "${yellow}Warning: Could not find container for isvc logstash is not a problem - please b e only patient.${endColor}"
- 1049 echo -e "${yellow}Progress from serviced log file is presented. No timeout for this step.${endCol or}"
- 1050 echo "serviced template list 2>&1 | grep \"${zenoss_template}\" | awk '{print \$1}'"
- 1051 TEMPLATEID=$(serviced template list 2>&1 | grep "${zenoss_template}" | awk '{print $1}')
- 1052 echo 'serviced service list 2>/dev/null | wc -l'
- 1053 services=$(serviced service list 2>/dev/null | wc -l)
- 1054 if [ "$services" == "0" ]; then
- 1055 echo "serviced template deploy $TEMPLATEID default zenoss"
- :set number 1022,1 80%
- 1271 echo -e "${green}Control Center & ${zenoss_installation} installation completed${endColor}"
- 1272 echo -e "${green}Set password for Control Center ${user} user: passwd ${user}${endColor}"
- 1273 echo -e "${green}Please visit Control Center https://$publicipv4/ in your favorite web browser to complete setup, log in with ${user} user${endColor}"
- 1274 echo -e "${green}Add following line to your hosts file (Install guide - \"Configuring name resolu tion on ...\"):${endColor}"
- 1275 echo -e "${green}$publicipv4 $hostname hbase.$hostname opentsdb.$hostname rabbitmq.$hostname zeno ss5.$hostname$domains${endColor}"
- 1276 echo -e "${green}or edit /etc/default/serviced and set SERVICED_VHOST_ALIASES to your FQDN${endCo lor}"
- 1277 # selinux test
- 1278 output=$(id)
- 1279 substring="context="
- 1280 if [ "$output" != "${output%$substring*}" ]; then
- 1281 echo -e "${red}Please also reboot machine, because SELINUX is still active!${endColor}"
- 1282 fi
- 1283 echo -e "Install guide: ${install_doc}"
- 1284 echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
- 1285 echo -e "${yellow}${advert}${endColor}"
- 1286 duration=$(($(date +%s) - $starttimestamp))
- 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"
- 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
- 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
- 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
- 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
- 1292 if [ "$hostos" == "redhat" ]; then
- 1293 serviced_version=serviced%20$(rpm -qi serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1294 zenoss_version=${zenoss_package}%20$(rpm -qi $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1295 else
- 1296 serviced_version=serviced%20$(dpkg -s serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1297 zenoss_version=${zenoss_package}%20$(dpkg -s $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1298 fi
- 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
- 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
- 1301 # finish ring
- 1302 printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a';
- 1302,1 Bot
- 1 #!/bin/bash
- 2
- 3 # Script for Control Center and Zenoss Core 5 / Zenoss Resource Manager 5 deployement
- 4 # Copyright (C) 2016 Jan Garaj - www.monitoringartist.com / www.jangaraj.com
- 5 version="2016-03-02"
- 6
- 7 # Analytics
- 8 starttimestamp=$(date +%s)
- 9 cid=$(md5sum <<< $(hostname) | awk -F - '{print $1}' | tr -d ' ')
- 12
- 13 # Variables
- 14 # Default resource requirements
- 15 cpus_min=4
- 16 rams_min=20 #GB
- 17 # Default filesystem requirements (RHEL 7 / CentOS 7)
- 18 maxusage=90 #% max disk usage
- 19 root_fs_min_size=30 #GB
- 20 root_fs_type="xfs"
- 21 root_fs_path="/"
- 22 docker_fs_min_size=30 #GB
- 23 docker_fs_type="xfs"
- 24 docker_fs_path="/var/lib/docker"
- 25 serviced_fs_min_size=30 #GB
- 26 serviced_fs_type="xfs"
- 27 serviced_fs_path="/opt/serviced/var"
- 28 servicedvolumes_fs_min_size=1 #GB
- 29 servicedvolumes_fs_type="btrfs"
- 30 servicedvolumes_fs_path="/opt/serviced/var/volumes"
- 31 servicedbackups_fs_min_size=1 #GB
- 32 servicedbackups_fs_type="xfs"
- 33 servicedbackups_fs_path="/opt/serviced/var/backups"
- 34 # Mount parameters for fstab
- 35 mount_parameters_btrfs="rw,noatime,nodatacow,skip_balance 0 0"
- 36 mount_parameters_xfs="defaults,noatime 0 0"
- 37 mount_parameters_ext4="defaults 0 0"
- 38 # Docker and Zenoss Settings
- 39 docker_version=1.9.0
- 40 g2k=1048576
- 51 zenoss_installation_enterprise="Zenoss Resource Manager 5"
- 52 zenoss_template="Zenoss.core"
- 56 docker_registry_user=""
- 57 docker_registry_email=""
- 58 docker_registry_password=""
- 59 MHOST=""
- 61
- 62 # Magical colors of the wind
- 68
- 72 #echo " ... continuing"
- 73 mycontinue="yes"
- 74 else
- 75 exit 1
- 76 fi
- 77 }
- 78
- 70 read answer
- 71 if echo "$answer" | grep -iq "^y" ;then
- 72 #echo " ... continuing"
- 73 mycontinue="yes"
- 74 else
- 75 exit 1
- 76 fi
- 77 }
- 78
- 79 mycontinue="no"
- 80 mylocation=$1
- 81 myfilesystem=$2
- 82 myminsize=$3
- 83
- 84 echo -en "${yellow} $mylocation filesystem check in progress...${endColor}"
- 85 fs=$(df -TP | grep "$mylocation$" | awk '{print $2}')
- 86 # Fall back to root fs
- 87 if [ "$fs" == "" ]; then
- 88 fs=$(df -TP | grep "/$" | awk '{print $2}')
- 89 fi
- 90 if [ "$fs" != "$myfilesystem" ]; then
- 91 echo -en "\n${red} ${fs} ${mylocation} filesystem detected, but ${myfilesystem} is requir ed. Do you want to continue (y/n)? ${endColor}"
- 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
- 93 prompt_continue
- 94 if [ "$mylocation" == "$servicedvolumes_fs_path" ]; then
- 95 echo -en "${red}No, No and No. Author of autodeployement script refuses to make this exception. Please use manual deployement!!!${endColor}"
- 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
- 97 exit 1
- 98 fi
- 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
- 100 mycontinue="yes"
- 101 fi
- 102 usage=$(df -ha | grep "$mylocation$" | awk '{print $5}' | tail -n 1 | tr -d "%")
- 103 # Fall back to root fs
- 104 if [ "$usage" == "" ]; then
- 105 usage=$(df -ha | grep "/$" | awk '{print $5}' | tail -n 1 | tr -d "%")
- 106 fi
- 107 if [ $usage -gt $maxusage ]; then
- 108 echo -en "\n${red} ${mylocation} filesystem usage (${usage}%) is more than defined maximu m ${maxusage}%. Do you want to continue (y/n)? ${endColor}"
- 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
- 110 prompt_continue
- @ @
- 79,5 5%
- 954 #cd /etc/ssl/certs/serviced
- 955 #mkdir -p /tmp/ssl
- 956 #docker run --name simp_le -v /tmp/ssl:/usr/share/nginx/html:ro -p 80:80 -d nginx
- 957 #simp_le -f key.pem -f cert.pem -f fullchain.pem -d ccmaster.domain.com:/tmp/ssl -f account_key.j son
- 958 #docker rm -f simp_le
- 959 #docker rmi -f nginx
- 960 #rm -rf /tmp/ssl
- 961 #
- 962 #vi /etc/default/serviced
- 963 #SERVICED_KEY_FILE=/etc/ssl/certs/serviced/key.pem
- 964 #SERVICED_CERT_FILE=/etc/ssl/certs/serviced/cert.pem
- 965 ### TODO cron for auto cert update - probably with serviced restart
- 966
- 967 # Startup serviced services
- 968 echo -e "${yellow}3.9 Start the Control Center service${endColor}"
- 969 if [ "$hostos" == "redhat" ]; then
- 970 echo "systemctl enable serviced && systemctl start serviced"
- 971 systemctl enable serviced && systemctl start serviced
- 972 elif [ "$hostos" == "ubuntu" ]; then
- 973 echo 'service serviced status'
- 974 output=$(service serviced status)
- 975 com_ret=$?
- 976 echo "$output"
- 977 substring="stop"
- 978 if [ "$output" != "${output%$substring*}" ]; then
- 979 echo "start serviced"
- 980 start serviced
- 981 fi
- 982 fi
- 983 if [ $? -ne 0 ]; then
- 984 echo -e "${red}Problem with starting of serviced${endColor}"
- 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
- 986 exit 1
- 987 else
- 988 echo -e "${green}Done${endColor}"
- 989 fi
- 990
- 991 # exit host installation
- 992 if [ ! -z "$MHOST" ]; then
- 993 echo -e "${green}Control Center installation on the host completed${endColor}"
- 994 echo -e "${green}Please visit Control Center${endColor}"
- 995 echo -e "${green}You can check status of serviced: systemctl status serviced${endColor}"
- 996 echo -e "Install guide: ${install_doc}"
- 997 echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
- 998 exit 0
- 999 fi
- 1000
- 1001 echo -e "${blue}4 ${zenoss_installation} deployement - (`date -R`)${endColor}"
- 1002
- 1003 echo -e "${yellow}4.1 Adding current host to the default resource pool${endColor}"
- @
- 966,0-1 76%
- 1270 echo -e "${green}Control Center & ${zenoss_installation} installation completed${endColor}"
- 1271 echo -e "${green}Set password for Control Center ${user} user: passwd ${user}${endColor}"
- 1272 echo -e "${green}Please visit Control Center https://$publicipv4/ in your favorite web browser to complete setup, log in with ${user} user${endColor}"
- 1273 echo -e "${green}Add following line to your hosts file (Install guide - \"Configuring name resolu tion on ...\"):${endColor}"
- 1274 echo -e "${green}$publicipv4 $hostname hbase.$hostname opentsdb.$hostname rabbitmq.$hostname zeno ss5.$hostname$domains${endColor}"
- 1275 echo -e "${green}or edit /etc/default/serviced and set SERVICED_VHOST_ALIASES to your FQDN${endCo lor}"
- 1276 # selinux test
- 1277 output=$(id)
- 1278 substring="context="
- 1279 if [ "$output" != "${output%$substring*}" ]; then
- 1280 echo -e "${red}Please also reboot machine, because SELINUX is still active!${endColor}"
- 1281 fi
- 1282 echo -e "Install guide: ${install_doc}"
- 1283 echo -e "${blue}Credit: www.monitoringartist.com${endColor}"
- 1284 echo -e "${yellow}${advert}${endColor}"
- 1285 duration=$(($(date +%s) - $starttimestamp))
- 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"
- 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
- 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
- 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
- 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
- 1291 if [ "$hostos" == "redhat" ]; then
- 1292 serviced_version=serviced%20$(rpm -qi serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1293 zenoss_version=${zenoss_package}%20$(rpm -qi $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1294 else
- 1295 serviced_version=serviced%20$(dpkg -s serviced | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1296 zenoss_version=${zenoss_package}%20$(dpkg -s $zenoss_package | grep Version | awk -F: '{print $2}' | tr -d ' ')
- 1297 fi
- 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
- 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
- 1300 # finish ring
- 1301 printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a'; sleep 0.1; printf '\a';
- 1301,1 Bot
- 1 #!/bin/bash
- 2
- 3 # Script for Control Center and Zenoss Core 5 / Zenoss Resource Manager 5 deployement
- 4 # Copyright (C) 2016 Jan Garaj - www.monitoringartist.com / www.jangaraj.com
- 5 version="2016-03-02"
- 6
- 7 # Analytics
- 8 starttimestamp=$(date +%s)
- 9 cid=$(md5sum <<< $(hostname) | awk -F - '{print $1}' | tr -d ' ')
- 12
- 13 # Variables
- 14 # Default resource requirements
- 15 cpus_min=4
- 16 rams_min=20 #GB
- 17 # Default filesystem requirements (RHEL 7 / CentOS 7)
- 18 maxusage=90 #% max disk usage
- 19 root_fs_min_size=30 #GB
- 20 root_fs_type="xfs"
- 21 root_fs_path="/"
- 22 docker_fs_min_size=30 #GB
- 23 docker_fs_type="xfs"
- 24 docker_fs_path="/var/lib/docker"
- 25 serviced_fs_min_size=30 #GB
- 26 serviced_fs_type="xfs"
- 27 serviced_fs_path="/opt/serviced/var"
- 28 servicedvolumes_fs_min_size=1 #GB
- 29 servicedvolumes_fs_type="btrfs"
- 30 servicedvolumes_fs_path="/opt/serviced/var/volumes"
- 31 servicedbackups_fs_min_size=1 #GB
- 32 servicedbackups_fs_type="xfs"
- 33 servicedbackups_fs_path="/opt/serviced/var/backups"
- 34 # Mount parameters for fstab
- 35 mount_parameters_btrfs="rw,noatime,nodatacow,skip_balance 0 0"
- 36 mount_parameters_xfs="defaults,noatime 0 0"
- 37 mount_parameters_ext4="defaults 0 0"
- 38 # Docker and Zenoss Settings
- 39 docker_version=1.9.0
- 46 log_watch="journalctl -u serviced -f -a -n 0"
- 50 zenoss_installation="Zenoss Core 5"
- 51 zenoss_installation_enterprise="Zenoss Resource Manager 5"
- 55 zenoss_impact_enterprise="zenoss/impact_5.0:5.0.5.0.0"
- 56 docker_registry_user=""
- 3.6 Stop and restart Docker
- systemctl stop docker && systemctl start docker
- Done
- Editing /etc/default/serviced on CC master
- 3.7 Change the volume type for application data
- sed -i."167-080209" -e 's|^#[^S]*\(SERVICED_FS_TYPE=\).*$|\1btrfs|' /etc/default/serviced
- Done
- 3.8 rpcbind workaround
- systemctl status rpcbind &>/dev/null
- Applying rpcbind workaround
- systemctl start rpcbind
- echo "systemctl start rpcbind" >> /etc/rc.d/rc.local && chmod +x /etc/rc.d/rc.local
- Done
- 3.9 Start the Control Center service
- systemctl enable serviced && systemctl start serviced
- Done
- 4 Zenoss Core 5 deployement - (Wed, 15 Jun 2016 08:02:11 -0400)
- 4.1 Adding current host to the default resource pool
- Please be patient, because docker image zenoss/serviced-isvcs must be downloaded before first start.
- You can check progress in new console: journalctl -u serviced -f -a -n 0
- Script is trying to check status every 10s. Timeout for this step is 15 minutes.
- serviced host list 2>&1
- echo "dial tcp4 x.x.x.x-IP:4979: connection refused" | grep -v loopback | wc -l
- Problem with adding a host - check output from test: dial tcp4 x.x.x.x-IP:4979: connection refused
- [root@zenoss5 tmp]# vim core-autodeploy.sh
- [root@zenoss5 tmp]# serviced host add `hostname`:4979 default
- 1b0a8d70
- [root@zenoss5 tmp]#
- [root@zenoss5 tmp]#
- [root@zenoss5 tmp]# serviced host list
- ID Pool Name Addr RPCPort Cores RAM Cur/Max/Avg Network Release
- 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
- [root@zenoss5 tmp]# vim core-autodeploy.sh
- [root@zenoss5 tmp]# ./core-autodeploy.sh
- 4.2 Deploy Zenoss.core application (the deployment step can take 15-30 minutes)
- Please be patient, because all Zenoss docker images must be downloaded before first start.
- Warning: Could not find container for isvc logstash is not a problem - please be only patient.
- Progress from serviced log file is presented. No timeout for this step.
- serviced template list 2>&1 | grep "Zenoss.core" | awk '{print $1}'
- serviced service list 2>/dev/null | wc -l
- serviced template deploy dc6f4e13e8d703925131fe3e600e7c94 default zenoss
- -- Logs begin at Wed 2016-06-15 07:56:06 EDT. --
- Jun 15 08:06:11 zenoss5 serviced[2296]: I0615 12:06:11.928423 02296 zzk.go:186] Starting a listener at /virtualIPs
- Deploying template - please wait...
- Jun 15 08:09:57 zenoss5 serviced[2296]: I0615 12:09:57.674049 02296 servicetemplate.go:269] Deploying application Zenoss.core to zenoss
- 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
- 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)
- 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
- 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>)
- Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.590513 02296 service.go:112] Created service Zenoss.core (e9087yo000w4rg3y6j0z9waom)
- 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
- 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)
- 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
- Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.707263 02296 service.go:112] Created service Zenoss (d95vvppxbbyxxnwcoya8t17w6)
- Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.713187 02296 service.go:117] Set configuration information for service Zenoss (d95vvppxbbyxxnwcoya8t17w6)
- Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.747658 02296 service.go:123] Synced service Zenoss (d95vvppxbbyxxnwcoya8t17w6) to the coordinator
- Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.786526 02296 service.go:112] Created service User Interface (6fc8qg7x8qhzdqfxy4w61xi28)
- 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)
- 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
- Jun 15 08:10:56 zenoss5 serviced[2296]: I0615 12:10:56.990262 02296 service.go:112] Created service Zope (2jxrwpp0ixp3mfkxxg4x4pkat)
- 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
- 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
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.098323 02296 service.go:117] Set configuration information for service Zope (2jxrwpp0ixp3mfkxxg4x4pkat)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.263856 02296 service.go:123] Synced service Zope (2jxrwpp0ixp3mfkxxg4x4pkat) to the coordinator
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.389353 02296 service.go:112] Created service zenjobs (9154s1ysrjd6vfyh2xbwxo16y)
- 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
- 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
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.439105 02296 service.go:117] Set configuration information for service zenjobs (9154s1ysrjd6vfyh2xbwxo16y)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.465016 02296 service.go:123] Synced service zenjobs (9154s1ysrjd6vfyh2xbwxo16y) to the coordinator
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.503784 02296 service.go:112] Created service Collection (d87je4rmlchcbvjk1vubjsg2g)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.510893 02296 service.go:117] Set configuration information for service Collection (d87je4rmlchcbvjk1vubjsg2g)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.528769 02296 service.go:123] Synced service Collection (d87je4rmlchcbvjk1vubjsg2g) to the coordinator
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.551022 02296 service.go:112] Created service localhost (3g3v7xqy7c943sr54yrk0x1nu)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.567812 02296 service.go:117] Set configuration information for service localhost (3g3v7xqy7c943sr54yrk0x1nu)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.588701 02296 service.go:123] Synced service localhost (3g3v7xqy7c943sr54yrk0x1nu) to the coordinator
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.704803 02296 service.go:112] Created service zenhub (doy5is0vgqhxslal93wjpc2as)
- 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
- 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
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.757396 02296 service.go:117] Set configuration information for service zenhub (doy5is0vgqhxslal93wjpc2as)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.842621 02296 service.go:123] Synced service zenhub (doy5is0vgqhxslal93wjpc2as) to the coordinator
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.870012 02296 service.go:112] Created service localhost (b33cti0nwd54o48ojwinufym)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.878343 02296 service.go:117] Set configuration information for service localhost (b33cti0nwd54o48ojwinufym)
- Jun 15 08:10:57 zenoss5 serviced[2296]: I0615 12:10:57.913401 02296 service.go:123] Synced service localhost (b33cti0nwd54o48ojwinufym) to the coordinator
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.118055 02296 service.go:112] Created service zentrap (1uhabl7swz97ztappbmmwpx48)
- 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
- 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
- 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
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.200930 02296 service.go:117] Set configuration information for service zentrap (1uhabl7swz97ztappbmmwpx48)
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.254311 02296 service.go:123] Synced service zentrap (1uhabl7swz97ztappbmmwpx48) to the coordinator
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.436582 02296 service.go:112] Created service zenmail (8knj8no2ho2ub5qkwfbbm5pme)
- 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
- 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
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.475156 02296 service.go:117] Set configuration information for service zenmail (8knj8no2ho2ub5qkwfbbm5pme)
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.504696 02296 service.go:123] Synced service zenmail (8knj8no2ho2ub5qkwfbbm5pme) to the coordinator
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.753371 02296 service.go:112] Created service zenperfsnmp (dhtq04jb374l2pf1caxqxy6wm)
- 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
- 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
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.793306 02296 service.go:117] Set configuration information for service zenperfsnmp (dhtq04jb374l2pf1caxqxy6wm)
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.821289 02296 service.go:123] Synced service zenperfsnmp (dhtq04jb374l2pf1caxqxy6wm) to the coordinator
- Jun 15 08:10:58 zenoss5 serviced[2296]: I0615 12:10:58.963088 02296 service.go:112] Created service zenpop3 (dyzgatep7pp0dy5mbiefvoqem)
- 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
- 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
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.000324 02296 service.go:117] Set configuration information for service zenpop3 (dyzgatep7pp0dy5mbiefvoqem)
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.033017 02296 service.go:123] Synced service zenpop3 (dyzgatep7pp0dy5mbiefvoqem) to the coordinator
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.124196 02296 service.go:112] Created service MetricShipper (e15dplchvoj00a3q6h3x3wxp1)
- 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
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.147559 02296 service.go:117] Set configuration information for service MetricShipper (e15dplchvoj00a3q6h3x3wxp1)
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.191076 02296 service.go:123] Synced service MetricShipper (e15dplchvoj00a3q6h3x3wxp1) to the coordinator
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.338760 02296 service.go:112] Created service zenping (4qyhibh97fgey845n090zjwyn)
- 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
- 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
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.400457 02296 service.go:117] Set configuration information for service zenping (4qyhibh97fgey845n090zjwyn)
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.458965 02296 service.go:123] Synced service zenping (4qyhibh97fgey845n090zjwyn) to the coordinator
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.630915 02296 service.go:112] Created service zenprocess (1fqj7arzoo9blcpn94fgo1wz6)
- 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
- 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
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.657468 02296 service.go:117] Set configuration information for service zenprocess (1fqj7arzoo9blcpn94fgo1wz6)
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.684221 02296 service.go:123] Synced service zenprocess (1fqj7arzoo9blcpn94fgo1wz6) to the coordinator
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.821927 02296 service.go:112] Created service zensyslog (boz6t9h8eipaptm2sdfyd4koa)
- 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
- 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
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.862776 02296 service.go:117] Set configuration information for service zensyslog (boz6t9h8eipaptm2sdfyd4koa)
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.893101 02296 service.go:123] Synced service zensyslog (boz6t9h8eipaptm2sdfyd4koa) to the coordinator
- Jun 15 08:10:59 zenoss5 serviced[2296]: I0615 12:10:59.981115 02296 service.go:112] Created service zminion (altjgwwxdvpy6v1xaulp1s8x3)
- 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
- 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
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.020768 02296 service.go:117] Set configuration information for service zminion (altjgwwxdvpy6v1xaulp1s8x3)
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.055423 02296 service.go:123] Synced service zminion (altjgwwxdvpy6v1xaulp1s8x3) to the coordinator
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.149522 02296 service.go:112] Created service collectorredis (6r3ol1f9higsxldmnjsf7f8dq)
- 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
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.190032 02296 service.go:117] Set configuration information for service collectorredis (6r3ol1f9higsxldmnjsf7f8dq)
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.224367 02296 service.go:123] Synced service collectorredis (6r3ol1f9higsxldmnjsf7f8dq) to the coordinator
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.420736 02296 service.go:112] Created service zencommand (9vu1t5ub123gxormhld94qmp9)
- 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
- 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
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.454682 02296 service.go:117] Set configuration information for service zencommand (9vu1t5ub123gxormhld94qmp9)
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.479200 02296 service.go:123] Synced service zencommand (9vu1t5ub123gxormhld94qmp9) to the coordinator
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.830278 02296 service.go:112] Created service zenstatus (at4gxr8n7e2kcffy5y6058r7d)
- 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
- 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
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.868111 02296 service.go:117] Set configuration information for service zenstatus (at4gxr8n7e2kcffy5y6058r7d)
- Jun 15 08:11:00 zenoss5 serviced[2296]: I0615 12:11:00.949955 02296 service.go:123] Synced service zenstatus (at4gxr8n7e2kcffy5y6058r7d) to the coordinator
- Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.552337 02296 service.go:112] Created service zenmodeler (1472j3dzw35k0c6ensh1o0j1i)
- 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
- 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
- Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.598217 02296 service.go:117] Set configuration information for service zenmodeler (1472j3dzw35k0c6ensh1o0j1i)
- Jun 15 08:11:01 zenoss5 serviced[2296]: I0615 12:11:01.623832 02296 service.go:123] Synced service zenmodeler (1472j3dzw35k0c6ensh1o0j1i) to the coordinator
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.084101 02296 service.go:112] Created service zenpython (2y4bxdwtoiyd9ke08rqwpo8qq)
- 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
- 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
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.118469 02296 service.go:117] Set configuration information for service zenpython (2y4bxdwtoiyd9ke08rqwpo8qq)
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.141697 02296 service.go:123] Synced service zenpython (2y4bxdwtoiyd9ke08rqwpo8qq) to the coordinator
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.162103 02296 service.go:112] Created service Events (67ko8ll1mrk2u70596ywyibcg)
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.167768 02296 service.go:117] Set configuration information for service Events (67ko8ll1mrk2u70596ywyibcg)
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.190849 02296 service.go:123] Synced service Events (67ko8ll1mrk2u70596ywyibcg) to the coordinator
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.453135 02296 service.go:112] Created service zeneventd (bfdogea0xzr8zq70gbcpdg0n0)
- 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
- 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
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.484526 02296 service.go:117] Set configuration information for service zeneventd (bfdogea0xzr8zq70gbcpdg0n0)
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.503727 02296 service.go:123] Synced service zeneventd (bfdogea0xzr8zq70gbcpdg0n0) to the coordinator
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.793188 02296 service.go:112] Created service zeneventserver (3ne3a8a71db97h7ajgnmfq593)
- 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
- 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
- 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
- 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
- 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
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.869874 02296 service.go:117] Set configuration information for service zeneventserver (3ne3a8a71db97h7ajgnmfq593)
- Jun 15 08:11:02 zenoss5 serviced[2296]: I0615 12:11:02.902216 02296 service.go:123] Synced service zeneventserver (3ne3a8a71db97h7ajgnmfq593) to the coordinator
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.477705 02296 service.go:112] Created service zenactiond (8gu2muh3g7gwk2ca7imvl9iy5)
- 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
- 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
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.517102 02296 service.go:117] Set configuration information for service zenactiond (8gu2muh3g7gwk2ca7imvl9iy5)
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.540217 02296 service.go:123] Synced service zenactiond (8gu2muh3g7gwk2ca7imvl9iy5) to the coordinator
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.556355 02296 service.go:112] Created service Metrics (cq4dpdgg51p8owxl40ahy9lq7)
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.561071 02296 service.go:117] Set configuration information for service Metrics (cq4dpdgg51p8owxl40ahy9lq7)
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.597474 02296 service.go:123] Synced service Metrics (cq4dpdgg51p8owxl40ahy9lq7) to the coordinator
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.831100 02296 service.go:112] Created service CentralQuery (b3ealvi9z7p5bgo99flauhmu3)
- 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
- 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
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.859195 02296 service.go:117] Set configuration information for service CentralQuery (b3ealvi9z7p5bgo99flauhmu3)
- Jun 15 08:11:03 zenoss5 serviced[2296]: I0615 12:11:03.880922 02296 service.go:123] Synced service CentralQuery (b3ealvi9z7p5bgo99flauhmu3) to the coordinator
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.405559 02296 service.go:112] Created service MetricConsumer (cyyws0q31hvjzop6nowbajg9n)
- 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
- 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
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.432557 02296 service.go:117] Set configuration information for service MetricConsumer (cyyws0q31hvjzop6nowbajg9n)
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.453037 02296 service.go:123] Synced service MetricConsumer (cyyws0q31hvjzop6nowbajg9n) to the coordinator
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.816330 02296 service.go:112] Created service MetricShipper (65nd2pxen0r79n7bfi8ip9o2w)
- 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
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.837625 02296 service.go:117] Set configuration information for service MetricShipper (65nd2pxen0r79n7bfi8ip9o2w)
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.868885 02296 service.go:123] Synced service MetricShipper (65nd2pxen0r79n7bfi8ip9o2w) to the coordinator
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.883731 02296 service.go:112] Created service Infrastructure (24zgzn85op3mhs1nmj1lzw39h)
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.888892 02296 service.go:117] Set configuration information for service Infrastructure (24zgzn85op3mhs1nmj1lzw39h)
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.904966 02296 service.go:123] Synced service Infrastructure (24zgzn85op3mhs1nmj1lzw39h) to the coordinator
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.923469 02296 service.go:112] Created service HBase (16vvx2dyvy5mpvi8pfhyrwg5u)
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.930849 02296 service.go:117] Set configuration information for service HBase (16vvx2dyvy5mpvi8pfhyrwg5u)
- Jun 15 08:11:04 zenoss5 serviced[2296]: I0615 12:11:04.951814 02296 service.go:123] Synced service HBase (16vvx2dyvy5mpvi8pfhyrwg5u) to the coordinator
- 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
- 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)
- 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
- 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>)
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.533025 02296 service.go:112] Created service HMaster (6sdhttwqv9znpyuyq7xh01qkb)
- 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
- 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
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.575864 02296 service.go:117] Set configuration information for service HMaster (6sdhttwqv9znpyuyq7xh01qkb)
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.605793 02296 service.go:123] Synced service HMaster (6sdhttwqv9znpyuyq7xh01qkb) to the coordinator
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.699885 02296 service.go:112] Created service RegionServer (cbzmsd1kocomp5ogrvf6v8dep)
- 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
- 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
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.743561 02296 service.go:117] Set configuration information for service RegionServer (cbzmsd1kocomp5ogrvf6v8dep)
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.792197 02296 service.go:123] Synced service RegionServer (cbzmsd1kocomp5ogrvf6v8dep) to the coordinator
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.919450 02296 service.go:112] Created service ZooKeeper (8yp6ox70v1bvaozhx5t7a5fj9)
- 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
- 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
- Jun 15 08:11:51 zenoss5 serviced[2296]: I0615 12:11:51.970744 02296 service.go:117] Set configuration information for service ZooKeeper (8yp6ox70v1bvaozhx5t7a5fj9)
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.027186 02296 service.go:123] Synced service ZooKeeper (8yp6ox70v1bvaozhx5t7a5fj9) to the coordinator
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.119509 02296 service.go:112] Created service RabbitMQ (6xciinqsojjoadpcqosjndup7)
- 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
- 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
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.148869 02296 service.go:117] Set configuration information for service RabbitMQ (6xciinqsojjoadpcqosjndup7)
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.214016 02296 service.go:123] Synced service RabbitMQ (6xciinqsojjoadpcqosjndup7) to the coordinator
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.552625 02296 service.go:112] Created service mariadb (aazawnkwwxs8s47n42sqt5tpk)
- 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
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.569099 02296 service.go:117] Set configuration information for service mariadb (aazawnkwwxs8s47n42sqt5tpk)
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.597538 02296 service.go:123] Synced service mariadb (aazawnkwwxs8s47n42sqt5tpk) to the coordinator
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.910893 02296 service.go:112] Created service memcached (ern91geamd91pwb28w76al5vs)
- 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
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.937407 02296 service.go:117] Set configuration information for service memcached (ern91geamd91pwb28w76al5vs)
- Jun 15 08:11:52 zenoss5 serviced[2296]: I0615 12:11:52.968121 02296 service.go:123] Synced service memcached (ern91geamd91pwb28w76al5vs) to the coordinator
- 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
- 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)
- 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
- 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>)
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.171379 02296 service.go:112] Created service opentsdb (cv47ijimivtmcc6vovxwl1ubq)
- 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
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.199989 02296 service.go:117] Set configuration information for service opentsdb (cv47ijimivtmcc6vovxwl1ubq)
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.247210 02296 service.go:123] Synced service opentsdb (cv47ijimivtmcc6vovxwl1ubq) to the coordinator
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.393629 02296 service.go:112] Created service redis (zqg83imyr3el8nhdz7xltkkl)
- 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
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.425275 02296 service.go:117] Set configuration information for service redis (zqg83imyr3el8nhdz7xltkkl)
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.456733 02296 service.go:123] Synced service redis (zqg83imyr3el8nhdz7xltkkl) to the coordinator
- 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
- 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
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.486343 02296 server.go:324] serviced exports:
- Jun 15 08:11:56 zenoss5 serviced[2296]: /exports *(rw,fsid=0,no_root_squash,insecure,no_subtree_check,async,crossmnt)
- Jun 15 08:11:56 zenoss5 serviced[2296]: /exports/serviced_volumes_v2/e9087yo000w4rg3y6j0z9waom *(rw,fsid=1,no_root_squash,insecure,no_subtree_check,async)
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.517737 02296 nfs.go:78] started nfs server:
- Jun 15 08:11:56 zenoss5 serviced[2296]: I0615 12:11:56.545241 02296 nfs.go:62] reloaded nfs server:
- 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
- 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
- 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
- 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
- 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
- e9087yo000w4rg3y6j0z9waom
- ./core-autodeploy.sh: line 114: 4527 Terminated $log_watch
- Done
- 5 Tuning Zenoss.core
- 5.1 Installing additional packages: quilt, fping, mtr
- Creating /tmp/packages.txt
- Syntax verification of /tmp/packages.txt
- Installing additional package
- Logging to logfile: /var/log/serviced/script-2016-06-15-081202-root.log
- Script started, file is /var/log/serviced/script-2016-06-15-081202-root.log
- I0615 08:12:03.612726 05925 runner.go:159] executing step 0: DESCRIPTION packages.txt -- add quilt, fping, mtr to a Zenoss image
- I0615 08:12:03.612801 05925 runner.go:159] executing step 1: VERSION zenoss-quilt-1.0
- I0615 08:12:03.612808 05925 runner.go:159] executing step 2: REQUIRE_SVC
- I0615 08:12:03.612814 05925 eval.go:340] checking service requirement
- I0615 08:12:03.612821 05925 eval.go:344] verifying service e9087yo000w4rg3y6j0z9waom
- I0615 08:12:03.613682 05925 eval.go:350] found e9087yo000w4rg3y6j0z9waom tenant id for service e9087yo000w4rg3y6j0z9waom
- I0615 08:12:03.613700 05925 runner.go:159] executing step 3: SNAPSHOT
- I0615 08:12:03.613706 05925 eval.go:22] performing snapshot
- I0615 08:12:08.359307 05925 eval.go:47] snapshot id: e9087yo000w4rg3y6j0z9waom_20160615-121205.588
- I0615 08:12:08.359364 05925 runner.go:159] executing step 4: SVC_EXEC COMMIT Zenoss.core yum install -y epel-release
- I0615 08:12:09.746078 05925 eval.go:302] running: serviced service shell -s 081209-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum install -y epel-release
- I0615 08:12:10.753741 06034 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
- I0615 08:12:10.766101 06034 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
- I0615 08:12:11.266411 06034 server.go:453] Acquiring image from the dfs...
- I0615 08:12:12.166130 06034 server.go:458] Acquired! Starting shell
- Loaded plugins: fastestmirror, ovl
- Determining fastest mirrors
- * base: ftp.heanet.ie
- * extras: mirrors.coreix.net
- * updates: mirrors.coreix.net
- Resolving Dependencies
- --> Running transaction check
- ---> Package epel-release.noarch 0:7-6 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- epel-release noarch 7-6 extras 14 k
- Transaction Summary
- ================================================================================
- Install 1 Package
- Total download size: 14 k
- Installed size: 24 k
- Downloading packages:
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : epel-release-7-6.noarch 1/1
- Verifying : epel-release-7-6.noarch 1/1
- Installed:
- epel-release.noarch 0:7-6
- Complete!
- I0615 08:12:35.355269 05925 eval.go:312] committing container 081209-20160615_e9087yo000w4rg3y6j0z9waom
- I0615 08:18:56.589107 05925 runner.go:159] executing step 5: SVC_EXEC COMMIT Zenoss.core yum makecache -y
- I0615 08:18:57.466936 05925 eval.go:302] running: serviced service shell -s 081857-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum makecache -y
- I0615 08:18:58.366569 06461 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
- I0615 08:18:58.378400 06461 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
- I0615 08:18:59.644553 06461 server.go:453] Acquiring image from the dfs...
- I0615 08:19:00.546770 06461 server.go:458] Acquired! Starting shell
- Loaded plugins: fastestmirror, ovl
- https://mirrors.uni-ruse.bg/epel/7/x86_64/repodata/2f1894a3779c1e472296756c25b639e50ff3bdf8263dbabc2b4d94bf8db0cffd-filelists.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
- Trying other mirror.
- To address this issue please refer to the below knowledge base article
- https://access.redhat.com/articles/1320623
- If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
- Loading mirror speeds from cached hostfile
- * base: ftp.heanet.ie
- * epel: mirrors.uni-ruse.bg
- * extras: mirrors.coreix.net
- * updates: mirrors.coreix.net
- Metadata Cache Created
- I0615 08:19:36.624474 05925 eval.go:312] committing container 081857-20160615_e9087yo000w4rg3y6j0z9waom
- I0615 08:19:56.503272 05925 runner.go:159] executing step 6: SVC_EXEC COMMIT Zenoss.core yum install -y quilt fping mtr
- I0615 08:19:57.388042 05925 eval.go:302] running: serviced service shell -s 081957-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum install -y quilt fping mtr
- I0615 08:19:58.169895 06733 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
- I0615 08:19:58.184738 06733 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
- I0615 08:19:58.664514 06733 server.go:453] Acquiring image from the dfs...
- I0615 08:19:59.553449 06733 server.go:458] Acquired! Starting shell
- Loaded plugins: fastestmirror, ovl
- Loading mirror speeds from cached hostfile
- * base: ftp.heanet.ie
- * epel: mirrors.uni-ruse.bg
- * extras: mirrors.coreix.net
- * updates: mirrors.coreix.net
- Resolving Dependencies
- --> Running transaction check
- ---> Package fping.x86_64 0:3.10-4.el7 will be installed
- ---> Package mtr.x86_64 2:0.85-7.el7 will be installed
- ---> Package quilt.noarch 0:0.63-2.el7 will be installed
- --> Processing Dependency: rpm-build for package: quilt-0.63-2.el7.noarch
- --> Processing Dependency: procmail for package: quilt-0.63-2.el7.noarch
- --> Processing Dependency: diffstat for package: quilt-0.63-2.el7.noarch
- --> Processing Dependency: bzip2 for package: quilt-0.63-2.el7.noarch
- --> Processing Dependency: /usr/sbin/sendmail for package: quilt-0.63-2.el7.noarch
- --> Running transaction check
- ---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed
- ---> Package diffstat.x86_64 0:1.57-4.el7 will be installed
- ---> Package procmail.x86_64 0:3.22-35.el7 will be installed
- ---> Package rpm-build.x86_64 0:4.11.3-17.el7 will be installed
- --> Processing Dependency: elfutils >= 0.128 for package: rpm-build-4.11.3-17.el7.x86_64
- --> Processing Dependency: system-rpm-config for package: rpm-build-4.11.3-17.el7.x86_64
- --> Processing Dependency: perl(Thread::Queue) for package: rpm-build-4.11.3-17.el7.x86_64
- --> Processing Dependency: /usr/bin/gdb-add-index for package: rpm-build-4.11.3-17.el7.x86_64
- ---> Package ssmtp.x86_64 0:2.64-14.el7 will be installed
- --> Running transaction check
- ---> Package elfutils.x86_64 0:0.163-3.el7 will be installed
- ---> Package gdb.x86_64 0:7.6.1-80.el7 will be installed
- ---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
- ---> Package redhat-rpm-config.noarch 0:9.1.0-68.el7.centos will be installed
- --> Processing Dependency: dwz >= 0.4 for package: redhat-rpm-config-9.1.0-68.el7.centos.noarch
- --> Processing Dependency: perl-srpm-macros for package: redhat-rpm-config-9.1.0-68.el7.centos.noarch
- --> Running transaction check
- ---> Package dwz.x86_64 0:0.11-3.el7 will be installed
- ---> Package perl-srpm-macros.noarch 0:1-8.el7 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository
- Size
- ================================================================================
- Installing:
- fping x86_64 3.10-4.el7 epel 46 k
- mtr x86_64 2:0.85-7.el7 base 71 k
- quilt noarch 0.63-2.el7 epel 273 k
- Installing for dependencies:
- bzip2 x86_64 1.0.6-13.el7 base 52 k
- diffstat x86_64 1.57-4.el7 base 35 k
- dwz x86_64 0.11-3.el7 base 99 k
- elfutils x86_64 0.163-3.el7 base 268 k
- gdb x86_64 7.6.1-80.el7 base 2.4 M
- perl-Thread-Queue noarch 3.02-2.el7 base 17 k
- perl-srpm-macros noarch 1-8.el7 base 4.6 k
- procmail x86_64 3.22-35.el7 base 171 k
- redhat-rpm-config noarch 9.1.0-68.el7.centos base 77 k
- rpm-build x86_64 4.11.3-17.el7 base 143 k
- ssmtp x86_64 2.64-14.el7 epel 50 k
- Transaction Summary
- ================================================================================
- Install 3 Packages (+11 Dependent packages)
- Total download size: 3.7 M
- Installed size: 9.5 M
- Downloading packages:
- --------------------------------------------------------------------------------
- Total 536 kB/s | 3.7 MB 00:07
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : bzip2-1.0.6-13.el7.x86_64 1/14
- Installing : perl-srpm-macros-1-8.el7.noarch 2/14
- Installing : diffstat-1.57-4.el7.x86_64 3/14
- Installing : ssmtp-2.64-14.el7.x86_64 4/14
- Installing : dwz-0.11-3.el7.x86_64 5/14
- Installing : redhat-rpm-config-9.1.0-68.el7.centos.noarch 6/14
- Installing : perl-Thread-Queue-3.02-2.el7.noarch 7/14
- Installing : procmail-3.22-35.el7.x86_64 8/14
- Installing : elfutils-0.163-3.el7.x86_64 9/14
- Installing : gdb-7.6.1-80.el7.x86_64 10/14
- Installing : rpm-build-4.11.3-17.el7.x86_64 11/14
- Installing : quilt-0.63-2.el7.noarch 12/14
- Installing : fping-3.10-4.el7.x86_64 13/14
- Installing : 2:mtr-0.85-7.el7.x86_64 14/14
- Verifying : gdb-7.6.1-80.el7.x86_64 1/14
- Verifying : elfutils-0.163-3.el7.x86_64 2/14
- Verifying : rpm-build-4.11.3-17.el7.x86_64 3/14
- Verifying : redhat-rpm-config-9.1.0-68.el7.centos.noarch 4/14
- Verifying : 2:mtr-0.85-7.el7.x86_64 5/14
- Verifying : bzip2-1.0.6-13.el7.x86_64 6/14
- Verifying : procmail-3.22-35.el7.x86_64 7/14
- Verifying : perl-Thread-Queue-3.02-2.el7.noarch 8/14
- Verifying : quilt-0.63-2.el7.noarch 9/14
- Verifying : dwz-0.11-3.el7.x86_64 10/14
- Verifying : ssmtp-2.64-14.el7.x86_64 11/14
- Verifying : diffstat-1.57-4.el7.x86_64 12/14
- Verifying : fping-3.10-4.el7.x86_64 13/14
- Verifying : perl-srpm-macros-1-8.el7.noarch 14/14
- Installed:
- fping.x86_64 0:3.10-4.el7 mtr.x86_64 2:0.85-7.el7 quilt.noarch 0:0.63-2.el7
- Dependency Installed:
- bzip2.x86_64 0:1.0.6-13.el7
- diffstat.x86_64 0:1.57-4.el7
- dwz.x86_64 0:0.11-3.el7
- elfutils.x86_64 0:0.163-3.el7
- gdb.x86_64 0:7.6.1-80.el7
- perl-Thread-Queue.noarch 0:3.02-2.el7
- perl-srpm-macros.noarch 0:1-8.el7
- procmail.x86_64 0:3.22-35.el7
- redhat-rpm-config.noarch 0:9.1.0-68.el7.centos
- rpm-build.x86_64 0:4.11.3-17.el7
- ssmtp.x86_64 0:2.64-14.el7
- Complete!
- I0615 08:20:16.578793 05925 eval.go:312] committing container 081957-20160615_e9087yo000w4rg3y6j0z9waom
- I0615 08:20:57.840124 05925 runner.go:159] executing step 7: SVC_EXEC COMMIT Zenoss.core yum erase -y epel-release
- I0615 08:20:58.666874 05925 eval.go:302] running: serviced service shell -s 082058-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum erase -y epel-release
- I0615 08:20:59.348223 06958 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
- I0615 08:20:59.367611 06958 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
- I0615 08:20:59.442657 06958 server.go:453] Acquiring image from the dfs...
- I0615 08:21:00.265811 06958 server.go:458] Acquired! Starting shell
- Loaded plugins: fastestmirror, ovl
- Resolving Dependencies
- --> Running transaction check
- ---> Package epel-release.noarch 0:7-6 will be erased
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Removing:
- epel-release noarch 7-6 @extras 24 k
- Transaction Summary
- ================================================================================
- Remove 1 Package
- Installed size: 24 k
- Downloading packages:
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Erasing : epel-release-7-6.noarch 1/1
- Verifying : epel-release-7-6.noarch 1/1
- Removed:
- epel-release.noarch 0:7-6
- Complete!
- I0615 08:21:01.985538 05925 eval.go:312] committing container 082058-20160615_e9087yo000w4rg3y6j0z9waom
- I0615 08:21:11.169298 05925 runner.go:159] executing step 8: SVC_EXEC COMMIT Zenoss.core yum clean all
- I0615 08:21:11.961963 05925 eval.go:302] running: serviced service shell -s 082111-20160615_e9087yo000w4rg3y6j0z9waom e9087yo000w4rg3y6j0z9waom yum clean all
- I0615 08:21:12.537221 07105 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
- I0615 08:21:12.545056 07105 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
- I0615 08:21:12.610988 07105 server.go:453] Acquiring image from the dfs...
- I0615 08:21:13.206413 07105 server.go:458] Acquired! Starting shell
- Loaded plugins: fastestmirror, ovl
- Cleaning repos: base extras updates
- Cleaning up everything
- Cleaning up list of fastest mirrors
- I0615 08:21:14.355441 05925 eval.go:312] committing container 082111-20160615_e9087yo000w4rg3y6j0z9waom
- I0615 08:21:21.764020 05925 runner.go:151] Executing exit functions
- e9087yo000w4rg3y6j0z9waom_20160615-121854.962
- e9087yo000w4rg3y6j0z9waom_20160615-121954.979
- e9087yo000w4rg3y6j0z9waom_20160615-122056.529
- e9087yo000w4rg3y6j0z9waom_20160615-122110.023
- e9087yo000w4rg3y6j0z9waom_20160615-122120.862
- Script done, file is /var/log/serviced/script-2016-06-15-081202-root.log
- Done
- 5.2 Installing the Percona Toolkit
- serviced service list | grep -i mariadb | awk '{print }' | sort -r | grep -i 'mariadb' | head -n 1
- serviced service start mariadb
- Scheduled 1 service(s) to start
- serviced service run zope install-percona
- I0615 08:22:18.975550 07329 server.go:345] Connected to the control center at port x.x.x.x-IP:4979
- I0615 08:22:18.998543 07329 server.go:364] Getting image localhost:5000/e9087yo000w4rg3y6j0z9waom/core_5.1:latest
- I0615 08:22:19.061941 07329 server.go:453] Acquiring image from the dfs...
- I0615 08:22:19.515506 07329 server.go:458] Acquired! Starting shell
- 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)}
- Installing percona to /var/zenoss/percona
- Downloading percona toolkit: http://www.percona.com/downloads/percona-toolkit/2.2.12/tarball/percona-toolkit-2.2.12.tar.gz
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 178 100 178 0 0 562 0 --:--:-- --:--:-- --:--:-- 563
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0percona-toolkit-2.2.12/README
- percona-toolkit-2.2.12/MANIFEST
- percona-toolkit-2.2.12/Makefile.PL
- percona-toolkit-2.2.12/INSTALL
- percona-toolkit-2.2.12/COPYING
- percona-toolkit-2.2.12/Changelog
- percona-toolkit-2.2.12/lib/
- percona-toolkit-2.2.12/docs/
- percona-toolkit-2.2.12/docs/percona-toolkit.pod
- percona-toolkit-2.2.12/bin/
- percona-toolkit-2.2.12/bin/pt-visual-explain
- percona-toolkit-2.2.12/bin/pt-variable-advisor
- percona-toolkit-2.2.12/bin/pt-upgrade
- percona-toolkit-2.2.12/bin/pt-table-usage
- 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
- percona-toolkit-2.2.12/bin/pt-table-checksum
- percona-toolkit-2.2.12/bin/pt-summary
- percona-toolkit-2.2.12/bin/pt-stalk
- percona-toolkit-2.2.12/bin/pt-slave-restart
- percona-toolkit-2.2.12/bin/pt-slave-find
- percona-toolkit-2.2.12/bin/pt-slave-delay
- percona-toolkit-2.2.12/bin/pt-sift
- percona-toolkit-2.2.12/bin/pt-show-grants
- percona-toolkit-2.2.12/bin/pt-query-digest
- percona-toolkit-2.2.12/bin/pt-pmp
- percona-toolkit-2.2.12/bin/pt-online-schema-change
- percona-toolkit-2.2.12/bin/pt-mysql-summary
- percona-toolkit-2.2.12/bin/pt-mext
- percona-toolkit-2.2.12/bin/pt-kill
- percona-toolkit-2.2.12/bin/pt-ioprofile
- percona-toolkit-2.2.12/bin/pt-index-usage
- percona-toolkit-2.2.12/bin/pt-heartbeat
- percona-toolkit-2.2.12/bin/pt-fk-error-logger
- percona-toolkit-2.2.12/bin/pt-fingerprint
- percona-toolkit-2.2.12/bin/pt-find
- percona-toolkit-2.2.12/bin/pt-fifo-split
- percona-toolkit-2.2.12/bin/pt-duplicate-key-checker
- percona-toolkit-2.2.12/bin/pt-diskstats
- percona-toolkit-2.2.12/bin/pt-deadlock-logger
- percona-toolkit-2.2.12/bin/pt-config-diff
- 100 1360k 100 1360k 0 0 770k 0 0:00:01 0:00:01 --:--:-- 1126k
- percona-toolkit-2.2.12/bin/pt-archiver
- percona-toolkit-2.2.12/bin/pt-align
- I0615 08:22:28.292796 07329 shell.go:249] Committing container
- Problem with installing the Percona Toolkit
- serviced service stop mariadb
- Scheduled 1 service(s) to stop
- Done
- 5.4 Deleting the RabbitMQ guest user account
- Scheduled 1 service(s) to start
- Deleting user "guest" ...
- ...done.
- Scheduled 1 service(s) to stop
- Done
- 5.5 Port forwarding
- Done - already enabled
- 7 Extra templates
- Adding Zabbix 3.0 template
- Visit: https://github.com/monitoringartist/control-center-zabbix
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 26664 100 26664 0 0 43902 0 --:--:-- --:--:-- --:--:-- 43927
- serviced template add Control-Center-Zabbix-3.0-template.json
- e8756b6a30cba16bb12dea80781c078a
- Done
- Adding Elasticsearch 2.0 template
- Visit: https://github.com/monitoringartist/control-center-elasticsearch
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 5987 100 5987 0 0 12878 0 --:--:-- --:--:-- --:--:-- 12903
- serviced template add Control-Center-Eleasticsearch-2.0-template.json
- a768a070a22b3bdce82540b6c35c5bad
- Done
- Adding Zenoss-Searcher template
- Visit: https://github.com/monitoringartist/control-center-zenoss-searcher
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 2353 100 2353 0 0 5270 0 --:--:-- --:--:-- --:--:-- 5263
- serviced template add Control-Center-Zenoss-Searcher-template.json
- cb82c508ee126ea0b4facee96fefc9c0
- Done
- Adding Jenkins template
- Visit: https://github.com/monitoringartist/control-center-jenkins
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 2505 100 2505 0 0 5296 0 --:--:-- --:--:-- --:--:-- 5295
- serviced template add Control-Center-Jenkins-template.json
- 7fc9a45e60da1e45931b81f4981855ba
- Done
- Adding Grafana-Demo template
- Visit: https://github.com/monitoringartist/control-center-gerrit
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 2914 100 2914 0 0 6358 0 --:--:-- --:--:-- --:--:-- 6362
- serviced template add Control-Center-Gerrit-template.json
- 75dcfa7820e0a5ad565331ad2526538f
- Done
- Adding Grafana-Demo template
- Visit: https://github.com/monitoringartist/control-center-grafana-demo
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 2358 100 2358 0 0 5072 --:--:-- --:--:-- --:--:-- 5081
- serviced template add Control-Center-Grafana-Demo-template.json
- aa4f8297bc4aab6f966331648437e550
- Done
- 5 Final overview - (Wed, 15 Jun 2016 08:23:20 -0400)
- Control Center & Zenoss Core 5 installation completed
- Set password for Control Center ccuser user: passwd ccuser
- Please visit Control Center https:/// in your favorite web browser to complete setup, log in with ccuser user
- Add following line to your hosts file (Install guide - "Configuring name resolution on ..."):
- hbase. opentsdb. rabbitmq. zenoss5.
- or edit /etc/default/serviced and set SERVICED_VHOST_ALIASES to your FQDN
- Please also reboot machine, because SELINUX is still active!
- 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
- Credit: www.monitoringartist.com
- Ultimate graph and dashboard solution for Zenoss 5 / Grafana 2 for Zenoss 5 - http://bit.ly/zenoss5grafana
- ./core-autodeploy.sh: line 329: dpkg: command not found
- ./core-autodeploy.sh: line 330: dpkg: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement