Cluster Upgrade Procedure with Job Queue Migration.

Similar documents
Zend Server Cluster Manager 5.x Installation Guide

Zend Server Cluster Manager 5.5 Beta. Installation Guide. By Zend Technologies.

Zend Server Cluster Manager 5.6 Installation Guide

Locate your Advanced Tools and Applications

Case Study Ecommerce Store For Selling Home Fabrics Online

IERG 4080 Building Scalable Internet-based Services

MICHIEL ROOK DATABASE MIGRATIONS WITHOUT DOWN TIME

Tool Create Database Diagram Sql Server 2005 Management Studio

IEMS 5722 Mobile Network Programming and Distributed Server Architecture

Improve Web Application Performance with Zend Platform

Scalability and Responsiveness with Zend Platform's Job Queue

How to setup Orchestrator to manage thousands of MySQL servers. Simon J Mudd 3 rd October 2017

Technical White Paper HP Access Control Upgrade Guide. August 2017

Data Protection Guide

Log Analyzer Reference

Nolij Transfer 6 Migration Planning & Preparation. Danielle Whitney Services Product Manager

StreamSets Control Hub Installation Guide

IceWarp to IceWarp Migration Guide

Sql Server 2005 Create Script To Copy Database Schema And All The Objects

The Z-Files: Field reports from the world of business critical PHP applications

Table of Contents Introduction to the SAP Roambi migration process SystemRequirements Preparing to upgrade SAP Roambi ES

Using PCF Ops Manager to Deploy Hyperledger Fabric

Upgrading to Parallels Virtuozzo Containers 4.0 for Windows. Contents. About This Document

Schema Validate With Oracle 10g Database Status

Moodle Plugin Upgrade 2017 ( )

Interface Reference topics

Full version is >>> HERE <<<

Case Study. Performance Optimization & OMS Brainvire Infotech Pvt. Ltd Page 1 of 1

Bookmaker SDK Deployment Guide

Citrix CloudPlatform (powered by Apache CloudStack) Version Patch D Release Notes. Revised July 02, :15 pm Pacific

Selecting Software Packages for Secure Database Installations

Amazon Web Services (AWS) Training Course Content

ETL Testing Concepts:

Tool Create Database Diagram Sql Server 2008 R2

If you are currently using a beta version of EPIC that is prior to 4.56 then you need to upgrade to version 5.00.

SnapCenter Software 4.0 Concepts Guide

Olga Kopylova. Lead architect Magento Open Source and Commerce

Mysql Manual Error Log Location Windows Server

Copy Data From One Schema To Another In Sql Developer

Interfacing HTCondor-CE with OpenStack: technical questions

Database Username And Current User Schema Do Not Match 10.1

Installing, Migrating, and Uninstalling HCM Dashboard

Implementing the Twelve-Factor App Methodology for Developing Cloud- Native Applications

Mysql Workbench Doesn't Show

Table of Contents. Table of Contents Pivotal Greenplum Command Center Release Notes. Copyright Pivotal Software Inc,

HA solution with PXC-5.7 with ProxySQL. Ramesh Sivaraman Krunal Bauskar

Middleware-Tests with our Xen-based Testcluster

Atrium Webinar- What's new in ADDM Version 10

Updated on

Guide PHPro Stock Monitor Module

DEC 31, HareDB HBase Client Web Version ( X & Xs) USER MANUAL. HareDB Team

SnapCenter Software 4.0 Installation and Setup Guide

Review. Fundamentals of Website Development. Web Extensions Server side & Where is your JOB? The Department of Computer Science 11/30/2015

Hortonworks Data Platform

RobinHood Project Update

High-Level Architecture v1

BMC Configuration Management (Marimba) Best Practices and Troubleshooting. Andy Santosa Senior Technical Support Analyst

Intellicus Cluster and Load Balancing- Linux. Version: 18.1

Expert Oracle GoldenGate

Sql 2008 Copy Tables Structure And Database To Another

Submitted No Schema Type For Mysql Type Datetime

Migrating Performance Data to NetApp OnCommand Unified Manager 7.2

Product: DQ Order Manager Release Notes

Mysql Workbench Table Data Is Not Editable >>>CLICK HERE<<<

Manual Backup Sql Server Express 2008 Schedule Database Sql Agent

Related Documents... 7 AVM-RTA DS AVM-LaserFocus... 8 Pre-requisites... 8

Application Deployment on IBM i

PDS 2010 System Design Report

Working with Databases

Self-Provisioning. Self-Provisioning

Acronis Backup plugin for WHM and cpanel 1.0

NAREGI PSE with ACS. S.Kawata 1, H.Usami 2, M.Yamada 3, Y.Miyahara 3, Y.Hayase 4, S.Hwang 2, K.Miura 2. Utsunomiya University 2

Installation and Upgrade Guide Zend Studio 9.x

Zend PHP Cloud Application Platform

Case Study. CMS for Management of Monetization Training Resources

EMI Deployment Planning. C. Aiftimiei D. Dongiovanni INFN

INSTALLATION GUIDE Online Collection Software for European Citizens' Initiatives

Upgrading Print Director to PCS Director

ARTSYL DOCALPHA INSTALLATION GUIDE

ProJet 3600 ProJet 35X0

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

Utilizing Databases in Grid Engine 6.0

Talend Component tgoogledrive

ITRS Capacity Planner Data Collector

Installation and Upgrade Guide Zend Studio 9.x

Enterprise Health Manager User Manual

ff5f5b56ce55bcf0cbe4daa5b412a72e SqlGuard-9.0p530_64-bit.tgz.enc

Sql Server 2005 Transfer Schema Ownership

Security Management System SNMP Trap Interface

Pcounter for Windows Install, Change, & Upgrade Guide

Genesys Interactive Insights Deployment Guide. Genesys Interactive Insights 8.5.0

FormStream a Workflow Prototyping Tool for Classroom Use

High-Level Architecture v1. Overall Comments about Requirements. Some criticisms. Requirements Concerns. CMS DB Terminology

django-cron Documentation

Zend Server Cluster Manager 5.0 Reference Manual

Agenda. Brief discussion of MySQL History Installation Access GUI s Data Migration DB2 Storage Engine Q & A

Manual Backup Sql Server 2000 Command Line Restore Database

opencrx Installation Guide for MySQL 5

New in Release: Secomea Release 8.0. This document shows the changes from release 7.4 to release 8.0. Version: 1.5, 2018

Transcription:

Cluster Upgrade Procedure with Job Queue Migration. Zend Server 5.6 Overview Zend Server 5.6 introduces a new highly-reliable Job Queue architecture, based on a MySQL database storage backend. This document describes how to upgrade from existing clusters running previous versions of Zend Server to the latest version, including a procedure for the migration of Zend Job Queue to the new architecture General Guidelines and Considerations The upgrade procedure for Zend Server and Cluster Manager should be performed according to the instructions in the Installation Guide. This document explicitly focuses on issues and steps that are specific to Job Queue. All other functions and components are to be upgraded as usual. Two main setups are supported and covered by the step-by-step instructions below: 1. A Cluster of Zend Servers is configured to use one of the cluster nodes as a Job Queue server. This is the configuration used by default when Zend Server Cluster Manager is installed. 2. A Cluster of Zend Servers is configured to submit jobs to another Zend Server that is defined as dedicated Job Queue servers ( This Zend Sever is originally not part of the cluster). For simplicity purposes, the upgrade procedure is described using two-node clusters (ZS-CM and 2 ZS) on Linux, while it can be applied to cluster of any size. NOTE: It is highly recommended to perform an upgrade procedure on a cluster / server that does not actively serve user requests. This can be achieved by disconnecting the system from active clients using a load balancer, or by any other means, available in particular setups. 1

Scenario 1 - Job Queue server on one of the cluster nodes Setup The cluster in this scenario consists of: Zend Server Cluster Manager Two Zend Server nodes (server A and server B) Job Queue is configured to run on server A MySQL database (in use by Zend Monitor) is up, running and accessible from all computers above. Upgrade steps 1. Upgrade the Zend Server Cluster manager. This upgrade will reuse the MySQL server and schema that is configured for Zend Monitor, and will add tables for Job Queue to use. The upgrade process will launch a JQD that is configured to use this MySQL DB. This JQD will only serve job info / status requests, issued by ZS-CM GUI. After the upgrade, the ZS CM will detect that not all cluster nodes were upgraded to version 5.6, and will display a message about it. This message also informs the user that he will not be able to use Job Queue normally through the UI until all cluster nodes are upgraded. In the background, the PHP application will still be able to create and execute jobs as usual using the old SQLITE DB, but the ZSCM UI does not display them yet. 2. Upgrade nodes that did not have active JQD running (in our scenario, this is server B). The upgrade procedure will install new software and configure it to use MySQL DB as the JQ backend (using the same database details / credentials as Zend Monitor). From that point, jobs submitted from this server will be successfully created, stored in the MySQL database and executed. These jobs will be shown in the ZSCM UI. Note 1: Cluster Manager UI still shows that the upgrade is not completed. This is because the remaining server (server A) is still running older software and the Job Queue data was not migrated from its local DB. Note 2: Since old jobs were not migrated to the MySQL database yet, any reference to old jobs invoked from this server will fail until the next step is completed. 2

Zend Server 5.6 3. Upgrade the server that runs JQ for the cluster (in our case, server A). The upgrade procedure will install new software and configure it to use the MySQL DB as JQ backend (using the same database details / credentials as Zend Monitor). From this point, all the jobs in the cluster are submitted to the new MySQL database, their status and details are accessible from ZS-CM GUI and no warnings are shown. The next step (seamlessly) performed by the system is an upgrade of the current SQLITE DB. It will be converted to the Zend Server 5.6 format. The adjustments are due to bug fixes and due to changes that will be required by the MYSQL architecture. This procedure takes a couple of minutes, depending on the size of the DB. The final step performed by the upgrade is a migration of jobs from SQLITE DB to the new MySQL DB. First base data (queues, applications, schedules) is migrated, and then jobs. During the migration procedure, the MySQL will start to fill up with old jobs information, which will enable the ZSCM to show them and will also make it possible for incoming query requests (for old jobs info) to be successful. Once the upgrade and migration are finished, all the jobs info should be accessible to the UI and to incoming query requests. The UI notice that was shown before will not be necessary anymore. 3

Scenario 2 - Job Queue server outside the cluster Setup The cluster in this scenario consists of: Zend Server Cluster Manager Two Zend Server nodes (server A and server B) Job Queue is configured to run on server C, which is not part of the cluster. MySQL database (in use by Zend Monitor) is up, running and accessible from all computers above. Upgrade steps 1. Upgrade the Zend Server Cluster manager first. The upgrade procedure will create the MySQL schema and launch a JQD that is configured to use the MySQL DB. After the upgrade, the ZSCM will detect that not all cluster nodes were upgraded to version 5.6, and display a message about it. This message also informs the user that he will not be able to use Job Queue normally through the UI until all cluster nodes are upgraded. At this stage, the PHP application running on cluster nodes can create and execute jobs as usual using the old SQLITE DB, but the ZSCM UI does not display them yet. 2. Upgrade all cluster nodes. The upgrade procedure will install new software and configure it to use the MySQL DB as JQ backend (using the same database details / credentials as Zend Monitor). From that point, jobs submitted from these servers will be successfully created, stored in the MySQL database and executed. These jobs will be shown in the ZSCM UI. Note: Since old jobs were not migrated to MySQL database yet, any reference to old jobs invoked from freshly upgraded servers will fail, until data migration (next step) is completed. 3. Upgrade the server that runs JQ for the cluster (in this case, server C). This will install Zend Server 5.6 software on this dedicated JQ server. 4

Zend Server 5.6 4. Manually configure dedicated JQ server (server C, in our example) to use MySQL database. Edit jqd.ini file and add the following lines: zend_jobqueue.database.type = MYSQL zend_jobqueue.database.name = zend_jobqueue.database.host_name = zend_jobqueue.database.port = zend_jobqueue.database.user = zend_jobqueue.database.password = zend_jobqueue.node_id = Note: zend_jobqueue.node_id should be set with a value that will never collide with node id's in the cluster that 'owns' the MYSQL and with other JQ servers that are set in the same way. A good candidate value could be a high integer, such as 10000 or so. JQD should be restarted for the changes to take effect. After JQD is restarted, it will use these directives to connect to DB. 5. Manually initiate JQ data migration procedure In this setup, the database upgrade / migration script should be executed manually after the server was upgraded. The MYSQL DB settings should be provided to this script. Run the script as follows: /usr/local/zend/gui/lighttpd/sbin/php -c /usr/local/zend/gui/lighttpd/etc/phpfcgi.ini /usr/local/zend/share/scripts/zs_create_databases.php migratejq zsdir=/usr/local/zend dbhost=10.1.1.1 dbport=3306 dbusername=root dbpassword=1234 dbname=zend_monitor isactive=1 5