ispman/docs UPGRADING,1.9,1.10
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/docs In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv29814/docs Modified Files: UPGRADING Log Message: adjusted instructions for 1.3 release Index: UPGRADING =================================================================== RCS file: /cvsroot/ispman/ispman/docs/UPGRADING,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- UPGRADING 5 Feb 2005 14:34:44 -0000 1.9 +++ UPGRADING 26 May 2006 22:52:44 -0000 1.10 @@ -68,28 +68,17 @@ Migrate your LDAP data ====================== -On your exported ISPMan data use "ldifupdate" to check consistency and -do any needed migration: - -> <installdir>/bin/ispman.ldifupdate \ - -i /tmp/myispman.ldif -o /tmp/changes.ldif -m modify +With all ISPMan files in place you can execute "<installdir>/bin/ispman.ldifupdate" +to check consistency of your LDAP data + -> <installdir>/bin/ispman.ldifupdate -o /tmp/changes.ldif -This reads your data from the generated LDIF (myispman.ldif) and -checks it against some migration/validity rules. +This reads ISPMan data from your LDAP server and checks it against some +migration/validity rules. You will be informed about any necessary changes, which will be -written to a new file (changes.ldif). -When using "-m modify" this file will only contain the changes, which -is probably what you want. +written in LDIF format to the sepcified output file (-o). -In case ldifupdate warns you about some missing defaults, you need to -adjust some defaults at the beginning of that script. - -> vi <installdir>/bin/ispman.ldifupdate +Keep that file for now, until you completed the next two steps. -NOTE: -If ispman.ldifupdate should fail with a error like - "unsupported url type" -you are caught by bug [1040543]. -See link below for recovery and more information: -http://sourceforge.net/tracker/index.php?func=detail&aid=1040543&group_id=8390&atid=108390) Apply config/schema changes =========================== @@ -137,29 +126,16 @@ Import new ISPMan data ====================== -Now load the new LDIF files to your LDAP server, to add any newly -added default data: - -> cd <installdir> - -> cat conf/ldif/ispman.ldif | ./bin/ispman.substConf | \ - ./bin/ispman.ldifload -f - -This will only add branches and records that are missing (no delete or -overwrite), so just ignore any warnings about already existing -entries. - -Apply the changes from ldifupdate (/tmp/changes.ldif from above) - -> ldapmodify -x -h <ldaphost> -D <binddn> -w <bindpw> \ - -f /tmp/changes.ldif +Now you should be able to load the generated LDIF file from above to +the LDAP server with + -> <installdir>/bin/ispman.ldifload -f /tmp/changed.ldif -This is probably the most elegant way to do this, because it will just -change what is needed. No big-time export/import. +Please report any problems you have with running ispman.ldifupdate as the quality +of logic greatly depends on users feedback. If that worked out ok, you should be ready to go. Please send any bugs or improvement suggestions to ispman-developers-nYvEWQtI3DWkA/[email protected] - - - - ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642