Installing eDirectory 8.8 SP2 on Solaris Zones



By: sashwin

January 14, 2008 11:07 am

Reads: 150

Comments:0

Rating:0

Introduction

A zone is a virtual instance of Solaris. It is also one of the software partitions of the operating system. For example, a large SunFire server with hardware domains allows the creation of several isolated systems. Zones achieve this in the software, and they are very flexible. It is easy to move individual CPUs between zones as needed, or to configure the sharing of CPUs and memory.

Types of Zones

Global Zone

The global zone is the original Solaris OS instance. It has access to the physical hardware and can control all the processes. Global zones create non-global zones that have the authority to create and control new zones in which the applications run.

Non-Global Zone

Non-global zones do not run inside the global zone but are aligned with global zones. Global zones are able to look inside non-global zones to monitor their configuration and also exercise control over them. You can choose two general non-global zone types during the zone creation. They are as follows:

Small zone (also known as “Sparse Root zone”)

Small zone is the default zone. This consumes the least disk space, and it has the best performance and the best security.

Big zone (also known as “Whole Root zone”)

Big zone has its own /usr files, which can be modified independently.

For more information on Solaris Zones refer to the following links:

  • http://www.solarisinternals.com/wiki/index.php/Zones#Zones and
  • http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp

This article discusses the installation and configuration information of eDirectory 8.8 SP2 on Solaris zones.

Installing eDirectory 88 SP2 on Global Zone and Big Zone

1. Install NICI.

NICI should be installed before proceeding with the eDirectory installation. To install NICI, complete the following procedure:

1. Enter the following command:

pkgadd -Gd NICI_package_absolute_path_and_filename NOVLniu0 

For example:

pkgadd -Gd /home/build/Solaris/Solaris/setup/NOVLniu0.pkg NOVLniu0 

2. Execute the following script:

/var/opt/novell/nici/set_server_mode 

2. Install Novell NTLS.

To install NTLS, enter the following command:

pkgadd -Gd NTLS_package_absolute_path_and_filename NOVLntls 

For example:

pkgadd -Gd /home/build/Solaris/Solaris/setup/NOVLntls.pkg NOVLntls 

3. Use the nds-install utility to install eDirectory components.

Use the nds-install utility to install eDirectory components on Solaris systems. This utility is located in the setup directory on the CD for the Solaris platform. The utility adds the required packages, depending on the components you choose to install.

Enter the following command from the setup directory:

./nds-install

For more information on the nds-install utility, refer to:
http://www.novell.com/documentation/edir88/edirin88/data/ai39kqr.html#ai39kqt

4. Configure eDirectory.

eDirectory is configured using ndsconfig executable located in the /opt/novell/eDirectory/bin directory.

For more information on the ndsconfig utility, refer to http://www.novell.com/documentation/edir88/edirin88/data/a7f5t0z.html#a7f7ods.

Uninstalling eDirectory 88 SP2 on Global Zone and Big Zone

Use the nds-uninstall utility to uninstall the eDirectory components. Execute the nds-uninstall (./nds-uninstall) command from the setup directory or /opt/novell/eDirectory/sbin.

For more information on the nds-uninstall utility, refer to: http://www.novell.com/documentation/edir88/edirin88/data/a79khda.html

Installing eDirectory 88 SP2 on Small Zone

1. Install NICI.

NICI should be installed on Global Zone before proceeding with the eDirectory installation. It must be installed in the global zone otherwise it will fail with ‘unable to create symbolic link’.

2. Install Novell NTLS.

To install NTLS, enter the following command:

pkgadd -Gd NTLS_package_absolute_path_and_filename NOVLntls 

Note – Ignore the following error:

pkginstall: ERROR: preinstall script did not complete successfully

For example:

pkgadd -Gd /home/build/Solaris/Solaris/setup/NOVLntls.pkg NOVLntls 

3. Install eDirectory components.

Use the nds-install utility to install eDirectory components on Solaris systems. This utility resides in the setup directory on the CD for the Solaris platform. The utility adds the required packages based on the components you choose to install.

Enter the following command from the setup directory:

./nds-install

Note: Ignore any error starting with ‘cp: cannot create’ at the end of nds-install script.

For more information on the nds-install utility, refer to:
http://www.novell.com/documentation/edir88/edirin88/data/ai39kqr.html#ai39kqt

4. Configuring eDirectory

Before configuring eDirectory, comment out the following lines from /etc/init.d/ndsd script:

num_proc=`/usr/sbin/psrinfo | grep -i on-line | wc -l`
if [ $priocntl_available -eq 1 ] && [ $num_proc -gt 1 ]; then
priocntl -e -c FX -p 60 -m 60 $sbindir/ndsd

else

$sbindir/ndsd

fi

Then replace the above code lines with the following:

$sbindir/ndsd

eDirectory is configured using the ndsconfig executable located at /opt/novell/eDirectory/bin directory.

For more information on the ndsconfig utility, refer to:
http://www.novell.com/documentation/edir88/edirin88/data/a7f5t0z.html#a7f7ods

Uninstalling eDirectory 88 SP2 on Small Zone

1. Remove Novell NTLS.

To remove NTLS, enter the following command:

pkgrm NOVLntls

Note: Ignore the following error – ‘pkgrm: ERROR: unable to remove ‘

2. Uninstall eDirectory components

Execute the nds-uninstall command (./nds-uninstall) from the setup directory or from /opt/novell/eDirectory/sbin directory.

Note: Ignore the lines starting with rm: /usr/lib/locale.

For more information on the nds-uninstall utility, refer to: http://www.novell.com/documentation/edir88/edirin88/data/a79khda.html

Acknowledgements

Contributors and Reviewers:

Kamal Narayan – ISM Product Manager, Novell, Inc.

Jyotsana Kitchloo – Technical Writer, eDirectory, Novell, Inc.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags:
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment