the zenoss enablement series .the zenoss enablement series: ... failure of the server hosting zenoss

Download The Zenoss Enablement Series .The Zenoss Enablement Series: ... failure of the server hosting Zenoss

Post on 10-Mar-2019

215 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

Zenoss, Inc.

The Zenoss Enablement Series:

Zenoss Service Dynamics Resource Manager with Red Hat Cluster Suite Configuration Guide

Document Version 424-P2

Zenoss, Inc.

www.zenoss.com

http://www.zenoss.com/

Zenoss, Inc.

Copyright 2014 Zenoss, Inc., 275 West St., Suite 204, Annapolis, MD 21401, U.S.A. All rights reserved.

Zenoss and the Zenoss logo are trademarks or registered trademarks of Zenoss, Inc. in the United States and other countries. All other trademarks, logos, and service marks are the property of Zenoss or other third parties. Use of these marks is prohibited without the express written consent of Zenoss, Inc. or the third-party owner.

DRBD and the DRBD logo are trademarks or registered trademarks of LINBIT in Austria, the United States and other countries.

Oracle, the Oracle logo, Java, and MySQL are registered trademarks of the Oracle Corporation and/or its affiliates.

Linux is a registered trademark of Linus Torvalds.

RabbitMQ is a trademark of VMware, Inc.

vSphere is a trademark of VMware, Inc. in the United States and/or other jurisdictions.

Windows is a registered trademark of Microsoft Corporation in the United States and other countries.

All other companies and products mentioned are trademarks and property of their respective owners.

Zenoss, Inc.

____________________________________________________________________________________________ Resource Manager on RCHS i Zenoss Enablement Series

Table of Contents Applies To .................................................................................................................................................................. 1

Summary .................................................................................................................................................................... 1

Overview .................................................................................................................................................................... 2 Naming Conventions ............................................................................................................................................................ 3 Prerequisites .......................................................................................................................................................................... 4

Configuration............................................................................................................................................................ 6 Installing luci on the Controller Server ........................................................................................................................ 6 Compiling the DRDB Packages ......................................................................................................................................... 7 Preparing the ZenDS Nodes .............................................................................................................................................. 7

Creating the LVM Disks ..................................................................................................................................................................... 8 Creating the DRBD Resource .......................................................................................................................................................... 9

Installing ZenDS ................................................................................................................................................................. 11 Configuring the ZenDS Cluster ...................................................................................................................................... 12

Creating the New Cluster .............................................................................................................................................................. 12 Creating a Failover Domain .......................................................................................................................................................... 13 Creating Resources .......................................................................................................................................................................... 14 Creating Service Groups ................................................................................................................................................................ 16

Preparing the Resource Manager Nodes ................................................................................................................... 17 Creating the LVM Disks .................................................................................................................................................................. 17 Creating the DRBD Resource ....................................................................................................................................................... 18 Installing the Resource Manager Dependencies ................................................................................................................. 21 Installing and Configuring RabbitMQ ....................................................................................................................................... 22 Installing and Configuring Memcached and Net-SNMP .................................................................................................... 23

Installing and Configuring Zenoss ............................................................................................................................... 23 Installing Zenoss Resource Manager ........................................................................................................................................ 23 Installing MySQLTuner .................................................................................................................................................................. 23 Configuring the Zenoss System................................................................................................................................................... 24 Updating the Shared IP .................................................................................................................................................................. 25 Local Zenoss Resource Manager Init Scripts ......................................................................................................................... 25 Monitoring Windows Devices (Optional) ............................................................................................................................... 27

Configuring the Resource Manager Cluster ............................................................................................................. 27 Configuring the Cluster .................................................................................................................................................................. 28 Creating a Failover Domain .......................................................................................................................................................... 28 Creating Resources .......................................................................................................................................................................... 28 Creating Service Groups ................................................................................................................................................................ 30

Failure Modes ......................................................................................................................................................... 31 Node Failure Types ........................................................................................................................................................... 31

Active Node Failure ......................................................................................................................................................................... 31 Passive Node Failure ....................................................................................................................................................................... 31

Network Failure Types .................................................................................................................................................... 31 Public Network Link Failure ........................................................................................................................................................ 31 Private Network Link Failure ...................................................................................................................................................... 31

Other Failure Types .......................................................................................................................................................... 32

Zenoss, Inc.

____________________________________________________________________________________________

Zenoss Enablement Series ii

Recommended

View more >