-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradcluster.txt
672 lines (542 loc) · 25.5 KB
/
radcluster.txt
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
################################
## Cluster Configuration File ##
################################
[cluster radcluster]
FormLayout = selectionpanel
Category = Schedulers
Autoscale = $Autoscale
[[node defaults]]
UsePublicNetwork = $UsePublicNetwork
Credentials = $Credentials
SubnetId = $SubnetId
Region = $Region
KeyPairLocation = ~/.ssh/cyclecloud.pem
Azure.Identities = /subscriptions/4334cd1d-26f7-4e96-aed0-806c60519a30/resourceGroups/uwradcos_tools/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uwradcos_id
# Slurm autoscaling supports both Terminate and Deallocate shutdown policies
ShutdownPolicy = $configuration_slurm_shutdown_policy
[[[configuration]]]
slurm.install_pkg = azure-slurm-install-pkg-3.0.1.tar.gz
slurm.autoscale_pkg = azure-slurm-pkg-3.0.1.tar.gz
slurm.version = $configuration_slurm_version
slurm.accounting.enabled = $configuration_slurm_accounting_enabled
slurm.accounting.url = $configuration_slurm_accounting_url
slurm.accounting.user = $configuration_slurm_accounting_user
slurm.accounting.password = $configuration_slurm_accounting_password
slurm.additional.config = $additional_slurm_config
slurm.ha_enabled = $configuration_slurm_ha_enabled
slurm.launch_parameters = $configuration_slurm_launch_parameters
# Disable ip-XXXXXXXX hostname generation
cyclecloud.hosts.standalone_dns.enabled = ${NodeNameIsHostname==false}
cyclecloud.hosts.simple_vpc_dns.enabled = ${NodeNameIsHostname==false}
# For fast spin-up after Deallocate, force an immediate re-converge on boot
cyclecloud.converge_on_boot = true
# Disable normal NFS exports and mounts
cyclecloud.mounts.sched.disabled = true
cyclecloud.mounts.shared.disabled = true
cyclecloud.exports.sched.disabled = true
cyclecloud.exports.shared.disabled = true
cyclecloud.exports.sched.samba.enabled = false
cyclecloud.exports.shared.samba.enabled = false
cyclecloud.exports.defaults.samba.enabled = false
cshared.server.legacy_links_disabled = true
[[[cluster-init cyclecloud/slurm:default:3.0.1]]]
Optional = true
[[[cluster-init radcos:default:1.0.0]]]
[[[configuration cyclecloud.mounts.nfs_shared]]]
type = nfs
mountpoint = /shared
export_path = $NFSSharedExportPath
address = $NFSAddress
options = $NFSSharedMountOptions
[[[configuration cyclecloud.mounts.nfs_sched]]]
type = nfs
mountpoint = /sched
disabled = $NFSSchedDisable
[[[configuration cyclecloud.mounts.additional_nfs]]]
disabled = ${AdditionalNAS isnt true}
type = nfs
address = ${ifThenElse(AdditionalNAS, AdditonalNFSAddress, undefined)}
mountpoint = ${ifThenElse(AdditionalNAS, AdditionalNFSMountPoint, undefined)}
export_path = ${ifThenElse(AdditionalNAS, AdditionalNFSExportPath, undefined)}
options = ${ifThenElse(AdditionalNAS, AdditionalNFSMountOptions, undefined)}
[[node scheduler]]
MachineType = $SchedulerMachineType
ImageName = $SchedulerImageName
IsReturnProxy = $ReturnProxy
AdditionalClusterInitSpecs = $SchedulerClusterInitSpecs
ComputerName = ${toLower(regexps("([^a-zA-Z0-9-])", ifThenElse(SchedulerHostName=="Cluster Prefix", StrJoin("-", ClusterName, "scheduler"), ifThenElse(Size(Trim(SchedulerHostName)) == 0 || SchedulerHostName == "Generated", undefined, SchedulerHostName)), "-"))}
# indented version, for clarity.
# ${toLower(
# regexps("([^a-zA-Z0-9-])",
# ifThenElse(SchedulerHostName=="Cluster Prefix",
# StrJoin("-", ClusterName, "scheduler"),
# ifThenElse(Size(Trim(SchedulerHostName)) == 0 || SchedulerHostName == "Generated",
# undefined,
# SchedulerHostName)),
# "-")
# )}
[[[configuration]]]
cyclecloud.mounts.nfs_sched.disabled = true
cyclecloud.mounts.nfs_shared.disabled = ${NFSType != "External"}
slurm.secondary_scheduler_name = ${ifThenElse(configuration_slurm_ha_enabled, "scheduler-ha-1", undefined)}
[[[cluster-init cyclecloud/slurm:scheduler:3.0.1]]]
[[[cluster-init radcos:default:1.0.0]]]
[[[network-interface eth0]]]
AssociatePublicIpAddress = $UsePublicNetwork
[[[volume sched]]]
Size = 30
SSD = True
Mount = builtinsched
Persistent = False
[[[volume shared]]]
Size = ${ifThenElse(NFSType == "Builtin", FilesystemSize, 2)}
SSD = True
Mount = builtinshared
Persistent = ${NFSType == "Builtin"}
[[[configuration cyclecloud.mounts.builtinsched]]]
disabled = ${NFSSchedDisable}
mountpoint = /sched
fs_type = xfs
[[[configuration cyclecloud.mounts.builtinshared]]]
disabled = ${NFSType != "Builtin"}
mountpoint = /shared
fs_type = xfs
[[[configuration cyclecloud.exports.builtinsched]]]
disabled = ${NFSSchedDisable}
export_path = /sched
options = no_root_squash
samba.enabled = false
type = nfs
[[[configuration cyclecloud.exports.builtinshared]]]
disabled = ${NFSType != "Builtin"}
export_path = /shared
samba.enabled = false
type = nfs
[[nodearray scheduler-ha]]
Extends = scheduler
IsReturnProxy = false
InitialCount = $configuration_slurm_ha_enabled
[[[configuration]]]
autoscale.enabled = false
slurm.node_prefix = ${ifThenElse(NodeNamePrefix=="Cluster Prefix", StrJoin("-", ClusterName, ""), NodeNamePrefix)}
slurm.use_nodename_as_hostname = $NodeNameIsHostname
slurm.is_primary_scheduler = false
[[nodearray login]]
InitialCount = $NumberLoginNodes
MachineType = $loginMachineType
ImageName = $SchedulerImageName
[[[cluster-init cyclecloud/slurm:login:3.0.1]]]
[[[cluster-init radcos:default:1.0.0]]]
[[[configuration]]]
autoscale.enabled = false
slurm.node_prefix = ${ifThenElse(NodeNamePrefix=="Cluster Prefix", StrJoin("-", ClusterName, ""), NodeNamePrefix)}
slurm.use_nodename_as_hostname = $NodeNameIsHostname
[[node nodearraybase]]
Abstract = true
CloudInit = '''#!/bin/bash
sudo apt-get update
'''
[[[configuration]]]
slurm.autoscale = true
slurm.node_prefix = ${ifThenElse(NodeNamePrefix=="Cluster Prefix", StrJoin("-", ClusterName, ""), NodeNamePrefix)}
slurm.use_nodename_as_hostname = $NodeNameIsHostname
[[[cluster-init cyclecloud/slurm:execute:3.0.1]]]
[[[cluster-init radcos:default:1.0.0]]]
[[[network-interface eth0]]]
AssociatePublicIpAddress = $ExecuteNodesPublic
[[nodearray hpc]]
Extends = nodearraybase
MachineType = $HPCMachineType
ImageName = $HPCImageName
MaxCoreCount = $MaxHPCExecuteCoreCount
Azure.MaxScalesetSize = $HPCMaxScalesetSize
AdditionalClusterInitSpecs = $HPCClusterInitSpecs
[[[configuration]]]
slurm.default_partition = true
slurm.hpc = true
slurm.partition = hpc
[[nodearray htc]]
Extends = nodearraybase
MachineType = $HTCMachineType
ImageName = $HTCImageName
MaxCoreCount = $MaxHTCExecuteCoreCount
Interruptible = $HTCUseLowPrio
MaxPrice = $HTCSpotMaxPrice
AdditionalClusterInitSpecs = $HTCClusterInitSpecs
[[[configuration]]]
slurm.hpc = false
slurm.partition = htc
# set pcpu = false for all hyperthreaded VMs
slurm.use_pcpu = false
[[nodearray dynamic]]
Extends = nodearraybase
MachineType = $DynamicMachineType
ImageName = $DynamicImageName
MaxCoreCount = $MaxDynamicExecuteCoreCount
Interruptible = $DynamicUseLowPrio
MaxPrice = $DynamicSpotMaxPrice
AdditionalClusterInitSpecs = $DynamicClusterInitSpecs
[[[configuration]]]
slurm.hpc = false
slurm.dynamic_config := "-Z --conf \"Feature=dyn\""
set pcpu = false for all hyperthreaded VMs
slurm.use_pcpu = false
[parameters About]
Order = 1
[[parameters About Slurm]]
[[[parameter slurm]]]
HideLabel = true
Config.Plugin = pico.widget.HtmlTemplateWidget
Config.Template := "<table role=\"presentation\"><tr><td><img alt=\"Slurm icon\" src='static/cloud/cluster/ui/ClusterIcon/slurm.png' width='192' height='192'></td></tr><tr><td><p>Slurm is a highly configurable open source workload manager. See the <a href=\"https://www.schedmd.com/\" target=\"_blank\">Slurm project site</a> for an overview.</p><p>Follow the instructions in the <a href=\"https://github.com/azure/cyclecloud-slurm/\" target=\"_blank\">README</a> for details on instructions on extending and configuring the Project for your environment.</p></td></tr></table>"
[parameters Required Settings]
Order = 10
[[parameters Virtual Machines ]]
Description = "The cluster, in this case, has two roles: the scheduler node with shared filer and the execute hosts. Configure which VM types to use based on the requirements of your application."
Order = 20
[[[parameter Region]]]
Label = Region
Description = Deployment Location
ParameterType = Cloud.Region
[[[parameter SchedulerMachineType]]]
Label = Scheduler VM Type
Description = The VM type for scheduler node
ParameterType = Cloud.MachineType
DefaultValue = Standard_D4ads_v5
[[[parameter loginMachineType]]]
Label = Login node VM Type
Description = The VM type for login nodes.
ParameterType = Cloud.MachineType
DefaultValue = Standard_D8as_v4
[[[parameter HPCMachineType]]]
Label = HPC VM Type
Description = The VM type for HPC execute nodes
ParameterType = Cloud.MachineType
DefaultValue = Standard_F2s_v2
[[[parameter HTCMachineType]]]
Label = HTC VM Type
Description = The VM type for HTC execute nodes
ParameterType = Cloud.MachineType
DefaultValue = Standard_F2s_v2
[[[parameter DynamicMachineType]]]
Label = Dyn VM Type
Description = The VM type for Dynamic execute nodes
ParameterType = Cloud.MachineType
DefaultValue = Standard_F2s_v2
[[parameters Auto-Scaling]]
Description = "The cluster can autoscale to the workload, adding execute hosts as jobs are queued. To enable this check the box below and choose the initial and maximum core counts for the cluster."
Order = 30
[[[parameter Autoscale]]]
Label = Autoscale
DefaultValue = true
Widget.Plugin = pico.form.BooleanCheckBox
Widget.Label = Start and stop execute instances automatically
[[[parameter MaxHPCExecuteCoreCount]]]
Label = Max HPC Cores
Description = The total number of HPC execute cores to start
DefaultValue = 100
Config.Plugin = pico.form.NumberTextBox
Config.MinValue = 1
Config.IntegerOnly = true
[[[parameter MaxHTCExecuteCoreCount]]]
Label = Max HTC Cores
Description = The total number of HTC execute cores to start
DefaultValue = 100
Config.Plugin = pico.form.NumberTextBox
Config.MinValue = 1
Config.IntegerOnly = true
[[[parameter MaxDynamicExecuteCoreCount]]]
Label = Max Dyn Cores
Description = The total number of Dynamic execute cores to start
DefaultValue = 100
Config.Plugin = pico.form.NumberTextBox
Config.MinValue = 1
Config.IntegerOnly = true
[[[parameter HPCMaxScalesetSize]]]
Label = Max VMs per VMSS
Description = The maximum number of VMs created per VM Scaleset e.g. switch in Slurm.
DefaultValue = 100
Config.Plugin = pico.form.NumberTextBox
Config.MinValue = 1
Config.IntegerOnly = true
[[[parameter HTCUseLowPrio]]]
Label = HTC Spot
DefaultValue = false
Widget.Plugin = pico.form.BooleanCheckBox
Widget.Label = Use Spot VMs for HTC execute hosts
[[[parameter HTCSpotMaxPrice]]]
Label = Max Price HTC
DefaultValue = -1
Description = Max price for Spot VMs in USD (value of -1 will not evict based on price)
Config.Plugin = pico.form.NumberTextBox
Conditions.Excluded := HTCUseLowPrio isnt true
Config.MinValue = -1
[[[parameter DynamicUseLowPrio]]]
Label = DynSpot
DefaultValue = false
Widget.Plugin = pico.form.BooleanCheckBox
Widget.Label = Use Spot VMs for Dynamic execute hosts
[[[parameter DynamicSpotMaxPrice]]]
Label = Max Price Dyn
DefaultValue = -1
Description = Max price for Spot VMs in USD (value of -1 will not evict based on price)
Config.Plugin = pico.form.NumberTextBox
Conditions.Excluded := DynamicUseLowPrio isnt true
Config.MinValue = -1
[[[parameter NumberLoginNodes]]]
Label = Num Login Nodes
DefaultValue = 0
Description = Number of optional login nodes to create.
Config.Plugin = pico.form.NumberTextBox
Config.MinValue = 0
Config.MaxValue = 10000
Config.IntegerOnly = true
[[parameters Networking]]
Order = 40
[[[parameter SubnetId]]]
Label = Subnet ID
Description = Subnet Resource Path (ResourceGroup/VirtualNetwork/Subnet)
ParameterType = Azure.Subnet
Required = True
[parameters Network Attached Storage]
Order = 15
[[parameters Scheduler Mount]]
Order = 5
[[[parameter About sched]]]
HideLabel = true
Config.Plugin = pico.widget.HtmlTemplateWidget
Config.Template = ''' <p>The directory <code>/sched</code> is a network attached mount and exists in all nodes of the cluster.
Slurm's configuration is linked in from this directory. It's managed by the scheduler node.
To disable the mount of the /sched directory, and to supply your own for a <strong>hybrid scenario</strong>, select the checkbox below.'''
Order = 6
[[[parameter NFSSchedDisable]]]
HideLabel = true
DefaultValue = false
Widget.Plugin = pico.form.BooleanCheckBox
Widget.Label = External Scheduler
[[parameters Default NFS Share]]
Order = 10
[[[parameter About shared]]]
HideLabel = true
Config.Plugin = pico.widget.HtmlTemplateWidget
Config.Template := "<p>The directory <code>/shared</code> is a network attached mount and exists in all nodes of the cluster. Users' home directories reside within this mountpoint with the base homedir <code>/shared/home</code>.<br><br>There are two options for providing this mount:<br> <strong>[Builtin]</strong>: The scheduler node is an NFS server that provides the mountpoint to the other nodes of the cluster.<br> <strong>[External NFS]</strong>: A network attached storage such as Azure Netapp Files, HPC Cache, or another VM running an NFS server, provides the mountpoint.</p><p>Note: the cluster must be terminated for this to take effect.</p>"
Order = 20
[[[parameter NFSType]]]
Label = NFS Type
ParameterType = StringList
Config.Label = Type of NFS to use for this cluster
Config.Plugin = pico.form.Dropdown
Config.Entries := {[Label="External NFS"; Value="External"], [Label="Builtin"; Value="Builtin"]}
DefaultValue = Builtin
[[[parameter NFSDiskWarning]]]
HideLabel = true
Config.Plugin = pico.widget.HtmlTemplateWidget
Config.Template := "<p><b>Warning</b>: switching an active cluster over to NFS will delete the shared disk.</p>"
Conditions.Hidden := NFSType != "External"
[[[parameter NFSAddress]]]
Label = NFS IP Address
Description = The IP address or hostname of the NFS server. Also accepts a list comma-separated addresses, for example, to mount a frontend load-balanced Azure HPC Cache.
Config.ParameterType = String
Conditions.Hidden := NFSType != "External"
[[[parameter NFSSharedExportPath]]]
Label = Shared Export Path
Description = The path exported by the file system
DefaultValue = /shared
Conditions.Hidden := NFSType != "External"
[[[parameter NFSSharedMountOptions]]]
Label = NFS Mount Options
Description = NFS Client Mount Options
Conditions.Hidden := NFSType != "External"
[[[parameter FilesystemSize]]]
Label = Size (GB)
Description = The filesystem size (cannot be changed after initial start)
DefaultValue = 100
Config.Plugin = pico.form.NumberTextBox
Config.MinValue = 10
Config.MaxValue = 10240
Config.IntegerOnly = true
Conditions.Excluded := NFSType != "Builtin"
[[parameters Additional NFS Mount]]
Order = 20
[[[parameter Additional NFS Mount Readme]]]
HideLabel = true
Config.Plugin = pico.widget.HtmlTemplateWidget
Config.Template := "<p>Mount another NFS endpoint on the cluster nodes.</p>"
Order = 20
[[[parameter AdditionalNAS]]]
HideLabel = true
DefaultValue = false
Widget.Plugin = pico.form.BooleanCheckBox
Widget.Label = Add NFS mount
[[[parameter AdditonalNFSAddress]]]
Label = NFS IP Address
Description = The IP address or hostname of the NFS server. Also accepts a list comma-separated addresses, for example, to mount a frontend load-balanced Azure HPC Cache.
Config.ParameterType = String
Conditions.Excluded := AdditionalNAS isnt true
[[[parameter AdditionalNFSMountPoint]]]
Label = NFS Mount Point
Description = The path at which to mount the Filesystem
DefaultValue = /data
Conditions.Excluded := AdditionalNAS isnt true
[[[parameter AdditionalNFSExportPath]]]
Label = NFS Export Path
Description = The path exported by the file system
DefaultValue = /data
Conditions.Excluded := AdditionalNAS isnt true
[[[parameter AdditionalNFSMountOptions]]]
Label = NFS Mount Options
Description = NFS Client Mount Options
Conditions.Excluded := AdditionalNAS isnt true
[parameters Advanced Settings]
Order = 20
[[parameters Azure Settings]]
Order = 10
[[[parameter Credentials]]]
Description = The credentials for the cloud provider
ParameterType = Cloud.Credentials
[[parameters Slurm Settings ]]
Description = "Section for configuring Slurm"
Order = 5
[[[parameter slurm_version_warning]]]
HideLabel = true
Config.Plugin = pico.widget.HtmlTemplateWidget
Config.Template := "<table role=\"presentation\"><tr><td> <b>Note that for SuSe, only 22.05 is supported.</b></td></tr></table>"
[[[parameter configuration_slurm_version]]]
Required = True
Label = Slurm Version
Description = Version of Slurm to install on the cluster
ParameterType = StringList
Config.Plugin = pico.form.Dropdown
Config.FreeForm = true
Config.Entries := {[Value="22.05.8-1"], [Value="23.02.0-1"]}
DefaultValue = 22.05.8-1
[[[parameter configuration_slurm_accounting_enabled]]]
Label = Job Accounting
DefaultValue = false
Widget.Plugin = pico.form.BooleanCheckBox
Widget.Label = Configure Slurm job accounting
[[[parameter configuration_slurm_accounting_url]]]
Label = Slurm DBD URL
Description = URL of the database to use for Slurm job accounting
Conditions.Excluded := configuration_slurm_accounting_enabled isnt true
[[[parameter configuration_slurm_accounting_user]]]
Label = Slurm DBD User
Description = User for Slurm DBD admin
Conditions.Excluded := configuration_slurm_accounting_enabled isnt true
[[[parameter configuration_slurm_accounting_password]]]
Label = Slurm DBD Password
Description = Password for Slurm DBD admin
ParameterType = Password
Conditions.Excluded := configuration_slurm_accounting_enabled isnt true
[[[parameter configuration_slurm_shutdown_policy]]]
Label = Shutdown Policy
description = By default, autostop will Delete stopped VMS for lowest cost. Optionally, Stop/Deallocate the VMs for faster restart instead.
DefaultValue = Terminate
config.plugin = pico.control.AutoCompleteDropdown
[[[[list Config.Entries]]]]
Name = Terminate
Label = Terminate
[[[[list Config.Entries]]]]
Name = Deallocate
Label = Deallocate
[[[parameter additional_slurm_config]]]
Label = Slurm Configuration
Description = Any additional lines to add to slurm.conf
ParameterType = Text
[[[parameter configuration_slurm_ha_enabled]]]
Label = Slurm HA Node
Description = Deploy with an additional HA node
DefaultValue = false
ParameterType = Boolean
[[[parameter configuration_slurm_launch_parameters]]]
Label = Launch Parameters
Description = Deploy Slurm with Launch Parameters (comma delimited)
DefaultValue = ''
ParameterType = String
[[parameters Software]]
Description = "Specify the scheduling software, and base OS installed on all nodes, and optionally the cluster-init and chef versions from your locker."
Order = 10
[[[parameter NodeNameIsHostname]]]
Label = Name As Hostname
Description = Should the hostname match the nodename for execute nodes?
ParameterType = Boolean
DefaultValue = true
[[[parameter NodeNamePrefix]]]
Label = Node Prefix
Description = Prefix for generated node names, i.e. "prefix-" generates prefix-nodearray-1. Use 'Cluster Prefix' to get $ClusterName-nodearray-1
ParameterType = StringList
Config.Plugin = pico.form.Dropdown
Config.FreeForm = true
DefaultValue = "Cluster Prefix"
Config.Entries := {[Value=""], [Value="Cluster Prefix"]}
Conditions.Hidden := NodeNameIsHostname != true
[[[parameter SchedulerHostName]]]
Label = Scheduler Hostname
Description = Hostname of scheduler. 'Generated' uses the default generated hostname. 'Cluster Prefix' will generate $ClusterName-scheduler.
ParameterType = StringList
Config.Plugin = pico.form.Dropdown
Config.FreeForm = true
DefaultValue = "Cluster Prefix"
Config.Entries := {[Value="Generated"], [Value="Cluster Prefix"]}
Conditions.Hidden := NodeNameIsHostname != true
[[[parameter SchedulerImageName]]]
Label = Scheduler OS
ParameterType = Cloud.Image
Config.OS = linux
DefaultValue = almalinux8
Config.Filter := Package in {"cycle.image.centos7", "cycle.image.ubuntu20", "cycle.image.ubuntu22", "almalinux8", "cycle.image.sles15-hpc"}
[[[parameter HPCImageName]]]
Label = HPC OS
ParameterType = Cloud.Image
Config.OS = linux
DefaultValue = almalinux8
Config.Filter := Package in {"cycle.image.centos7", "cycle.image.ubuntu20", "cycle.image.ubuntu22", "almalinux8", "cycle.image.sles15-hpc"}
[[[parameter HTCImageName]]]
Label = HTC OS
ParameterType = Cloud.Image
Config.OS = linux
DefaultValue = almalinux8
Config.Filter := Package in {"cycle.image.centos7", "cycle.image.ubuntu20", "cycle.image.ubuntu22", "almalinux8", "cycle.image.sles15-hpc"}
[[[parameter DynamicImageName]]]
Label = Dynamic OS
ParameterType = Cloud.Image
Config.OS = linux
DefaultValue = almalinux8
Config.Filter := Package in {"cycle.image.centos7", "cycle.image.ubuntu20", "cycle.image.ubuntu22", "almalinux8", "cycle.image.sles15-hpc"}
[[[parameter SchedulerClusterInitSpecs]]]
Label = Scheduler Cluster-Init
DefaultValue = =undefined
Description = Cluster init specs to apply to the scheduler node
ParameterType = Cloud.ClusterInitSpecs
[[[parameter HTCClusterInitSpecs]]]
Label = HTC Cluster-Init
DefaultValue = =undefined
Description = Cluster init specs to apply to HTC execute nodes
ParameterType = Cloud.ClusterInitSpecs
[[[parameter HPCClusterInitSpecs]]]
Label = HPC Cluster-Init
DefaultValue = =undefined
Description = Cluster init specs to apply to HPC execute nodes
ParameterType = Cloud.ClusterInitSpecs
[[[parameter DynamicClusterInitSpecs]]]
Label = Dyn Cluster-Init
DefaultValue = =undefined
Description = Cluster init specs to apply to Dynamic execute nodes
ParameterType = Cloud.ClusterInitSpecs
[[parameters Advanced Networking]]
Description = Advanced networking settings
[[[parameter ReturnProxy]]]
Label = Return Proxy
DefaultValue = true
ParameterType = Boolean
Config.Label = Use SSH tunnel to connect to CycleCloud (required if direct access is blocked)
[[[parameter UsePublicNetwork]]]
Label = Public Head Node
DefaultValue = true
ParameterType = Boolean
Config.Label = Access scheduler node from the Internet
[[[parameter ExecuteNodesPublic]]]
Label = Public Execute
DefaultValue = false
ParameterType = Boolean
Config.Label = Access execute nodes from the Internet
Conditions.Excluded := UsePublicNetwork isnt true