SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


oestips
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

oestips [2013/05/14 20:23] (current)
sjoerd created
Line 1: Line 1:
 += Notes, Tips & Tricks: OES
  
 +This is a notes page, extended with tips & tricks. This page is not really documentation,​ just stuff for me to remember. Sometimes things will get removed from these pages and turned into real documentation,​ sometimes not. You might find these notes to come in hand, maybe not. For me, it's just things I don't want to forget.
 +
 += Tips
 +== Corefile bekijken
 +<code bash>
 +cd /​var/​opt/​novell/​eDirectory/​data/​dib ​
 +ll core.*
 +gdb /​opt/​novell/​eDirectory/​sbin/​ndsd <​core.****>​
 +type where
 +quit exits
 +</​code>​
 +
 +== Determine version
 +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.
 +<​code>​
 +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
 +</​code>​
 +
 +== STARTEN EN STOPPEN NDSD
 +<​code>​
 +oes2:~ # /​etc/​init.d/​ndsd stop
 +Executing customized settings before stopping the Novell eDirectory server...
 +Stopping Novell eDirectory server...
 +.................. ​                                                                                          done
 +Executing customized settings after stopping the Novell eDirectory Server...
 +oes2:~ # /​etc/​init.d/​ndsd start
 +Executing customized settings before starting the Novell eDirectory server...
 +Starting Novell eDirectory server...
 +                                                                                                             done
 +Executing customized settings after starting the Novell eDirectory server...
 +Novell eDirectory LDAP Server TCP port is listening.
 +Novell eDirectory LDAP Server TLS port is listening.
 +</​code>​
 +
 +== LDAP starten
 +  /​usr/​sbin/​nldap -l
 +
 +== LDAP stoppen
 +  /​usr/​sbin/​nldap -u
 +
 +{{tag>​notes linux dutch}}
oestips.txt · Last modified: 2013/05/14 20:23 by sjoerd