Adminstration (Cog) - General Configuration (Dropdown) - ADMINISTRATION (Left) - Clustering (Left)
Login and navigate to the CloudFormation Stacks page.
aws cloudformation describe-stacks --output yaml | grep StackName
mystack=mystackname
ClusterNodeMin=2
ClusterNodeMax=2
aws cloudformation describe-stacks --stack-name ${mystack}
aws cloudformation update-stack --stack-name ${mystack} \
--use-previous-template --capabilities CAPABILITY_NAMED_IAM --parameters \
ParameterKey=ClusterNodeMin,ParameterValue=${ClusterNodeMin} \
ParameterKey=ClusterNodeMax,ParameterValue=${ClusterNodeMax} \
ParameterKey=CollaborativeEditingMode,UsePreviousValue=true \
ParameterKey=ConfluenceVersion,UsePreviousValue=true \
ParameterKey=CloudWatchIntegration,UsePreviousValue=true \
ParameterKey=ClusterNodeInstanceType,UsePreviousValue=true \
ParameterKey=ClusterNodeVolumeSize,UsePreviousValue=true \
ParameterKey=SynchronyClusterNodeMax,UsePreviousValue=true \
ParameterKey=SynchronyClusterNodeMin,UsePreviousValue=true \
ParameterKey=SynchronyNodeInstanceType,UsePreviousValue=true \
ParameterKey=DeploymentAutomationRepository,UsePreviousValue=true \
ParameterKey=DeploymentAutomationBranch,UsePreviousValue=true \
ParameterKey=DeploymentAutomationPlaybook,UsePreviousValue=true \
ParameterKey=DeploymentAutomationCustomParams,UsePreviousValue=true \
ParameterKey=DeploymentAutomationKeyName,UsePreviousValue=true \
ParameterKey=DBEngine,UsePreviousValue=true \
ParameterKey=DBInstanceClass,UsePreviousValue=true \
ParameterKey=DBIops,UsePreviousValue=true \
ParameterKey=DBMasterUserPassword,UsePreviousValue=true \
ParameterKey=DBMultiAZ,UsePreviousValue=true \
ParameterKey=DBPassword,UsePreviousValue=true \
ParameterKey=DBStorage,UsePreviousValue=true \
ParameterKey=DBStorageEncrypted,UsePreviousValue=true \
ParameterKey=DBStorageType,UsePreviousValue=true \
ParameterKey=BastionHostRequired,UsePreviousValue=true \
ParameterKey=KeyPairName,UsePreviousValue=true \
ParameterKey=CidrBlock,UsePreviousValue=true \
ParameterKey=InternetFacingLoadBalancer,UsePreviousValue=true \
ParameterKey=SSLCertificateARN,UsePreviousValue=true \
ParameterKey=CustomDnsName,UsePreviousValue=true \
ParameterKey=HostedZone,UsePreviousValue=true \
ParameterKey=AutologinCookieAge,UsePreviousValue=true \
ParameterKey=TomcatContextPath,UsePreviousValue=true \
ParameterKey=CatalinaOpts,UsePreviousValue=true \
ParameterKey=JvmHeapOverride,UsePreviousValue=true \
ParameterKey=JvmHeapOverrideSynchrony,UsePreviousValue=true \
ParameterKey=DBPoolMaxSize,UsePreviousValue=true \
ParameterKey=DBPoolMinSize,UsePreviousValue=true \
ParameterKey=DBTimeout,UsePreviousValue=true \
ParameterKey=DBIdleTestPeriod,UsePreviousValue=true \
ParameterKey=DBMaxStatements,UsePreviousValue=true \
ParameterKey=DBValidate,UsePreviousValue=true \
ParameterKey=DBPreferredTestQuery,UsePreviousValue=true \
ParameterKey=DBAcquireIncrement,UsePreviousValue=true \
ParameterKey=MailEnabled,UsePreviousValue=true \
ParameterKey=TomcatAcceptCount,UsePreviousValue=true \
ParameterKey=TomcatConnectionTimeout,UsePreviousValue=true \
ParameterKey=TomcatDefaultConnectorPort,UsePreviousValue=true \
ParameterKey=TomcatEnableLookups,UsePreviousValue=true \
ParameterKey=TomcatMaxThreads,UsePreviousValue=true \
ParameterKey=TomcatMinSpareThreads,UsePreviousValue=true \
ParameterKey=TomcatProtocol,UsePreviousValue=true \
ParameterKey=TomcatRedirectPort,UsePreviousValue=true \
ParameterKey=QSS3BucketName,UsePreviousValue=true \
ParameterKey=QSS3KeyPrefix,UsePreviousValue=true \
ParameterKey=ExportPrefix,UsePreviousValue=true
aws cloudformation list-stacks --output yaml --stack-status-filter "UPDATE_IN_PROGRESS" "UPDATE_ROLLBACK_FAILED" "UPDATE_ROLLBACK_IN_PROGRESS" "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | grep -E 'StackName|StackStatus'
for iid in $(aws ec2 describe-instance-status --output yaml | grep InstanceId | tr -d ' ' | awk -F: '{ print $2 }')
do
aws ec2 describe-instances --instance-ids ${iid} --output yaml | grep "Confluence Node" >/dev/null && \
aws ec2 describe-instances --instance-ids ${iid} --output yaml | egrep "InstanceId| Code:| Name:"
done