#=============================================================
#  ApplyHotFix.html
#=============================================================

applyhotfix_head.txt=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ${line.separator}\
<html> ${line.separator}\
<head> ${line.separator}\
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> ${line.separator}\
<title>Summary of Applying Hot Fix Configuration</title> ${line.separator}\
<STYLE> ${line.separator}\
BODY {color: #000000; font-family: Arial, Helvetica, sans-serif;} ${line.separator}\
H1 {color: #000000; font-family: Arial, Helvetica, sans-serif;} ${line.separator}\
H2 {color: #000000; font-family: Arial, Helvetica, sans-serif; padding-top: 1em;} ${line.separator}\
H3 {color: #000000; font-family: Arial, Helvetica, sans-serif; padding-top: 1em;} ${line.separator}\
H4 {color: #000000; font-family: Arial, Helvetica, sans-serif;} ${line.separator}\
DT {color: #000000; font-family: Arial, Helvetica, sans-serif;} ${line.separator}\
DD {color: #000000; font-family: Arial, Helvetica, sans-serif} ${line.separator}\
H5 {color: #000000; font-family: Arial, Helvetica, sans-serif} ${line.separator}\
P  {color: #000000; font-family: Arial, Helvetica, sans-serif} ${line.separator}\
LI {color: #000000; font-family: Arial, Helvetica, sans-serif} ${line.separator}\
TD {color: #000000; font-family: Arial, Helvetica, sans-serif} ${line.separator}\
CODE {color: #000000; font-family: Courier, serif} ${line.separator}\
.detailTable {border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: 1px solid #ddd} ${line.separator}\
.detailLabel {padding: 5px; text-align: right; font-weight: bold; border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; padding-right: 10px} ${line.separator}\
.detailContent {padding: 5px; border-bottom: 1px solid #ddd} ${line.separator}\
</STYLE> ${line.separator}\
<body bgcolor="#FFFFFF" marginheight="0" marginWidth="5" topmargin="0" leftmargin="5"> ${line.separator}\
</head> ${line.separator}\
${line.separator}\
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"> ${line.separator}\
<TR> ${line.separator}\
<td width="129" align="left" valign="top"><img src="${cfgwizard.install.config.dir}/documents/images/colorBar.jpg" alt="Color bar" width="550" height="60"></td> ${line.separator}\
<td align="right" valign="top" width="100%" class="navlink"><A href="http://www.sas.com"><IMG src="${cfgwizard.install.config.dir}/documents/images/saslogo.jpg" alt="SAS - The Power to Know" width="119" height="60" border="0"></A></td> ${line.separator}\
</TR> ${line.separator}\
</TABLE> ${line.separator}\
<div style="border: 1px solid #000000; border-left:none; border-right:none;"><img src="${cfgwizard.install.config.dir}/documents/images/spacer.gif" width="1" height="4" alt=""></div> ${line.separator}\
<center><h1>Summary of Applying Hot Fix Configuration<br> for ${config.dir.name}-${config.level.name}</h1></center>${line.separator}\

applyhotfix_head_intro.txt=\
<h1>Information</h1> ${line.separator}\
<p>A complete summary of the deployment process can be found in <a href="DeploymentSummary.html" target="_blank">DeploymentSummary.html</a>.\
This summary details what steps of the deployment process completed successfully and what steps did not.\
Configuration logs for each web application are located in <a href="${config.lev.logs.configure.dir}" target="_blank">${config.lev.logs.configure.dir}</a>.\
Review the logs to ensure there were no errors.</p>\
<p>There may be additional instructions provided below that are applicable to your environment.  Ensure that you read and complete any applicable steps if provided.</p>${line.separator}

applyhotfix_additionalinfo_head.txt=<h1>Additional Information for Redeployed Web Applications</h1> ${line.separator} \
<p>Please examine the <a href="DeploymentSummary.html" target="_blank">DeploymentSummary.html</a> to determine if any web applications were deployed. ${line.separator} \
If so and you have a horizontal cluster, please follow the instructions documented below under <a href="#additionalinfo_head_horizontal_cluster">Additional Steps for Horizontal Clusters</a>.</p> ${line.separator} \
<h2>Backups of Previous Web Application Versions</h2> ${line.separator} \
<p>Before the SAS Deployment Manager redeploys a web application, it creates backups of the existing version and the context file. The backups are as follows:</p> ${line.separator} \
<ul> ${line.separator} \
<li>Application backups are in the <i>SAS-config-dir\\Levn\\Web\\WebAppServer\\SASServer1_1\\sas_webapps\\Backup</i> directory.</li> ${line.separator} \
<br/> ${line.separator} \
<li>Context file backups are in the <i>SAS-config-dir\\Levn\\Web\\WebAppServer\\SASServer1_1\\conf\\Catalina\\localhost\\Backup</i> directory.</li> ${line.separator} \
</ul> ${line.separator} \
<p>A timestamp is appended to the web application directory and context file to indicate when the backup was performed. If you frequently redeploy web applications, you can consume disk space. You can delete backup files that are no longer needed.</p> ${line.separator} \
${line.separator} \
<a name="additionalinfo_head_horizontal_cluster"><h2>Additional Steps for Horizontal Clusters</h2></a> ${line.separator} \
<p>To redeploy web applications on additional machines in a horizontal cluster, follow these steps:</p> ${line.separator} \
<ol> ${line.separator} \
<li>Stop the SAS Web Application Server instances on the additional machines.</li> ${line.separator} \
<br/> ${line.separator} \
<li>Copy the updated application EAR and WAR files from the primary machine to the staging directory on the additional machines. ${line.separator} \
<br/>The staging directory is typically <i>SAS-config-dir\\Levn\\Web\\Staging</i>.</li> ${line.separator} \
<br/> ${line.separator} \
<li>Use the <i>appsrvconfig</i> command on each additional machine to undeploy and redeploy the web applications: ${line.separator} \
<br/> ${line.separator} \
<br/><i>appsrvconfig.cmd -e run undeploy application application-name server SASServer1</i> ${line.separator} \
<br/> ${line.separator} \
<br/><i>appsrvconfig.cmd -e run deploy application application-name server SASServer1</i> ${line.separator} \
<br/> ${line.separator} \
<br/>The command is located in the <i>SAS-config-dir\\Levn\\Web\\Scripts\\AppServer</i> directory. On UNIX deployments, the command is appsrvconfig.sh. ${line.separator} \
</li> ${line.separator} \
<br/> ${line.separator} \
<li>Start the SAS Web Application Server instances on the additional machines.</li> ${line.separator} \
<br/> ${line.separator} \
<li>Restart SAS Web Server.</li> ${line.separator} \
</ol> ${line.separator} \
<p>You can also rerun the SAS Deployment Wizard and reconfigure the SAS Web Application Servers on clustered member machines. This will copy everything from the staging directory on the primary and deploy to the SAS Web Application Servers on clustered member machines.</p> ${line.separator}
