What are the steps for silent installation of apigee-edge-4.15 by silent_config?

Not applicable

apigee-install.sh is user interactive installer which needs many inputs at various level, But we require an approach of silent installation by silent_config.

Any supporting doc available to assist.

@sgilson, @Alex Toombs, @RK4, @sudheendra1

Solved Solved
0 7 760
2 ACCEPTED SOLUTIONS

@pankaj singh patel silent installation is described in the Install and Configuration Guide, Appendix A.

View solution in original post

@pankaj singh patel as Mark mentioned above, you can download the docs from the ftp site, but you need a password. It is the same password as you used to download the Edge zip file.

In the silent install command you mentioned above:

/<inst-root>/apigee4/share/installer/apigee-setup.sh -p aio -f config-2h

You need to create the silent config file, config-2h, and then specify the path to that file using the '-f' option. As you wrote the command, the apigee-setup.sh script looks for config-2h in the current dir.

The install doc has many examples of silent config files, and many examples of running them.

Stephen

View solution in original post

7 REPLIES 7

Dear @pankaj singh patel , Welcome to Apigee Community 🙂 Stay tuned for answers !

@pankaj singh patel silent installation is described in the Install and Configuration Guide, Appendix A.

Could you please point me the path location/hyperlink of the doc...

Hello Pankaj,

Silent installation template file "silent_config_example" ships with Edge Private Cloud. The file is located in the root directory after you unzip the apigee-gateway.-4.14.xx.yy.zip file.

You need to provide the details accordingly and follow the doc mention in Appendix A:Silent Installation.

You can fill the silent file & reuse the file as installer will takes care as per the flags (option -p) (eg:ds,ms etc) you provide during the command.

We filled in the details in silent file & renamed it as per the component installation eg:silent_ds,silent_ms etc.

Eg:

5 Host Cluster Installation:

===================================================

Install and Configure Datastore Cluster Node: Machine 1, 2 and 3 Step 1: cd /opt/installers/apigee-edge-4.15.04.00 ./apigee-install.sh -r /opt -d /opt -j /usr/java/default -j option is for jdk location -r & -d point to base path of apigee (eg: /opt)

Step 2: cd /opt/apigee/apigee4/share/installer ./apigee-setup.sh -p ds -f silent_ds

ds is for data store. =====================================================

Install Apigee Management Server: Machine 1 Step 1: cd /opt/installers/apigee-edge-4.15.04.00 ./apigee-install.sh -r /opt -d /opt -j /usr/java/default -j option is for jdk location -r & -d point to base path of apigee (eg: /opt) Step 2: cd /opt/apigee/apigee4/share/installer ./apigee-setup.sh -p ms -f silent_ms ms is for management server ======================================================

Install Apigee Router and Message Processor: Machine 2 and 3 Step 1: cd /opt/installers/apigee-edge-4.15.04.00 ./apigee-install.sh -r /opt -d /opt -j /usr/java/default -j option is for jdk location -r & -d point to base path of apigee (eg: /opt) Step 2: cd /opt/apigee/apigee4/share/installer ./apigee-setup.sh -p rmp -f silent_rmp rmp is for router & message processor ======================================================

Install Apigee Analytics: Machine 4 and 5

Step 1: cd /opt/installers/apigee-edge-4.15.04.00 ./apigee-install.sh -r /opt -d /opt -j /usr/java/default -j option is for jdk location -r & -d point to base path of apigee (eg: /opt) Step 2: cd /opt/apigee/apigee4/share/installer ./apigee-setup.sh -p sax -f silent_analytics sax is for Analytics Standalone (Qpid and Postgres)

=====================================================

Hope this helps.

There is a typo in the document as the commands are given in one line.

eg:

Install and Configure Standalone Gateway: Machine 1

./apigee-install.sh -j /usr/java/default -r /opt -d /opt /opt/apigee4/share/installer/apigee-setup.sh -p sa -f config-2h

it should have been as below (missing dot in the second line)

./apigee-install.sh -j /usr/java/default -r /opt -d /opt ./opt/apigee4/share/installer/apigee-setup.sh -p sa -f config-2h

-Vinay

Docs for on premise are not published so we cannot provide direct hyperlinks for them. They available via the distribution site for on premise software: ftp.apigee.com (login required) in the docs folder or via the Apigee Support Portal (login also required) in the libraries tab. If you do not have logins to these, you need to contact Apigee Support, you can use the web form here, to request access to those sites.

Thanks mschreuder, I got the doc and did accordingly but

/<inst-root>/apigee4/share/installer/apigee-setup.sh -p aio -f config-2h was unable to execute as config-2h was no where.

How we get and configure this file?

@pankaj singh patel as Mark mentioned above, you can download the docs from the ftp site, but you need a password. It is the same password as you used to download the Edge zip file.

In the silent install command you mentioned above:

/<inst-root>/apigee4/share/installer/apigee-setup.sh -p aio -f config-2h

You need to create the silent config file, config-2h, and then specify the path to that file using the '-f' option. As you wrote the command, the apigee-setup.sh script looks for config-2h in the current dir.

The install doc has many examples of silent config files, and many examples of running them.

Stephen