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

Windows-clean-up.cmd

------------------------------Clear out TEMP files on a regular basis - this is best done at startup…

Shoretel: Why do we need an inventory of MAC addresses?

Answer: systems such are Shoretel's licensing are dependent on the MAC address of the original…

PowerShell: Enable ISE

Import-Module ServerManager;Add-WindowsFeature PowerShell-ISE