Posted On March 28, 2019

OpenLDAP Migration

kimconnect 0 comments
blog.KimConnect.com >> Linux , Windows >> OpenLDAP Migration

LDAP PKGSRC Cutover

# Compress ldap directory on WEB01.PROD
tar -C /home/webadmin/pkg/var/openldap -czvf /tmp/kimconnect-com.gz kimconnect-com
chmod 777 /tmp/kimconnect-com.gz
# Make a backup of ldap files
cd /home/webadmin/pkg/var/openldap
dateString=$(date +”%m_%d_%Y”)
mv kimconnect-com kimconnect-com_$dateString
# Pull files from WEB01.PROD while logon to WEB02.PROD as webadmin
scp -P{port-number} webadmin@WEB01:/tmp/kimconnect-com.gz /home/webadmin/pkg/var/openldap
# Untar
cd /home/webadmin/pkg/var/openldap && tar xvzf kimconnect-com.gz

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

A Fake 512GB USB Thumb Drive

There appears to be a flood of bad USB flash drives on the market at…

Windows Short-cut vs Symbolic Link vs Junction vs Hard Link

Although they behave similarly, there are fundamental differences between a short-cut (a Microsoft's implementation for…

Quick Notes of Beachy Systems Upgrade

Projects Proposal for Beachy Group (Fictional Entity)   Initial Fixed Costs Overview: SonicWall TZ215 $370…
Other project: DragonCoin.com