The challenges set by the ClearCase 7.1 installation process are multiple:
- The installation for Unix has been changed (no more '
./install_server
' script): a unified GUI-based Java tool is used, both for Windows and Unix: the Installation Manager (IM), based on a XML configuration file: the "response file". - If anything goes wrong, IM will erase all the installation, leaving (almost) nothing
- no Gui means silent install, but it also means you cannot record easily a response file.
- no Internet means, IM will not be able to detect updates and load them for you.
The documentation does not cover completely this scenario.
My answer below will be there (as a Community Wiki) to record what I have experienced so far regarding this process.
Silent Installation of CC7.1 on Unix
(Community Wiki answer: feel free to edit and improve)
Prerequisite
Getting the right files
To install the latest CC7.1 (7.1.0.2), you must first install 7.1, then upgrade.
That means you will need:
It is recommended to load the setup files with Download Director, which supports resume interrupted downloads and perform downloads through firewalls (see here for usage and FAQ).
You will need for:
Note: if you have Solaris10 on a Sun server, take the Sun5 distro, not the "Solaris-x86" one!
Choose
clearcase_response_sun5.xml
orclearcase_response_linux_x86.xml
to see an example, but one is actually already included in your Cxxx.zip file.For now, this is the 7.1.0.2 fix pack.
For now, this is the 7.1.0.2-IFix01.
Copy those 3 or 4 files (Cxxx.zip, latest IM, latest FixPack,
[
latest IFix]
) in any release area you want. Note that you will need around 7Go for the installation files and the complete installation.For Solaris10 system, 2 installation will be required: - one on the global zone, the release area must be accessible from the ngz (non-global zone) - one in a ngz, with access to the gz release area (read-only access)
Install the main ClearCase Release
IM1.3.1
") before unzipping it there.example:
or, simpler:
To install the sources of the kernel:
You will see:
A typical default value for the kernel source directory, for Linux, if you have made the slink mentioned above:
Set the latest versions of CC and IM. You will find their id in:
im13/configuration/config.ini: im.internal.version=1.3.1000.20090618_1714
To run the installation, from your release area
Principles:
stdout
andstderr
in a custom ad-hoc log filemount vob
'), there would be a complete rollback. If so, your ad-hoc log file is useful, but you can also find the IM log files atUn-installation
In case of problem or uncompleted installation, you can always un-install the product but:
<uninstall modify='false'>
elementTroubleShooting: Gdk-CRITICAL error
The process stops immediately with several errors beginning with
Gdk-CRITICAL error
Symptom
If the process fails with the following set of error messages:
Cause
This is "normal" as it validates the need for a silent install, and not a GUI-based one: you do not have the graphical environment needed to launch that GUI.
However the cause is simple: one of the parameter is incorect.
For example, using:
instead of:
(note the '
_
' instead of '-
' in thesilent-install.ini
filename)Workaround/resolution
Fix the parameter.
TroubleShooting: Containing directory could not be set for directory shortcut"IBM Installation Manager"
The process stops and cleanup the install because of a "directory shortcut" not set
Symptom
Cause
This IBM article details the cause:
/usr/share/desktop-directories
is not writable.That happens especially on a Solaris installation in a NGZ (Non-Global-Zone), where
/usr/share
is common with the Global Zone, but is not writable from a NGZ.Workaround/resolution
For
ksh
sessionFor
tcsh
sessionThat plus the usual
sudo ./install --launcher ...
will make the installation process create thedesktop-directories
and its shortcuts in a writable directory.Note: you can make
/var/IBM/desktop-directories
link to any non-standard path as well (like/export/IBM/desktop-directories
).I think you will find the information you are looking for in the following technotes.
Since I can only post one URL here, I've listed the other technote numbers below. http://www-01.ibm.com/support/docview.wss?rs=984&uid=swg21390817
If you replace the last 7 digits of the above URL with any of the following technote numbers, you can view the other five:
1393769 1393735 1393304 1390818 1393738
I hope this helps;-)