fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


opentext:linux:oes

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
opentext:linux:oes [2024/09/11 17:25] – [Change ndsHome for multiple users] gsysopentext:linux:oes [2024/12/19 12:38] (current) – [ndstrace] gsys
Line 28: Line 28:
 </code> </code>
  
-====== Change ndsHome for multiple users ======+===== Change ndsHome for multiple users ===== 
 + 
 +Export ldap objects with attribute ''ndsHomeDirectory'' and ''class=inetOrgPerson'': 
 + 
 +<code plain export.ldf> 
 +version: 1 
 + 
 +dn: cn=SpechtB-S01,ou=Lehrer,ou=Benutzer,ou=S01,ou=SCHULEN,o=ml3 
 +changetype: add 
 +ndsHomeDirectory: cn=gserver03_DOCS,ou=Server,ou=DIENSTE,o=ml3#0#\S01\home\le 
 + hrer/SpechtB-S01 
 +</code>
  
-Export ldap information with attribute ''ndsHomeDirectory'' and ''class=inetOrgPerson'' \\ 
 Import customized ldif file into eDir: Import customized ldif file into eDir:
-<code ldif import.ldf>+ 
 +<code plain import.ldf>
 version: 1 version: 1
  
Line 46: Line 57:
 <code> <code>
 ndsrepair -T          # check edir and replica status ndsrepair -T          # check edir and replica status
 +</code>
 +
 +===== ndstrace ====
 +
 +<code>
 +ndstrace -c connections | grep "VALID|AUTHEN"                 # check active user connections to eDir
 </code> </code>
  
Line 65: Line 82:
  
 https://support.microfocus.com/kb/doc.php?id=7014457 https://support.microfocus.com/kb/doc.php?id=7014457
 +===== NSS =====
 +
 +==== Commands ====
 +
 +<code>
 +nss /CTimeIsMetadataModTime
 +nss /ListXattrNWMetaData
 +
 +nss /NoCTimeIsMetadataModTime
 +nss /NoListXattrNWMetaData
 +
 +nss /find=CTimeIsMetadataModTime
 +nss /find=ListXattrNWMetaData
 +</code>
 +
  
 ===== DFS ===== ===== DFS =====
Line 91: Line 123:
 </code> </code>
 Should contain the DFS-GUID from eDir Object Should contain the DFS-GUID from eDir Object
 +
 +
 +===== NDS / eDirectory Health Check Procedures =====
 +
 +==== Frequency ====
 +^ Static Tree | Every Month on every Server |
 +^ Dynamic Tree | Every Week on every Server |
 +
 +==== Steps ====
 +
 +  - Check DS Versions and Timesync <code>
 +ndsrepair -T </code>   
 +  - Check Server-to-Server Synchronization <code>
 +ndstrace </code> Within ndstrace enter: <code>
 +#enables screen and file logging to the ndstrace.log file
 +SET NDSTRACE=ON
 +
 +#turns off all preset filters
 +SET NDSTRACE=NODEBUG
 +
 +#enables filtering of synchronization traffic
 +SET NDSTRACE=+SKLK
 +
 +#heartbeat; initiates synchronization between file servers
 +SET NDSTRACE=*H
 +</code> check log file <code>
 +ndsconfig get n4u.server.log-file
 +</code>
 +  - Check Replica Synchronization status<code>
 +ndsrepair -E
 +</code>
 +  - Check external references <code>
 +ndsrepair -C -Ad -A
 +</code>
 +  - Check Replica States <code>
 +ndsrepair -P
 +</code>
 +  - Check Schema Synchronization <code>
 +ndstrace
 +</code> Within ndstrace enter: <code>
 +#enables screen and file logging to the ndstrace.log file
 +SET NDSTRACE=ON
 +
 +#turn off all preset filters
 +SET NDSTRACE=NODEBUG
 +
 +#enables filter of schema synchronization traffic
 +SET NDSTRACE=+SCMA
 +
 +Additionally you can look at the schema-related operations for both inbound and outbound by entering:
 +
 +SET NDSTRACE=+SCMD
 +#initiates synchronization of all schemas
 +SET NDSTRACE=*SS
 +</code> check log file <code>
 +ndsconfig get n4u.server.log-file
 +</code>
 +  - Repair Local Database <code>
 +ndsrepair -R
 +</code>
 +
 +https://support.microfocus.com/kb/doc.php?id=3564075
  
opentext/linux/oes.1726068337.txt.gz · Last modified: 2024/09/11 17:25 by gsys