HP Cache Server Appliance Administrator Guide

216
Appendix D Configuration Files
The snmpTargetAddrEntry line defines the host, host_a, which has the IP address A.B.C.D.The
communityEntry line defines the community OneHost, which contains the host host_a.The
vacmAccessEntry and vacmSecurityToGroupEntry lines allow access to the community OneHost.
To allow MIB access to one subnet named
OneNet, enter the following lines in the configuration file:
The
snmpTargetAddrEntry line defines the subnet, net_a, which has the IP address A.B.C.xxx.The
communityEntry line defines the community OneNet, which contains the subnet net_a.The
vacmAccessEntry and vacmSecurityToGroupEntry lines allow access to the community OneNet.
socks.config
The socks.config file specifies which origin servers you want Traffic Server to access directly without
going through the SOCKS server.
Format
Each line in the socks.config file can consist of a maximum of 400 characters. Any line not containing
no_socks as the first string will be ignored. Any line containing no_socks as the first string must follow the
format below:
no_socks IPaddresses_or_IPaddress_range
where IPaddresses_or_IPaddress_range is a comma separated list of the IP addresses or IP address
ranges associated with the origin servers you want Traffic Server to access directly.
Example
The following example configures Traffic Server to access the origin server associated with the IP address
11.11.11.1 directly without going through the SOCKS server.
no_socks 11.11.11.1
The following example configures Traffic Server to access the origin servers associated with the range of IP
addresses
123.14.15.1 - 123.14.17.4 and the IP address 113.14.18.2 directly without going through
the SOCKS server.
no_socks 123.14.15.1 - 123.14.17.4, 113.14.18.2
NOTE Use the netmask 255.255.255.0 for the subnet A.B.C.xxx in the
snmpTargetAddrEntry definition.
snmpTargetAddrEntry 34 snmpUDPDomain A.B.C.0:0 100 3 net_a v1ExampleParams
nonVolatile 255.255.255.0:0
communityEntry localSnmpID public OneNet localSnmpID default net_a nonVolatile
vacmAccessEntry OneNet - snmpv1 no AuthNoPriv exact All - All nonVolatile
vacmSecurityToGroupEntry snmpv1 public OneNet nonVolatile
IMPORTANT After you modify
socks.config, Traffic Manager has to reread the configuration
files. Run the
traffic_line -x command. If you are running a cluster, you need only
run the command for one node; the changes will propagate.