Defining the topology for Aggregated Search
Before you use the Aggregated Search feature, you must define the topology.
About this task
Create the JSON file on each Log Analysis server in your cluster.
Procedure
Example
{
AP
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server1.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [India
, Australia
],
connected
:[]
},
Europe
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server2.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [UK
, France
]
},
India
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server3.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [Pune
, Bangalore
],
connected
: [AP
, Pune
, Bangalore
]
},
Australia
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server4.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [Sydney
, Perth
],
},
UK
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server5.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [London
],
},
France
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server6.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [Paris
],
},
Pune
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server7.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [],
},
Bangalore
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server8.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [],
},
Sydney
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server9.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [],
},
Perth
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server10.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [],
},
London
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server11.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [],
},
Global
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server12.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [AP
, Europe
],
connected
:[]
},
Paris
: {
OS_user
: unity
,
sshPort
: 22
,
LA_home
: /home/unity/IBM/LogAnalysis/
,
LA_host
: server13.example.com
,
LA_port
: 9987,
LA_user
: unityadmin
,
LA_password
: unityadmin
,
children
: [],
}
}
When you export an aggregation template, the level is specified in the JSON file. The top or root node is the Global node and it designated level 0 in an exported aggregation template. The regions are AP and Europe and are on the second level and are designated level 1 in the template. The countries are defined on the third level and are assigned level 2. The bottom level contains the cities and is designated as level 3. You can only import templates from the same level. You cannot import templates from another level. For example, if you export a template from the Pune node on the bottom level, you cannot import it into the India node.
What to do next
After you create the topology, you need to enable Aggregated Search.
If you are automatically configuring Aggregated Search, run the utility. For more information, see Configuring Aggregated Search automatically.
If you are configuring Aggregated Search manually, copy the
topology file to each Log Analysis server. Note
the directories where you save these files as you must specify it in the
unitysetup.properties
file when you enable the Aggregated Search feature. For more
information, see Configuring Aggregated Search manually.