Terminals are specialized network interfaces that are used only for connections between appliances, such as interacting with appliances in the same application. The APK automatically configures the terminal network, if an IP address is included. The appliance cannot change the IP address.
The APK makes the terminals display like host names to make it easy to integrate with existing software. You can view the terminal configuration and mapping in the Appliance Descriptor File and/or in the APK utility. The utility gives you a terminal name when you provide the IP address.
The terminal types are:
IN is the host name. If you try to resolve the host name IN, you will get the IP address of your own terminal. This is useful when configuring the interface for servers to listen on. For example, the HTTP Load Balancer (HALB) accepts requests to dispatch on its IN input terminal and control requests on its CTL terminals. This is the only way HALB will work.
OUT is the most frequently used terminal. The name of the Output terminal can be used in the inside of the appliance as the hostname. This allows a connection when talking to other connected appliances. The APK maps the name of the terminal to the IP address of the input connected to the output of the IP address. For example, web6 can refer to the database host to connect to the database. You can use mysql –h –db to connect to the mysql database to web6. When you use the fs terminal as a hostname, the fs terminal will resolve the IP address of the nfs server in a NAS appliance.
In addition, you can create an alias for the hostname. The APK then maps the alias to the IP address. This is useful in cases where a hostname is hard coded in the software package.
Gateway output terminals are used to connect to multiple hosts, typically through a net gateway appliance. This is unlike the regular output terminals that connect to a single host name or service. When an appliance has a gateway terminal configured on its boundary, the APK automatically configures that interface to be the default gateway for the appliance as well as its DNS server.
To access services through a gateway output, use the IP address or hostname of the target. For example: wget actp://wordpress.com/latest .tar .gz
In most appliances, the gateway output terminals are used to access any network, such as the corporate network. The name of the gateway output terminal resolves to the IP address of the gateway or router that is provided by the appliance connected to the gateway output. The name can also be used as the name of a DNS server. For example, dig @net google.com. Net is the name of the gateway output terminal and dig resolves the IP address.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|