Skip to content

Commit fbd950a

Browse files
Sean Smithmhuguesaws
authored andcommitted
Remove CLI Update Commands
Signed-off-by: Sean Smith <[email protected]>
1 parent 48a3d15 commit fbd950a

File tree

2 files changed

+0
-122
lines changed

2 files changed

+0
-122
lines changed

content/04-container-parallelcluster/02-update-PC.md

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -148,102 +148,3 @@ SharedStorage:
148148
DeletionPolicy: Delete
149149
Size: '50'
150150
```
151-
152-
Let update the cluster by running the **pcluster update** command
153-
154-
```bash
155-
pcluster update-cluster -n hpc-cluster-lab -c ~/environment/my-cluster-config.yaml -r $AWS_REGION --suppress-validators ALL
156-
```
157-
158-
The cluster update process will take ~5 minutes.
159-
Pay attention to the **old value** and **new value** fields. You will see a new instance type under new value field. The output will be similar to this:
160-
```bash
161-
{
162-
"cluster": {
163-
"clusterName": "hpc-cluster-lab",
164-
"cloudformationStackStatus": "UPDATE_IN_PROGRESS",
165-
"cloudformationStackArn": "arn:aws:cloudformation:eu-west-1:104413097956:stack/hpc-cluster-lab/06f3af10-dc3a-11ec-8800-0a69a3d8066b",
166-
"region": "eu-west-1",
167-
"version": "3.1.2",
168-
"clusterStatus": "UPDATE_IN_PROGRESS"
169-
},
170-
"changeSet": [
171-
{
172-
"parameter": "HeadNode.Iam.S3Access",
173-
"requestedValue": {
174-
"BucketName": "parallelcluster-isc22-postinstall-5a12bc77e1"
175-
}
176-
},
177-
{
178-
"parameter": "HeadNode.Iam.AdditionalIamPolicies",
179-
"requestedValue": {
180-
"Policy": "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess"
181-
}
182-
},
183-
{
184-
"parameter": "Scheduling.SlurmQueues",
185-
"requestedValue": {
186-
"Name": "c5xlarge",
187-
"ComputeResources": [
188-
{
189-
"Name": "c5xlarge",
190-
"InstanceType": "c5.xlarge",
191-
"MinCount": 0,
192-
"MaxCount": 8
193-
}
194-
],
195-
"Networking": {
196-
"SubnetIds": [
197-
"subnet-06368fbc501002dec"
198-
]
199-
},
200-
"Iam": {
201-
"AdditionalIamPolicies": [
202-
{
203-
"Policy": "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess"
204-
}
205-
],
206-
"S3Access": [
207-
{
208-
"BucketName": "parallelcluster-isc22-postinstall-5a12bc77e1"
209-
}
210-
]
211-
},
212-
"CustomActions": {
213-
"OnNodeConfigured": {
214-
"Script": "s3://parallelcluster-isc22-postinstall-5a12bc77e1/post_install.sh"
215-
}
216-
}
217-
}
218-
}
219-
]
220-
}
221-
```
222-
223-
224-
You will have to wait for the cluster status to be **UPDATE_COMPLETE**. You can check the cluster with the **pcluster list-clusters** command as follow:
225-
```bash
226-
pcluster describe-cluster -n hpc-cluster-lab -r ${AWS_REGION}
227-
```
228-
229-
Here is the expected output:
230-
```bash
231-
{
232-
"clusters": [
233-
{
234-
"clusterName": "hpc-cluster-lab",
235-
"cloudformationStackStatus": "UPDATE_COMPLETE",
236-
"cloudformationStackArn": "arn:aws:cloudformation:eu-west-1:104413097956:stack/hpc-cluster-lab/06f3af10-dc3a-11ec-8800-0a69a3d8066b",
237-
"region": "eu-west-1",
238-
"version": "3.1.2",
239-
"clusterStatus": "UPDATE_COMPLETE"
240-
}
241-
]
242-
}
243-
```
244-
245-
Start your cluster again after update process is completed.
246-
247-
```bash
248-
pcluster update-compute-fleet -n hpc-cluster-lab --status START_REQUESTED -r $AWS_REGION
249-
```

static/images/container-pc/singularity-logo.svg

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)