Description
During the multiple aggregator in same physical host implementation it was found that the host names being logged to the database when monitoring itself are storing the actual physical host name instead of the logical one provided through orcm-site configuration.
Expected Behavior
Each aggregator getting its hostname registry to database like they are registered in orcm-site logical name
Actual Behavior
Given an orcm-site with multiple aggregators and running them in the same physical node will produce database entries where hostname is the physical one instead of logical name.
If your aggregators are named agg01, agg02, etc.. and those are run under master3 node, all of the entries will be logged with master3 as the hostname.
Steps to Reproduce the Problem
- Configure orcm-site like the one attached below where you have multiple aggregators.
- Launch
orcmsched
- Run
orcmd for each aggregator using the -p option like this: ./orcmd -p 55815
- Verify entries in database and all of the aggregators will be using the same physical hostname registered.
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<version>3.0</version>
<role>RECORD</role>
<junction>
<type>cluster</type>
<name>master3</name>
<junction>
<type>row</type>
<name>row1</name>
<junction>
<type>rack</type>
<name>agg01</name>
<controller>
<host>agg01</host>
<port>55815</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:0-511]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
<junction>
<type>rack</type>
<name>agg02</name>
<controller>
<host>agg02</host>
<port>55825</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:512-1023]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
<junction>
<type>rack</type>
<name>agg03</name>
<controller>
<host>agg03</host>
<port>55835</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:1024-1535]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
<junction>
<type>rack</type>
<name>agg04</name>
<controller>
<host>agg04</host>
<port>55845</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:1536-2047]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
<junction>
<type>rack</type>
<name>agg05</name>
<controller>
<host>agg05</host>
<port>55855</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:2048-2559]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
<junction>
<type>rack</type>
<name>agg06</name>
<controller>
<host>agg06</host>
<port>55865</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:2560-3071]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
<junction>
<type>rack</type>
<name>agg07</name>
<controller>
<host>agg07</host>
<port>55875</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:3072-3583]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
<junction>
<type>rack</type>
<name>agg08</name>
<controller>
<host>agg08</host>
<port>55885</port>
<aggregator>yes</aggregator>
</controller>
<junction>
<type>node</type>
<name>node[4:3584-4095]</name>
<controller>
<host>@</host>
<port>55805</port>
<aggregator>no</aggregator>
</controller>
</junction>
</junction>
</junction>
</junction>
<scheduler>
<shost>master01</shost>
<port>55820</port>
</scheduler>
</configuration>
Specifications
- Version: cad49d9
- Platform: CentOS 7.2
- Component: Configuration, cfgi3
Description
During the multiple aggregator in same physical host implementation it was found that the host names being logged to the database when monitoring itself are storing the actual physical host name instead of the logical one provided through orcm-site configuration.
Expected Behavior
Each aggregator getting its hostname registry to database like they are registered in orcm-site logical name
Actual Behavior
Given an orcm-site with multiple aggregators and running them in the same physical node will produce database entries where hostname is the physical one instead of logical name.
If your aggregators are named
agg01,agg02, etc.. and those are run undermaster3node, all of the entries will be logged withmaster3as the hostname.Steps to Reproduce the Problem
orcmschedorcmdfor each aggregator using the -p option like this:./orcmd -p 55815Specifications