This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdb2ctl-sample.yaml
39 lines (39 loc) · 2.08 KB
/
db2ctl-sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: v1
kind: Configuration
metadata:
name: db2 pacemaker corosync configuration
clusterName: db2whcluster
spec:
db2:
required:
role: optimized # optimized or sandbox
replicated: true # true or false
databaseName: BLUDB
instancePort: 50000
instanceName: db2wh
instanceID: 3000 # user id for the instance user when we create the user
instanceGD: 3000 # group id for instance user when we create the group
fencedID: 4000 # user id for the fenced user when we create the user
fencedGD: 4000 # group id for fenced user when we create the group
instanceSecret: cGFzc3dvcmQ= # replace with your base64 encoded password, echo -n 'password' | base64
fencedName: db2fenc1
fencedSecret: cGFzc3dvcmQ= # replace with your base64 encoded password, echo -n 'password' | base64
db2Version: 11.5.4.0 # Replace with your name
db2Binary: v11.5.4_linuxx64_server.tar.gz # Replace with your name
db2License: db2adv_vpc.lic # Replace with your name
organization: row
# optional: - optional fields can be over-written if included in this file
# topLevelDir: /db2db
nodes:
required:
numNodes: 4 #Example: 4, 8, 12 16 etc.
nvmeList: [[{name: /dev/xvdc, size: 25GB}, {name: /dev/xvde, size: 25GB}, {name: /dev/xvdf, size: 25GB}, {name: /dev/xvdg, size: 25GB}], [{name: /dev/xvdc, size: 25GB}, {name: /dev/xvde, size: 25GB}, {name: /dev/xvdf, size: 25GB}, {name: /dev/xvdg, size: 25GB}], [{name: /dev/xvdc, size: 25GB}, {name: /dev/xvde, size: 25GB}, {name: /dev/xvdf, size: 25GB}, {name: /dev/xvdg, size: 25GB}], [{name: /dev/xvdc, size: 25GB}, {name: /dev/xvde, size: 25GB}, {name: /dev/xvdf, size: 25GB}, {name: /dev/xvdg, size: 25GB}]] # GB or TB only
ipAddresses: [10.190.17.143, 10.190.17.136, 10.190.17.137, 10.190.17.139] #Example: [10.xx.xx.xx, 10.xx.xx.xx, ...]
names: [p01g.zinox.com, p02g.zinox.com, p03g.zinox.com, p04g.zinox.com] #Example: [e1n1, e2n1, ...]
partitions: 24
nfs:
server:
required:
nfsVirtualIP: 10.190.17.189
cidrNetmask: 26
nic: eth0