Zenoss Resource Manager Installation Guide

Similar documents
Zenoss Core Installation Guide

Zenoss Core Installation Guide

Zenoss Resource Manager Installation Guide

Zenoss Resource Manager Installation Guide

Zenoss Resource Manager Installation Guide

Cisco UCS Performance Manager Installation Guide

Zenoss Resource Manager Installation Guide

Zenoss Service Impact Installation and Upgrade Guide for Resource Manager 5.x and 6.x

McAfee Network Security Platform

vcloud Director Service Provider Admin Portal Guide vcloud Director 9.1

Migrating vrealize Automation to 7.3 or March 2018 vrealize Automation 7.3

vcloud Director Tenant Portal Guide vcloud Director 9.1

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment

Cisco UCS Performance Manager Migration Guide

VMware Horizon JMP Server Installation and Setup Guide. Modified on 06 SEP 2018 VMware Horizon 7 7.6

vcloud Director Tenant Portal Guide vcloud Director 9.0

vcloud Director Service Provider Admin Portal Guide 04 OCT 2018 vcloud Director 9.5

TECHNICAL NOTE MANAGING JUNIPER SRX PCAP DATA. Displaying the PCAP Data Column

STRM Installation Guide

EasyMP Multi PC Projection Operation Guide

McAfee Network Security Platform

EasyMP Network Projection Operation Guide

Zenoss Resource Manager Configuration Guide

Backup and Restore. 20 NOV 2018 VMware Validated Design 4.3 VMware Validated Design for Software-Defined Data Center 4.3

Epson iprojection Operation Guide (Windows/Mac)

Zenoss Resource Manager Configuration Guide

Epson Projector Content Manager Operation Guide

COMPUTER EDUCATION TECHNIQUES, INC. (MS_W2K3_SERVER ) SA:

Intelligent Operations Use Case Deployment Using vrealize Suite Lifecycle Manager

Upgrading from vrealize Automation 7.1 or Later to June 2018 vrealize Automation 7.4

Sage CRM 2017 R3 Software Requirements and Mobile Features. Updated: August 2017

Sage CRM 2018 R1 Software Requirements and Mobile Features. Updated: May 2018

Zenoss Resource Manager Configuration Guide

Upgrade. 13 FEB 2018 VMware Validated Design 4.2 VMware Validated Design for Software-Defined Data Center 4.2

IaaS Configuration for Virtual Platforms

Zenoss Core Configuration Guide

License Manager Installation and Setup

Upgrading from vrealize Automation to 7.3 or May 2018 vrealize Automation 7.3

Zenoss Resource Manager Upgrade Guide

Upgrading from vrealize Automation 6.2 to 7.1

Sage CRM 2017 R2 Software Requirements and Mobile Features. Revision: IMP-MAT-ENG-2017R2-2.0 Updated: August 2017

pdfapilot Server 2 Manual

Zenoss Community Edition (Core) Configuration Guide

Zenoss Resource Manager Upgrade Guide

Use Case Deployment Using vrealize Suite Lifecycle Manager. Modified on 21 DEC 2017 VMware Validated Design 4.1

Troubleshooting Guide

EasyMP Multi PC Projection Operation Guide

Operational Verification. 21 AUG 2018 VMware Validated Design 4.3 VMware Validated Design for Software-Defined Data Center 4.3

Scenarios. VMware Validated Design for IT Automating IT 4.0 EN

Control Center Installation Guide

McAfee Network Security Platform

Scenarios. VMware Validated Design for IT Automating IT EN

Scenarios. VMware Validated Design 4.0 VMware Validated Design for IT Automating IT 4.0

Upgrading from vrealize Automation 7.1, 7.2 to 7.3 or 7.1, 7.2, 7.3 to March 2018 vrealize Automation 7.3

Zenoss Core Configuration Guide

Upgrade. 17 JUL 2018 VMware Validated Design 4.3 VMware Validated Design for Software-Defined Data Center 4.3

Control Center Installation Guide for High-Availability Deployments

Installation and Upgrade on Windows Server 2008 When the Secondary Server is Virtual VMware vcenter Server Heartbeat 6.5 Update 1

Zenoss Resource Manager Planning Guide

Installation Guide AT-VTP-800

Scenarios for IT Automating IT. 21 AUG 2018 VMware Validated Design 4.3 VMware Validated Design for IT Automating IT 4.3

Control Center Installation Guide for High-Availability Deployments

Certificate Replacement. 25 SEP 2018 VMware Validated Design 4.3 VMware Validated Design for Remote Office Branch Office 4.3

EasyMP Multi PC Projection Operation Guide

Maintenance Guide PN 38L6404, EC M13180

Control Center Installation Guide

Release Notes for. LANtools Software Release RU6

Tixeo compared to other videoconferencing solutions

Registering as an HPE Reseller

McAfee Network Security Platform

NOTES. Figure 1 illustrates typical hardware component connections required when using the JCM ICB Asset Ticket Generator software application.

vrealize Suite 7.0 Backup and Restore by Using EMC Avamar vrealize Suite 7.0

Site Protection and Recovery. VMware Validated Design 4.0 VMware Validated Design for Software-Defined Data Center 4.0

EasyMP Network Projection Operation Guide

Enginner To Engineer Note

Welch Allyn CardioPerfect Workstation Installation Guide

Information regarding

IBM System Storage SAN Volume Controller. Troubleshooting Guide IBM

McAfee Data Loss Prevention Prevent

VMware Cloud Foundation Site Protection and Disaster Recovery Guide. VMware Cloud Foundation 3.0.1

Zenoss Resource Manager Upgrade Guide

Release Notes for. LANCOM Advanced VPN Client 4.10 Rel

Simrad ES80. Software Release Note Introduction

LINX MATRIX SWITCHERS FIRMWARE UPDATE INSTRUCTIONS FIRMWARE VERSION

Installation and Upgrade Instructions

Registering as a HPE Reseller. Quick Reference Guide for new Partners in Asia Pacific

Service Guide PN 38L6645, EC M13180A

OPERATION MANUAL. DIGIFORCE 9307 PROFINET Integration into TIA Portal

Engineer To Engineer Note

How to Design REST API? Written Date : March 23, 2015

pdftoolbox Server 4 Manual

E201 USB Encoder Interface

LCI/USB LonWorks Commissioning Interface

Lab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results

Setup Guide. * Values enclosed in [ ] are for when the stand is attached. ipf650/ipf655. ipf750/ipf755. d. 3-inch paper core attachment L

McAfee Network Security Platform

Software Release Note

c360 Add-On Solutions

McAfee Network Security Platform

CKX-CCSW Confluency checker INSTRUCTIONS. Software for research/education This software is designed to use in research and or education fields.

Transcription:

Zenoss Resource Mnger Instlltion Guide Relese 6.1.1 Zenoss, Inc. www.zenoss.com

Zenoss Resource Mnger Instlltion Guide Copyright 2018 Zenoss, Inc. All rights reserved. Zenoss, Own IT, nd the Zenoss logo re trdemrks or registered trdemrks of Zenoss, Inc., in the United Sttes nd other countries. All other trdemrks, logos, nd service mrks re the property of Zenoss or other third prties. Use of these mrks is prohibited without the express written consent of Zenoss, Inc., or the third-prty owner. Amzon Web Services, AWS, nd EC2 re trdemrks of Amzon.com, Inc. or its ffilites in the United Sttes nd/or other countries. Flsh is registered trdemrk of Adobe Systems Incorported. Orcle, the Orcle logo, Jv, nd MySQL re registered trdemrks of the Orcle Corportion nd/or its ffilites. Linux is registered trdemrk of Linus Torvlds. RbbitMQ is trdemrk of Pivotl Softwre, Inc. SNMP Informnt is trdemrk of Grth K. Willims (Informnt Systems, Inc.). Sybse is registered trdemrk of Sybse, Inc. Tomct is trdemrk of the Apche Softwre Foundtion. VMwre is registered trdemrk or trdemrk of VMwre, Inc. in the United Sttes nd/or other jurisdictions. Windows is registered trdemrk of Microsoft Corportion in the United Sttes nd other countries. All other compnies nd products mentioned re trdemrks nd property of their respective owners. Prt Number: 1652.18.040.22 Zenoss, Inc. 11305 Four Points Drive Bldg 1 - Suite 300 Austin, Texs 78726 2

Contents About this guide...5 Tested operting environments...5 Resource Mnger publictions...6 Chnge history... 7 Prt I: Applince deployments... 10 Chpter 1: Instlling mster host...11 Creting virtul mchine... 11 Configuring the Control Center mster host...16 Editing connection to configure sttic IPv4 ddressing...16 Setting the system hostnme... 18 Adding the mster host to resource pool... 19 Deploying Resource Mnger... 20 Chpter 2: Instlling delegte hosts... 22 Creting virtul mchine... 22 Configuring the virtul mchine...26 Editing connection to configure sttic IPv4 ddressing...27 Setting the system hostnme... 29 Editing the /etc/hosts file...30 Chpter 3: Configuring multi-host deployment... 32 Delegte host uthentiction...32 Chpter 4: Configuring ZooKeeper ensemble...35 ZooKeeper nd Control Center... 35 Understnding the configurtion process... 35 Configuring the mster host s ZooKeeper node...37 Configuring delegte host A s ZooKeeper node... 38 Configuring delegte host B s ZooKeeper node... 39 Strting ZooKeeper ensemble for the first time...40 Updting delegte hosts...41 Prt II: Non-pplince deployments... 43 Chpter 5: Adding Resource Mnger to stndrd deployment... 44 Downloding templte nd imge files...44 Instlling the Resource Mnger templte...45 Importing Resource Mnger imges...45 Deploying Resource Mnger... 45 3

Chpter 6: Adding Resource Mnger to high-vilbility deployment...47 Downloding templte nd imge files...47 Instlling the Resource Mnger templte...48 Importing Resource Mnger imges...48 Deploying Resource Mnger... 48 Appendix A: Enbling NTP on Microsoft Hyper-V guests...50 Configuring NTP for public time servers... 50 Configuring n NTP mster server... 51 Configuring NTP clients...52 4

About this guide About this guide Zenoss Resource Mnger Instlltion Guide provides detiled procedures for instlling Zenoss Resource Mnger (Resource Mnger). This guide supports the following, mutully-exclusive instlltion pths: Prt I: Applince deployments: Instll Control Center nd Resource Mnger virtul pplince s guest systems on VMWre vsphere or Microsoft Hyper-V hypervisors. For more informtion bout using this prt, refer to the Zenoss Resource Mnger Plnning Guide. Prt II: Non-pplince deployments: Add Resource Mnger to n existing Control Center deployment. For more informtion bout creting Control Center deployments, refer to the Control Center Plnning Guide. For the ltest informtion bout this relese of Resource Mnger, refer to the Zenoss Resource Mnger Relese Notes. Tested operting environments The Resource Mnger ppliction is deployed in nd mnged by Control Center. The operting environments of Resource Mnger re the Control Center environments tht re tested with given relese. The following sections identify the tested operting environments of Resource Mnger nd Control Center. Resource Mnger, Control Center, nd operting systems The following tble identifies the tested combintions of Resource Mnger, Control Center, nd operting system releses. Resource Mnger relese Control Center Minimum relese Host OS 6.0.1, 6.1.0, 6.1.1 ** 1.5.0 RHEL/CentOS 7.2, 7.3, or 7.4 (64-bit) 5.3.0, 5.3.1, 5.3.2, 5.3.3 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.4.0, 1.4.1 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 5.2.6 * 1.3.2, 1.3.3, 1.3.4, 1.4.0, 1.4.1 RHEL/CentOS 7.1, 7.2, or 7.3 (64-bit) RHEL/CentOS 7.1, 7.2, or 7.3 (64-bit) 5.1.9, 5.1.10 1.1.9, 1.2.0 RHEL/CentOS 7.1 or 7.2 (64-bit) 5.1.8 1.1.5, 1.1.6, 1.1.7. 1.1.8, 1.1.9 RHEL/CentOS 7.1 or 7.2 (64-bit) 5.1.7 1.1.5, 1.1.6, 1.1.7, 1.1.8 RHEL/CentOS 7.1 or 7.2 (64-bit) 5.1.6 (internl relese only) (none) (none) 5.1.4, 5.1.5 1.1.5, 1.1.6, 1.1.7 RHEL/CentOS 7.1 or 7.2 (64-bit) 5.1.3 1.1.2, 1.1.3, 1.1.5 RHEL/CentOS 7.1 or 7.2 (64-bit) 5.1.2 1.1.2, 1.1.3 RHEL/CentOS 7.1 or 7.2 (64-bit) 5.1.1 1.1.1, 1.1.2 RHEL/CentOS 7.1 or 7.2 (64-bit) ** Version 6.0.0 - controlled vilbility * Version 5.2.5 - withdrwn 5

Zenoss Resource Mnger Instlltion Guide Hypervisors Hypervisor Versions VMwre vsphere 5.0, 5.1, 5.5, 6.0, 6.5 Microsoft Hyper-V Version 2.0 with Windows Server 2008 R2 SP1 Version 3.0 with Windows Server 2012 nd 2012 R2 Public cloud pltforms Amzon Web Services (AWS) is fully tested. Microsoft Azure hs been tested only for collector pools. Creting full Control Center deployment to operte Resource Mnger hs NOT been tested on Microsoft Azure. Supported clients nd browsers The following tble identifies the supported combintions of client operting systems nd web browsers. Client OS Windows 7, 10 mcos 10.12.3, 10.13 Ubuntu 14.04 LTS Supported browsers Internet Explorer 11 * Firefox 56 nd lter Chrome 61 nd lter Firefox 56 nd lter Chrome 61 nd lter Firefox 56 nd lter Chrome 61 nd lter Resource Mnger publictions Title Zenoss Resource Mnger Administrtion Guide Zenoss Resource Mnger Configurtion Guide Zenoss Resource Mnger Instlltion Guide Zenoss Resource Mnger Plnning Guide Description Provides n overview of Resource Mnger rchitecture nd fetures, s well s procedures nd exmples to help use the system. Provides required nd optionl configurtion procedures for Resource Mnger, to prepre your deployment for monitoring in your environment. Provides detiled informtion nd procedures for creting deployments of Control Center nd Resource Mnger. Provides both generl nd specific informtion for prepring to deploy Resource Mnger. * Enterprise mode only; comptibility mode is not tested. 6

About this guide Title Zenoss Resource Mnger Relese Notes Zenoss Resource Mnger Upgrde Guide Description Describes known issues, fixed issues, nd ltebreking informtion not lredy provided in the published documenttion set. Provides detiled informtion nd procedures for upgrding deployments of Resource Mnger. Additionl informtion nd comments If you hve technicl questions bout this product tht re not nswered in this guide, plese visit the Zenoss Support site or contct Zenoss Support. Zenoss welcomes your comments nd suggestions regrding our documenttion. To shre your comments, plese send n emil to docs@zenoss.com. In the emil, include the document title (Zenoss Resource Mnger Instlltion Guide) nd prt number (1652.18.040.22). Chnge history The following list ssocites document prt numbers nd the importnt chnges to this guide since the previous relese. Some of the chnges involve fetures or content, but others do not. For informtion bout new or chnged fetures, refer to the Zenoss Resource Mnger Relese Notes. 1652.18.040.22 (6.1.1) Updte relese numbers. 1652.18.009 (6.1.0) Updte relese numbers. 1652.17.320 (6.0.1) Replce Lepfile.net with delivery.zenoss.com. Updte relese numbers. 1652.17.311.1 (6.0.0) Restructure pplince instlltion procedures. Updte non-pplince procedures for offline instlltion requirements. Updte relese numbers. 1052.17.268 (5.3.2) Updte relese numbers. 1052.17.242 (5.3.1) Updte relese numbers. 1052.17.229 (5.3.0) Beginning with this relese, you cn downlod nd instll the pplince rtifcts or converged set of rtifcts. This document ws reorgnized nd updted with ssocited informtion. Updte relese numbers. 1052.17.191 (5.2.6) Updte relese numbers. About 5.2.5 Version 5.2.5 ws withdrwn. 1052.17.123 (5.2.4) Updte relese numbers. 7

Zenoss Resource Mnger Instlltion Guide 1052.17.100 (5.2.3) Add chpter for high-vilbility instlltions. New procedures for instlling the pplince with Hyper-V. Updte relese numbers. 1052.17.58 (5.2.2) Remove procedure for dding storge for bckups (no longer required for pplinces). 1052.17.044 (5.2.1) Updte relese numbers. 1052.16.335 (5.2.0) Add section detiling the tested operting environments. Remove procedures for instlling Control Center. Tht informtion is now in the Control Center Instlltion Guide. Remove the high-vilbility chpters. High-vilbility instlltions re now performed by Zenoss personnel. Remove the pplince instlltion chpters. The chpters will be replced when the pplinces re vilble. The instructions for downloding nd instlling the softwre rtifcts for offline deployments re now in n ppendix. 1052.16.316 Updte relese numbers. 1052.16.291 Updte relese numbers. 1052.16.277 Updte relese numbers. 1052.16.264 Updte relese numbers. 1052.16.257 Added tested operting environments nd updted relese numbers. 1052.16.207 Updte relese numbers. 1052.16.176 Updte relese numbers. 1052.16.153 Updte relese numbers. 1052.16.146 Updte relese numbers. 1052.16.125 Refine the procedure for creting the ppliction dt thin pool. 1052.16.118 Add Resource Mnger 5.1.2. Add substep to crete the docker override directory. 1052.16.111 Add this document chnge history. Add chpters describing how to instll the Resource Mnger pplince. Chpters re orgnized into prts. 8

About this guide Docker configurtion steps now dd the storge driver flg (-s devicempper) to the /etc/ sysconfig/docker file. Docker needs longer strtup timeout vlue, to work round known Docker issue with the devicempper driver. Docker configurtion steps now include dding TimeoutSec=300. Rther thn editing /lib/systemd/system/docker.service, Docker configurtion steps now include dding systemd override file. Add symlink to /tmp in /vr/lib/docker. Updte the commnds for strting nd testing ZooKeeper ensemble. Add procedure for updting the SERVICED_ZK vlue on delegte hosts tht re not members of ZooKeeper ensemble. Add reference topic for the ZooKeeper vribles required on Control Center hosts. Add procedures for configuring n NTP server nd clients for offline deployments. Add step to instll the Nmp Nct pckge, which is used to check ZooKeeper ensemble sttus. 1052.16.060 Plnning informtion is now in the Zenoss Resource Mnger Plnning Guide. Informtion bout how to strt nd configure Resource Mnger is now in the Zenoss Resource Mnger Configurtion Guide. New procedures re included, for instlling without internet ccess, nd for instlling high-vilbility deployments. 9

Zenoss Resource Mnger Instlltion Guide Prt I: Applince deployments The chpters in this prt describe how to instll the Resource Mnger pplince, pre-configured virtul mchine tht is redy to deploy to your hypervisor. The instructions include vriety of options for customizing your deployment for your environment. Note Resource Mnger 6.1.x is comptible with Zenoss Service Impct version 5.2.3 or lter. The ltest version of Zenoss Service Impct is included in the pplince. 10

Instlling mster host Instlling mster host 1 This chpter describes how to instll Resource Mnger pplince pckge s Control Center mster host. All Resource Mnger deployments require Control Center mster host. Creting virtul mchine You cn crete virtul mchine for the Resource Mnger pplince with VMwre vsphere or Microsoft Hyper-V. Choose one of the procedures in this section. Creting virtul mchine with vsphere To perform this tsk, you need: A VMwre vsphere client Permission to downlod files from delivery.zenoss.com. Customers cn request permission by filing ticket t the Zenoss Support site. This procedure instlls Resource Mnger OVA pckges s virtul mchine mnged by vsphere Server version 6.5.0, using VMwre vsphere Web Client 6.5. The procedure might differ with other versions of VMwre vsphere Client. 1 In web browser, nvigte to the downlod site, nd then log in. The downlod site is delivery.zenoss.com. 2 Downlod the Resource Mnger mster host OVA file. zenoss-zsd-6.1.1-1-mster.vmwre.ov 3 Use the VMwre vsphere Client to log in to vcenter s root, or s user with superuser privileges, nd then disply the Home view. 11

Zenoss Resource Mnger Instlltion Guide 4 Choose VMs nd Templtes. 5 In the top nvigtion br, choose Actions > Deploy OVF Templte. Figure 1: Deploy OVF Templte 6 Use pnels in the Deploy OVF Templte wizrd to select the OVF pckge: b c To choose the pckge from drive on your worksttion or network shre, browse to the loction nd choose the OVA file. Click Next. Select nme nd loction: Specify nme for the OVF, select dtcenter or folder s the deployment loction, nd then click Next. Select resource: Select the host, cluster, or other resource on which to run the deployed templte, nd then click Next. 12

Instlling mster host d e f g Review detils: Verify the templte detils, nd then click Next. Select storge: In Select virtul disk formt, choose Thin Provison, ccept defults for other fields, nd then click Next. Select networks: Accept defults nd click Next. Redy to Complete: Verify the deployment settings, nd then click Finish. The Recent Tsks pne displys deployment progress nd sttus informtion. 7 Nvigte to the new virtul mchine's Getting Strted tb, nd then click Edit virtul mchine settings. 8 For multi-host deployment, edit the Virtul Hrdwre settings of the virtul mchine. Chnge the settings. Reduce the number of CPUs from 8 to 4. Reduce the mount of memory from 32 to 16. b Click OK. 9 On the new virtul mchine's Getting Strted tb, click Power on virtul mchine. 10 In the top nvigtion br, choose Actions > Open console. Proceed with Configuring the Control Center mster host on pge 16. Creting virtul mchine with Hyper-V To perform this tsk, you need: Microsoft Remote Desktop Connection Administrtor privileges on Microsoft Hyper-V server Permission to downlod files from delivery.zenoss.com. Use this procedure to instll the Resource Mnger mster host pplince s virtul mchine mnged by Microsoft Hyper-V. 1 Use Microsoft Remote Desktop Connection to log in to Hyper-V host s Administrtor, or s user with Administrtor privileges. 2 In web browser, nvigte to the downlod site, nd then log in. The downlod site is delivery.zenoss.com. 3 Downlod the Resource Mnger mster host ISO file. zenoss-zsd-6.1.1-1-mster.x86_64.iso 4 Open Hyper-V Mnger. 5 In the left nvigtion pne, choose server to host the virtul mchine. 6 From the Action menu, choose New > Virtul Mchine. The New Virtul Mchine Wizrd opens. 7 In the New Virtul Mchine Wizrd dilog, disply the Specify Nme nd Loction pnel. If the first pnel displyed is the Before You Begin pnel, click Next. 8 In the Specify Nme nd Loction pnel, provide nme for the virtul mchine, nd then click Next. 9 In the Specify Genertion pnel, choose Genertion 1, nd then click Next. 10 In the Assign Memory pnel, specify the memory for the virtul mchine. In the Strtup memory field, enter the mount of memory for the host. b c For multi-host deployments, enter 16384 (16GB). For single-host deployments, enter 32768 (32GB). Optionl: Check Use Dynmic Memory for this virtul mchine. Resource Mnger is tested with dynmic memory enbled. Click Next. 13

Zenoss Resource Mnger Instlltion Guide 11 In the Configure Networking pnel, choose virtul switch, nd then click Next. 12 In the Connect Virtul Hrd Disk pnel, specify new disk on which to instll the guest operting system. Choose Crete virtul hrd disk. b Specify nme. c In the Size field, enter 30. d Click Next. 13 In the Instlltion Options pnel, specify the mster host ISO file. Choose Instll n operting system from bootble CD/DVD-ROM. b Choose Imge file (.iso). c Specify or browse to the loction of the mster host ISO file. d Click Next. 14 In the Completing the New Virtul Mchine Wizrd pnel, verify the description, nd then click Finish. Hyper-V Mnger cretes the new virtul mchine, nd then closes the wizrd. Configuring nd strting Hyper-V mster host To perform this tsk, you need: A Microsoft Remote Desktop Connection Administrtor privileges on Microsoft Hyper-V server The mster host creted in the previous procedure (Creting virtul mchine with Hyper-V on pge 13) The Resource Mnger mster host virtul mchine requires totl of 7 virtul hrd disks. The following tble identifies the purpose nd size of ech disk. Tble 1: Mster host disks Purpose Size 1 Root (/) 30GB 2 Swp 16GB 3 Temporry (/tmp) 16GB 4 Docker dt 50GB 5 Control Center internl services dt 50GB 6 Appliction dt 200GB 7 Appliction dt bckups 150GB Disk 1 ws creted when the virtul mchine ws creted, in the previous procedure. Use this procedure to configure hrdwre resources, crete disks 2-6, nd strt the mster host. 1 Use Microsoft Remote Desktop Connection to log in to Hyper-V host s Administrtor, or s user with Administrtor privileges. 2 Open Hyper-V Mnger. 3 In the Hyper-V Mnger Virtul Mchines re, right-click the new virtul mchine, nd then choose Settings. The Settings dilog displys. 4 In the Hrdwre re, locte the virtul hrd disk creted previously, nd then determine whether it is ttched to n IDE controller. Hyper-V guest mchines cn only boot from n IDE drive. 14

Instlling mster host 5 In the Hrdwre re, choose Processor, nd then chnge the number of processors ssigned to the mchine. In Number of virtul processors, enter the vlue for your deployment. For single-host deployments, enter 8. For multi-host deployments, enter 4. b Click Apply. 6 In the Hrdwre re on the left, choose SCSI Controller, nd then crete dditionl virtul hrd disks. Repet the following substeps to crete new disks in the following sizes: 50GB 150GB 50GB 200GB 16GB 16GB b c d e In the controller re on the right, choose Hrd Drive, nd then click Add. In the Loction field, choose n unused loction number. In the Medi re, choose Virtul hrd disk, nd then click New. Complete pnels in the New Virtul Hrd Disk Wizrd s follows: 1 Choose Disk Formt: Choose VHDX, nd then click Next. 2 Choose Disk Type: Choose Dynmiclly expnding, nd then click Next. 3 Specify Nme nd Loction: Enter the disk nme, nd then click Next. 4 Configure Disk: Choose Crete new blnk virtul hrd disk. b Size: Enter disk size from the list t the beginning of this step. c Click Next. 5 Summry/New Virtul Hrd Disk Wizrd: Verify the description, nd then click Finish. At the bottom of the Settings window, click Apply. When ll of the disks re creted, click OK. 7 In the Hyper-V Mnger Virtul Mchines re, right-click the new virtul mchine, nd then choose Strt. Figure 2: Strting virtul mchine 8 In the Hyper-V Mnger Virtul Mchines re, right-click the new virtul mchine, nd then choose Connect. 9 In the Virtul Mchine Connection window, press Enter. The pplince instlltion process tkes bout 15 minutes, nd should complete with no dditionl input. If received, disregrd the Fst TSC clibrtion filure messge. 15

Zenoss Resource Mnger Instlltion Guide Configuring the Control Center mster host Perform this procedure immeditely fter creting nd strting Control Center host. All Control Center deployments must include one system tht is configured s the mster host. 1 Gin ccess to the console interfce of the Control Center host through your hypervisor console interfce. Figure 3: Initil hypervisor console login prompt 2 Log in s the root user. The initil pssword is provided in the console. 3 The system prompts you to enter new pssword for root. Note Psswords must include minimum of eight chrcters, with t lest one chrcter from three of the following chrcter clsses: uppercse letter, lowercse letter, digit, nd specil. 4 The system prompts you to enter new pssword for ccuser. The ccuser ccount is the defult ccount for gining ccess to the Control Center browser interfce. Editing connection to configure sttic IPv4 ddressing The defult configurtion for network connections is DHCP. To configure sttic IPv4 ddressing, perform this procedure. To nvigte in the text user interfce (TUI): To move forwrd or bckwrd through options, press the rrow keys. To disply menu or choose n option, press Enter. 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Log in s the root user. 16

Instlling mster host 3 Select the NetworkMnger TUI menu s follows: In the Applince Administrtion menu, select Configure Network nd DNS, nd then press Enter. 4 On the NetworkMnger TUI menu, select Edit connection, nd then press Enter. The TUI displys the connections tht re vilble on the host. Figure 4: Exmple: Avilble connections 17

Zenoss Resource Mnger Instlltion Guide Note Do not use this procedure to modify the docker0 connection. 5 Select the virtul connection, nd then press Enter. Figure 5: Exmple: Edit Connection screen 6 Optionl: If the IPv4 CONFIGURATION re is not visible, select its disply option (<Show>), nd then press Enter. 7 In the IPv4 CONFIGURATION re, select <Automtic>, nd then press Enter. Figure 6: Exmple: IPv4 Configurtion options 8 Configure sttic IPv4 networking s follows: Select Mnul, nd then press Enter. b Beside Addresses, select <Add>, nd then press Enter. c In the Addresses field, enter n IPv4 ddress for the virtul mchine, nd then press Enter. d Repet the preceding two steps for the Gtewy nd DNS servers fields. 9 Tb to the bottom of the Edit Connection screen to select OK, nd then press Enter. 10 Return to the Applince Administrtion menu: On the NetworkMnger TUI screen, select Quit, nd then press Enter. 11 Reboot the operting system s follows: b c In the Applince Administrtion menu, select Reboot / Poweroff System. Select Reboot. Select OK, nd then press Enter. Setting the system hostnme The defult hostnme is zsd-mster for the Resource Mnger mster host nd is zsd-delegte for Resource Mnger delegte hosts. To chnge the defult hostnme, perform this procedure. 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Select the NetworkMnger TUI menu s follows: In the Applince Administrtion menu, select Configure Network nd DNS, nd then press Enter. 18

Instlling mster host 3 Disply the hostnme entry field. In the NetworkMnger TUI menu, select Set system hostnme. b Select OK, nd then press Enter. 4 In the Hostnme field, enter the hostnme or fully qulified domin nme. 5 Press Tb twice to select OK, nd then press Enter. 6 In the confirmtion dilog box, press Enter. 7 Return to the Applince Administrtion menu: On the NetworkMnger TUI screen, select Quit, nd then press Enter. 8 Reboot the operting system s follows: b c In the Applince Administrtion menu, select Reboot / Poweroff System. Select Reboot. Select OK, nd then press Enter. Adding the mster host to resource pool Complete this procedure to dd the Control Center mster host to the defult resource pool or to new resource pool nmed mster. 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Strt commnd-line session s root. b In the Applince Administrtion menu, select Root Shell. Select Run, nd then press Enter. The menu is replced by commnd prompt similr to the following exmple: [root@hostnme ~]# 3 Optionl: Crete new resource pool, if necessry. For single-host deployments, skip this step. For multi-host deployments, perform the following substeps. 19

Zenoss Resource Mnger Instlltion Guide b Crete new pool nmed mster. serviced pool dd mster Assign dministrtive nd distributed file system (DFS) permissions to the new resource pool. serviced pool set-permission --dmin --dfs mster 4 Add the mster host to resource pool. For single-host deployments, dd the mster host to the defult resource pool. Replce Hostnme-Or-IP with the hostnme or IP ddress of the Control Center mster host: serviced host dd Hostnme-Or-IP:4979 defult If you enter hostnme, ll hosts in your Control Center deployment must be ble to resolve the nme, either through n entry in /etc/hosts, or through nmeserver on your network. For multi-host deployments, dd the mster host to the mster resource pool nd register its uthentiction token. Replce Hostnme-Or-IP with the hostnme or IP ddress of the Control Center mster host: serviced host dd --register Hostnme-Or-IP:4979 mster If you enter hostnme, ll hosts in your Control Center deployment must be ble to resolve the nme, either through n entry in /etc/hosts, or through nmeserver on your network. 5 To exit the commnd-line session, t the commnd prompt, enter exit. Deploying Resource Mnger Use this procedure to dd the Resource Mnger ppliction to Control Center nd tg ppliction imges in the locl registry. 1 Log in to the Control Center mster host s user with serviced CLI privileges. 2 Add the Resource Mnger ppliction templte to Control Center. serviced templte dd /opt/serviced/templtes/zenoss*.json On success, the serviced commnd returns the templte ID. 3 Identify the resource pool to which the host belongs. serviced host list 4 Deploy the ppliction. Replce Templte-ID with the identifier Resource Mnger templte Replce Pool with the nme of the resource pool to which the mster host belongs (single-host system) or to which the delegte hosts belong (multi-host system) Replce Deployment-ID with nme for this deployment (for exmple, Test or Production) serviced templte deploy Templte-ID Pool Deployment-ID Control Center tgs Resource Mnger imges in the locl registry. 20

Instlling mster host If you re creting single-host deployment, proceed to the Zenoss Resource Mnger Configurtion Guide. If you re creting multi-host deployment, proceed to the next chpter. 21

Zenoss Resource Mnger Instlltion Guide Instlling delegte hosts 2 This chpter describes how to instll Resource Mnger pplince pckge s Control Center delegte host. You cn dd s mny delegte hosts s you need to Control Center deployment. Perform the procedures in Instlling mster host on pge 11 before performing the procedures in this chpter. Creting virtul mchine You cn crete virtul mchine for the Resource Mnger delegte pplince with VMwre vsphere or Microsoft Hyper-V. Choose one of the procedures in this section. Creting virtul mchine with vsphere To perform this tsk, you need: A VMwre vsphere client Permission to downlod files from delivery.zenoss.com. Customers cn request permission by filing ticket t the Zenoss Support site. This procedure instlls Resource Mnger OVA pckges s virtul mchine mnged by vsphere Server version 6.5.0, using VMwre vsphere Web Client 6.5. The procedure might differ with other versions of VMwre vsphere Client. 1 In web browser, nvigte to the downlod site, nd then log in. The downlod site is delivery.zenoss.com. 2 Downlod the Resource Mnger delegte host OVA file. zenoss-zsd-6.1.1-1-delegte.vmwre.ov 3 Use the VMwre vsphere Client to log in to vcenter s root, or s user with superuser privileges, nd then disply the Home view. 22

Instlling delegte hosts 4 In the top nvigtion br, choose Actions > Deploy OVF Templte. Figure 7: Deploy OVF Templte 5 Use pnels in the Deploy OVF Templte wizrd to select the OVF pckge: To choose the pckge from drive on your worksttion or network shre, browse to the loction nd choose the OVA file. Click Next. b Select nme nd loction: Specify nme for the OVF, select dtcenter or folder s the deployment loction, nd then click Next. c Select resource: Select the host, cluster, or other resource on which to run the deployed templte, nd then click Next. d Review detils: Verify the templte detils, nd then click Next. 23

Zenoss Resource Mnger Instlltion Guide e f g Select storge: In Select virtul disk formt, choose Thin Provison, ccept defults for other fields, nd then click Next. Select networks: Accept defults nd click Next. Redy to Complete: Verify the deployment settings, nd then click Finish. The Recent Tsks pne displys deployment progress nd sttus informtion. 6 Nvigte to the new virtul mchine's Getting Strted tb, nd then click Edit virtul mchine settings. 7 On the new virtul mchine's Getting Strted tb, click Power on virtul mchine. Creting virtul mchine with Hyper-V To perform this tsk, you need: Microsoft Remote Desktop Connection Administrtor privileges on Microsoft Hyper-V server Permission to downlod files from delivery.zenoss.com. Use this procedure to instll the Resource Mnger delegte host pplince s virtul mchine mnged by Microsoft Hyper-V. 1 Use Microsoft Remote Desktop Connection to log in to Hyper-V host s Administrtor, or s user with Administrtor privileges. 2 In web browser, nvigte to the downlod site, nd then log in. The downlod site is delivery.zenoss.com. 3 Downlod the Resource Mnger delegte host ISO file. zenoss-zsd-6.1.1-1-delegte.x86_64.iso 4 Open Hyper-V Mnger. 5 In the left nvigtion pne, choose server to host the virtul mchine. 6 From the Action menu, choose New > Virtul Mchine. The New Virtul Mchine Wizrd opens. 7 In the New Virtul Mchine Wizrd dilog, disply the Specify Nme nd Loction pnel. If the first pnel displyed is the Before You Begin pnel, click Next. 8 In the Specify Nme nd Loction pnel, provide nme for the virtul mchine, nd then click Next. 9 In the Specify Genertion pnel, choose Genertion 1, nd then click Next. 10 In the Assign Memory pnel, specify the memory for the virtul mchine. b In the Strtup memory field, enter 32768 (32GB). Optionl: Check Use Dynmic Memory for this virtul mchine. Resource Mnger is tested with dynmic memory enbled. c Click Next. 11 In the Configure Networking pnel, choose virtul switch, nd then click Next. 12 In the Connect Virtul Hrd Disk pnel, specify new disk on which to instll the guest operting system. Choose Crete virtul hrd disk. b Specify nme. c In the Size field, enter 30. d Click Next. 13 In the Instlltion Options pnel, specify the delegte host ISO file. Choose Instll n operting system from bootble CD/DVD-ROM. b Choose Imge file (.iso). c Specify or browse to the loction of the delegte host ISO file. d Click Next. 14 In the Completing the New Virtul Mchine Wizrd pnel, verify the description, nd then click Finish. 24

Instlling delegte hosts Hyper-V Mnger cretes the new virtul mchine, nd then closes the wizrd. Configuring nd strting Hyper-V delegte host To perform this tsk, you need: A Microsoft Remote Desktop Connection Administrtor privileges on Microsoft Hyper-V server The delegte host creted in the previous procedure (Creting virtul mchine with Hyper-V on pge 24) Resource Mnger delegte host virtul mchines requires totl of 4 virtul hrd disks. The following tble identifies the purpose nd size of ech disk. Tble 2: Delegte host disks Purpose Size 1 Root (/) 30GB 2 Swp 16GB 3 Temporry (/tmp) 16GB 4 Docker dt 50GB Disk 1 ws creted when the virtul mchine ws creted, in the previous procedure. Use this procedure to configure hrdwre resources, crete disks 2-4, nd strt the mster host. 1 Use Microsoft Remote Desktop Connection to log in to Hyper-V host s Administrtor, or s user with Administrtor privileges. 2 Open Hyper-V Mnger. 3 In the Hyper-V Mnger Virtul Mchines re, right-click the new virtul mchine, nd then choose Settings. The Settings dilog displys. 4 In the Hrdwre re, locte the virtul hrd disk creted previously, nd then determine whether it is ttched to n IDE controller. Hyper-V guest mchines cn only boot from n IDE drive. 5 In the Hrdwre re, choose Processor, nd then chnge the number of processors ssigned to the mchine. In Number of virtul processors, enter 8. b Click Apply. 6 In the Hrdwre re on the left, choose SCSI Controller, nd then crete dditionl virtul hrd disks. Repet the following substeps to crete new disks in the following sizes: 50GB 16GB 16GB b c d In the controller re on the right, choose Hrd Drive, nd then click Add. In the Loction field, choose n unused loction number. In the Medi re, choose Virtul hrd disk, nd then click New. Complete pnels in the New Virtul Hrd Disk Wizrd s follows: 1 Choose Disk Formt: Choose VHDX, nd then click Next. 2 Choose Disk Type: Choose Dynmiclly expnding, nd then click Next. 25

Zenoss Resource Mnger Instlltion Guide e 3 Specify Nme nd Loction: Enter the disk nme, nd then click Next. 4 Configure Disk: Choose Crete new blnk virtul hrd disk. b Size: Enter disk size from the list t the beginning of this step. c Click Next. 5 Summry/New Virtul Hrd Disk Wizrd: Verify the description, nd then click Finish. At the bottom of the Settings window, click Apply. When ll of the disks re creted, click OK. 7 In the Hyper-V Mnger Virtul Mchines re, right-click the new virtul mchine, nd then choose Strt. Figure 8: Strting virtul mchine 8 In the Hyper-V Mnger Virtul Mchines re, right-click the new virtul mchine, nd then choose Connect. 9 In the Virtul Mchine Connection window, press Enter. The pplince instlltion process tkes bout 15 minutes, nd should complete with no dditionl input. If received, disregrd the Fst TSC clibrtion filure messge. Configuring the virtul mchine This procedure configures the new virtul mchine s delegte host. 1 Gin ccess to the console interfce of the Control Center host through your hypervisor console interfce. Figure 9: Initil hypervisor console login prompt 2 Log in s the root user. 26

Instlling delegte hosts The initil pssword is provided in the console. 3 The system prompts you to enter new pssword for root. Note Psswords must include minimum of eight chrcters, with t lest one chrcter from three of the following chrcter clsses: uppercse letter, lowercse letter, digit, nd specil. 4 The system prompts you to enter new pssword for ccuser. The ccuser ccount is the defult ccount for gining ccess to the Control Center browser interfce. 5 In the IP field, enter the hostnme, fully qulified domin nme, or IPv4 ddress of the mster host. Note If you enter the hostnme or fully qulified domin nme of the mster host, you need n entry in the /etc/hosts file of the delegte host or nmeserver on your network tht resolves the nme to its IPv4 ddress. Press Tb to select Ok, nd then press Enter. The system reboots. Editing connection to configure sttic IPv4 ddressing The defult configurtion for network connections is DHCP. To configure sttic IPv4 ddressing, perform this procedure. To nvigte in the text user interfce (TUI): To move forwrd or bckwrd through options, press the rrow keys. To disply menu or choose n option, press Enter. 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Log in s the root user. 27

Zenoss Resource Mnger Instlltion Guide 3 Select the NetworkMnger TUI menu s follows: In the Applince Administrtion menu, select Configure Network nd DNS, nd then press Enter. 4 On the NetworkMnger TUI menu, select Edit connection, nd then press Enter. The TUI displys the connections tht re vilble on the host. Figure 10: Exmple: Avilble connections 28

Instlling delegte hosts Note Do not use this procedure to modify the docker0 connection. 5 Select the virtul connection, nd then press Enter. Figure 11: Exmple: Edit Connection screen 6 Optionl: If the IPv4 CONFIGURATION re is not visible, select its disply option (<Show>), nd then press Enter. 7 In the IPv4 CONFIGURATION re, select <Automtic>, nd then press Enter. Figure 12: Exmple: IPv4 Configurtion options 8 Configure sttic IPv4 networking s follows: Select Mnul, nd then press Enter. b Beside Addresses, select <Add>, nd then press Enter. c In the Addresses field, enter n IPv4 ddress for the virtul mchine, nd then press Enter. d Repet the preceding two steps for the Gtewy nd DNS servers fields. 9 Tb to the bottom of the Edit Connection screen to select OK, nd then press Enter. 10 Return to the Applince Administrtion menu: On the NetworkMnger TUI screen, select Quit, nd then press Enter. 11 Reboot the operting system s follows: b c In the Applince Administrtion menu, select Reboot / Poweroff System. Select Reboot. Select OK, nd then press Enter. Setting the system hostnme The defult hostnme is zsd-mster for the Resource Mnger mster host nd is zsd-delegte for Resource Mnger delegte hosts. To chnge the defult hostnme, perform this procedure. 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Select the NetworkMnger TUI menu s follows: In the Applince Administrtion menu, select Configure Network nd DNS, nd then press Enter. 29

Zenoss Resource Mnger Instlltion Guide 3 Disply the hostnme entry field. In the NetworkMnger TUI menu, select Set system hostnme. b Select OK, nd then press Enter. 4 In the Hostnme field, enter the hostnme or fully qulified domin nme. 5 Press Tb twice to select OK, nd then press Enter. 6 In the confirmtion dilog box, press Enter. 7 Return to the Applince Administrtion menu: On the NetworkMnger TUI screen, select Quit, nd then press Enter. 8 Reboot the operting system s follows: b c In the Applince Administrtion menu, select Reboot / Poweroff System. Select Reboot. Select OK, nd then press Enter. Editing the /etc/hosts file This procedure is conditionl. Perform this procedure only if you use hostnmes or fully qulified domin nmes insted of IPv4 ddresses, nd only fter ll delegte hosts re instlled nd renmed. Perform this procedure on the Control Center mster host nd on ech delegte host. 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Strt commnd-line session s root. b In the Applince Administrtion menu, select Root Shell. Select Run, nd then press Enter. The menu is replced by commnd prompt similr to the following exmple: [root@hostnme ~]# 3 Open the /etc/hosts file in text editor. The following steps use the nno editor. 30

Instlling delegte hosts Strt the editor. nno /etc/hosts Figure 13: Exmple nno session b Optionl: On delegte hosts, the file might include two entries with the sme IP ddress. Remove the first of the two entries, which mps the IP ddress to the zsd-mster hostnme. c Add entries for the Control Center mster host nd for ech delegte host. d To sve, press Control-o. e To exit, press Control-x. 4 Return to the Applince Administrtion menu. exit 5 Exit the Applince Administrtion menu. Use the down-rrow key to select Exit. b Press Tb, nd then press Enter. 31

Zenoss Resource Mnger Instlltion Guide Configuring multi-host deployment 3 This chpter describes how to configure n pplince-bsed multi-host deployment, which includes one Control Center mster host nd one or more delegte hosts. Zenoss recommends deploying t lest two delegte hosts, to enble creting ZooKeeper ensemble. Note If you re creting multi-host deployment on Hyper-V system, you must perform the procedures in Enbling NTP on Microsoft Hyper-V guests on pge 50, in ddition to the procedures in this chpter. Delegte host uthentiction Control Center uses RSA key pirs to crete the uthentiction tokens tht re required for ll delegte communictions. When you dd host to resource pool, the serviced instnce on the mster host cretes privte key for the delegte nd bundles it with its own public key. The serviced instnce on the delegte host uses the bundle to sign messges with its unique tokens. Key bundles re instlled by using n SSH connection or file. The commnd to dd host to pool cn initite n SSH connection with the delegte nd instll the key bundle. This option is the most secure, becuse no file is creted. However, it requires either public key uthentiction or pssword uthentiction between the mster nd delegte hosts. When no SSH connection is requested, the commnd to dd host to pool cretes file contining the key bundle. You cn move the key bundle file to the delegte host with ny file trnsfer method, nd then instll it on the delegte. The following procedures demonstrte how to dd host to resource pool nd instll its key bundle. Adding delegte host through n SSH connection To succeed, the following sttements bout the login ccount used to perform this procedure must be true: The ccount exists on both the mster host nd on the delegte host. The ccount hs serviced CLI privileges. The ccount hs either public key uthentiction or pssword uthentiction enbled on the mster host nd on the delegte host. Use this procedure to dd delegte host to resource pool through n SSH connection. Repet this procedure on ech delegte in your Resource Mnger deployment. 32

Configuring multi-host deployment 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Strt commnd-line session s root. b In the Applince Administrtion menu, select Root Shell. Select Run, nd then press Enter. The menu is replced by commnd prompt similr to the following exmple: [root@hostnme ~]# 3 Add delegte host to resource pool. If the mster nd delegte host re configured for key-bsed ccess, the following commnd does not prompt you to dd the delegte to the list of known hosts or to provide the pssword of the remote user ccount. Use the hostnme or IP ddress to identify Control Center host. If you use hostnme, ll Control Center hosts must be ble to resolve it, either through n entry in /etc/hosts or through nmeserver on the network. In the following exmple, replce Hostnme-Or-IP with the hostnme or IP ddress of delegte host, nd replce Resource-Pool with the nme of resource pool. If the host is behind router or firewll for network ddress trnsltion (NAT), include the option --ntddress to specify the NAT device's hostnme or IP ddress nd port of the delegte host. serviced host dd --register Hostnme-Or-IP:4979 Resource-Pool \ --nt-ddress==nat-hostnme-or-ip:nat-port Adding delegte host using file Use this procedure to dd delegte host to resource pool by using key bundle file. Repet this procedure on ech delegte in your Resource Mnger deployment. 1 Gin ccess to the Control Center host, through the console interfce of your hypervisor, or through remote shell utility such s PuTTY. 2 Strt commnd-line session s root. b In the Applince Administrtion menu, select Root Shell. Select Run, nd then press Enter. The menu is replced by commnd prompt similr to the following exmple: [root@hostnme ~]# 3 Add delegte host to resource pool. Use the hostnme or IP ddress to identify Control Center host. If you use hostnme, ll Control Center hosts must be ble to resolve it, either through n entry in /etc/hosts or through nmeserver on the network. In the following exmple, replce Hostnme-Or-IP with the hostnme or IP ddress of delegte host, nd replce Resource-Pool with the nme of resource pool. If the host is behind router or firewll for network ddress trnsltion (NAT), include the option --ntddress to specify the NAT device's hostnme or IP ddress nd port of the delegte host. serviced host dd Hostnme-Or-IP:4979 Resource-Pool \ --nt-ddress==nat-hostnme-or-ip:nat-port The commnd cretes unique key bundle file in the locl directory. 4 Use file trnsfer utility such s scp to copy the key bundle file to the delegte host. After you copy it to the delegte host, you cn delete the key bundle file from the mster host. 33

Zenoss Resource Mnger Instlltion Guide 5 Log in to the Control Center delegte host s user with serviced CLI privileges. 6 Instll the key bundle. Replce Key-Bundle-Pth with the pthnme of the key bundle file: serviced host register Key-Bundle-Pth 7 Delete the key bundle file. The file is no longer needed on the delegte host. Replce Key-Bundle-Pth with the pthnme of the key bundle file: rm Key-Bundle-Pth 34

Configuring ZooKeeper ensemble Configuring ZooKeeper ensemble 4 This chpter describes how to crete ZooKeeper ensemble (cluster) for multi-host Control Center deployment tht includes minimum of three hosts. If your deployment includes just one host or two hosts, skip this chpter. ZooKeeper nd Control Center Control Center relies on Apche ZooKeeper to distribute nd mnge ppliction services. ZooKeeper mintins the definitions of ech service nd the list of services ssigned to ech host. The scheduler, which runs on the mster host, determines ssignments nd sends them to the ZooKeeper node tht is serving s the ensemble leder. The leder replictes the ssignments to the other ensemble nodes, so tht the other nodes cn ssume the role of leder if the leder node fils. All Control Center hosts retrieve ssignments nd service definitions from the ZooKeeper ensemble leder nd then strt services in Docker continers s required. So, the Control Center configurtion files of ll Control Center hosts must include definition for the SERVICED_ZK vrible, which specifies the ZooKeeper endpoints of the ensemble nodes. Additionl vribles re required on ensemble nodes. A ZooKeeper ensemble requires minimum of three nodes, which is sufficient for most environments. An odd number of nodes is recommended nd n even number of nodes is strongly discourged. A five-node ensemble improves filover protection during mintennce windows but lrger ensembles yield no benefits. The Control Center mster host is lwys n ensemble node. All ensemble nodes should be on the sme subnet. Understnding the configurtion process The procedures in this chpter instruct you to crete temporry vribles tht re used s building blocks, to construct Control Center configurtion vribles ccurtely. You ppend the Control Center vribles to /etc/ defult/serviced, nd then edit the file to move the vribles to more pproprite loctions. The most importnt temporry vribles specify the IP ddress or hostnme of ech host in the ZooKeeper ensemble. The following tble identifies these importnt vribles, the nmes nd vlues of which must be identicl on every Control Center host. Vrible nme Plceholder vlue Actul vlue node1 Mster The IP ddress or hostnme of the mster host. node2 Delegte-A The IP ddress or hostnme of delegte host A. 35

Zenoss Resource Mnger Instlltion Guide Vrible nme Plceholder vlue Actul vlue node3 Delegte-B The IP ddress or hostnme of delegte host B. Note All ensemble hosts should be on the sme subnet. ZooKeeper vribles The vribles in the following tble re set only on ZooKeeper ensemble nodes, except SERVICED_ZK, which must be identicl on ll Control Center hosts. Vrible SERVICED_ISVCS_START SERVICED_ISVCS_ZOOKEEPER_ID SERVICED_ISVCS_ZOOKEEPER_QUORUM SERVICED_ZK SERVICED_ZK_SESSION_TIMEOUT Where to set ZooKeeper ensemble nodes ZooKeeper ensemble nodes ZooKeeper ensemble nodes All Control Center hosts ZooKeeper ensemble nodes Exmple multi-host ZooKeeper configurtion This exmple shows the ZooKeeper vribles in the /etc/defult/serviced configurtion file of ech host in 4-node Control Center deployment. For convenience, the relevnt settings for ech node or host re lso included in subsequent procedures. Note The vlue of the SERVICED_ISVCS_ZOOKEEPER_QUORUM vrible is formtted to fit the vilble spce. In the configurtion file, the vrible nd vlue re on the sme line. Mster host nd ZooKeeper ensemble node, 198.51.100.135: SERVICED_ISVCS_ZOOKEEPER_ID=1 SERVICED_ZK=198.51.100.135:2181,198.51.100.136:2181,198.51.100.137:2181 SERVICED_ISVCS_ZOOKEEPER_QUORUM=1@0.0.0.0:2888:3888,\ 2@198.51.100.136:2888:3888,3@198.51.100.137:2888:3888 SERVICED_ZK_SESSION_TIMEOUT=15 Delegte host nd ZooKeeper ensemble node, 198.51.100.136: SERVICED_ISVCS_START=zookeeper SERVICED_ISVCS_ZOOKEEPER_ID=2 SERVICED_ZK=198.51.100.135:2181,198.51.100.136:2181,198.51.100.137:2181 SERVICED_ISVCS_ZOOKEEPER_QUORUM=1@198.51.100.135:2888:3888,\ 2@0.0.0.0:2888:3888,3@198.51.100.137:2888:3888 SERVICED_ZK_SESSION_TIMEOUT=15 Delegte host nd ZooKeeper ensemble node, 198.51.100.137: SERVICED_ISVCS_START=zookeeper SERVICED_ISVCS_ZOOKEEPER_ID=3 SERVICED_ZK=198.51.100.135:2181,198.51.100.136:2181,198.51.100.137:2181 SERVICED_ISVCS_ZOOKEEPER_QUORUM=1@198.51.100.135:2888:3888,\ 36

Configuring ZooKeeper ensemble 2@198.51.100.136:2888:3888,3@0.0.0.0:2888:3888 SERVICED_ZK_SESSION_TIMEOUT=15 Delegte host, 198.51.100.138: SERVICED_ZK=198.51.100.135:2181,198.51.100.136:2181,198.51.100.137:2181 Configuring the mster host s ZooKeeper node This procedure configures the Control Center mster host s node in ZooKeeper ensemble. 1 Log in to the mster host s root, or s user with superuser privileges. 2 Define the IP ddress vribles for ech node in the ZooKeeper ensemble. Replce Mster with the IP ddress or hostnme of the Control Center mster host, nd replce Delegte-A nd Delegte-B with the IP ddresses or hostnmes of the delegte hosts to include in the ensemble: node1=mster node2=delegte-a node3=delegte-b 3 Set the ZooKeeper node ID to 1. echo "SERVICED_ISVCS_ZOOKEEPER_ID=1" >> /etc/defult/serviced 4 Specify the nodes in the ZooKeeper ensemble. You cn copy the following text nd pste it in your console: echo "SERVICED_ZK=${node1}:2181,${node2}:2181,${node3}:2181" \ >> /etc/defult/serviced 5 Specify the nodes in the ZooKeeper quorum. ZooKeeper requires unique quorum definition for ech node in its ensemble. To chieve this, replce the IP ddress or hostnme of the mster host with 0.0.0.0. You cn copy the following text nd pste it in your console: q1="1@0.0.0.0:2888:3888" q2="2@${node2}:2888:3888" q3="3@${node3}:2888:3888" echo "SERVICED_ISVCS_ZOOKEEPER_QUORUM=${q1},${q2},${q3}" \ >> /etc/defult/serviced 6 Specify the timeout for inctive connections. You cn copy the following text nd pste it in your console: echo "SERVICED_ZK_SESSION_TIMEOUT=15" >> /etc/defult/serviced 7 Verify the ZooKeeper environment vribles. grep -E '^\b*serviced' /etc/defult/serviced grep -E '_Z(OO K)' The following exmple shows the environment vribles for mster host with IP ddress 198.51.100.135. 37

Zenoss Resource Mnger Instlltion Guide Note The vlue of the SERVICED_ISVCS_ZOOKEEPER_QUORUM vrible is formtted to fit the vilble spce. The result of the grep commnd shows the vrible nd vlue on the sme line. SERVICED_ZK=198.51.100.135:2181,198.51.100.136:2181,198.51.100.137:2181 SERVICED_ISVCS_ZOOKEEPER_ID=1 SERVICED_ISVCS_ZOOKEEPER_QUORUM=1@0.0.0.0:2888:3888,\ 2@198.51.100.136:2888:3888,3@198.51.100.137:2888:3888 SERVICED_ZK_SESSION_TIMEOUT=15 Configuring delegte host A s ZooKeeper node Use this procedure to configure the delegte host designted s Delegte-A s ZooKeeper node. 1 Log in to the delegte host s root, or s user with superuser privileges. 2 Define the IP ddress vribles for ech node in the ZooKeeper ensemble. Replce Mster with the IP ddress or hostnme of the Control Center mster host, nd replce Delegte-A nd Delegte-B with the IP ddresses or hostnmes of the delegte hosts to include in the ensemble: node1=mster node2=delegte-a node3=delegte-b 3 Set the ID of this node in the ZooKeeper ensemble. echo "SERVICED_ISVCS_ZOOKEEPER_ID=2" >> /etc/defult/serviced 4 Remove the existing definition of the SERVICED_ZK vrible, which specifies only the Control Center mster host. sed -i.bk '/SERVICED_ZK=/d' /etc/defult/serviced 5 Specify the nodes in the ZooKeeper ensemble. You cn copy the following text nd pste it in your console: echo "SERVICED_ZK=${node1}:2181,${node2}:2181,${node3}:2181" \ >> /etc/defult/serviced 6 Specify the nodes in the ZooKeeper quorum. ZooKeeper requires unique quorum definition for ech node in its ensemble. To chieve this, replce the IP ddress or hostnme of delegte host A with 0.0.0.0. You cn copy the following text nd pste it in your console: q1="1@${node1}:2888:3888" q2="2@0.0.0.0:2888:3888" q3="3@${node3}:2888:3888" echo "SERVICED_ISVCS_ZOOKEEPER_QUORUM=${q1},${q2},${q3}" \ >> /etc/defult/serviced 7 Specify the timeout for inctive connections. You cn copy the following text nd pste it in your console: echo "SERVICED_ZK_SESSION_TIMEOUT=15" >> /etc/defult/serviced 8 Configure Control Center to strt the ZooKeeper service. 38