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

Enable Remote Desktop Remotely

Quick tip on how to enable Remote Desktop remotely (by editing the remote registry)1. On…

Quick 1-liner: Raise Domain Functional Level from 2003 to 2012 R2

This command is required to enable 2012R2 functional level (group policy replication) adprep /domainprep /gpprep…

HPE: Gen8 Bios Settings to Prepare Host for Virtualization Role

Proliant Gen8 Blade Servers HP Servers are often chosen as VMWare & Hyper-V hosts. To…