Shared application network variables
These variables are for access to the applications housed on the Cloud Pak for Data System Cluster.
Variables
application_network
line:application_network_enabled: True/False
application_network:If you are only using Management
connection (1G), the setting must be: application_network_enabled: False, and the
application_network section must be
blank.
If you have a standard network layout
(Management plus Application), you should set application_network_enabled to
True.
vars section, update the following:- VLAN
If you use VLAN tags on your side of the house connection to Cloud Pak for Data System, use those values. If you do NOT use a VLAN tag on your network connection, use 4080.
Example:vars: [...] application_network: network1: [...] vlan: 4080 - Application prefix
This is the netmask, converted into the bitmask integer.
Example:vars: [...] application_network: network1: [...] prefix: 24 - Application gateway
This is the gateway on the application network.
Example:vars: [...] application_network: network1: [...] gateway: 192.168.1.1 - Application floating address
This is the Floating Address on the Application Network.
Example:vars: [...] application_network: network1: [...] floating_ip: 192.168.1.204 - Application network MTU
If you require a special MTU, override the default here. Otherwise, leave the
<OPTIONAL>tag from the template as is. The default value is 9000.vars: [...] application_network: network1: [...] mtu: <OPTIONAL> - Application network custom routes
vars: [...] application_network: network1: [...] custom_routes: <OPTIONAL>Note: The route format must be provided in the following format:
Example:["ip/prefixlen via gateway dev interface"]custom_routes: ["192.128.0.0/24 via 10.123.10.2 dev mgt1"] - Additional application addressIn cases you wish to use a second network interface for your application connections, copy the
network1section underapplication_network, rename it asnetwork2, and reset thedefault_gatewayto false. This will give a file which looks like this:vars: [...] application_network: network1: default_gateway: true vlan: # just number, no slash prefix: gateway: floating_ip: mtu: custom_routes: network2: default_gateway: false vlan: # just number, no slash prefix: gateway: floating_ip: mtu: custom_routes:Note: In thenetwork2section, thedefault_gatewaymust be reset to false. Otherwise the parameters have the same meaning but with different values as their counterparts innetwork1.