Open main menu

CDOT Wiki β

Changes

OSTEP Websphere Manual Setup

10,374 bytes added, 15:46, 30 October 2014
no edit summary
[[Category:OSTEP_SOP]][[Category:Websphere]]
 
 
= Overview =
This section will help with a manual setup of Websphere 7 on a Centos installationimage for development systems. This should be useful for all projects that package the different pieces of Websphere and scripts that automate the configuration of Websphere.
= Requirements =
This section should contain a list of all procedures and software that are required before the Websphere installation.
== JDK Install Dependencies == Install JDK Software packages, openJDK that may be required to run websphere.<pre>yum install java-1.6.0-openjdk glibc*i686*</pre> == Create Websphere User ==Websphere should be run by a single non-root user. All Websphere files should be owned by this user.<pre>username: wasadmin</pre> == Websphere Directory Structure ==All Websphere files should be kept within the directory "/opt/IBM/Websphere/". All files under "/opt/IBM/" should workbe owned by user wasadmin.
<pre>
yum install java-1.6.0-openjdk/opt/IBM/WebSphere//opt/IBM/WebSphere/AppServer//opt/IBM/WebSphere/HTTPServer//opt/IBM/WebSphere/UpdateInstaller//opt/IBM/WebSphere/Downloads//opt/IBM/WebSphere/Downloads/ApplicationServerND//opt/IBM/WebSphere/Downloads/ApplicationServerNDSup//opt/IBM/WebSphere/Downloads/UpdateInstaller//opt/IBM/WebSphere/Downloads/NewFixPacks
</pre>
[http://www-01.ibm.com/support/docview.wss?uid=swg27009661 Websphere Fix Packs]
 =Install Websphere Application Server = Installation of the Websphere Application Server which will manage all Websphere Directory Structure ==resources.* Perform all tasks as user: "wasadmin"All * Find all Websphere files should be kept within on host "bahamas" in directory "/data/resources"* Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/Websphere/Downloads/ApplicationServerND/".* Extract the compressed files:<pre>cd /opt/IBM/WebSphere/Downloads/ApplicationServerND/tar -xvf file.tar.gz</pre> * Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/install"<pre>433,434c433< release=`cat /etc/redhat-release | awk '{print $7}'`---> #release=`cat /etc/redhat-release | awk '{print $7}'`> release=`cat /etc/centos-release | awk '{print $4}'`</pre>* Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/response. Copy nd.txt"<pre>35c35< -OPT silentInstallLicenseAcceptance="false"---> -OPT silentInstallLicenseAcceptance="true"58c58< # -OPT allowNonRootSilentInstall="true"---> -OPT allowNonRootSilentInstall="true"70c70< # -OPT disableOSPrereqChecking="true"---> -OPT disableOSPrereqChecking="true"76c76< # -OPT disableNonBlockingPrereqChecking="true"---> -OPT disableNonBlockingPrereqChecking="true"95c95< # -OPT checkFilePermissions="true"---> -OPT checkFilePermissions="true"140c140< -OPT profileType="cell"---> -OPT profileType="none"145c145< # -OPT feature="noFeature"---> -OPT feature="noFeature"185c185< -OPT PROF_enableAdminSecurity="true"---> -OPT PROF_enableAdminSecurity="false"206c206< # -OPT installLocation="/usr/IBM/WebSphere/AppServer"---> -OPT installLocation="/opt/IBM/WebSphere/AppServer"236c236< # -OPT cimSelected="true"---> -OPT cimSelected="false"</pre>* Navigate to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS"* run the following command:<pre>./install -options "responsefile.nd.txt" -silent</pre>* Installation logs(and errors) can be found in:<pre>/home/wasadmin/waslogs/log.txt/opt/IBM/WebSphere/AppServer/logs/install/log.txt</pre>* Confirm successful installation by searching for "INSTCONFSUCCESS" at the end of the log file. = Install Websphere Application Server Supplements =Installation of the Application Server Supplements includes the installation of the HTTPServer which is required for the successful deployment of the application.* Perform all tasks as user: "wasadmin"* Find all Websphere files on host "bahamas" in directory "/data/resources"* Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/"* Extract the compressed files into :<pre>cd /opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/tar -xvf file.tar.gz </pre>* Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS/install"<pre> 393c393,394< release=`cat /etc/redhat-release | awk '{print $7}'`---> #release=`cat /etc/redhat-release | awk '{print $7}'`> release=`cat /etc/centos-release | awk '{print $4}'`433c434,435< release=`cat /etc/redhat-release | awk '{print $7}'`---> #release=`cat /etc/redhat-release | awk '{print $7}'`> release=`cat /etc/centos-release | awk '{print $4}'`</pre>* Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS/response.txt"<pre> 51,52c51,52< -OPT silentInstallLicenseAcceptance="false"< -OPT allowNonRootSilentInstall=false---> -OPT silentInstallLicenseAcceptance="true"> -OPT allowNonRootSilentInstall=true62c62< #-OPT disableOSPrereqChecking="true"---> -OPT disableOSPrereqChecking="true"98c98< -OPT installLocation="/usr/IBM/HTTPServer"---> -OPT installLocation="/opt/IBM/WebSphere/HTTPServer"141c141< -OPT createAdminAuth="false"---> -OPT createAdminAuth="true"149,151c149,151< -OPT adminAuthUser="username"< -OPT adminAuthPassword="password"< -OPT adminAuthPasswordConfirm="password"---> -OPT adminAuthUser="custom_username"> -OPT adminAuthPassword="custom_password"> -OPT adminAuthPasswordConfirm="custom_password"169c169< -OPT createAdminUserGroup=true---> -OPT createAdminUserGroup=false176,177c176,177< -OPT setupAdminUser="useridname"< -OPT setupAdminGroup="groupname"---> -OPT setupAdminUser="wasadmin"> -OPT setupAdminGroup="wasadmin"195c195< -OPT installHttpService="true"---> #-OPT installHttpService="true"197c197< -OPT installAdminService="true"---> #-OPT installAdminService="true"215c215< -OPT winServiceLogOnAs="localSystem"---> #-OPT winServiceLogOnAs="localSystem"221c221< -OPT winServiceUser="YOUR_USER_NAME"---> #-OPT winServiceUser="YOUR_USER_NAME"227c227< -OPT winServicePassword="YOUR_PASSWORD"---> #-OPT winServicePassword="YOUR_PASSWORD"234c234< -OPT winServiceStartType="automatic"---> #-OPT winServiceStartType="automatic"283c283< -OPT washostname="localhost"---> -OPT washostname="centos" </pre>  * Make the following changes to the file "/opt/IBM/WebSphere/Downloads /ApplicationServerNDSup/IHS/ihs.primary.pak/repository/prereq.ihs/properties/version/nif/config/install/CreateAdminPasswd.ant"<pre>136c136< <condition property="HTPASSWD_EXECUTABLE" value="${IHS_HOME}/bin/htpasswd">---> <condition property="HTPASSWD_EXECUTABLE" value="/usr/bin/htpasswd"></pre> * Navigate to the directory, "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS"* run the other directories will following command:<pre>./install -options "responsefile.txt" -silent</pre>* Installation logs(and errors) can be used found in:<pre>/home/wasadmin/waslogs/log.txt/opt/IBM/WebSphere/HTTPServer/logs/install/log.txt</pre>* Confirm successful installation by searching for installing "INSTCONFSUCCESS" at the specific softwareend of the log file. Take a moment  = Install Websphere Update Installer =* Perform all tasks as user: "wasadmin"* Find all Websphere files on host "bahamas" in directory "/data/resources"* Download the Update Installer file to create the directory "/opt/IBM/Websphere/Downloads/UpdateInstaller/".* Extract the compressed files:<pre>cd /opt/IBM/WebSphere/Downloads/UpdateInstaller/tar -xvf file.tar.gz</pre>* Make the following directories for installation, downloadschanges to the file "/opt/IBM/WebSphere/Downloads/UpdateInstaller/UpdateInstaller/install"<pre> 399c399, 400< release=`cat /etc/redhat-release | awk '{print $7}'`---> #release=`cat /etc/redhat-release | awk '{print $7}'`> release=`cat /etc/centos-release | awk '{print $4}'`  </pre>* Make the following changes to the file "/opt/IBM/WebSphere/Downloads/UpdateInstaller/UpdateInstaller/responsefile.updiinstaller.txt"<pre>43c43< -OPT silentInstallLicenseAcceptance="false"---> -OPT silentInstallLicenseAcceptance="true"59c59< # -OPT allowNonRootSilentInstall="true"---> -OPT allowNonRootSilentInstall="true"69c69< #-OPT disableOSPrereqChecking="true"---> -OPT disableOSPrereqChecking="true"113c113< -OPT installLocation="C:\Program Files\IBM\WebSphere\UpdateInstaller"---> -OPT installLocation="/opt/IBM/WebSphere/UpdateInstaller" </pre>* Navigate to the directory "/opt/IBM/WebSphere/Downloads/UpdateInstaller/UpdateInstaller/"* run the following command:<pre>./install -options "responsefile.updiinstaller.txt" -silent</pre>* Installation logs(and errors) can be found in:
<pre>
/opthome/IBMwasadmin/Webspherewaslogs/log.txt/opt/IBM/WebsphereWebSphere/Downloads/opt/IBM/Websphere/AppServer/opt/IBMUpdateInstaller/Webspherelogs/HTTPServerinstall/opt/IBM/Websphere/UpdateInstallerlog.txt
</pre>
* Confirm successful installation by searching for "INSTCONFSUCCESS" at the end of the log file.
   =Update Websphere Application Server SDK - Fix Pack = Create Installation of the Websphere Application Server which will manage all Websphere resources.* Perform all tasks as user: "wasadmin"* Find all Websphere User files on host "bahamas" in directory "/data/resources"* Download the Websphere Application Server Fix Pack file to the directory "/opt/IBM/Websphere/Downloads/NewFixPacks/".* Make the following file "/opt/IBM/WebSphere/UpdateInstaller/responsefiles/response.update.7.0.0-WS-WASSDK-LinuxX64-FP0000033.txt" <pre>-W maintenance.package=/opt/IBM/WebSphere/Downloads/NewFixPacks/7.0.0-WS-WASSDK-LinuxX64-FP0000033.pak-W product.location="/opt/IBM/WebSphere/AppServer/"-W update.type="install"Websphere should be </pre>* Navigate to the directory "/opt/IBM/WebSphere/UpdateInstaller/"* run by a single nonthe following command:<pre>./update.sh -root useroptions responsefiles/response.update.7.0.0-WS-WASSDK-LinuxX64-FP0000033. All Websphere files should txt -silent</pre>* Installation logs(and errors) can be owned by this user.found in:
<pre>
username: wasadmin/opt/IBM/WebSphere/AppServer/logs/update/7.0.0-WS-WASSDK-LinuxX64-FP0000033.install/updatelog.txt
</pre>
* Confirm successful installation by searching for "INSTCONFSUCCESS" at the end of the log file.
= Install Update Websphere Application Server - Fix Pack =# * Download the latest Fix Packs from the IBM website* Perform all tasks as user: "wasadmin"* Find all Websphere files on host "bahamas" in directory "/data/resources"* Download the Websphere Application Server Network Deployment Fix Pack file to the directory "/opt/IBM/Websphere/Downloads/NewFixPacks/".# * Make a directory to extract the Application Server files into following file "/opt/IBM/WebSphere/UpdateInstaller/responsefiles/response.update.7.0.0-WS-WAS-LinuxX64-FP0000033.txt<pre>-W maintenance.package=/opt/IBM/WebsphereWebSphere/Downloads/ApplicationServerNDNewFixPacks/7.0.0-WS-WAS-LinuxX64-FP0000033.pak-W product.location="/opt/IBM/WebSphere/AppServer/"# Move the file into their correct folders-W update.type="install"# Extract the compressed files</pre># * Navigate to the directory "/opt/IBM/Websphere/DownloadsWebSphere/ApplicationServerNDUpdateInstaller/WAS"# # * run the following command:<pre>./update.sh -options responsefiles/response.update.7.0.0-WS-WAS-LinuxX64-FP0000033.txt -silent</pre>* Installation logs(and errors) can be found in:
<pre>
/opt/IBM/WebSphere/AppServer/logs/update/7.0./install 0-WS-WAS-LinuxX64-options "responsefileFP0000033.ndinstall/updatelog.txt" -silent
</pre>
* Confirm successful installation by searching for "INSTCONFSUCCESS" at the end of the log file.
= Install Update Websphere Application HTTP Server Supplements - Fix Pack =# * Download the latest Fix Packs from the IBM website* Perform all tasks as user: "wasadmin"* Find all Websphere files on host "bahamas" in directory "/data/resources"* Download the Websphere Application Server Network Deployment Fix Pack file to the directory "/opt/IBM/Websphere/Downloads/NewFixPacks/".# * Make a directory to extract the Application Server Supplements files into following file "/opt/IBM/WebSphere/UpdateInstaller/responsefiles/response.update.7.0.0-WS-IHS-LinuxX64-FP0000033.txt<pre>-W maintenance.package=/opt/IBM/WebsphereWebSphere/Downloads/ApplicationServerNDSupNewFixPacks/7.0.0-WS-IHS-LinuxX64-FP0000033.pak-W product.location="/opt/IBM/WebSphere/HTTPServer/"-W update.type="install"</pre>* Navigate to the directory "/opt/IBM/WebSphere/UpdateInstaller/"# Move * run the file into their correct foldersfollowing command:<pre>./update.sh -options responsefiles/response.update.7.0.0-WS-IHS-LinuxX64-FP0000033.txt -silent</pre>* Installation logs(and errors) can be found in:<pre>/opt/IBM/WebSphere/HTTPServer/logs/update/7.0.0-WS-IHS-LinuxX64-FP0000033.install/updatelog.txt</pre># Extract * Confirm successful installation by searching for "INSTCONFSUCCESS" at the end of the compressed fileslog file.
198
edits