为DB2 pureScale升级补丁包,按流程升级RSCT,TSA,GPFS和DB2等
DB2 pureScale 是同时兼备高扩展性和高可用性的数据库集群。在 db2 pureScale 集群里包含了 RSCT,TSA,GPFS 等单独的软件产品。这些产品都包含在 DB2 的安装介质里面。如果要为 DB2 pureScale 升级补丁包,需要按照一定的流程,升级 RSCT,TSA,GPFS 和 DB2
DB2 pureScale 集群是一种兼备高扩展性和高可用性的集群解决方案。这个解决方案整合了包括软硬件在内的多个产品。DB2 pureScale 集群采用的是共享存储的集群架构。
图 1. DB2 pureScale 集群的架构
这张图描述了 DB2 pureScale 的集群架构。DB2 pureScale 可以由多个主机(节点)组成,彼此通过 IB 网络和以太网通信,每个节点都连接到共享存储。集群内部通过自动负载均衡的功能调度各个节点的资源。从客户端来看,DB2 pureScale 就是一个数据库环境,不需要关心去连哪个节点以及集群是如何组成。DB2 pureScale 集群的关键技术就是借鉴的 IBM 大型机中成熟的全局锁定和内存管理技术。
在这个集群解决方案里面,软件产品包括管理共享存储的 GPFS 产品,整合所有资源的 TSA 产品,DB2 产品等。这些组件都包含在整套 DB2 产品的安装介质里面。DB2 pureScale 发布的新的补丁包就可能包含这三大产品的更新。所以在升级 DB2 pureScale 补丁包的时候尤其要注意检查这些产品是否需要升级,以及如何做到安全升级。
升级补丁包前的准备工作
在升级补丁包之前,需要确认 GPFS 和 TSA 是否需要升级,还需要完全停止 DB2 pureScale 数据库集群。在升级的过程中,要保证 DB2 pureScale 数据库不会被重启。
检查 TSA 版本
首先来查看新的补丁包中的 TSA 版本是否高于已安装的版本。查看工具已经包含在新的补丁包中。本案例中补丁包 DVD 被解压在 /home/temp/DB2v9.8/v9.8fp5 下面。
清单 1. TSA 已安装版本
# /home/temp/DB2v9.8/v9.8fp5/server/db2/aix/tsamp/db2cktsa -v install 3.2.6.2
清单 2. TSA 目标版本
# /home/temp/DB2v9.8/v9.8fp5/server/db2/aix/tsamp/db2cktsa -v media 3.2.7.1
在这个案例里面,TSA 的目标版本是 3.2.7.1,高于已安装版本 3.2.6.2,所以需要多 TSA 集群进行升级。
检查 GPFS 版本
检查 GPFS 版本的方式和检查 TSA 差不多,工具也包含在新的补丁包中。
清单 3. GPFS 已安装版本
# /home/temp/DB2v9.8/v9.8fp5/server/db2/aix/gpfs/db2ckgpfs -v install 3.3.0.14
清单 4. GPFS 目标版本
# /home/temp/DB2v9.8/v9.8fp5/server/db2/aix/gpfs/db2ckgpfs -v media 3.4.0.13
清单中列举的 GPFS 已安装版本 3.3.0.14 是低于目标版本 3.4.0.13 的,所以也需要升级 GPFS 集群软件和环境。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)
