Apigee Private cloud Installation - Simple Playbook

Apigee Edge Private Cloud - Who reads the manual?.

Context

Apigee Edge Private Cloud deployment can be really challenging. docs.apigee.com has all the comprehensive steps to install Apigee Edge but sometimes it can be really daunting task to go over the documentation.
This article presents a simple playbook which you can follow to install apigee edge in multi node (5 node in this example). Assuming you have an Centos7/RHEL7, you can follow this simple playbook to install edge.

Pre requisite

  • Prepare config.txt file specific to topology and put it /tmp directory of each nodes.
  • keep your license file /tmp directory in M1 and refer it properly in config.txt

Steps to Execute in all machines:

setenforce 0
curl https://software.apigee.com/bootstrap_4.17.05.sh -o /tmp/bootstrap_4.17.05.sh
chmod +x /tmp/bootstrap_4.17.05.sh
/tmp/bootstrap_4.17.05.sh apigeeuser=***** apigeepassword=***** JAVA_FIX=I
/opt/apigee/apigee-service/bin/apigee-service apigee-setup install

#Epel
sudo wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; 
rpm -ivh epel-release-latest-7.noarch.rpm

Steps to Execute in sequence for 5 node topologies.

M1 :
/opt/apigee/apigee-setup/bin/setup.sh -p ds -f /tmp/config.txt
M2:
/opt/apigee/apigee-setup/bin/setup.sh -p ds -f /tmp/config.txt
M3
/opt/apigee/apigee-setup/bin/setup.sh -p ds -f /tmp/config.txt
M1:
/opt/apigee/apigee-setup/bin/setup.sh -p ms -f /tmp/config.txt
M2:
/opt/apigee/apigee-setup/bin/setup.sh -p rmp -f /tmp/config.txt
M3
/opt/apigee/apigee-setup/bin/setup.sh -p rmp -f /tmp/config.txt
M4:
/opt/apigee/apigee-setup/bin/setup.sh -p sax -f /tmp/config.txt
M5:
/opt/apigee/apigee-setup/bin/setup.sh -p sax -f /tmp/config.txt
### Steps for  AIO

/opt/apigee/apigee-setup/bin/setup.sh -p aio -f /tmp/config.txt

Provisioning steps

M1:
/opt/apigee/apigee-service/bin/apigee-service apigee-provision install
/opt/apigee/apigee-service/bin/apigee-service apigee-provision setup-org -f /tmp/config.txt

Update Virtual Host

curl -X POST -H 'Content-Type: application/json' -u admin http://<msip>/v1/organizations/{org_name}/environments/{env_name}/virtualhosts/{virtualhost_name} -d '{"name": "{virtualhost_name}","hostAliases": ["IP1:{vhost_port}", "IP2:{vhost_port}"],"port": "{vhost_port}","interfaces" : []}'
Version history
Last update:
‎07-13-2017 12:20 PM
Updated by: