Download the OTD software and install it on a server by running runInstaller command from <Binaries>/Disk1.
Preferred is to configure the OTD as root user because when the administration server is configured as root, then Oracle Traffic Director starts the keepalived daemon automatically when you start instances that are part of a failover group, and stops the daemon when you stop the instances.
Set Oracle_Home as the new Installed OTD Home.
Run below command to configure the Admin server:
<OTD_HOME>/otd/bin/tadm configure-server --port=8989 --user=admin --server-user=root --instance- home=<OTD_HOME>/otd/instance_name/otd_instance1
This command will ask for admin password and will create the admin server. Run Below command to start the admin server:
<OTD_HOME>/otd/instance_name/otd_instance1/admin-server/bin/startserv
Login to the OTD console on http://<host>:8989 as admin user.
Click New configuration:
Preferred is to configure the OTD as root user because when the administration server is configured as root, then Oracle Traffic Director starts the keepalived daemon automatically when you start instances that are part of a failover group, and stops the daemon when you stop the instances.
Set Oracle_Home as the new Installed OTD Home.
Run below command to configure the Admin server:
<OTD_HOME>/otd/bin/tadm configure-server --port=8989 --user=admin --server-user=root --instance- home=<OTD_HOME>/otd/instance_name/otd_instance1
This command will ask for admin password and will create the admin server. Run Below command to start the admin server:
<OTD_HOME>/otd/instance_name/otd_instance1/admin-server/bin/startserv
Login to the OTD console on http://<host>:8989 as admin user.
Click New configuration:
Click Next and create new listener:
Click Next and on the Next screen add the 2 servers on which load balancing has to be done:
Deploy the on the admin server:
Click create configuration:
This will create a default route and a origin server pool with the servers mentioned during creation process. The URI mapping can be changed where we can map the URI from admin node to any of the server.
Match the URI pattern as below:
This will start redirecting the request from AdminServer:post to the servers in orgin-server-pool1.
Try to access one of application deployed on servers in orgin-server-pool1 through admin server port.
Also a fail over group can be created with the serves.
Comments
Post a Comment