My buddy, an Altiris SE called me to ask how I dealt with the Altiris Agent and Solaris 10 local zones. Since he didn't know and answer, I thought maybe you'all would like to know too.
Solaris 10 introduced the ability to create local zones or containers. For you Windows engineers, a local zone is similar to a Virtual Machine, yet it isn't independent of the host system. There are shared resources across the board. When you install Altiris on the Global Zone using the aex-bootstrap script or via the Altiris console, it also installs it in the local zones, but they fail to function properly. The trick is to install into the Global Zone and the Global Zone only then follow up with the local zones.
To do this, you do not use the aex-bootstrap script. You need to get your hands on the actual package that installs the Altiris agent and a configuration file.
That package is named aex-nsclt-6.2.1378-sol-sparc. It comes zipped and is located on your NS server\NSCap\Bin\Unix\Agent\Solaris\Sparc\.
The configuration file can be extracted by navigating in the Altiris console to the Altiris Agent Installation page and then clicking on the Install Altiris Unix Agent tab. Add a single host and highlight it and choose Install Settings button below. This launches the Install Settings window. One of the tabs is the Install XML. Save that to a file named .aex-agent-install-config.xml and put it in the same directory as the package and make them accessible to the host.
From the Solaris host (note, root access required,) you copy the above two files to local folder or setup a mount and do a pkgadd -G command like the following:
# pkgadd -G -d ./aex-nsclt-6.2.1378-sol-sparc
The -G option installs the package in that zone only. the -d command tells Solaris to get the package from the current directory. The pkgadd command will them run and prompt you about what to install. Choose the Altiris Agent for Unix and Linux. It will then prompt you to "Enter path to package base directory" - the default path is /opt/altiris/notification/nsagent. You will need to manually input that. The rest of the agent's configuration information is in the .aex-agent-install-config.xml file. The installation will proceed with a couple more confirmations.
Once the Global Zone has the Altiris Agent installed, you can proceed to install Altiris into the local zones as you would any other client using the aex-bootstrap script.
Couple of other tips:
- When doing agent upgrades (usually automated) you need to manually run the upgrade package on the Global Zones or the automated method will walk all over your global and local zones.
- When working with local zones, you have the ability to "clone" or make copies of existing hosts or zones. If those existing hosts have Altiris installed, be sure to delete the host.GUID file after cloning in order to not have duplicate GUIDs in Altiris. Simply deleting the file and then running an aex-sendbasicinv will recreate a new GUID file. The host.GUID file is located in /opt/altiris/notification/nsagent/etc/. If you don't do this, the symptom is the new systems and old may or may not show up in the Altiris console.