hello
so we've been struggling with initial clustering setup. Following directions [here](https://www.gluu.org/docs/cluster/). And reviewing this [ticket](https://support.gluu.org/installation/dsreplication-initialize-fails-3027/) as well.
This is a new install. First box setup with Cache Refresh all went very well. Second box install with setup file and such as per directions from above link all seemed fine.
I can't get past
> "Run ldapGeneralConfigInstall.py in host-1. This script will prepare the host-1 LDAP server to accept various configurations such as allow-pre-encoded-passwords or applying the host and port for LDAP Server."
First off. As far as I can tell the ldapGeneralConfigInstall.py and replicationSetup.py scripts are NOT included with the app. So created them manually based off links from the config page.
When running ldapGeneralConfigInstall.py all i can get is the below. Password used is what it dumped out as the Admin Pass at install. This is not the first attempt to run this file. So it's not asking for machine IPs or anything anymore.
```
[root@op-dev ~]# python ./ldapGeneralConfigInstall.py
Password for 'cn=Directory Manager':
Setting Global properties...
Unable to connect to the server at "localhost" on port 4444
Setting Default Password Policy properties...
Unable to connect to the server at "localhost" on port 4444
[root@op-dev ~]#
```
Also this comment in the referenced ticket:
> "When you will supply your replication nodes to script, use ip addresses, not dns names"
I believe I used dns names the first time :-/ It was over a week ago now and i didn't save out the results. So yea I don't have good info. Where is that stored that I could check/change?
Also I now get the below error when trying to manually run dsreplication as shown in the earlier mentioned support ticket.
```
The provided credentials are not valid in server 127.0.0.1:4444. Details:
[LDAP: error code 49 - Invalid Credentials]
```
Is there a way to "fix" this without having to dump and re-install?
Random bits.
Tomcat is set to 3GB - this is the NON-production instance. We'll up that on the Prod box to 6GB probably.
```
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=2048
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=3072
```
Other testing of connecting to internal LDAP (was going to attempt logging into second host using admin so looking how to revert back to internal ldap auth, referenced [this](https://support.gluu.org/installation/revert-back-to-default-auth-module-1998/) ticket)
```
[root@op-dev ~]# /opt/opendj/bin/ldapsearch -h localhost -p 1389 -D "cn=directory manager" -j ~/.pw -b "ou=appliances,o=gluu" -s one "objectclass=*" oxAuthenticationMode
Connect Error
Result Code: 91 (Connect Error)
[root@op-dev ~]#
```
I'm honestly thinking that this may be a result of a password screwed up. When it's asking in the initial run of ldapGeneralConfigInstall.py is it "creating" a password or just using it? It's very unclear to me and I may have typed is wrong if it's creating it which would have screwed up the whole thing I'm guessing.
thanks!