Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

User procedure

...

Start user procedure:

  1. Edit LDAP Security Group (see EditLDAPsecuritygroup);
  2. Backup existing LDAP machine using the following documentation: EWC - How to create and restore backups from VMs
  3. Check the Operating System of your LDAP from Morpheus, Provisioning → Instances → select LDAP machine Image Added;
    1. If your LDAP is rocky 8 based → jump to step 10. 
    2. If your LDAP is centos7 based → continue to step 4.
  4. 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

...

Start user procedure:

  1. Edit LDAP Security Group (see EditLDAPsecuritygroup);
  2. Backup existing LDAP machine using the following documentation: EWC - How to create and restore backups from VMs
  3. Check the Operating System of your LDAP from Morpheus, Provisioning → Instances → select LDAP machine Image Removed;
    1. If your LDAP is rocky 8 based → jump to step 9. 
    2. If your LDAP is centos7 based → continue to step 4.
  4. Create LDAP replica instance type to move from centos7 to rocky 8 (see see MigratefromCentos7toRocky8);
  5. Make new LDAP machine primary (see PreparenewLDAPmachine );
  6. Switch IP interfaces between LDAPs (see SwitchIPinterfacesbetweenLDAPs);
  7. Update Morpheus (see UpdateMorpheus );
  8. Check everything is working fine (see Tests);
  9. 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
  10. Create LDAP replica instance type to move from rocky 8 to rocky 9 (see MigratefromRocky8toRocky9)
  11. Make new LDAP machine primary (see PreparenewLDAPmachine );
  12. Switch IP interfaces between LDAPs (see SwitchIPinterfacesbetweenLDAPs);
  13. Update Morpheus (see UpdateMorpheus );
  14. Check everything is working fine (see Tests);
  15. Delete old LDAP machine/s to free resources (see Delete a VM from Morpheus).

...