WebSphere V8.5 Silent installation Upgrade (ii)-silently install packages with response files (generate the appropriate files, do not install them) and the MANAGESDK Management SDK

Source: Internet
Author: User

Use the response file to silently install the package (generate the appropriate file, do not install):
./ibmim-record/response_files/install_product.xml-skipinstall Skipinstall/ibm_product
./IMCL Input/response_files/install.xml-log/mylog/install_log.xml-acceptlicense

Please pay attention to the point skipinstall/ibm_product do not write this im agentdatalocation if you write it will actually install-skipinstall will not work

To install using a response file:
Mode one: After the installation package warehouse file is imported, the installation JDK7 is not checked by IM installation
To switch to the installation directory for IM:
Cd/opt/ibm/installationmanager/eclipse
To generate an installation response file:
./ibmim-record/opt/ibm/install_product.xml-skipinstall/opt/app
To install WebSphere software from a response file:
Cd/opt/ibm/installationmanager/eclipse/tools
./IMCL Input/opt/ibm/install_product.xml-log/opt/install-websphere_log.xml-acceptlicense

Mode two: After the installation package warehouse file is imported, install the JDK7 by the IM installation check box
To switch to the installation directory for IM:
Cd/opt/ibm/installationmanager/eclipse
To generate an installation response file:
./ibmim-record/opt/ibm/install_product2.xml-skipinstall/opt/app2
To install WebSphere software from a response file:
Cd/opt/ibm/installationmanager/eclipse/tools
./IMCL Input/opt/ibm/install_product2.xml-log/opt/install-websphere_log2.xml-acceptlicense

Check if the current was installed SDK:
Cd/opt/ibm/websphere/appserver/bin
./managesdk.sh-listavailable
Cwsdk1003i:available SDKs:
CWSDK1005I:SDK name:1.8_64_bundled
CWSDK1005I:SDK name:1.7_64
Cwsdk1001i:successfully performed the requested MANAGESDK task.

MANAGESDK Common Command Description:
#列出当前可用SDK
Managesdk.sh-listavailable
#查询新概要文件创建SDK
Managesdk.sh-getnewprofiledefault
#设置新概要文件创建SDK
Managesdk.sh-setnewprofiledefault-sdkname 1.7_64
#为所有概要文件设置SDK
Managesdk.sh-enableprofileall-sdkname 1.7_64
#为指定概要文件设置SDK
Managesdk.sh-enableprofile–sdkname 1.7_64–profilename APPSRV01

****************************************************************************
Usage:managesdk-task [<-parameter> [<parameter_value>] | <-parameter>] ...

Task: [-listavailable |-listenabledprofile |-listenabledprofileall]
-listavailable [-verbose]
-listenabledprofile-profilename <profile_name> [-verbose]
-listenabledprofileall [-verbose]

Task: [-getnewprofiledefault |-setnewprofiledefault]
-getnewprofiledefault [-verbose]
-setnewprofiledefault-sdkname <sdk_name>

Task: [-getcommanddefault |-setcommanddefault]
-getcommanddefault [-verbose]
-setcommanddefault-sdkname <sdk_name>

Task: [-enableprofile |-enableprofileall]
-enableprofile-sdkname <sdk_name>
-profilename <profile_name>
[-enableservers]
[-user <user_name>-password <password>]

-enableprofileall-sdkname <sdk_name>
[-enableservers]

Task:-help

Where specified, Task Parameters-profilename and-sdkname is required parameters.

Task Parameters:
-profilename <parameter_value>: The name of a profile.
-sdkname <parameter_value>: An SDK name, is the enabled for this Websphere installation.
-enableservers:optional On-enableprofile and-enableprofileall Tasks to enable all application servers to use the Speci Fied SDK.
-user and-password:required for-enableprofile and-enableprofileall Tasks When Java security is enabled and the Profil E is federated.

Special parameters:
-debug-can is used with any task to produce debug information in the command output.
-quiet-can is used with any task to suppress messages in the command output.
-verbose-can is used with-list type task to produce addition command output.

Note:-parameter key words is not a case sensitive and can is entered in mixed or monocased text.
Note:parameter values is case sensitive and must is typed with the correct upper and lower case.
Note:incorrect results can occur when the parameter value case was not typed correctly.

****************************************************************************
Ensure that the APPSERV01 profile is configured to use Java 7 and that the available Java JDK is listed to ensure that Java 7 is installed on the system.
Cd/opt/ibm/websphere/appserver/bin
./managesdk.sh-listavailable-verbose
./managesdk.sh \
-listavailable \
-verbose

====================================
Cwsdk1003i:available SDKs:
CWSDK1005I:SDK name:1.8_64_bundled
-com.ibm.websphere.sdk.version.1.8_64_bundled=1.8
-Com.ibm.websphere.sdk.bits.1.8_64_bundled=64
-Com.ibm.websphere.sdk.location.1.8_64_bundled=${was_install_root}/java
-Com.ibm.websphere.sdk.platform.1.8_64_bundled=linux
-com.ibm.websphere.sdk.architecture.1.8_64_bundled=x86_64
-com.ibm.websphere.sdk.nativelibpath.1.8_64_bundled=${was_install_root}/lib/native/linux/x86_64/

CWSDK1005I:SDK name:1.7_64
-com.ibm.websphere.sdk.version.1.7_64=1.7
-Com.ibm.websphere.sdk.bits.1.7_64=64
-com.ibm.websphere.sdk.location.1.7_64=${was_install_root}/java_1.7_64
-Com.ibm.websphere.sdk.platform.1.7_64=linux
-com.ibm.websphere.sdk.architecture.1.7_64=x86_64
-com.ibm.websphere.sdk.nativelibpath.1.7_64=${was_install_root}/lib/native/linux/x86_64/

Cwsdk1001i:successfully performed the requested MANAGESDK task.

Lists the Java versions associated with APPSRV01.
Cd/opt/ibm/websphere/appserver/bin
./managesdk.sh \
-listenabledprofile \
-profilename AppSrv01 \
-verbose

===================================
Cwsdk1004i:profile APPSRV01:
CWSDK1006I:PROFILE_COMMAND_SDK = 1.8_64_bundled
-com.ibm.websphere.sdk.version.1.8_64_bundled=1.8
-Com.ibm.websphere.sdk.bits.1.8_64_bundled=64
-Com.ibm.websphere.sdk.location.1.8_64_bundled=${was_install_root}/java
-Com.ibm.websphere.sdk.platform.1.8_64_bundled=linux
-com.ibm.websphere.sdk.architecture.1.8_64_bundled=x86_64
-com.ibm.websphere.sdk.nativelibpath.1.8_64_bundled=${was_install_root}/lib/native/linux/x86_64/
Cwsdk1008i:node lczeanNode01 SDK name:1.8_64_bundled
-com.ibm.websphere.sdk.version.1.8_64_bundled=1.8
-Com.ibm.websphere.sdk.bits.1.8_64_bundled=64
-Com.ibm.websphere.sdk.location.1.8_64_bundled=${was_install_root}/java
-Com.ibm.websphere.sdk.platform.1.8_64_bundled=linux
-com.ibm.websphere.sdk.architecture.1.8_64_bundled=x86_64
-com.ibm.websphere.sdk.nativelibpath.1.8_64_bundled=${was_install_root}/lib/native/linux/x86_64/
Cwsdk1009i:server nodeagent SDK name:1.8_64_bundled
-com.ibm.websphere.sdk.version.1.8_64_bundled=1.8
-Com.ibm.websphere.sdk.bits.1.8_64_bundled=64
-Com.ibm.websphere.sdk.location.1.8_64_bundled=${was_install_root}/java
-Com.ibm.websphere.sdk.platform.1.8_64_bundled=linux
-com.ibm.websphere.sdk.architecture.1.8_64_bundled=x86_64
-com.ibm.websphere.sdk.nativelibpath.1.8_64_bundled=${was_install_root}/lib/native/linux/x86_64/
Cwsdk1001i:successfully performed the requested MANAGESDK task.

===================================
If necessary, enable the APPSRV01 profile to use Java 7.
Cd/opt/ibm/websphere/appserver/bin
./managesdk.sh \
-enableprofile \
-sdkname 1.7_64 \
-profilename AppSrv01 \
-enableservers \
-user wpsadmin \
-password Passw0rd

After

====================================
executes the command, enter the admin account password:
Realm/cell Name: <default>
Username: Wpsadmin
Password:
cwsdk1024i:the node default SDK setting for federated profile AppSrv01 have been saved in the MAS ter Configuration Repository.
Cwsdk1025i:a synchronization operation is required before configuration changes to federated profiles APPSRV01 can be Used.
Cwsdk1017i:profile APPSRV01 now enabled to use SDK 1.7_64.
Cwsdk1001i:successfully performed the requested MANAGESDK task.

Reference Documentation:
For information on how to switch JDK versions, please refer to:
Https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/rxml_managesdk.html
IBM WebSphere SDK Java technology Edition V7 or v7.1:
Http://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/tovr_migratingjava.html
Https://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/tovr_migratingjava.html
Installing and uninstalling SDK Java technology Edition Version 8.0 on distributed operating systems:
Https://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.installation.nd.doc/ae/tins_ Installation_jdk8.html
WASSDK Patch Pack:
http://www-01.ibm.com/support/docview.wss?uid=swg24042430#80322

WebSphere V8.5 Silent installation Upgrade (ii)-silently install packages with response files (generate the appropriate files, do not install them) and the MANAGESDK Management SDK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.