WARNING: This web is not used anymore. Please use PDBService.LDAPServerInPDBBackup instead!
 

LDAP Server on PDB Backup

  • There is LDAP server running on PDB Backup as CRS service named 'pdb_ldap'
  • To start it or stop it use: crs_start pdb_ldap or crs_stop pdb_ldap
  • to update LDAP with the current tnsnames.ora information run on pdb-backup:
    cd ~/production/ldap
    ./tns2oid.pl

Troubleshooting
  • to check if the LDAP server is running you can issue on pdb-backup:
    • check on CRS level
      crsstat.sh
      
    • check if server is started
      sudo /etc/init.d/ldap status
      
    • check if LDAP structure is there - this should return: dn: cn=Manager,dc=cern,dc=ch and dn: cn=OracleContext,dc=cern,dc=ch entries
      ldapsearch -s one -b 'dc=cern,dc=ch' dn -x
      
    • check if TNS data is there - this should return few hundreds entries
      ldapsearch -b 'cn=OracleContext, dc=cern,dc=ch' dn -x
      
  • if start or stop using crs command fails try using sudo /etc/init.d/ldap start or sudo /etc/init.d/ldap stop
  • if LDAP service is not accessible at all on the node or if it is corrupted one can easily recreate the whole setup from scratch by running just one script on pdb-backup (this will also update tns information in the LDAP):
    cd ~/production/ldap
    ./reinitialize.sh

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2008-11-28 - DawidWojcik
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PSSGroup All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback