-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile-lustre-externalmgs.yaml
78 lines (78 loc) · 2.51 KB
/
profile-lustre-externalmgs.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
apiVersion: nnf.cray.hpe.com/v1alpha1
data:
gfs2Storage:
commandlines:
lvCreate: --activate ys --extents 100%VG --stripes $DEVICE_NUM --stripesize=32KiB
--name $LV_NAME $VG_NAME
lvRemove: $VG_NAME
mkfs: -j2 -p $PROTOCOL -t $CLUSTER_NAME:$LOCK_SPACE $DEVICE
pvCreate: $DEVICE
vgChange:
activate: --activate ys $VG_NAME
deactivate: --activate n $VG_NAME
lockStart: --lock-start $VG_NAME
vgCreate: $VG_NAME $DEVICE_LIST
vgRemove: $VG_NAME
lustreStorage:
capacityMdt: 5GiB
capacityMgt: 1GiB
combinedMgtMdt: false
# TODO: change this to match the global lustre's nnfstorage
# k get nnfstorage blake-global-lustre-0 -oyaml | yq '.status.mgsNode'
# rabbit-node-1
externalMgs: 10.1.1.5@tcp
# rabbit-node-2
# externalMgs: 10.1.1.8@tcp
exclusiveMdt: false
mdtCommandlines:
mkfs: --mdt --fsname=$FS_NAME --mgsnode=$MGS_NID --index=$INDEX $VOL_NAME
zpoolCreate: -O canmount=off -o cachefile=none $POOL_NAME $DEVICE_LIST
mdtOptions:
colocateComputes: false
count: 1
mgtCommandlines:
mkfs: --mgs $VOL_NAME
zpoolCreate: -O canmount=off -o cachefile=none $POOL_NAME $DEVICE_LIST
mgtMdtCommandlines:
mkfs: --mgs --mdt --fsname=$FS_NAME --index=$INDEX $VOL_NAME
zpoolCreate: -O canmount=off -o cachefile=none $POOL_NAME $DEVICE_LIST
mgtMdtOptions:
colocateComputes: false
count: 1
mgtOptions:
colocateComputes: false
count: 1
ostCommandlines:
mkfs: --ost --fsname=$FS_NAME --mgsnode=$MGS_NID --index=$INDEX $VOL_NAME
zpoolCreate: -O canmount=off -o cachefile=none $POOL_NAME $DEVICE_LIST
ostOptions:
colocateComputes: true
scale: 5
pinned: false
rawStorage:
commandlines:
lvCreate: --extents 100%VG --stripes $DEVICE_NUM --stripesize=32KiB --name $LV_NAME
$VG_NAME
lvRemove: $VG_NAME
pvCreate: $DEVICE
vgChange:
activate: --activate y $VG_NAME
deactivate: --activate n $VG_NAME
vgCreate: $VG_NAME $DEVICE_LIST
vgRemove: $VG_NAME
xfsStorage:
commandlines:
lvCreate: --extents 100%VG --stripes $DEVICE_NUM --stripesize=32KiB --name $LV_NAME
$VG_NAME
lvRemove: $VG_NAME
mkfs: $DEVICE
pvCreate: $DEVICE
vgChange:
activate: --activate y $VG_NAME
deactivate: --activate n $VG_NAME
vgCreate: $VG_NAME $DEVICE_LIST
vgRemove: $VG_NAME
kind: NnfStorageProfile
metadata:
name: global-mgs
namespace: nnf-system