Jira Service Desk AWS Upgrades
Jira Service Desk
Check App Compatibility...
Resolve issues with apps that are "Incompatible", "Compatible if updated" or "Unknown" before continuing.Administration (T)
Manage apps (D)
Manage apps (L)
Jira Update Check (B)
Put Jira into Upgrade Mode
Administration (T)
Applications (D)
Jira Upgrades (L)
Find (and note) Application Nodes Instance IDs
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 "Jira Node" >/dev/null && \
aws ec2 describe-instances --instance-ids ${iid} --output yaml | egrep "InstanceId"
done
Add a new node to the cluster following the standard instructions, but also update the Jira version...
aws cloudformation describe-stacks --output yaml | grep StackName
To help identify your stack name if you don't remember itmystack=mystackname
ClusterNodeMin=3
ClusterNodeMax=3
JiraProduct='ServiceDesk'
JiraVersion='4.11.0'
Set variablesaws cloudformation describe-stacks --stack-name ${mystack}
Parameter list was correct on 13-Jul-2020; newer versions of the Quick Start may affect the parameter listaws cloudformation update-stack --stack-name ${mystack} --use-previous-template --parameters \
ParameterKey=ClusterNodeMin,ParameterValue=${ClusterNodeMin} \
ParameterKey=ClusterNodeMax,ParameterValue=${ClusterNodeMax} \
ParameterKey=JiraProduct,ParameterValue=${JiraProduct} \
ParameterKey=JiraVersion,ParameterValue=${JiraVersion} \
ParameterKey=PrivateSubnet2CIDR,UsePreviousValue=true \
ParameterKey=TomcatEnableLookups,UsePreviousValue=true \
ParameterKey=DBIops,UsePreviousValue=true \
ParameterKey=SSLCertificateARN,UsePreviousValue=true \
ParameterKey=QSS3KeyPrefix,UsePreviousValue=true \
ParameterKey=TomcatMinSpareThreads,UsePreviousValue=true \
ParameterKey=DBMaxWaitMillis,UsePreviousValue=true \
ParameterKey=DBStorageEncrypted,UsePreviousValue=true \
ParameterKey=BastionHostRequired,UsePreviousValue=true \
ParameterKey=DBTestOnBorrow,UsePreviousValue=true \
ParameterKey=VPCCIDR,UsePreviousValue=true \
ParameterKey=DeploymentAutomationPlaybook,UsePreviousValue=true \
ParameterKey=PublicSubnet1CIDR,UsePreviousValue=true \
ParameterKey=MailEnabled,UsePreviousValue=true \
ParameterKey=DBMultiAZ,UsePreviousValue=true \
ParameterKey=JvmHeapOverride,UsePreviousValue=true \
ParameterKey=QSS3BucketName,UsePreviousValue=true \
ParameterKey=DBRemoveAbandoned,UsePreviousValue=true \
ParameterKey=DBInstanceClass,UsePreviousValue=true \
ParameterKey=DBMasterUserPassword,UsePreviousValue=true \
ParameterKey=CloudWatchIntegration,UsePreviousValue=true \
ParameterKey=ClusterNodeInstanceType,UsePreviousValue=true \
ParameterKey=DBMinIdle,UsePreviousValue=true \
ParameterKey=PublicSubnet2CIDR,UsePreviousValue=true \
ParameterKey=DBPassword,UsePreviousValue=true \
ParameterKey=DeploymentAutomationCustomParams,UsePreviousValue=true \
ParameterKey=DBStorage,UsePreviousValue=true \
ParameterKey=TomcatMaxThreads,UsePreviousValue=true \
ParameterKey=InternetFacingLoadBalancer,UsePreviousValue=true \
ParameterKey=DeploymentAutomationBranch,UsePreviousValue=true \
ParameterKey=DBMaxIdle,UsePreviousValue=true \
ParameterKey=TomcatAcceptCount,UsePreviousValue=true \
ParameterKey=DBStorageType,UsePreviousValue=true \
ParameterKey=DBEngine,UsePreviousValue=true \
ParameterKey=AccessCIDR,UsePreviousValue=true \
ParameterKey=TomcatDefaultConnectorPort,UsePreviousValue=true \
ParameterKey=DBMinEvictableIdleTimeMillis,UsePreviousValue=true \
ParameterKey=DeploymentAutomationKeyName,UsePreviousValue=true \
ParameterKey=TomcatRedirectPort,UsePreviousValue=true \
ParameterKey=DBTestWhileIdle,UsePreviousValue=true \
ParameterKey=HostedZone,UsePreviousValue=true \
ParameterKey=CatalinaOpts,UsePreviousValue=true \
ParameterKey=KeyPairName,UsePreviousValue=true \
ParameterKey=CustomDnsName,UsePreviousValue=true \
ParameterKey=AvailabilityZones,UsePreviousValue=true \
ParameterKey=TomcatContextPath,UsePreviousValue=true \
ParameterKey=DBRemoveAbandonedTimeout,UsePreviousValue=true \
ParameterKey=ClusterNodeVolumeSize,UsePreviousValue=true \
ParameterKey=DBPoolMinSize,UsePreviousValue=true \
ParameterKey=DBTimeBetweenEvictionRunsMillis,UsePreviousValue=true \
ParameterKey=PrivateSubnet1CIDR,UsePreviousValue=true \
ParameterKey=DBEngineVersion,UsePreviousValue=true \
ParameterKey=ExportPrefix,UsePreviousValue=true \
ParameterKey=DBPoolMaxSize,UsePreviousValue=true \
ParameterKey=DeploymentAutomationRepository,UsePreviousValue=true \
ParameterKey=TomcatProtocol,UsePreviousValue=true
Check Progress using AWS Cloudformation console or...
aws cloudformation list-stacks --output yaml --stack-status-filter "UPDATE_IN_PROGRESS" "UPDATE_ROLLBACK_FAILED" "UPDATE_ROLLBACK_IN_PROGRESS" "UPDATE_COMPLETE" "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | grep -E 'StackName|StackStatus'
Terminate the nodes running the older version, using the InstanceIds you noted earlier...
aws ec2 terminate-instances --instance-ids instanceid
Monitor progress...
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 "Jira Node" >/dev/null && \
aws ec2 describe-instances --instance-ids ${iid} --output yaml | egrep "InstanceId| Code:| Name:"
done
Check Upgrade Status in the Jira application...
Administration (T)
Applications (D)
Jira Upgrades (L)
READY TO RUN UPGRADE TASKS All nodes have been upgraded to a newer version. You can now finalize the upgrade.
Check Current Version....
Administration (T)
Applications (D)
Versions & licenses (L)
When anyone next logs in to Jira Service Desk they should see a splah screen like this...
The Jira Service Desk Upgrade is Complete!
Bibliography
https://confluence.atlassian.com/adminjiraserver/upgrading-jira-data-center-on-aws-945105105.html
https://www.atlassian.com/blog/confluence/read-only-mode-for-confluence-data-centerhttps://www.atlassian.com/blog/jira-software/jira-server-7-3-power-to-the-adminshttps://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.htmlhttps://confluence.atlassian.com/upm/checking-app-compatibility-with-application-updates-273875705.htmlhttps://confluence.atlassian.com/upm/updating-apps-273875710.htmlhttps://confluence.atlassian.com/upm/using-the-universal-plugin-manager-273875704.htmlhttps://confluence.atlassian.com/adminjiraserver/upgrade-matrix-966063322.htmlhttps://confluence.atlassian.com/support/pre-upgrade-planning-tool-973479832.htmlhttps://confluence.atlassian.com/adminjiraserver/upgrading-jira-data-center-with-zero-downtime-938846953.html
Jira Service Desk Release Noteshttps://confluence.atlassian.com/servicemanagement/jira-service-management-release-notes-780083086.html
4.10https://confluence.atlassian.com/servicedesk/jira-service-desk-4-10-x-release-notes-1005341516.html
4.20https://confluence.atlassian.com/servicemanagement/issues-resolved-in-4-20-19-1217200204.html
Confluence Release Noteshttps://confluence.atlassian.com/doc/confluence-7-6-release-notes-1004945745.html