9.1부터 수집기가 오버로드되는 경우 클러스터의 부하를 분산하기 위해 MOM이 연결을 해제하고 8.x 및 9.x 버전 에이전트를 리디렉션할 수 있습니다. MOM은 가중치 속성 및 loadbalancing.xml을 사용하여 부하 분산을 처리합니다. MOM이 연결을 해제하고 에이전트를 리디렉션하는 것을 방지하려면 loadbalancing.xml에서 에이전트-수집기 연결을 정의하십시오. 필요한 경우 MOM이 에이전트의 부하를 자동으로 분산할 수 있도록 IntroscopeAgent.profile에서 MOM 호스트 이름 또는 IP 주소를 구성할 수 있습니다.
에이전트가 특정 수집기로만 연결하도록 하려면 loadbalancing.xml을 사용하여 해당 구성을 수행하십시오.
8.x 및 9.0.x 에이전트에 IntroscopeAgent.profile에서 정의된 에이전트-수집기 연결이 있는 경우 다음 CLW 명령을 실행할 수 있습니다.
autoprepare loadbalancing.xml
이 명령은 에이전트-수집기 연결 정보를 기존 loadbalancing.xml 파일에 추가합니다. 이 명령은 에이전트를 업그레이드하기 전에 실행하십시오.
참고: 이 명령은 9.1 이상 버전의 에이전트는 무시합니다.
다음 단계를 따르십시오.
중요! MOM은 autoprepare loadbalancing.xml 프로세스를 실행할 때 기존 loadbalancing.xml 주석을 삭제합니다. MOM은 에이전트-수집기 연결 정보를 보존합니다.
중요! 이 명령은 MOM과 모든 수집기를 9.1.2 이상으로 업그레이드한 후, 그리고 에이전트를 업그레이드하기 전에 실행하십시오. 에이전트를 업그레이드한 후에 이 명령을 실행하면 MOM이 이전 에이전트-수집기 연결 정보를 가져올 수 없습니다.
MOM은 수집기에 직접 연결된 모든 8.x 및 9.0.x 에이전트에 대한 런타임 정보를 수집합니다. MOM은 loadbalancing.xml 맨 아래에 연결 정보를 채웁니다.
수집기가 중단되거나 MOM에 연결되지 않은 경우 MOM은 해당 수집기에 대한 에이전트 연결 정보를 수집할 수 없습니다. Loadbalancing.xml은 이 정보로 업데이트되지 않습니다.
다음 예제를 참조하십시오.
에이전트 A, B, C, D, E, F는 모두 버전 8.x - 9.0.x까지입니다. 이 에이전트는 다음 표에 표시된 것처럼 수집기 1, 2, 3에 연결하도록 IntroscopeAgent.profile 파일에 구성되었습니다.
|
에이전트 이름 |
수집기 이름 |
|---|---|
|
AgentA |
Collector01 |
|
AgentB |
Collector01 |
|
AgentC |
Collector02 |
|
AgentD |
Collector02 |
|
AgentE |
Collector03 |
|
AgentF |
Collector03 |
회사는 loadbalancing.xml을 사용하여 이름이 EPAgent2인 에이전트의 부하를 분산합니다.
모든 버전 8.x 및 9.0.x 에이전트가 실행 중일 때 관리자가 autoprepare loadbalancing.xml CLW 명령을 실행합니다. loadbalancing.xml 파일은 다음 예제에서 굵은 글꼴로 표시된 항목으로 채워집니다.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <loadbalancing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="loadbalancing0.1.xsd">
<agent-collector name="Example 1">
<agent-specifier>.*\|.*\|EPAgent2</agent-specifier> <exclude> <collector latched="false" port="5001" host="Collector02"/> </exclude>
</agent-collector> <agent-collector name="Collector01@5001 auto-generated configuration">
<agent-specifier>HostName|ProcessName|AgentA</agent-specifier> <agent-specifier>HostName|ProcessName|AgentB</agent-specifier> <include> <collector latched="false" port="5001" host="Collector01"/> </include>
</agent-collector> <agent-collector name="Collector02@5001 auto-generated configuration">
<agent-specifier>HostName|ProcessName|AgentC</agent-specifier> <agent-specifier>HostName|ProcessName|AgentD</agent-specifier> <include> <collector latched="false" port="5001" host="Collector02"/> </include>
</agent-collector> <agent-collector name="Collector03@5001 auto-generated configuration">
<agent-specifier>HostName|ProcessName|AgentE</agent-specifier> <agent-specifier>HostName|ProcessName|AgentF</agent-specifier> <include> <collector latched="false" port="5001" host="Collector03"/> </include>
</agent-collector>
</loadbalancing>
예제 1은 관리자가 명령을 실행하기 전의 loadbalancing.xml 항목입니다. MOM은 예제 1 이후에 자동 생성된 항목을 추가했습니다.
|
Copyright © 2013 CA.
All rights reserved.
|
|