プロキシの実行

インストゥルメント化されたサーバでトラフィックを実行する前に、runProxy スクリプトを実行してプロキシを起動します。
次に、runProxy スクリプトのオプションをすべて示します。プロキシ制御ディレクトリは必須です。
Usage: runProxy options -- proxyCommunicationDir logDirectory [jvmOption=jvmOptionValue [ jvmOption=jvmOptionValue [...] ]
Options:
-r <dir>, --proxy-runtime-dir=<dir>     #Specifies proxy runtime directory
-d <dir>, --proxy-dir=<dir>             #Specifies root proxy directory
-j <dir>, --jre-dir=<dir>               #Specifies root JRE directory
-v, --verbose                           #Enable verbose output
-h,--help                               #Show this
jvmOption
-Dappdynamics.controller.hostName=<hostName>	         #Set the host name or IP address of the Splunk AppDynamics Controller
-Dappdynamics.controller.port=<port>                    #Set the HTTP(S) port of the Splunk AppDynamics Controller
-Dappdynamics.agent.applicationName=<applicationName>   #Set the name of the logical business application
-Dappdynamics.agent.tierName=<tierName>          		 #Set the name of the logical tier
-Dappdynamics.agent.nodeName=<nodeName>                 #Set the name of the instrumented node
-Dappdynamics.agent.accountName=<accountName>           #Set the account name used to authenticate with the Controller
-Dappdynamics.agent.accountAccessKey=<accessKey>        #Set the account access key used to authenticate with the Controller
-Dappdynamics.controller.ssl.enabled=<true>             #Set if the agent should use SSL (HTTPS) to connect to the Controller
-Dappdynamics.agent.uniqueHostId=<uniqueHostId>         #Set a unique host ID for the App agents
次に例を示します。
./proxy/runProxy -d ./proxy -r /tmp/appd/my_app/my_tier/my_node /tmp/proxy.communication /tmp/agentLogs

./proxy/runProxy /tmp/proxy.communication /tmp/agentLogs -Dappdynamics.controller.hostName=controller.appd.com -Dappdynamics.controller.port=8090 -Dappdynamics.agent.uniqueHostId=myUniqueHost 

./proxy/runProxy -d ./proxy /tmp/proxy.communication /tmp/agentLogs -Dappdynamics.agent.accountName=myAccount -Dappdynamics.agent.accountAccessKey=mYaCcEsSkEy

./proxy/runProxy -r /tmp/appd/app1/tier1/node1 /tmp/proxy.communication /tmp/agentLogs -Dappdynamics.agent.applicationName=my_app -Dappdynamics.agent.tierName=my_tier -Dappdynamics.agent.nodeName=my_node
                
エージェントが最初にトラフィックを検出したときに、ノードが作成されます。
プロキシを手動で開始するように選択した場合は、サーバーを再起動するたびに runProxy スクリプトを実行する必要があります。