Howto: Determine the version of eDirectory in SLES 10 SP1


To determine the version of eDirectory running on a SLES 10 SP1 server,  from a terminal window type:

ndsd –version

or

ndsrepair -T

or

ndsstat

The ndsstat utility displays information related to Novell eDirectory servers. The utility displays the eDirectory tree name, the fully distinguished server name, the eDirectory version, and the RootMostEntryDepth. The RootMostEntryDepth is the distance from the root of the tree to the rootmost entry of the server.

ndsstat usage

ndsstat [-h hostname[:port]] { -r -s } [–config-file ]

ndsstat options

-h hostname
Specifies the DNS name or IP address of the eDirectory server. If the hostname is not specified, ndsstat will take the current server name.

-r
Lists all the partitions that have replicas stored in the eDirectory database. Displays a list of all servers that contain a replica of each of the partition known to the eDirectory database.

-s
Lists all the servers know to the eDirectory database.

–config-file
Specifies the location of the nds.conf configuration file.

example

ndsstat -h MyHost :2000

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: