...
- Edit LDAP Security Group (see EditLDAPsecuritygroup);
- Backup existing LDAP machine using the following documentation: EWC - How to create and restore backups from VMs (VM Images Backup)
- Check the Operating System of your LDAP from Morpheus, Provisioning → Instances → select LDAP machine ;
- If your LDAP is rocky 8 based → jump to step 10.
- If your LDAP is centos7 based → continue to step 4.
- If your LDAP is rocky 8 based → jump to step 10.
Prepare the following information knowing that your OLD_LDAP is centos7 based and NEW_LDAP is rocky8 based:
- DNS_HOSTED_ZONE→ logging in Morpheus → Tools → Cypher and check the following secret → secret/ldap_domain
- OLD_LDAP_SERVER_NAME → Name of the server from Openstack → you can find the name from openstack server list command
- OLD_LDAP_PRIVATE_IP → logging in Morpheus → Provisioning → Instances, check your OLD LDAP VM IP address
- OLD_LDAP_HOSTNAME → logging in Morpheus → Tools → Cypher and check the following secret → secret/ldap_hostname
- NEW_LDAP_SERVER_NAME → Name of the server from Openstack → you can find the name from openstack server list command
- NEW_LDAP_PRIVATE_IP → logging in Morpheus → Provisioning → Instances, check your new LDAP VM IP address
- NEW_LDAP_HOSTNAME → <name-of-the-machine>.<tenancy-domain> where tenancy-domain → logging in Morpheus → Tools → Cypher and check the following secret → secret/ldap_domain (e.g. the result should be something like ldap-test-rocky.eumetsat.sandbox.ewc). Alternatively you can find it in /etc/hosts file in your new LDAP machine
- Create LDAP replica instance type to move from centos7 to rocky 8 (see MigratefromCentos7toRocky8);
- Make new LDAP machine primary (see PreparenewLDAPmachine );
- Switch IP interfaces between LDAPs (see SwitchIPinterfacesbetweenLDAPs);
- Update Morpheus (see UpdateMorpheus );
- Check everything is working fine (see Tests);
Prepare the following information knowing that your OLD_LDAP is rocky8 based and NEW_LDAP is rocky9 based:
- DNS_HOSTED_ZONE→ logging in Morpheus → Tools → Cypher and check the following secret → secret/ldap_domain
- OLD_LDAP_SERVER_NAME → Name of the server from Openstack → you can find the name from openstack server list command
- OLD_LDAP_PRIVATE_IP → logging in Morpheus → Provisioning → Instances, check your OLD LDAP VM IP address
- OLD_LDAP_HOSTNAME → logging in Morpheus → Tools → Cypher and check the following secret → secret/ldap_hostname
- NEW_LDAP_SERVER_NAME → Name of the server from Openstack → you can find the name from openstack server list command
- NEW_LDAP_PRIVATE_IP → logging in Morpheus → Provisioning → Instances, check your new LDAP VM IP address
- NEW_LDAP_HOSTNAME → <name-of-the-machine>.<tenancy-domain> where tenancy-domain → logging in Morpheus → Tools → Cypher and check the following secret → secret/ldap_domain (e.g. the result should be something like ldap-test-rocky.eumetsat.sandbox.ewc). Alternatively you can find it in /etc/hosts file in your new LDAP machine
- Create LDAP replica instance type to move from rocky 8 to rocky 9 (see MigratefromRocky8toRocky9)
- Make new LDAP machine primary (see PreparenewLDAPmachine );
- Switch IP interfaces between LDAPs (see SwitchIPinterfacesbetweenLDAPs);
- Update Morpheus (see UpdateMorpheus );
- Check everything is working fine (see Tests);
- Delete old LDAP machine/s to free resources (see Delete a VM from Morpheus).
...