...
- Login to Morpheus
- Go to Provisioning → Instances and click '+ADD'
- Select the LDAP replica Instance type
- Select a new name for the VM (e.g. ldap-rocky8) and click 'Next'
- Use the following inputs for the VM and then click 'Next' until the deployment starts:
- version: 8
- plan: eo1.medium
- networks: private
- security group: ldap
Warning |
---|
In case of errors |
...
during the provision of the replica for Rocky 8, please check ipacommandlineofWebUIaccessisdenied,withanHTTPerror401 |
Migrate from Rocky 8 to Rocky 9
...
- Go to an Ubuntu 22 VM and select 'Run Workflow'
- Select the 'Switch Interfaces of two VMs using Openstack Applicaitons Credentials'
- Insert inputs and run the workflow where you provide:
- OLD VM in this case is the OLD LDAP machine name
- NEW VM in this case is the NEW LDAP machine name
- Security Group Name: ldap
- Openstack Application Credentials ID and Secret
...
- ssh to ssh-proxy in your tenancy
- ssh using DNS to the new LDAP machine
- Run sudo ipactl status → verify the services are all up and running (if not, try sudo ipactl restart command)
- From Morpheus go to Provisioning → Instances and deploy a new machine to test the enrollment to LDAP DNS is working correctly with the new LDAP machine.
...
- SSH to the current LDAP machine you have
- become root
- Run the following
Code Block python3 /usr/libexec/ipa/oddjob/org.freeipa.server.config-enable-sid --add-sids
- restart ipa
Code Block ipactl restart
- finally kinit with the LDAP admin user ( you can find it in Morpheus Cypher → secret/ipaadmin_username, password/ipaadmin and try to run ipa commands to verify it worksthe above error is no more there)
Code Block kinit <ldap-admin-user>
- Finish procedure for new rocky 8 replica
- replace the new LDAP IP with the IP of the interface of the old LDAP
Code Block ipa dnsrecord-mod HOSTED_ZONE ipa-ca --a-rec OLD_LDAP_IP ipa dnsrecord-mod HOSTED_ZONE NEW_LDAP_HOSTNAME --a-rec OLD_LDAP_IP
- replace the new LDAP IP with the IP of the interface of the old LDAP
Resource: https://access.redhat.com/solutions/7052125
...