Setting up High Availability



Similar documents
Installation Guide For Exchange Reporter Plus

McAfee Endpoint Encryption Hot Backup Implementation

How To - Implement Single Sign On Authentication with Active Directory

CA ARCserve Replication and High Availability for Windows

How To Sync Quickbooks With Qvinci.Com On A Pc Or Macbook Or Mac Book (For A Webbook) With A Flashbook (For An Ubuntu Account) With An Ipo (For Macbook) On A Mac

StoreGrid Backup Server With MySQL As Backend Database:

Disaster Recovery on the Sun Cobalt RaQ 3 Server Appliance with Third-Party Software

MySQL Quick Start Guide

NAS 253 Introduction to Backup Plan

Snapt Redundancy Manual

SOA Software API Gateway Appliance 7.1.x Administration Guide

Installation Notes for Outpost Network Security (ONS) version 3.2

MySQL Quick Start Guide

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

There are numerous ways to access monitors:

Configuration Guide for Active Directory Integration

LT Auditor Windows Assessment SP1 Installation & Configuration Guide

Setup and configuration for Intelicode. SQL Server Express

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

CA ARCserve Replication and High Availability for Windows

MySQL quick start guide

ACS 5.x and later: Integration with Microsoft Active Directory Configuration Example

Guide to deploy MyUSBOnly via Windows Logon Script Revision 1.1. Menu

1. Product Information

Online Backup Client User Manual Linux

Networking Best Practices Guide. Version 6.5

3M Command Center. Installation and Upgrade Guide

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

Planning, Implementing and Managing SafeBoot Enterprise Systems

Unity Error Message: Your voic box is almost full

Backup Server DOC-OEMSPP-S/6-BUS-EN

RecoveryVault Express Client User Manual

Table of Contents WELCOME TO ADAUDIT PLUS Release Notes... 4 Contact ZOHO Corp... 5 ADAUDIT PLUS TERMINOLOGIES... 7 GETTING STARTED...

Only LDAP-synchronized users can access SAML SSO-enabled web applications. Local end users and applications users cannot access them.

MailStore Server 7 Documentation

Using Logon Agent for Transparent User Identification

Active Directory Infrastructure Design Document

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

ManageEngine Exchange Reporter Plus :: Help Documentation WELCOME TO EXCHANGE REPORTER PLUS... 4 GETTING STARTED... 7 DASHBOARD VIEW...

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

Online Backup Linux Client User Manual

Polycom CMA System Upgrade Guide

Online Backup Client User Manual

Online Backup Client User Manual

Upgrade Guide BES12. Version 12.1

OnCommand Performance Manager 1.1

CafePilot has 3 components: the Client, Server and Service Request Monitor (or SRM for short).

All rights reserved. Trademarks

User Migration Tool. Note. Staging Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted Release 9.0(1) 1

FileMaker Server 14. FileMaker Server Help

Installing Drupal on Your Local Computer

CA GREEN BOOKS. CA XOsoft WANSyncHA for BlackBerry Enterprise Server

Online Backup Client User Manual Mac OS

Online Backup Client User Manual Mac OS

Managing Cisco ISE Backup and Restore Operations

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

RSA Authentication Manager 8.1 Virtual Appliance Getting Started

Active Directory integration with CloudByte ElastiStor

TIGERPAW EXCHANGE INTEGRATOR SETUP GUIDE V3.6.0 August 26, 2015

Configure Backup Server for Cisco Unified Communications Manager

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

SafeCom G2 Enterprise Disaster Recovery Manual

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

SETTING UP ACTIVE DIRECTORY (AD) ON WINDOWS 2008 FOR EROOM

MTA Course: Windows Operating System Fundamentals Topic: Understand backup and recovery methods File name: 10753_WindowsOS_SA_6.

Configure Cisco Emergency Responder Disaster Recovery System

Syslog Monitoring Feature Pack

Attix5 Pro Plug-ins. V6.2 User Manual. Cover. for Microsoft Windows. Your guide to installing and using Attix5 Pro plug-ins. Last updated: 2011/10

Using DC Agent for Transparent User Identification

VMware vsphere Data Protection Evaluation Guide REVISED APRIL 2015

Integrating Eaton PRO Management Pack for Microsoft System Center Virtual Machine Manager 2008 v1.0 Page 2

Here you can see an example of the command results:

IP Address, Domain and Hostname for IM and Presence Service on Cisco Unified Communications Manager, Release 9.1(1)

LANDPARK NETWORK IP Landpark, comprehensive IT Asset Tracking and ITIL Help Desk solutions October 2016

ManageEngine IT360. Professional Edition Installation Guide.

Oracle Call Center Applications Setup

Reconfiguring VMware vsphere Update Manager

SAM Server Utility User s Guide

Administrator s Upgrade Guide.

Installing Active Directory

RPM Utility Software. User s Manual

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Capture Pro Software FTP Server Output Format

Add User to Administrators Group using SQL Lookup Table

1 Introduction. Ubuntu Linux Server & Client and Active Directory. Page 1 of 14

Personal Token Software Installation Guide

BestSync Tutorial. Synchronize with a FTP Server. This tutorial demonstrates how to setup a task to synchronize with a folder in FTP server.

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

McAfee SMC Installation Guide 5.7. Security Management Center

IBM WebSphere Partner Gateway V6.2.1 Advanced and Enterprise Editions

CRSP MOVEit Cloud Getting Started Guide

Scan to Quick Setup Guide

ADS Integration Guide

Installing, Uninstalling, and Upgrading Service Monitor

High Availability for Microsoft SQL Server 7.0 Using Double-Take

CORPORATE HEADQUARTERS Elitecore Technologies Ltd. 904 Silicon Tower, Off. C.G. Road, Ahmedabad , INDIA

Applications Manager Best Practices document

inforouter V8.0 Server Migration Guide.

Transcription:

ManageEngine Password Manager Pro Tutorial Setting up High Availability (Procedure applicable only for PMP builds up to 6301. For versions 6302 and later, click here ) Overview Setting up high availability in PMP consists of the following four steps: 1. Installing Primary & Secondary 2. Configurations to be done in Primary Installation 3. Configurations to be done in Secondary Installation 4. Enabling database replication Step 1 - Primary & Secondary Server Instances Before trying High Availability, you should have both Primary and Standby installations of PMP in place. You can use your current PMP installation as primary server. You can install another instance of PMP as secondary server in a separate workstation. To install PMP as secondary, during installation, you need to choose the option "Configure this server as High availability secondary server (Read Only)" (refer to the screenshot below). After installation, the PMP Primary server should have been started and stopped at least once.

2 ManageEngine Password Manager Pro High Availability Tutorial Step 2 - Changes to be made in Primary Server Installation Prerequisite 1. Stop PMP Primary server, if already running. 2. Check if PMP Secondary Server is reachable from Primary Server and vice-versa (do a ping) 3. Go to the PMP Primary folder and carry out the following: Navigate to <PMP_Installation_Folder>/mysql/data folder. The following file & folders are important: 'passtrix' folder, 'mysql' folder, 'test' folder, 'PasstrixTemp' ''ibdata1', 'ca-cert.pem', 'server-cert.pem' server-key.pem Steps KEEP THESE FOLDERS and delete all other files. If you delete them, you will lose all your data. 1. Open a command prompt and navigate to <PMP_Installation_Folder>/bin directory and run the script replicationpack.bat (Windows)/replicationPack.sh (Linux) 2. This will create a replication package named 'Replication.zip' under <PMP_Home>/replication folder. This zip contains the database package for standby 3. Go to <PMP_Installation_Folder>/mysql/bin directory. You will find a file named HAPrimary.conf, rename that file as HASecondary.conf. (Important Note: Before proceeding further, ensure that HAPrimary.conf is NOT present under PMP_Installation_Folder>/mysql/bin folder. It should only contain HASecondary.conf) Edit the HASecondary.conf as per the details below: (1) Enter the name of the host where the secondary server is running: master_host=<hostname of Secondary> For example, 'test_workstation' is the machine where the secondary PMP server is running, you need to enter the information as below: master_host=test_workstation

3 ManageEngine Password Manager Pro High Availability Tutorial (2) Enter the host name, DNS Name and IP address of the secondary server: slave_hosts=<hostname of Secondary>,<DNS Name of Secondary>,<IP of Secondary> For example, 'test_workstation' is the machine where the secondary PMP server is running, test_workstation.test.com is the DNS name and 192.168.10.1 is its IP, you need to enter the information as below (in comma separated form without any space): slave_hosts=test_workstation,test_workstation.test.com,192.168.10.1 4. Open a command prompt and navigate to <PMP_Installation_Folder>/bin and run the script startdb.bat <MySQL Port> (Windows) /startdb.sh <MySQL Port> (Linux). You need to provide the MySQL port of PMP while executing the above script as shown below. By default, the MySQL port in PMP is 2345. startdb.bat <MySQL Port> (For Windows) startdb.sh <MySQL Port> (For Linux) For example, with the default the MySQL port 2345, you need to execute this as: startdb.bat 2345 (For Windows) startdb.sh 2345 (For Linux) This will start the Primary Database (Default MySQL port is 2345) Note: During this process, if you get this error, you may safely ignore it as this is harmless: 090601 19:53:05 [Warning] The syntax for replication startup options is deprecat ed and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. 090601 19:53:05 [Warning] option 'max_allowed_packet': unsigned value 3200000000 0 adjusted to 1073741824 5. Copy the Replication.zip file present under <PMP_Installation_Folder>/replication directory. This has to be put in the PMP Secondary installation machine as detailed in Step 3 below. Step 3 - Changes to be made in PMP Secondary Installation Prerequisite Stop PMP Secondary server, if already running. Check if PMP Primary Server is reachable from Secondary Server and vice-versa (do a ping)

4 ManageEngine Password Manager Pro High Availability Tutorial Go to the PMP Secondary folder and carry out the following: Navigate to <PMP_Installation_Folder>/mysql/data folder. The following file & folders are important: 'passtrix' folder, 'mysql' folder, 'test' folder, 'PasstrixTemp' ''ibdata1', 'ca-cert.pem', 'server-cert.pem' server-key.pem Steps KEEP THESE FOLDERS and delete all other files. If you delete them, you will lose all your data. 1. Put the Replication.zip file copied from the PRIMARY Installation (as detailed in the previous step) in to the <PMP_Installation_Folder> of Secondary and unzip it. Take care to extract the files under <PMP_Installation_Folder> only. It will overwrite the existing data files. 2. Copy the <PMP_Installation_Folder>/mysql/bin/database_params.conf file of secondary installation and put it over <PMP_Installation_Folder>/conf directory of secondary installation 3. Go to <PMP_Installation_Folder>/mysql/bin directory. You will find a file named HAPrimary.conf. (Important Note: Before proceeding further, ensure that HASecondary.conf is NOT present under PMP_Installation_Folder>/mysql/bin folder. It should only contain HAPrimary.conf) 4. Edit the HAPrimary.conf as per the details below: (1) Enter the name of the host where the primary server is running: master_host=<hostname of Primary> For example, 'test_workstation' is the machine where the primary PMP server is running, you need to enter the information as below: master_host=test_workstation (2) Enter the host name, DNS Name and IP address of the primary server: slave_hosts=<hostname of Primary>,<DNS Name of Primary>,<IP of Primary> For example, 'test_workstation' is the machine where the primary PMP server is running, test_workstation.test.com is the DNS name and 192.168.10.1 is its IP, you need to enter the information as below: slave_hosts=test_workstation,test_workstation.test.com,192.168.10.1 5. Copy the startdb.bat (in Windows) / startdb.sh (in Linux) file present under <PMP_Installation_Folder>/mysql/bin of secondary installation and put it over

5 ManageEngine Password Manager Pro High Availability Tutorial <PMP_Installation_Folder>/bin directory of secondary installation 6. Go to <PMP_Installation_Folder>/bin of secondary installation and execute startdb.bat <MySQL Port> (Windows) /startdb.sh <MySQL Port>(Linux) to start Secondary database (Default MySQL port is 2345) For example, with the default the MySQL port 2345, you need to execute this as: startdb.bat 2345 (For Windows) startdb.sh 2345 (For Linux) This will start the Secondary Database (Default MySQL port is 2345) Note: During this process, if you get this error, you may safely ignore it as this is harmless: 090601 19:53:05 [Warning] The syntax for replication startup options is deprecat ed and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. 090601 19:53:05 [Warning] option 'max_allowed_packet': unsigned value 3200000000 0 adjusted to 1073741824 Step 4 - Enabling Database Replication 1. Run enablereplication.bat (Windows) /enablereplication.sh (Linux) present in <PMP_Installation_Folder>/mysql/bin of both Primary and Secondary installations Step 5 - Start Primary and Secondary 1. Start Primary and Secondary Servers 2. High Availability setup is now ready Step 6 - Verify High Availability setup After carrying out the above steps, you can verify if the High Availability setup is working properly by looking at the message in "Admin >> General >> High Availability" page of Primary server. If the setup is proper, you will see the following: High Availability Status: Alive Replication Status: Alive If both the above messages show "Alive", it indicates that high availability is working fine. In case, if the status turns 'Failed', it indicates failure of the setup. What does 'High Availability Status' Indicate (Alive/Failed)? Constant replication of data between Primary and Standby server is the technology underlying high availability. The status 'Alive' indicates perfect data replication and data synchronization. If there happens any disruption like network problems between Primary and Standby (in turn between the databases), the status will get changed to 'Failed'.

6 ManageEngine Password Manager Pro High Availability Tutorial This may happen when there is no communication/connection between the database of primary server and that of the standby server. When the connection gets reestablished, data synchronization will happen and both databases will be in sync with each other. During the intervening period, those who have connected to the primary and standby will not face any disruption in service. In short, this status is only an indication of the connection/communication between databases and does not warrant any troubleshooting. What does 'Replication Status' Indicate (Alive/Failed)? As mentioned above, high availability leverages the MySQL replication feature. The database of Primary server acts as the Master and the one with Standby acts as the 'Slave'. When the data gets replicated properly, the status will be 'Alive'. In case, there happens any error in updating the data or query failure, the replication status become 'Failed'. Once the status becomes failed, PMP High Availability setup also breaks down. That means, you will have to configure high availability setup all over again. If you find the status marked as 'Failed' even after re-configuring High Availability, you may have to contact PMP support with the following log files: PMP In Windows: <PMP Installation Folder>/mysql/data/<hostname>.err file PMP In Linux: <PMP Installation Folder>/mysql/data/tmp/.out file Alerting Mechanism for Status Failure Since the above two conditions assume importance in high availability setup, it is important to receive real-time alerts when the status turns Alive to Failed and viceversa. To configure alerts, go to Audit >> Resource Audit >> Configure User Audit >> General Operations and select the mode of alert (email/snmp trap/syslog message) for the events 'High Availability Alive' and 'High Availability Failed'. Note 1: In case, the Primary Server crashes, when carrying out disaster recovery, please ensure the following: Go to the <PMP_Home>/mysql/data of secondary server and copy the files ibdata1, passtrix Install another instance of PMP afresh (same version as that of the PMP secondary from which you copied the above files) In the new installation, go to <PMP_Home>/mysql/data and overwrite the ibdata1, passtrix files Start the new PMP installation Note 2: After configuring high availability, if you change the port of the Primary PMP server, the high availability setup will not work. It has to be re-configured with suitable changes.

7 ManageEngine Password Manager Pro High Availability Tutorial Troubleshooting Tips Issue If you get error code 1201 upon executing enablereplication.bat / enablereplication.sh as shown in the screenshot below: Solution Go to the PMP Primary and Secondary installation folders and carry out the following: Navigate to <PMP_Installation_Folder>/mysql/data folder. The following file & folders are important: 'passtrix' folder, 'mysql' folder, 'test' folder, 'PasstrixTemp' ''ibdata1', 'ca-cert.pem', 'server-cert.pem' server-key.pem KEEP THESE FOLDERS and delete all other files. If you delete them, you will lose all your data. Start High Availability steps again (from Step 1) Issue Replication.zip is not getting created even after executing replicationpack.bat / replicationpack.sh Solution One of the pre-requisites for PMP High Availability setup is that after installation, the PMP Primary server should have been started and stopped at least once. If this had not been done, you will face the above issue. ZOHO Corp. (formerly AdventNet Inc.) 4900 Hopyard Rd., Suite 310, Pleasanton, CA 94588, USA Phone: +1-925-924-9500 Fax: +1-925-924-9600 Website: http://www.passwordmanagerpro.com For Queries: passwordmanagerpro-support@manageengine.com