Just decommissioned a Primary node and have a few bits in LDAP that need to be changed.
Current entry:
# failover, ucs-9410, dhcp, fqdn.com
dn: cn=failover,cn=ucs-9410,cn=dhcp,dc=fqdn,dc=com
dhcpMaxClientLeadTime: 600
objectClass: dhcpFailOverPeer
dhcpFailOverSecondaryPort: 5020
dhcpFailOverSplit: 128
dhcpFailOverSecondaryServer: 10.0.1.238
dhcpFailOverPrimaryPort: 5019
dhcpFailOverPrimaryServer: 10.0.1.231
cn: failover
How do I change the dn: entry to:
dn: cn=failover,cn=ucs-9412,cn=dhcp,dc=fqdn,dc=com
??
I’ve attempted the change using
changetype: moddn
newrdn: cn=failover,cn=ucs-9412
However, it errors out with an Invalid DN syntax.
Using just the cn=ucs-9412 replaces the cn=failover with:
cn=ucs-9412,cn=ucs-9410,cn=dhcp,dc=fqdn,dc=com