Professional Documents
Culture Documents
Agenda
Introduction
Repositories
Import
Graphical Interface
Silent Install
Important Directories
Best Practices
INTRODUCTION
REPOSITORIES
Repositories
Repositories are locations that Installation Manager queries for
installable packages
Web Repositories – Internet access required
Feature Pack
https://www.ibm.com/software/rational/repositorymanager/repositories/websphere
Fix pack for Feature Packs
http://public.dhe.ibm.com/software/websphere/repositories
Note that those URLs are input into IM, not your web browser
Local Repositories – download from IBM.com and store locally
Download from Support Site as .zip format
IMPORT
Import
NOTE: You can only select the shared resources directory the first time you install a
package with the IBM Installation Manager. All other installations of WSAS 7.0.0.X on
the same system will use the same Shared Resources directory.
GRAPHICAL INTERFACE:
INSTALL, UPDATE,
UNINSTALL, and ROLLBACK
Install
With Web
With Local
Repositories
Repositories
Update
With Web With Local
Repositories Repositories
Rollback
Example: XML 1.0.0.5 is installed and Rollback
option is chosen.
Uninstall
Example: XML 1.0.0.5 was previously installed. Choosing Uninstall option
and selecting XML 1.0.0.5 option will uninstall entire Feature Pack.
PERFORMING SILENT
OPERATIONS
Silent Install
Silent install is performed using a response file
Sample response file from Information Center are available
Response file can also be recorded
Response file is xml format
Same command (such as “imcl”) is used for installing,
uninstalling, updating, or rolling back
Only need to change options in the response file in order to perform
different operations
Silent Install
Sample command (v1.4.4) from
INSTALL_LOCATION\eclipse\tools
UNIX®:
./imcl -input /temp/install.xml -acceptLicense -showProgress
WINDOWS®:
imcl -input C:\install.xml -acceptLicense -showProgress
Installation Manager In
Record Mode
IMPORT
Repository Details
Shared Resource
Directory
Install Options
<agent-input> section
Purpose: Set global options for this IM session
Example: Recommended for most circumstances
<agent-input clean=‘true’ temporary=‘true’>
clean – determines whether other preferences in response file are used
true – only use the repositories and other preferences specified in this response file
false – use the repositories and other preferences that are specified in this response file
and Installation Manager's preferences
temporary – determines if settings are saved to persistent preferences
true – repositories and other preferences specified in the response file do not persist in
Installation Manager
false – repositories and other preferences specified in the response file persist in
Installation Manager
<server> section
Purpose: Provide locations for respositories
Example: Local repositories for XML feature pack
<server>
<repository location='C:\IMAIX\xml_and_import_repositories\local-repositories'/>
<repository location='C:\IMAIX\xml.1.0.0.1.fp\xml.1.0.0.1.fp'/>
<repository location='C:\IMAIX\was.7.0.import'/>
</server>
<profile> section
Purpose: Provide details about product to be modified
Example: Application server product installed on Linux®
<profile installLocation='/home/user/IBM/WebSphere/AppServer' id='IBM WebSphere
Application Server - ND'>
<data key='eclipseLocation' value='/home/user/IBM/WebSphere/AppServer'/>
<data key='user.import.profile' value='true'/>
<data key='user.cic.imported,com.ibm.websphere.ND.v70' value='WAS'/>
</profile>
InstallationLocation – specifies the directory path to an existing installation of
WebSphere Application Server V7.0.
user.cic.imported – Set value to the offering ID key that matches the product edition:
com.ibm.websphere.EXPRESS.v70
com.ibm.websphere.EXPRESSTRIAL.v70
com.ibm.websphere.BASE.v70
com.ibm.websphere.BASETRIAL.v70
com.ibm.websphere.ND.v70
<import> section
Purpose: Provide additional information for import process
Example: Importing a Network Deployment installation
<import profile='IBM WebSphere Application Server - ND' type='WAS'/>
This data is required if performing an import, and has no effect (can be omitted) if not
performing an import
profile – specifies the name of the package group you will associate with this product
installation. Must set this to the same value used in the <profile> section. If the product
has already been imported before, then this value must match the value used previously.
(More details about this later – this value can be retrieved from 'installed.xml'.)
<install> section
Purpose: Declare which packages to install or update
Example: Install or update XML to V1.0.0.5
<install modify='false'>
<offering id='com.ibm.websphere.XML.v10' version='1.0.5.20100406_1332'
profile='IBM WebSphere Application Server - ND' features='fep.xml.core.feature' />
</install>
offering section – each offering section instructs IM to install a package. The “offerings”
determine which repositories (or parts of repositories) are installed. You can use these to
install a new feature pack or upgrade an existing feature pack with a fix pack.
Multiple offerings can be listed in an <install> section in order to install or update
multiple feature packs in a single IM session.
features – optional parameter – specifies the name of a feature to be installed from the
offering. All feature pack offerings have at least one feature (the “core” feature), and
some have additional features (such as the SDO feature in the SCA feature pack).
If you specify this option, be sure to at least specify the “core” feature. If you omit
this option, all features are installed.
name – there are many <preferences>. The name of this particular setting is
“com.ibm.cic.common.core.preferences.eclipseCache”. You must use that value when
setting the shared resources directory.
value – specify the full path of the shared resources directory here
Same rules apply for shared directory as discussed earlier – shared directory can
only be set for IM the first time a product is imported, and must be the same for all
products afterward.
All other <preference> values should remain at the default values recorded in response
file or copied from sample response file, unless there is a specific need to change an
option
Specify necessary repositories in <server> section
<server>
<repository location='C:\IBM\silentrep\xml_and_import_repositories\local-repositories\xml'/>
<repository location='C:\IBM\silentrep\was.7.0.import'/>
<repository location='C:\IBM\silentrep\xml.1.0.0.5.fp'/>
</server>
Then, specify the feature pack to be updated in <install> section
<install modify='false'>
<offering id='com.ibm.websphere.XML.v10'
profile='IBM WebSphere Application Server - ND' />
</install>
Then, specify the feature pack to be updated in <install> section, being sure to
specify the exact version number to install 1.0.0.5
<install modify='false'>
<offering id='com.ibm.websphere.XML.v10' version='1.0.5.20100406_1332'
profile='IBM WebSphere Application Server - ND' features='fep.xml.core.feature'/>
</install>
Generally, ID of interim fix is provided in readme file bundled with fix, or
the ID matches the name of the interim fix repository .zip file provided by
IBM
Review repository.xml associated with fix for exact details
Update the <profile> section with a data key to indicate that profiles should
be automatically unaugmented, removing data from a specific feature pack
<profile id='IBM WebSphere Application Server – ND'>
<data key='user.confirm.unaugment,com.ibm.websphere.XML.v10' value='true'/>
Note: If more than one feature pack is being uninstalled, then include a separate
unaugment <data> key for each feature pack. Some feature pack offering ID values are:
com.ibm.websphere.SCA.v10
com.ibm.websphere.XML.v10
com.ibm.websphere.CEA.v10
com.ibm.websphere.ARIESJPA.v10
For example:
<data key='user.confirm.unaugment,com.ibm.websphere.XML.v10' value='true'/>
<data key='user.confirm.unaugment,com.ibm.websphere.SCA.v10' value='true'/>
<uninstall modify='false'>
<offering id='com.ibm.websphere.XML.v10'
profile='IBM WebSphere Application Server - ND'/>
</uninstall>
<uninstall modify='false'>
<offering id='com.ibm.websphere.XML.v10'
profile='IBM WebSphere Application Server - ND'
version='1.0.5.20100406_1332'/>
</uninstall>
<rollback>
<offering id='com.ibm.websphere.XML.v10' version='1.0.0.20091112_0443'
profile='IBM WebSphere Application Server - ND' features=''/>
</rollback>
Important Directories
Directories (appDataLocation)
appDataLocation: also called Installation Manager Agent Data Directory or
IM_DATA directory
IBM Installation Manager uses this to track data associated with packages it has
installed on the system
This data is very important and should be backed-up regularly along with
WebSphere products
Location of data can be changed using -dataLocation (or -dL ), but make sure to
use -dataLocation option every time Installation Manager programs are used
Table of default
locations for
IM_DATA:
Directories (appDataLocation)
The default appDataLocation is set by the cic.appDataLocation
property in the config.ini file – location depends on OS
Windows: install_dir\IBM\Installation Manager\eclipse\configuration
Linux and UNIX: install_dir/IBM/InstallationManager/eclipse/configuration
IBM does not recommend changing this value in config.ini file
Install Manager GUI can be used to view Installed packages, Installation history
and logs.
From the Logs folder under Data directory open index.xml in a browser
Best Practices
Each of the following should have unique path
Installation Manager Install Directory
Best Practices
Repositories can be stored on a networked resource and
accessed through a networked filesystem (or a UNC path on
Windows)
Multiple systems can access the same collection of local repositories
simultaneously
Augmentation
Must augment profiles once a feature pack is installed
Must unagument profiles if uninstalling a feature pack
Repositories in preferences
Error
On GUI
View a webcast replay with step-by-step instructions for using the Service Request (SR)
tool for submitting problems electronically:
http://www.ibm.com/software/websphere/support/d2w.html
Sign up to receive weekly technical My Notifications emails:
http://www.ibm.com/software/support/einfo.html
3. Be connected!
Connect with us on Facebook
Connect with us on Twitter
This material has been prepared and presented by Joe Mertzlufft and
Visavpal Shergill of the WebSphere Application Server Level 2 support team.
1
IBM Software Group
Agenda
Introduction
Repositories
Import
Graphical Interface
Silent Install
Important Directories
Best Practices
This presentation will cover the general process and outline best practices
associated with the installation and upgrade process for Feature Packs
available for WebSphere Application Server V7.0 on “distributed” operating
systems: AIX, HP-UX, Linux, Solaris, and Windows. This process uses IBM
Installation Manager, which has previously not been used with WebSphere
Application Server V7.0.
2
IBM Software Group
INTRODUCTION
Fix pack updates to Application Server and the Java SDK should continue to
be installed using the UpdateInstaller utility.
IBM Software Group
Earlier installation methods (in V6.1) for installing feature packs for
WebSphere Application Server used ISMP-based tools. To install these
feature packs, you had to locate and download the feature pack installation
package and install each feature pack separately. For each feature pack, the
required prerequisite WebSphere Application Server fix pack is bundled with
the feature pack, even if the fix pack has already been applied to the existing
installation. Also, the installation utilities could only install packages which
were downloaded before the installation took place.
The feature packs in v7.0 uses the new IBM Installation Manager solution.
Installation Manager can use local or web repositories. Web repositories
allow Installation Manager to connect directly to ibm.com (or another web
server) and download necessary repositories automatically.
REPOSITORIES
1
4
2
To add a repository:
3 Go to File > Preferences > Repositories menu
Click the “Add Repository...” button.
For local repositories, provide the repository path up to and including the
repository.config file. For Web repositories, provide the URL.
This is equivalent to the <server> section in a response file.
IBM Software Group
Repositories
Repositories are locations that Installation Manager queries for
installable packages
Web Repositories – Internet access required
Feature Pack
https://www.ibm.com/software/rational/repositorymanager/repositories/websphere
Fix pack for Feature Packs
http://public.dhe.ibm.com/software/websphere/repositories
Note that those URLs are input into IM, not your web browser
Local Repositories – download from IBM.com and store locally
Download from Support Site as .zip format
IMPORT
Import
Before you can use Installation Manager to install any packages on top of
WebSphere Application Server V7, you need to import the application server
into the Installation Manager.
Click the Import button to open the import wizard. Note that the Import button
is only visible after a WebSphere repository has been added to the repository
list. So, if you do not see the Import button on the main Installation Manager,
check your repository configuration to be sure you are pointing to a
WebSphere repository.
Note that there is an additional requirement imposed on the WSAS V7
product in order to use feature packs. The application server fix pack level
and SDK fix pack level must be the same; i.e., if you install WSAS Fix Pack
17, then you must also install SDK Fix Pack 17 before importing WSAS into
Installation Manager.
IBM Software Group
NOTE: You can only select the shared resources directory the first time you install a
package with the IBM Installation Manager. All other installations of WSAS 7.0.0.X on
the same system will use the same Shared Resources directory.
GRAPHICAL INTERFACE:
INSTALL, UPDATE,
UNINSTALL, and ROLLBACK
So far, we have discussed repositories and the import function. Let's give an
overview of the other functions as they are represented on the main
Installation Manager window.
The Installation Manager includes several wizards that guide you through
installing, updating, and uninstalling products.
The Install wizard is the starting place for installing new software packages,
including the first time you install a particular Feature Pack. The Install
function will access the repositories you have configured, allow you to select
specific packages to install from a list of packages available for installation,
and step you through the installation process.
The Update wizard discovers and installs updates and fixes to your software
packages. This is the interface you use to apply software maintenance or
update your products to a newer version. This wizard displays and
recommends fixes and maintenance packages that are targeted to your
operating system and set of installed products. You can also apply refresh
packs to update your software to the latest version.
Some products have optional sub-features which you can choose not to install
when the product is initially installed. But, you can choose to install them
Later. The Modify function allows you to select sub-features to add to an
already-installed product or feature pack.
IBM Software Group
Import operations are only available with WebSphere Application Server V7.
Do not try to use Installation Manager to import other products, like Rational
Application Developer.
IBM Software Group
Install
With Web
With Local
Repositories
Repositories
Here are some sample screenshots of what you see when using the Install
function.
When using Web Repositories, represented on the left, you will see a list of all
available Feature Packs for the product. If the “Show all versions” option is
selected, then you will also see all the possible fix pack levels. Otherwise,
only the latest version of each feature pack is displayed. Note that you can
use this function to initially install a specific version of a feature pack, instead
of installing whatever the latest version is.
When using local repositories, represented on the right, only the feature packs
and fix packs represented in IM's repository list are displayed.
IBM Software Group
Update
With Web With Local
Repositories Repositories
Similarly, here are some screenshots of what you see when using the Update
function.
Use the Update option to apply fix packs to existing, already-installed Feature
packs. This option will only list available fix packs for feature packs which are
installed.
The list of fix packs available when using Web repositories is represented on
the left. All available fixpacks for that feature pack will be listed.
The list of fix packs available when using Local repositories is represented on
the right. Only fix packs represented in IM's repository list which are eligible to
be installed will be shown.
If “Show recommended Only” is selected, then only the highest available fix
pack for each feature pack is displayed.
Note that if a feature pack is not yet installed, and only feature pack fix packs
are available in the IM Repository List, then these views will show that no
updates are available. The base Code of feature pack must be installed
before a feature pack fix pack is installed. Note that when installing the base
code, you can choose to install a fix pack as part of that initial installation
process.
IBM Software Group
Rollback
Example: XML 1.0.0.5 is installed and Rollback
option is chosen.
The Roll Back wizard allows you to move your product back to a previous
version of service – for example, moving a product from Fix Pack Y to lower
Fix Pack X.
The options presented to you allow you to choose which version you want to
have when the roll back is complete. For example, consider a scenario where
you have the XML base package along with XML Fix Packs 3 and 5. The Roll
Back wizard will present you with options to roll back to either XML Fix Pack 3
or the base XML version. If you choose to roll back to XML Fix Pack 3, then
XML Fix Pack 5 is uninstalled. If you choose to roll back to XML version
1.0.0.0, then both Fix Packs 3 and 5 are uninstalled.
Note that you can only roll back to remove fix pack levels delivered by the
“Update” function. if you chose to initially install a feature pack and fix pack in
a single session without using the “Update” function, then you cannot roll back
to an earlier level. For example, if you initially installed XML at version 1.0.0.5
and you have not installed any other fix packs, then you cannot roll back to an
earlier fix pack level nor can you roll back to version 1.0.0.0.
IBM Software Group
Uninstall
Example: XML 1.0.0.5 was previously installed. Choosing Uninstall option
and selecting XML 1.0.0.5 option will uninstall entire Feature Pack.
The Uninstall wizard allows you to remove software packages from your
computer and remove links to products that you have imported.
Take care when using this option. If the main WebSphere product option is
selected, such as “WebSphere Application Server – ND”, then the entire
WebSphere Application Server product will be uninstalled.
Using the Uninstall wizard, you can choose which feature packs are
uninstalled.
IMPORTANT: Once WebSphere Application Server V7.0 is Imported to IM,
you should not use the product's standard “uninstall” program located in the
WAS_HOME/uninstall directory. When you eventually decide to uninstall the
product, please use the Uninstall function here in IM in order to remove the
product from the system. If you do not do this, then IM may continue to
indicate that the product is installed even when it has been uninstalled.
IBM Software Group
PERFORMING SILENT
OPERATIONS
Silent Install
Silent install is performed using a response file
Sample response file from Information Center are available
Response file can also be recorded
Response file is xml format
Same command (such as “imcl”) is used for installing,
uninstalling, updating, or rolling back
Only need to change options in the response file in order to perform
different operations
If Graphical capabilities are not available on the system, then the silent mode
can be used to install and maintain feature packs.
Note that Installation Manager itself can be installed in silent mode, and then
subsequent operations (such as installing feature packs) can also be
performed in silent mode.
Silent mode uses XML-formatted response files as input. Sample response
files for various activities are available in the WSAS V7 Information Center.
Also, it is possible to record your own response file, customized to whatever
operations you want to perform.
A single Installation Manager program takes the response file as input, and
that response file drives all activity. A single response file can instruct
Installation Manager to perform multiple actions.
IBM Software Group
Silent Install
Sample command (v1.4.4) from
INSTALL_LOCATION\eclipse\tools
UNIX®:
./imcl -input /temp/install.xml -acceptLicense -showProgress
WINDOWS®:
imcl -input C:\install.xml -acceptLicense -showProgress
IM has two modes which are useful for preparing silent mode response files:
Recording Mode and skipInstall Mode.
Recording mode runs IM in graphical mode, and it records the actions that
take place during that session. These actions are saved to a response file.
We very strongly recommend using record mode to learn how response files
are generated. It is much easier to learn how to do something in graphical
mode then see the equivalent commands generated to a response file.
skipInstall mode is a useful companion to recording mode. The skipInstall
mode causes IM to perform a “dry run” of all actions. No software is installed,
unintalled, or modified in skipInstall mode. Also, skipInstall mode maintains a
dummy set of “agent data” -- it is able to keep track of a fake set of software,
which allows you to emulate complex installations without actually installing
any software at all. (Note that you do need to install WebSphere Application
Server V7 in order to use skipInstall mode, however you do not need to install
actual feature packs.)
You can combine both record mode and skipInstall mode in order to generate
response files without having to devote time or filesystem space normally
required for installing products.
IBM Software Group
Installation Manager In
Record Mode
When running IM in recording mode, the graphical interface will indicate the
mode on the title bar.
As mentioned previously, “skipInstall” mode allows IM to simulate installations
without actually installing IBM software products. By using the “-skipInstall
agentDataLocation” argument along with the “-record responsefile.xml”
argument, you can create a response file for an installation process without
performing the installation. The agentDataLocation location stores the data for
the dummy installation data. You can use that same agentDataLocation later
to perform subsequent operations such as simulating fix pack installs or
uninstalling products.
Important:
Do not specify the current directory for a new agentDataLocation location.
Also, do not specify IM's default agent data directory for the
agentDataLocation with “-skipInstall”, because this will cause dummy data to
be added (or removed) from the agent data which keeps track of real product
installations on the system.
Once you have created the response file, keep that same dummy agent data
directory for future use. As mentioned above, you can simulate other
operations such as fix pack installs or product uninstalls with that data.
IBM Software Group
IMPORT
Repository Details
Shared Resource
Directory
Install Options
Here is a sample response file. This response file will Import WebSphere
Application Server V7.0 on Windows, then install the base package of the
XML Feature Pack along with XML Feature Pack Fix Pack 5. Each relevant
section (including the option striped in cyan coloring at the top) is discussed in
the subsequent slides.
IBM Software Group
<agent-input> section
Purpose: Set global options for this IM session
Example: Recommended for most circumstances
<agent-input clean=‘true’ temporary=‘true’>
clean – determines whether other preferences in response file are used
true – only use the repositories and other preferences specified in this response file
false – use the repositories and other preferences that are specified in this response file
and Installation Manager's preferences
temporary – determines if settings are saved to persistent preferences
true – repositories and other preferences specified in the response file do not persist in
Installation Manager
false – repositories and other preferences specified in the response file persist in
Installation Manager
The <agent-input> options are typically the first options in a response file.
These options set some global settings for the IM session which is executing
this response file. The “clean” and “temporary” attributes affect how IM uses
the repositories and other preference settings.
The Clean attribute settings are indicated on the slide text: It determines
whether other preferences in response file are used. When set to true, it only
uses the repositories and other preferences specified in this response file.
This is the recommended setting.
The Temporary attribute settings are indicated on the slide text as well: It
determines if settings are saved to persistent preferences in IM. When set to
true, the repositories and other preferences specified in the response file do
not persist in Installation Manager. This is the recommended setting.
IM 1.4.2 and earlier also used an attribute called “acceptLicense”, which may
still appear in sample response files, or response files recorded in those
versions of IM. As of IM 1.4.3, this option is is no longer needed in the
response file. Instead, when using IM 1.4.3 and later, specify the
“-acceptLicense” option on the command-line when invoking an IM command.
IBM Software Group
<server> section
Purpose: Provide locations for respositories
Example: Local repositories for XML feature pack
<server>
<repository location='C:\IMAIX\xml_and_import_repositories\local-repositories'/>
<repository location='C:\IMAIX\xml.1.0.0.1.fp\xml.1.0.0.1.fp'/>
<repository location='C:\IMAIX\was.7.0.import'/>
</server>
The <server> options determine where all the repositories are located which
should be used during this IM session.
Repositories are locations that Installation Manager queries for installable
packages. You can specify directories (local repositories) or http:// and/or ftp://
URLs (web repositories). Note that the system must have Internet access to
be able to retrieve web repositories from ibm.com.
If you record a response file on one system, then transfer it to another system
to be executed by IM, be sure that the repository locations are still correct on
the other system. If they are not, edit the response file to correct them.
IBM Software Group
<profile> section
Purpose: Provide details about product to be modified
Example: Application server product installed on Linux®
<profile installLocation='/home/user/IBM/WebSphere/AppServer' id='IBM WebSphere
Application Server - ND'>
<data key='eclipseLocation' value='/home/user/IBM/WebSphere/AppServer'/>
<data key='user.import.profile' value='true'/>
<data key='user.cic.imported,com.ibm.websphere.ND.v70' value='WAS'/>
</profile>
InstallationLocation – specifies the directory path to an existing installation of
WebSphere Application Server V7.0.
user.cic.imported – Set value to the offering ID key that matches the product edition:
com.ibm.websphere.EXPRESS.v70
com.ibm.websphere.EXPRESSTRIAL.v70
com.ibm.websphere.BASE.v70
com.ibm.websphere.BASETRIAL.v70
com.ibm.websphere.ND.v70
<import> section
Purpose: Provide additional information for import process
Example: Importing a Network Deployment installation
<import profile='IBM WebSphere Application Server - ND' type='WAS'/>
This data is required if performing an import, and has no effect (can be omitted) if not
performing an import
profile – specifies the name of the package group you will associate with this product
installation. Must set this to the same value used in the <profile> section. If the product
has already been imported before, then this value must match the value used previously.
(More details about this later – this value can be retrieved from 'installed.xml'.)
<install> section
Purpose: Declare which packages to install or update
Example: Install or update XML to V1.0.0.5
<install modify='false'>
<offering id='com.ibm.websphere.XML.v10' version='1.0.5.20100406_1332'
profile='IBM WebSphere Application Server - ND' features='fep.xml.core.feature' />
</install>
offering section – each offering section instructs IM to install a package. The “offerings”
determine which repositories (or parts of repositories) are installed. You can use these to
install a new feature pack or upgrade an existing feature pack with a fix pack.
Multiple offerings can be listed in an <install> section in order to install or update
multiple feature packs in a single IM session.
The <install> section declares which packages will be installed from the list of
repositories.
There are a couple attributes to be concerned with:
modify attribute
offerings
The modify attribute is only set to true when you are adding a new sub-feature
to the product specified by the profile 'id'. This is not something that is done
often with WSAS V7.0 feature packs, so you will usually leave this set to
'false'. (As of late 2011, the only circumstance where this would be set to
'true' is if you have already installed the SCA feature pack without the SDO
subfeature, and you now want to add the SDO subfeature.)
The offering attributes determine which packages are installed. Several
packages can be installed in a single IM session, so several <offering>
sections can be listed under a single <install> section.
IBM Software Group
features – optional parameter – specifies the name of a feature to be installed from the
offering. All feature pack offerings have at least one feature (the “core” feature), and
some have additional features (such as the SDO feature in the SCA feature pack).
If you specify this option, be sure to at least specify the “core” feature. If you omit
this option, all features are installed.
name – there are many <preferences>. The name of this particular setting is
“com.ibm.cic.common.core.preferences.eclipseCache”. You must use that value when
setting the shared resources directory.
value – specify the full path of the shared resources directory here
Same rules apply for shared directory as discussed earlier – shared directory can
only be set for IM the first time a product is imported, and must be the same for all
products afterward.
All other <preference> values should remain at the default values recorded in response
file or copied from sample response file, unless there is a specific need to change an
option
The <preferences> data values are global settings which control IM's
behavior. Most global settings are fine as default settings and do not need
deep discussion here. However, the Shared Resources Location setting is
worth additional discussion.
The Shared Data Location acts as a cache for IM, maintaining data about
local and web repositories. The Shared Data Location acts as a staging area
for installation and upgrade tasks.
The first time a product is installed, or a WSAS V7.0 instance is imported, you
can choose the location of the shared data. After the shared data location is
set, it cannot be changed using a response file or the graphical interface. If
you attempt to use a different Shared Resources Location than the one
already chosen, then the setting is ignored.
Ensure that the shared data location is a location that can be written to by all
user accounts that are expected to use Installation Manager.
IBM Software Group
As mentioned earlier, sometimes you need to use data which has been set by
previous sessions using IM.
Profile ID:
When updating a WSAS V7.0 instance which has already been imported, you
need to use the same Profile ID that had been used the first time WSAS V7.0
was imported. If you don't know what the Profile ID should be, then you can
look it up in a file named “installed.xml”. That file is located under the IM
Agent Data directory (also known as the IM_DATA directory). This location is
explained later.
For best results, open the “installed.xml” file in a web browser. When it is
opened from the IM_DATA Directory, it will appear nicely-formatted, as shown
in the screenshot clip at the top of this slide.
Note that you can also choose the “View installed products” option under the
File menu in Installation Manager to see this data.
Feature Pack offering ID and version number:
If you are unsure about what a feature pack's Offering ID or version number
are for a particular fix pack, then review the files in the feature pack's
repository. Specifically, look for the file named “repository.xml” in the
repository's main directory, or the “local-repositories” subdirectory if it exists.
As indicated in the graphics in the lower part of the slide, an XML tag in the file
indicates the Offering ID and version in that feature pack or fix pack.
IBM Software Group
Specify necessary repositories in <server> section
<server>
<repository location='C:\IBM\silentrep\xml_and_import_repositories\local-repositories\xml'/>
<repository location='C:\IBM\silentrep\was.7.0.import'/>
<repository location='C:\IBM\silentrep\xml.1.0.0.5.fp'/>
</server>
Then, specify the feature pack to be updated in <install> section
<install modify='false'>
<offering id='com.ibm.websphere.XML.v10'
profile='IBM WebSphere Application Server - ND' />
</install>
Then, specify the feature pack to be updated in <install> section, being sure to
specify the exact version number to install 1.0.0.5
<install modify='false'>
<offering id='com.ibm.websphere.XML.v10' version='1.0.5.20100406_1332'
profile='IBM WebSphere Application Server - ND' features='fep.xml.core.feature'/>
</install>
This extends the previous example. Here we have a repository list that has
Fix Packs 3, 5, and 7 for the XML feature pack. (You can also imagine that
this list connects to the ibm.com web repository instead, which has ALL
available feature pack fix packs.)
In this example, although we have several fix packs available, we specifically
want to upgrade to Fix Pack 5. In the <offering> section, we specify the
version number which identifies Fix Pack 5:
version='1.0.5.20100406_1332'
That version number isn't intuitive, so how do we know what it is supposed to
be? As mentioned earlier, you can refer to the “repository.xml” file in the Fix
Pack 5 repository's files. The version number for Fix Pack 5 is listed there.
Note that you can also generate this version number by using IM's “record
mode” to record a response file. This is a reason why we recommend using
record mode – it looks up this data for you.
IBM Software Group
Generally, ID of interim fix is provided in readme file bundled with fix, or
the ID matches the name of the interim fix repository .zip file provided by
IBM
Review repository.xml associated with fix for exact details
Here is another brief example, similar to the Fix Pack 5 example. In this
example, an interim fix is being installed.
Again, for details about the Offering ID for an interim fix, refer to its
“repository.xml” file or use record mode.
IBM Software Group
Update the <profile> section with a data key to indicate that profiles should
be automatically unaugmented, removing data from a specific feature pack
<profile id='IBM WebSphere Application Server – ND'>
<data key='user.confirm.unaugment,com.ibm.websphere.XML.v10' value='true'/>
Note: If more than one feature pack is being uninstalled, then include a separate
unaugment <data> key for each feature pack. Some feature pack offering ID values are:
com.ibm.websphere.SCA.v10
com.ibm.websphere.XML.v10
com.ibm.websphere.CEA.v10
com.ibm.websphere.ARIESJPA.v10
For example:
<data key='user.confirm.unaugment,com.ibm.websphere.XML.v10' value='true'/>
<data key='user.confirm.unaugment,com.ibm.websphere.SCA.v10' value='true'/>
<uninstall modify='false'>
<offering id='com.ibm.websphere.XML.v10'
profile='IBM WebSphere Application Server - ND'/>
</uninstall>
<uninstall modify='false'>
<offering id='com.ibm.websphere.XML.v10'
profile='IBM WebSphere Application Server - ND'
version='1.0.5.20100406_1332'/>
</uninstall>
<rollback>
<offering id='com.ibm.websphere.XML.v10' version='1.0.0.20091112_0443'
profile='IBM WebSphere Application Server - ND' features=''/>
</rollback>
Important Directories
Directories (appDataLocation)
appDataLocation: also called Installation Manager Agent Data Directory or
IM_DATA directory
IBM Installation Manager uses this to track data associated with packages it has
installed on the system
This data is very important and should be backed-up regularly along with
WebSphere products
Location of data can be changed using -dataLocation (or -dL ), but make sure to
use -dataLocation option every time Installation Manager programs are used
Table of default
locations for
IM_DATA:
Directories (appDataLocation)
The default appDataLocation is set by the cic.appDataLocation
property in the config.ini file – location depends on OS
Windows: install_dir\IBM\Installation Manager\eclipse\configuration
Linux and UNIX: install_dir/IBM/InstallationManager/eclipse/configuration
IBM does not recommend changing this value in config.ini file
This slide shows information about where you can look to find information
about where Installation Manager is installed, and where that Installation
Manager sets its appDataLocation by default.
IBM Software Group
Install Manager GUI can be used to view Installed packages, Installation history
and logs.
Installation Manager's graphical mode has built-in viewers for important data.
You can use the viewers to see:
Logs
Installation history
Installed packages
Each of those three viewers are listed under the File menu. The log viewer is
particularly useful for troubleshooting, because you can sort log events
chronologically or by severity (which allows errors and warning messages to
be sorted to the top of the list).
IBM Software Group
From the Logs folder under Data directory open index.xml in a browser
You can also view the log and history data manually if you do not have access
to the graphical interface.
In the example screenshots, the left clip shows a Windows file browser
viewing the IM_DATA\logs directory. If you view the “index.xml” file from that
directory in a web browser such as Firefox, you will see a nicely-formatted list
of log files and a summary of the number of warnings and errors in each.
Note that the nicely-formatted view only works when the “index.xsl” or other
.xsl files are present in the same directory as the files you are viewing in a web
browser. If you need to copy the files to another system to view them, it's
usually best to copy the entire “logs” directory to that other system for viewing.
The location of the IM_DATA directory was mentioned previously; refer back
to that information about how to find IM_DATA.
The IM_DATA directory also has other useful data which you can browse:
- The “installed.xml” file in the IM_DATA directory
- The list of history events associated with each product, located in the
IM_DATA/histories directory. (View the “index.xml” file in that directory to see
more data.)
IBM Software Group
Best Practices
Each of the following should have unique path
Installation Manager Install Directory
Best Practices
Repositories can be stored on a networked resource and
accessed through a networked filesystem (or a UNC path on
Windows)
Multiple systems can access the same collection of local repositories
simultaneously
Augmentation
Must augment profiles once a feature pack is installed
Must unagument profiles if uninstalling a feature pack
Augmentation can take place using the Profile Management Tool or the
manageprofiles command-line tool. Unaugmentation can take place using the
manageprofiles tool, or you can choose to have the uninstaller automatically
unaugment profiles.
Mentioned earlier, but worth reiterating: If you use local repositories, do not
discard them after finishing installing a feature pack. They are needed again
when you apply fix packs.
Also, be sure to maintain a copy of the data generated when you use the
“-skipInstall” parameter and record mode.
IBM Software Group
Repositories in preferences
Error
On GUI
When Importing WSAS using IM, the WSAS Fix Pack level and Java SDK Fix
Pack level must be the same.
The fix pack levels also need to be the same when WSAS is synchronized
with IM.
IBM Software Group
When you are installing a feature pack for the first time, you need the feature
pack's base install package. The fix pack package is not sufficient to install an
entire feature pack.
Downloading the base install repository
Having trouble finding a feature pack's base repository? Start here:
http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Go to the V7.0 section and find the name of the feature pack. Click on the link
to that feature pack to go to the latest Fix Pack page for that feature pack.
From the Fix Pack page, look for a link in the Download Description which
takes you to the Overview page for that feature pack. The overview page has
a Download button (a large purple button graphic) which leads you to the page
from which you can download the feature pack's base repository. Note that
this requires an IBM ID to accomplish. These feature packs need to be
maintained on a separate site from the fix packs, because they are treated as
if you are downloading a whole product (but a free product) from IBM.
Downloading fix pack repositories
Generally, you only need to download the first repository listed on a feature
pack fix pack support page. See the diagram on the slide.
The second link is for the latest WSAS Import repository which is necessary if
you don't have the latest copy. The third link is not needed if you always keep
a copy of the base install repository for a feature pack.
IBM Software Group
This is data needed for support to review if PMR is opened with IBM support.
We recommend reviewing the recommended MustGather data for WSAS
V7.0 feature packs if you are opening a PMR. That page is here:
http://www-01.ibm.com/support/docview.wss?uid=swg21397645
The “data export” described on this slide is especially helpful for support.
Please see the next slide for other useful data to send to IBM.
IBM Software Group
This describes more data which is useful for IBM troubleshooting IM issues
with managing feature packs on WSAS V7.0.
IBM Software Group
View a webcast replay with step-by-step instructions for using the Service Request (SR)
tool for submitting problems electronically:
http://www.ibm.com/software/websphere/support/d2w.html
Sign up to receive weekly technical My Notifications emails:
http://www.ibm.com/software/support/einfo.html
This chart includes links to a number of sites that provide valuable online resources for
WebSphere products. Visit the WebSphere Support Technical Exchange site to learn
more about upcoming WebSphere Support Technical Exchange webcasts, like the one
you attended today, and access previously recorded presentations. developerWorks
offers in-depth technical information. Visit websphereusergroup.org for user group
information and more product information. The IBM Education Assistant consists of self-
help modules to get new users up the learning curve quickly. The SR tool is for Passport
Advantage clients to open, update and view PMRs online. And the My Notifications link on
all product support pages lets you sign up for weekly e-mail updates for products of
interest to you.
56
IBM Software Group
3. Be connected!
Connect with us on Facebook
Connect with us on Twitter
57
IBM Software Group