|
166 | 166 | ] |
167 | 167 | }, |
168 | 168 | "DataReplica": { |
169 | | - "Description": "Number of replica copies of data across the all cluster nodes on two AZs.", |
| 169 | + "Description": "Number of replica copies of data across the cluster nodes.", |
170 | 170 | "Type": "Number", |
171 | 171 | "Default": "2", |
172 | 172 | "AllowedValues": [ |
|
576 | 576 | "1" |
577 | 577 | ] |
578 | 578 | }, |
579 | | - "SpectrumS3BucketProvided": { |
| 579 | + "SpectrumS3BucketNotProvided": { |
580 | 580 | "Fn::Equals": [ |
581 | 581 | { |
582 | 582 | "Ref": "SpectrumS3Bucket" |
|
770 | 770 | "ec2:DescribeInstanceRecoveryAttribute", |
771 | 771 | "ec2:RecoverInstances", |
772 | 772 | "ssm:DescribeParameters", |
773 | | - "ssm:PutParameter", |
774 | | - "ssm:GetParameters", |
775 | | - "ssm:DeleteParameter" |
| 773 | + "ssm:PutParameter", |
| 774 | + "ssm:GetParameters", |
| 775 | + "ssm:DeleteParameter" |
776 | 776 | ], |
777 | 777 | "Effect": "Allow" |
778 | 778 | }, |
|
970 | 970 | }, |
971 | 971 | "SpectrumScaleS3Bucket": { |
972 | 972 | "Type": "AWS::S3::Bucket", |
973 | | - "Condition": "SpectrumS3BucketProvided", |
974 | | - "Properties": { |
975 | | - "Tags": [ |
976 | | - { |
977 | | - "Key": "Name", |
978 | | - "Value": { |
979 | | - "Fn::Join": [ |
980 | | - "", |
981 | | - [ |
982 | | - { |
983 | | - "Ref": "AWS::StackId" |
984 | | - }, |
985 | | - " - spectrum-scale-bucket" |
986 | | - ] |
987 | | - ] |
988 | | - } |
989 | | - } |
990 | | - ] |
991 | | - } |
| 973 | + "Condition": "SpectrumS3BucketNotProvided" |
992 | 974 | }, |
993 | 975 | "ServerNodeLaunchConfig": { |
994 | 976 | "Type": "AWS::AutoScaling::LaunchConfiguration", |
|
1569 | 1551 | "IFS=' ' read -a adminArr <<< `cat /var/log/instance_server.out | awk '{print $4,$1}' | sort | awk '{print $2}'`\n", |
1570 | 1552 | "ADMIN_INS=${adminArr[0]}\n", |
1571 | 1553 | "echo ADMIN_INS=$ADMIN_INS\n", |
1572 | | - "echo adminArr:$adminArr\n", |
1573 | 1554 | "adminNode=$(cat /var/log/instance_server.out | grep ${adminArr[0]} | awk '{print $2}')\n", |
1574 | 1555 | "echo adminNode=$adminNode\n", |
1575 | 1556 | "if [ $INSTANCE_ID == $ADMIN_INS ]\n", |
|
2774 | 2755 | "02_gpfs-compute-setup": { |
2775 | 2756 | "command": "/usr/bin/gpfs-compute-setup.sh | while IFS= read -r line; do printf \"%s [INFO] %s\n\" \"$(date)\" \"$line\"; done >> /var/log/gpfs/gpfs-compute-setup.log 2>&1" |
2776 | 2757 | }, |
2777 | | - "03_gpfs-compute-setup": { |
| 2758 | + "03_gpfs-passwordless-setup": { |
2778 | 2759 | "command": "/usr/bin/gpfs-passwordless-setup.sh | while IFS= read -r line; do printf \"%s [INFO] %s\n\" \"$(date)\" \"$line\"; done >> /var/log/gpfs/gpfs-passwordless-setup.log 2>&1" |
2779 | 2760 | }, |
2780 | 2761 | "04_gpfs-auto-recovery-setup": { |
|
3038 | 3019 | "SpectrumS3Bucket": { |
3039 | 3020 | "Value": { |
3040 | 3021 | "Fn::If": [ |
3041 | | - "SpectrumS3BucketProvided", |
| 3022 | + "SpectrumS3BucketNotProvided", |
3042 | 3023 | { |
3043 | 3024 | "Ref": "SpectrumScaleS3Bucket" |
3044 | 3025 | }, |
|
0 commit comments