You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/deploy-ibm-db2-purescale-azure.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,33 +38,35 @@ The repository also has scripts for setting up a Grafana dashboard. You can use
38
38
39
39
The deploy.sh script creates and configures the Azure resources for this architecture. The script prompts you for the Azure subscription and virtual machines used in the target environment, and then performs the following operations:
40
40
41
-
- Sets up the resource group, virtual network, and subnets on Azure for the installation
41
+
- Sets up the resource group, virtual network, and subnets on Azure for the installation.
42
42
43
-
- Sets up the network security groups and SSH for the environment
43
+
- Sets up the network security groups and SSH for the environment.
44
44
45
-
- Sets up NICs on both the GlusterFS and the DB2 pureScale virtual machines
45
+
- Sets up multiple NICs on both the shared storage and the DB2 pureScale virtual machines.
46
46
47
-
- Creates the GlusterFS storage virtual machines
47
+
- Creates the shared storage virtual machines. If you use Storage Spaces Direct or another storage solution, see [Storage Spaces Direct overview](/windows-server/storage/storage-spaces/storage-spaces-direct-overview).
48
48
49
-
- Creates the jumpbox virtual machine
49
+
- Creates the jumpbox virtual machine.
50
50
51
-
- Creates the DB2 pureScale virtual machines
51
+
- Creates the DB2 pureScale virtual machines.
52
52
53
-
- Creates the witness virtual machine that DB2 pureScale pings
53
+
- Creates the witness virtual machine that DB2 pureScale pings. Skip this part of the deployment if your version of Db2 pureScale does not require a witness.
54
54
55
-
- Creates a Windows virtual machine to use for testing but doesn't install anything on it
55
+
- Creates a Windows virtual machine to use for testing but doesn't install anything on it.
56
56
57
-
Next, the deployment scripts set up an iSCSI virtual storage area network (vSAN) for shared storage on Azure. In this example, iSCSI connects to GlusterFS. This solution also gives you the option to install the iSCSI targets as a single Windows node. iSCSI provides a shared block storage interface over TCP/IP that allows the DB2 pureScale setup procedure to use a device interface to connect to shared storage. For GlusterFS basics, see the [Architecture: Types of volumes](https://docs.gluster.org/en/latest/Quick-Start-Guide/Architecture/) topic in Gluster Docs.
57
+
Next, the deployment scripts set up an iSCSI virtual storage area network (vSAN) for shared storage on Azure. In this example, iSCSI connects to the shared storage cluster. In the original customer solution, GlusterFS was used. However, IBM no longer supports this approach. To maintain your support from IBM, you need to use a supported iSCSI-compatible file system. Microsoft offers Storage Spaces Direct (S2D) as an option.
58
+
59
+
This solution also gives you the option to install the iSCSI targets as a single Windows node. iSCSI provides a shared block storage interface over TCP/IP that allows the DB2 pureScale setup procedure to use a device interface to connect to shared storage.
58
60
59
61
The deployment scripts run these general steps:
60
62
61
-
1.Use GlusterFS to set up a shared storage cluster on Azure. This step involves at least two Linux nodes. For setup details, see [Setting up Red Hat Gluster Storage in Microsoft Azure](https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.1/html/deployment_guide_for_public_cloud/chap-documentation-deployment_guide_for_public_cloud-azure-setting_up_rhgs_azure) in the Red Hat Gluster documentation.
63
+
1.Set up a shared storage cluster on Azure. This step involves at least two Linux nodes.
62
64
63
-
2. Set up an iSCSI Direct interface on target Linux servers for GlusterFS. For setup details, see [GlusterFS iSCSI](https://docs.gluster.org/en/latest/Administrator%20Guide/GlusterFS%20iSCSI/) in the GlusterFS Administration Guide.
65
+
2. Set up an iSCSI Direct interface on target Linux servers for the shared storage cluster.
64
66
65
-
3. Set up the iSCSI initiator on the Linux virtual machines. The initiator will access the GlusterFS cluster by using an iSCSI target. For setup details, see [How To Configure An iSCSI Target And Initiator In Linux](https://www.rootusers.com/how-to-configure-an-iscsi-target-and-initiator-in-linux/) in the RootUsers documentation.
67
+
3. Set up the iSCSI initiator on the Linux virtual machines. The initiator will access the shared storage cluster by using an iSCSI target. For setup details, see [How To Configure An iSCSI Target And Initiator In Linux](https://www.rootusers.com/how-to-configure-an-iscsi-target-and-initiator-in-linux/) in the RootUsers documentation.
66
68
67
-
4. Install GlusterFS as the storage layer for the iSCSI interface.
69
+
4. Install the shared storage layer for the iSCSI interface.
68
70
69
71
After the scripts create the iSCSI device, the final step is to install DB2 pureScale. As part of the DB2 pureScale setup, [IBM Spectrum Scale](https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/com.ibm.db2.luw.qb.server.doc/doc/t0057167.html) (formerly known as GPFS) is compiled and installed on the GlusterFS cluster. This clustered file system enables DB2 pureScale to share data among the virtual machines that run the DB2 pureScale engine. For more information, see the [IBM Spectrum Scale](https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.0/ibmspectrumscale42_welcome.html) documentation on the IBM website.
70
72
@@ -139,8 +141,6 @@ For more information about these and other known problems, see the kb.md file in
-[Creating required users for a DB2 pureScale Feature installation](https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.qb.server.doc/doc/t0055374.html?pos=2)
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/ibm-db2-purescale-azure.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,11 @@ The IBM DB2 pureScale environment provides a database cluster for Azure with hig
25
25
26
26
## Overview
27
27
28
-
Enterprises have long used relational database management system (RDBMS) platforms for their online transaction processing (OLTP) needs. These days, many are migrating their mainframe-based database environments to Azure as a way to expand capacity, reduce costs, and maintain a steady operational cost structure.
28
+
Enterprises have long used traditional relational database management system (RDBMS) platforms to cater to their online transaction processing (OLTP) needs. These days, many are migrating their mainframe-based database environments to Azure as a way to expand capacity, reduce costs, and maintain a steady operational cost structure. Migration is often the first step in modernizing a legacy platform.
29
29
30
-
Migration is often the first step in modernizing an older platform. For example, one enterprise customer recently rehosted its IBM DB2 environment running on z/OS to
31
-
IBM DB2 pureScale on Azure. Though not identical to the original environment, IBM DB2 pureScale on Linux delivers similar high-availability and scalability features as IBM DB2 for z/OS running in a Parallel Sysplex configuration on the mainframe.
30
+
Recently, an enterprise customer rehosted its IBM DB2 environment running on z/OS to IBM DB2 pureScale on Azure. The Db2 pureScale database cluster solution provides high availability and scalability on Linux operating systems. The customer ran Db2 successfully as a standalone, scale-up instance on a single virtual machine (VM) in a large scale-up system on Azure prior to installing Db2 pureScale.
31
+
32
+
Though not identical to the original environment, IBM DB2 pureScale on Linux delivers similar high-availability and scalability features as IBM DB2 for z/OS running in a Parallel Sysplex configuration on the mainframe. In this scenario, the cluster is connected via iSCSI to a shared storage cluster. We used the GlusterFS file system, a free, scalable, open source distributed file system specifically optimized for cloud storage. However, IBM no longer supports this solution. To maintain your support from IBM, you need to use a supported iSCSI-compatible file system. Microsoft offers Storage Spaces Direct (S2D) as an option
32
33
33
34
This article describes the architecture used for this Azure migration. The customer used Red Hat Linux 7.4 to test the configuration. This version is available from the Azure Marketplace. Before you choose a Linux distribution, make sure to verify the currently supported versions. For details, see the documentation for [IBM DB2 pureScale](https://www.ibm.com/support/knowledgecenter/SSEPGG) and [GlusterFS](https://docs.gluster.org/en/latest/).
34
35
@@ -50,15 +51,15 @@ To support high availability and scalability on Azure, you can use a scale-out,
50
51
51
52
The diagram shows the logical layers needed for a DB2 pureScale cluster. These include virtual machines for a client, for management, for caching, for the database engine, and for shared storage.
52
53
53
-
In addition to the database engine nodes, the diagram includes two nodes used for cluster caching facilities (CFs). At least two nodes are used for the database engine itself. A DB2 server that belongs to a pureScale cluster is called a member.
54
+
In addition to the database engine nodes, the diagram includes two nodes used for cluster caching facilities (CFs). A minimum of two nodes are used for the database engine itself. A DB2 server that belongs to a pureScale cluster is called a member.
54
55
55
-
The cluster is connected via iSCSI to a three-node GlusterFS shared storage cluster to provide scale-out storage and high availability. DB2 pureScale is installed on Azure virtual machines running Linux.
56
+
The cluster is connected via iSCSI to a three-node shared storage cluster to provide scale-out storage and high availability. DB2 pureScale is installed on Azure virtual machines running Linux.
56
57
57
58
This approach is a template that you can modify for the size and scale of your organization. It's based on the following:
58
59
59
60
- Two or more database members are combined with at least two CF nodes. The nodes manage a global buffer pool (GBP) for shared memory and global lock manager (GLM) services to control shared access and lock contention from active members. One CF node acts as the primary and the other as the secondary, failover CF node. To avoid a single point of failure in the environment, a DB2 pureScale cluster requires at least four nodes.
60
61
61
-
- High-performance shared storage (shown in P30 size in the diagram). Each of the Gluster FS nodes uses this storage.
62
+
- High-performance shared storage (shown in P30 size in the diagram). Each node uses this storage.
62
63
63
64
- High-performance networking for the data members and shared storage.
64
65
@@ -74,13 +75,13 @@ This architecture runs the application, storage, and data tiers on Azure virtual
74
75
75
76
- The DB2 CF uses memory-optimized virtual machines, such as E-series or L-series.
-A shared storage cluster that uses Standard\_DS4\_v2 virtual machines running Linux.
78
79
79
-
-A GlusterFS jumpbox is a Standard\_DS2\_v2 virtual machine running Linux.
80
+
-The management jumpbox is a Standard\_DS2\_v2 virtual machine running Linux. An alternative is Azure Bastion, a service that provides a secure RDP/SSH experience for all the VMs in your virtual network.
80
81
81
82
- The client is a Standard\_DS3\_v2 virtual machine running Windows (used for testing).
82
83
83
-
- A witness server is a Standard\_DS3\_v2 virtual machine running Linux (used for DB2 pureScale).
84
+
-*Optional*. A witness server. This is needed only with certain earlier versions of Db2 pureScale. This example uses a Standard\_DS3\_v2 virtual machine running Linux (used for DB2 pureScale).
84
85
85
86
> [!NOTE]
86
87
> A DB2 pureScale cluster requires at least two DB2 instances. It also requires a cache instance and a lock manager instance.
@@ -89,11 +90,9 @@ This architecture runs the application, storage, and data tiers on Azure virtual
89
90
90
91
Like Oracle RAC, DB2 pureScale is a high-performance block I/O, scale-out database. We recommend using the largest [Azure premium SSD](disks-types.md) option that suits your needs. Smaller storage options might be suitable for development and test environments, while production environments often need more storage capacity. The example architecture uses [P30](https://azure.microsoft.com/pricing/details/managed-disks/) because of its ratio of IOPS to size and price. Regardless of size, use Premium Storage for best performance.
91
92
92
-
DB2 pureScale uses a shared-everything architecture, where all data is accessible from all cluster nodes. Premium storage must be shared across instances, whether on demand or on dedicated instances.
93
-
94
-
A large DB2 pureScale cluster can require 200 terabytes (TB) or more of premium shared storage, with IOPS of 100,000. DB2 pureScale supports an iSCSI block interface that you can use on Azure. The iSCSI interface requires a shared storage cluster that you can implement with GlusterFS, S2D, or another tool. This type of solution creates a virtual storage area network (vSAN) device in Azure. DB2 pureScale uses the vSAN to install the clustered file system that's used to share data among virtual machines.
93
+
DB2 pureScale uses a shared-everything architecture, where all data is accessible from all cluster nodes. Premium storage must be shared across multiple instances, whether on demand or on dedicated instances.
95
94
96
-
The example architecture uses GlusterFS, a free, scalable, open-source distributed file system that's optimized for cloud storage.
95
+
A large DB2 pureScale cluster can require 200 terabytes (TB) or more of premium shared storage, with IOPS of 100,000. DB2 pureScale supports an iSCSI block interface that you can use on Azure. The iSCSI interface requires a shared storage cluster that you can implement with S2D or another tool. This type of solution creates a virtual storage area network (vSAN) device in Azure. DB2 pureScale uses the vSAN to install the clustered file system that's used to share data among virtual machines.
0 commit comments