I need the config response file for 9-node cluster on-prem installation file

sidd-harth
Participant V

We need to automate the apigee on-prem setup for one of our clients who is using a 9-node cluster. I have gone through the OPDK installation guide and the option for silent installation requires a config response file. Can someone please help with a sample response file.

Solved Solved
0 5 492
1 ACCEPTED SOLUTION

sgilson
Participant V

Hi, Appendix A of the Edge Install Guide, available on the Apigee ftp site, shows a silent config file for a 9-node install, in the form:

HOSTIP=$(hostname -i)
MSIP=$IP1 
ADMIN_EMAIL=opdk@apigee.com
APIGEE_ADMINPW=secret12
LICENSE_FILE=/tmp/license.txt
USE_LDAP_REMOTE_HOST=n
LDAP_TYPE=1
APIGEE_LDAPPW=secret
ENABLE_AX=y
MP_POD=gateway
REGION=dc-1 
USE_ZK_CLUSTER=y
ZK_HOSTS="$IP1 $IP2 $IP3" 
ZK_CLIENT_HOSTS="$IP1 $IP2 $IP3" 
USE_CASS_CLUSTER=y
CASS_HOSTS="$IP1 $IP2 $IP3" 
SKIP_SMTP=n
SMTPHOST=smtp.example.com
SMTPPORT=25
SMTPUSER=smtp@example.com  # =0 for no username
SMTPPASSWORD=smtppwd  # =0 for no password
SMTPSSL=n
BIND_ON_ALL_INTERFACES=y

It also contains silent config files for other topologies.

Stephen

View solution in original post

5 REPLIES 5

sgilson
Participant V

Hi, Appendix A of the Edge Install Guide, available on the Apigee ftp site, shows a silent config file for a 9-node install, in the form:

HOSTIP=$(hostname -i)
MSIP=$IP1 
ADMIN_EMAIL=opdk@apigee.com
APIGEE_ADMINPW=secret12
LICENSE_FILE=/tmp/license.txt
USE_LDAP_REMOTE_HOST=n
LDAP_TYPE=1
APIGEE_LDAPPW=secret
ENABLE_AX=y
MP_POD=gateway
REGION=dc-1 
USE_ZK_CLUSTER=y
ZK_HOSTS="$IP1 $IP2 $IP3" 
ZK_CLIENT_HOSTS="$IP1 $IP2 $IP3" 
USE_CASS_CLUSTER=y
CASS_HOSTS="$IP1 $IP2 $IP3" 
SKIP_SMTP=n
SMTPHOST=smtp.example.com
SMTPPORT=25
SMTPUSER=smtp@example.com  # =0 for no username
SMTPPASSWORD=smtppwd  # =0 for no password
SMTPSSL=n
BIND_ON_ALL_INTERFACES=y

It also contains silent config files for other topologies.

Stephen

@sgilson What if $(hostname -i) returns the loopback address?

I've tried editing the /etc/hosts file but hostname -i still returns the loopback address.

Can I simply hardcode the $IP1, $IP2, $IP3 variables to the appropriate ip address in the silent config file and install?

Yes, you can hard code the values. The use of variable substitution is simply a convenient way to define your hosts up front, but you can insert raw IPs, hostnames or FQDNs into each field. Just remember that HOSTIP must match the values used in other lists, such as CASS_HOSTS, if the node in question is part of those lists.

I searched for "hostname -i" in the scripts and the config file, hardcoded the ip addresses and that worked yesterday.

Thanks @Paul Mibus!

How do I access the FTP for the config files for the other topologies? I'm on an evak, and my eval username/password doesn't show anything beyond an evaluation agreement and a developer services tarball.