Difference between revisions of "NDPF LDAP Backups and Slaves"

From PDP/Grid Wiki
Jump to navigationJump to search
m
 
m
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Making a Backup of the LDAP Directory =
+
''' THIS WAS OUTDATED INFORMATION '''
 
 
Apart from the immediately obvious content of the LDAP directory (i.e. the stuff you see with the LDAP Browser or a regular LDAP search), there is some meta-data that must be preserevd on backup: the creator, creation time, modifier and modification time. These attributes must be specified explicitly on the command line.
 
 
 
  ldapsearch -P 3 -x -H ldaps://trog/ -b "dc=farmnet,dc=nikhef,dc=nl" \
 
    -D "cn=Manager,dc=root" -W \
 
    creatorsName createTimestamp modifiersName modifyTimestamp \*
 
 
 
(and provide the LDAP direcotry root password as requested).
 
 
 
The output of this command constitutes the backup of the directory. A backup
 
is made daily on 'trog' in '/project/ndpf/sysdir/data/'.
 
 
 
= Creating a new slave server =
 
 
 
The relation between a master (i.e. on trog) and the set of slaves is maintained by the "slupd" daemon, running on the master. The slurps knows about the master "update" password for all slaves, and will push any modifications down to those slaves. The list of slaves is maintained in
 

Latest revision as of 12:41, 23 December 2008

THIS WAS OUTDATED INFORMATION