Skip to content

Commit dedf1d2

Browse files
Fix PR 4798 comments
- In each blueprint, add more explanations for each parameter - Remove the debug partition and debug nodeset from the blurprint of slurm - Add parameter descriptions for sycomp-scale-expansion
1 parent 6c90b3c commit dedf1d2

5 files changed

Lines changed: 47 additions & 54 deletions

File tree

community/examples/sycomp/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,13 @@ Required parameter updates for each blueprint:
6666
- `security.ssh.public_key`: The file path to your SSH public key (e.g., `~/.ssh/id_rsa.pub`).
6767
- `security.customer_token.token`: Your Sycomp Customer Token. To get a customer token, contact Sycomp (`sycompstorage@sycomp.com`).
6868
- `name_prefix` (Optional): By default, `sycomp-scale-gcp` sets the value of `name_prefix` based on the `deployment_name`. Since `name_prefix` only accepts **alphanumeric** characters (letters and numbers), `sycomp-scale-gcp` automatically **removes any non-alphanumeric characters** (such as hyphens and underscores) before assigning the value. For example, a `deployment_name` of `sycomp-storage-1` would result in a `name_prefix` of `sycompstorage1`.
69+
- **`scale_config`(Optional):**
70+
- `scale_node_count`: The number of nodes in the Sycomp Storage cluster. Default is `3`.
71+
- `scale_volumes`: Configuration for the data disks. Default is 4 disks of 250GiB each per storage node.
6972

70-
- **(Optional) `scale_config` settings:**
71-
- `scale_node_count`: The number of nodes in the Sycomp Storage cluster. Default is `3`.
72-
- `scale_volumes`: Configuration for the data disks. Default is 4 disks of 250GiB each per storage node.
73+
- **`sycomp-scale-gcp` module settings:**
74+
- `name_prefix`: Its value must be the same as the `name_prefix` of the cluster that is desired to be expanded.
75+
- `add_scale_nodes`: The number of nodes to be added.
7376

7477
## Deployment
7578

community/examples/sycomp/sycomp-storage-ece.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,16 @@ deployment_groups:
5252
customer_token:
5353
token: "" ## Set Your Customer Token
5454
ece:
55-
use_ece: true
56-
ece_node_per_rg: 7
57-
ece_raid_code: "4+2p"
58-
ece_block_size: "1m"
55+
use_ece: true ## Set deploy mode to ECE
56+
ece_node_per_rg: 7 ## Set the number of nodes for each Recovery Group
57+
ece_raid_code: "4+2p" ## Set the raid code
58+
ece_block_size: "1m" ## Set block size
5959

6060
scale_config:
61-
scale_node_count: 7
61+
scale_node_count: 7 ## Number of storage nodes to deploy
62+
scale_machine_type: "c3-standard-44" ## Instance type of the storage nodes
6263
scale_volumes:
6364
data-storage:
64-
count: 3
65-
size_in_gb: 250
65+
count: 3 ## Number of disks to configure on each storage node
66+
size_in_gb: 250 ## Size of each disk
67+
type: "hyperdisk-balanced" ## Type of persistent disk to use

community/examples/sycomp/sycomp-storage-expansion.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ deployment_groups:
3030
- group: primary
3131
modules:
3232

33-
- id: sycomp-scale-gcp
33+
- id: sycomp-scale-expansion
3434
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale-expansion?ref=v1.0.0"
3535
settings:
3636
name_prefix: "<name_prefix_of_existing_cluster>" ## Its value must be the same as the name_prefix of the cluster that is desired to be expanded
37-
add_scale_nodes: 1
37+
add_scale_nodes: 1 ## Number of storage nodes to add

community/examples/sycomp/sycomp-storage-slurm.yaml

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -47,56 +47,45 @@ deployment_groups:
4747
settings:
4848
security:
4949
ssh:
50-
ssh_user_name: "" ## Set user name to ssh mgmt node, for example: "sycompacct"
51-
private_key: "" ## Set private key file, for example: ~/.ssh/id_rsa
52-
public_key: "" ## Set public key file, for example: ~/.ssh/id_rsa.pub
50+
ssh_user_name: "" ## Set user name to ssh mgmt node, for example: "sycompacct"
51+
private_key: "" ## Set private key file, for example: ~/.ssh/id_rsa
52+
public_key: "" ## Set public key file, for example: ~/.ssh/id_rsa.pub
5353
customer_token:
54-
token: "" ## Set Your Customer Token
54+
token: "" ## Set Your Customer Token
5555
scale_config:
56-
scale_node_count: 3
56+
scale_node_count: 3 ## Number of storage nodes to deploy
57+
scale_machine_type: "c3-standard-44" ## Instance type of the storage nodes
5758
scale_volumes:
5859
data-storage:
59-
count: 4
60-
size_in_gb: 250
60+
count: 4 ## Number of disks to configure on each storage node
61+
size_in_gb: 250 ## Size of each disk
62+
type: "hyperdisk-balanced" ## Type of persistent disk to use
63+
provisioned_iops: 30000 ## Provisiioned IOPS per disk, required for Hyperdisk
64+
provisioned_throughput: 500 ## Provisiioned Throughput in MiB/sec per disk, required for Hyperdisk
65+
6166
ces_config:
62-
enabled: true
63-
create_dns: true
67+
enabled: true ## A value of true enables NFS service
68+
create_dns: true ## Create a round robin DNS entry that include all of the NFS Servers, one NFS server is created on each storage node.
6469
nfs_exports:
6570
- path: $(vars.nfs_dir)
6671
clients:
67-
- no_root_squash: false
72+
- no_root_squash: false ## Disable no_root_squash in NFS
6873

6974
## Set up slurm cluster and configure NFS client
70-
- id: debug_nodeset
75+
- id: compute_nodeset
7176
source: community/modules/compute/schedmd-slurm-gcp-v6-nodeset
7277
use: [network1]
7378
settings:
7479
node_count_dynamic_max: 4
7580
machine_type: n2-standard-2
7681
allow_automatic_updates: false
7782

78-
- id: debug_partition
79-
source: community/modules/compute/schedmd-slurm-gcp-v6-partition
80-
use:
81-
- debug_nodeset
82-
settings:
83-
partition_name: debug
84-
exclusive: false ## allows nodes to stay up after jobs are done
85-
is_default: true
86-
87-
- id: compute_nodeset
88-
source: community/modules/compute/schedmd-slurm-gcp-v6-nodeset
89-
use: [network1]
90-
settings:
91-
node_count_dynamic_max: 20
92-
bandwidth_tier: gvnic_enabled
93-
allow_automatic_updates: false
94-
9583
- id: compute_partition
9684
source: community/modules/compute/schedmd-slurm-gcp-v6-partition
9785
use:
9886
- compute_nodeset
9987
settings:
88+
is_default: true
10089
partition_name: compute
10190

10291
- id: slurm_login
@@ -110,7 +99,6 @@ deployment_groups:
11099
source: community/modules/scheduler/schedmd-slurm-gcp-v6-controller
111100
use:
112101
- network1
113-
- debug_partition
114102
- compute_partition
115103
- slurm_login
116104
settings:

community/examples/sycomp/sycomp-storage.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@ deployment_groups:
4747
name_prefix: "sycompstorage"
4848
security:
4949
ssh:
50-
ssh_user_name: "" ## Set user name to ssh mgmt node, for example: "sycompacct"
51-
private_key: "" ## Set private key file, for example: ~/.ssh/id_rsa
52-
public_key: "" ## Set public key file, for example: ~/.ssh/id_rsa.pub
50+
ssh_user_name: "" ## Set user name to ssh mgmt node, for example: "sycompacct"
51+
private_key: "" ## Set private key file, for example: ~/.ssh/id_rsa
52+
public_key: "" ## Set public key file, for example: ~/.ssh/id_rsa.pub
5353
customer_token:
54-
token: "" ## Set Your Customer Token
54+
token: "" ## Set Your Customer Token
5555
scale_config:
56-
scale_node_count: 3
57-
scale_machine_type: "c3-standard-44"
56+
scale_node_count: 3 ## Number of storage nodes to deploy
57+
scale_machine_type: "c3-standard-44" ## Instance type of the storage nodes
5858
scale_volumes:
5959
data-storage:
60-
count: 4
61-
size_in_gb: 250
62-
type: "hyperdisk-balanced"
63-
provisioned_iops: 30000
64-
provisioned_throughput: 500
60+
count: 4 ## Number of disks to configure on each storage node
61+
size_in_gb: 250 ## Size of each disk
62+
type: "hyperdisk-balanced" ## Type of persistent disk to use
63+
provisioned_iops: 30000 ## Provisiioned IOPS per disk, required for Hyperdisk
64+
provisioned_throughput: 500 ## Provisiioned Throughput in MiB/sec per disk, required for Hyperdisk
6565
afm_config:
66-
afm_node_count: 1
67-
afm_machine_type: "c3-standard-44"
66+
afm_node_count: 1 ## Number of AFM nodes to deploy
67+
afm_machine_type: "c3-standard-44" ## Instance type of the AFM nodes

0 commit comments

Comments
 (0)