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

Problem: NextCloud Would Not Start Due to Versioning Variance

This issue has occurred when NextCloud has been upgraded after deployment. Its source docker container…

Securing Windows Remote Desktop Services

secpol.msc > Local Policies > User Rights Assignments > double-click "Allow Log on through Remote…

How to Calculate Logging Storage

The Simple Formula: Storage in Gigabytes = Number of Events x (Average Bytes per Event…
Other project: DragonCoin.com