22
© 2012 IBM Corporation Information Management Jan Musil [email protected] Informix CEE/MEA Technical Sales Informix Rolling Upgrade

jan [email protected] Informix CEE/MEA Technical …alfatec.hr/wp-content/uploads/2012/05/Informix-Rolling-Upgrade.pdf · To upgrade Informix software on a high-availability cluster,

  • Upload
    leliem

  • View
    221

  • Download
    0

Embed Size (px)

Citation preview

© 2012 IBM Corporation

Information Management

Jan [email protected]

Informix CEE/MEA Technical Sales

Informix Rolling Upgrade

© 2012 IBM Corporation2

Rolling Upgrade Overview

� You can upgrade the Informix software in a high-availability cluster (HDR or RSS) withoutincurring any down time.

� To upgrade Informix software on a high-availability cluster, the following is required

1. Convert the primary server and the secondary to standalone Enterprise Replication (ER) servers.

2. Upgrade the software on the secondary server3. Stop ER4. Clone the server using the ifxclone command.

� You can perform the upgrade while the servers are actively processing client requests because ER supports replication between dissimilar versions of the server software.

© 2012 IBM Corporation3

The following prerequisites apply when upgrading software on a cluster

� The sqlhosts files must be configured for Enterprise Replication:– Each server must belong to a different group.– The group identifier for each server must be different.– The sqlhosts files on each server must contain a server and a group entry for the other

server.

� Non-logged databases are not supported.

� Raw or unlogged tables are not supported.

� No tables can be defined with label-based access control.

� Typed tables must have primary keys.

� User-defined types must support Enterprise Replication.

� The CDR_QDATA_SBSPACE configuration parameter must be set on both the primary and secondary servers.

� For versions of Informix software earlier than 11.50xC7, converting a primary and secondary server pair to ER is not supported if a table does not have a primary key.

� For versions of Informix software earlier than 11.10, the sec2er command is not supported.

© 2012 IBM Corporation4

Informix Primary & Informix Secondary (HDR)

© 2012 IBM Corporation5

On the primary server perform a check to see whether the servers can be split into ER servers

© 2012 IBM Corporation6

The sec2er command converts the primary and secondary servers into standalone servers and configures and starts Enterprise Replication

© 2012 IBM Corporation7

© 2012 IBM Corporation8

© 2012 IBM Corporation9

Primary server

© 2012 IBM Corporation10

Secondary Server

© 2012 IBM Corporation11

Data modifications still replicated

© 2012 IBM Corporation12

Prepare former secondary to upgrade, former primary still active

© 2012 IBM Corporation13

Install new version of Informix software on the former secondary

© 2012 IBM Corporation14

Start the server and let the conversion complete successfully

© 2012 IBM Corporation15

Conversion Completed Successfully !!! ☺

© 2012 IBM Corporation16

Upgraded secondary server replicates data with the former primary server

© 2012 IBM Corporation17

Move client application connections from the former primary server to the upgraded server

© 2012 IBM Corporation18

Install new version of Informix software on the former primary

© 2012 IBM Corporation19

Start to configure HDR, both servers have new Informix software version

© 2012 IBM Corporation20

© 2012 IBM Corporation21

Finished !!! ☺ ☺

© 2012 IBM Corporation22

Jan [email protected]

(Thank you for your attention)