SOLUTION: How to unjoin a Windows AD domain when the ScaleArc hostname contains uppercase letters
Unable to unjoin ScaleArc from a Windows Active Directory Domain because the ScaleArc hostname is not lowercase.
In ScaleArc 3.10, the joining of ScaleArc to a Windows Active Directory Domain as a Read-Only Domain Controller (RODC) is completed without requiring the ScaleArc hostname to be lowercase. If a ScaleArc appliance has been joined to a Windows Active Directory Domain as a Read-Only Domain Controller (RODC) while the ScaleArc hostname contains uppercase letters
In ScaleArc 3.11, a restriction was added to the AD join operation requiring the ScaleArc hostname to be lowercase.
If a ScaleArc 3.10 appliance has been joined to a Windows Active Directory Domain as a Read-Only Domain Controller (RODC) while the ScaleArc hostname contains uppercase letters and is then upgraded to ScaleArc 3.11, any AD unjoin operation will fail due to the ScaleArc hostname character case restriction.
The following steps can be followed to allow the AD unjoin operation to succeed. SSH access to the ScaleArc appliance is required (please see KB2173 for instructions on enabling SSH in ScaleArc).
Step #1: SSH to the ScaleArc appliance using the 'idb' user
Step #2: Execute the following commands (the text following the # character) in the ScaleArc shell terminal
# sudo su – # cp /bin/hostname /bin/hostname.orig # echo "/bin/hostname.orig $1 | /usr/bin/tr '[:upper:]' '[:lower:]'" > /bin/host-name # chmod +x /bin/host-name # cp /bin/host-name /bin/hostname
Step #3: Execute the Windows AD unjoin operation in the ScaleArc browser UI (located in [Settings] -> [System Settings] -> [Windows AD Setup])
Step #4: Once the AD unjoin operation completes successfully, execute the following commands in the ScaleArc shell terminal
# cp /bin/hostname.orig /bin/hostname # rm /bin/host-name
Step #5: Log out of the ScaleArc SSH session
If you are experiencing issues with ScaleArc or with any of its features, please contact ScaleArc Support. We are available 24x7 by phone at 855 800 7225 or +1 408 412 7315. For general support inquiries, you can also e-mail us at email@example.com.
2901 Tasman Drive Santa Clara, CA 95054 | Email: firstname.lastname@example.org