Manage your storage arrays Common Array Manager

Wednesday May 06, 2009

Although not officially supported, CAM can be installed and used on OpenSolaris. (CAM 6.2 and earlier can not be installed in graphical mode since the installer uses java 1.4 which requires the Motif libraries; the other install modes do work). We have released patches for CAM and it was believed that since OpenSolaris includes the SVR4 patch utilities that the Solaris patches could be applied on an OpenSolaris host. Unfortunately, OpenSolaris only comes with ksh93 and the patch utilities were written using ksh88. Due to incompatbilities between ksh93 and ksh88 the patch utilities will not work. CAM is unbundled software that is released for Solaris, Windows and Linux and we intially want to release one distribution that can be used on both Solaris and OpenSolaris.

One option to get CAM or any other Solaris patches for unbundled software installed on OpenSolaris would be to get a copy of ksh88 and then use it with the patchadd script. Here are steps that worked sucessfully on 2008.11:

  1. Obtain Solaris 10 install media.
  2. Install the SUNWcsu package into an alternate root.
  3. Run the patchadd script using ksh88

For example. these commands can be used to apply the CAM 6.2 patches on a OpenSolaris 2008.11 host:

# pkgadd -R <path to tool root> -d <path to Solaris 10 install media>/Solaris 10/Product SUNWcsu

# <path to tool root>/usr/bin/ksh /usr/lib/patch/patchadd 140064-02

...

# <path to tool root>/usr/bin/ksh /usr/lib/patch/patchadd 140060-02

...

Long term this won't be a workable solution since the patch utilities are being removed from OpenSolaris. Ultimately CAM will be made available from an IPS repository (there are a few factors that prevent this today namely the CAM webapp is written to run in the Sun Java Web Console which is not present in OpenSolaris).

UPDATE (05/11/09):

Even with ksh88 the patch utilities may still not work. On a 2008.11 host with a large ZFS root (~ 114 GB), the following is seen:

Insufficient space in /var/sadm/pkg  to save old files Space
required in kilobytes 132579 Space available in kilobytes 1168640410
patchadd terminating

Without having looked at the patchadd script some sort of integer overflow is probably occuring which causes the space check to fail.

Now that CAM 6.4.0 has come out, which is a new, full package release, our recommendation is to use that version of CAM on OpenSolaris instead of CAM 6.2.

Comments:

thanks owen...

but to say it - your tipp with CAM 6.4.0.10 - works like a charm, except in a zone.
No mather whole root / sparse zone ...

michael

Posted by Michael Widmann on May 20, 2009 at 08:21 AM PDT #

Post a Comment:
Comments are closed for this entry.