Carrying over from setup of primary directory setup same way and use command line parameters to quickly duplicate but add -h to specify the different hostname in this case ldap2 instead of ldap1. Also, change the password to your proper password,
... this is not working yet... asking for agree to license
Code Block |
---|
|
./setup --cli --baseDN cd=krypton,dc=com --sampleData 20 --ldapPort 1389 --adminConnectorPort 4444 --rootUserDN "cn=Directory Manager" --rootUserPassword "T1ns3cur3:)" --doNotStart --no-prompt --noPropertiesFile -h ldap2.krypton.com |
Make sure to remove the history entry which has the rootUserPassword in case the account is compromised,