VMware Cloud Community
nem1s1s
Enthusiast
Enthusiast

Cluster name for liagent.ini

I can't seem to find  the Cluster name for a vROps Cluster. I've checked both /admin and /ui to no avail. I need this for the vmw_vr_ops_clustername tag in liagent.ini
4 Replies
RobertMesropyan
VMware Employee
VMware Employee

You can find cluster name in  ui/Cluster Management Page and admin/System Status pages - it's just "Node Name" for master node. Or this info can be requestd (starting from vRops 6.5) by using CASA Public Rest API: GET /casa/cluster/config
Reply
0 Kudos
nem1s1s
Enthusiast
Enthusiast

"You can find cluster name in  ui/Cluster Management Page and admin/System Status pages"

Negative. I can't see it in any place you have mentioned - hence why I posted in this forum. I find it bizarre it can't be found anywhere. The liagent.ini file calls for Cluster name (highlighted in red below)

Interesting this site mentions Cluster name "can be anything you like"
http://www.vaficionado.com/category/integration/

  • vmw_vr_ops_clustername – this is the *name* of your vRealize Operations cluster. This can be anything you like here and can be used to distinguish one cluster from another if you have multiples. Below, it is <YOUR CLUSTER NAME HERE>

vROps 6.4 - Sample

Starting from 6.4 version of vROps, the LI Agent 3.6 is bundled and "common" sections can be configured which makes using of new template much easier: if previously tags need to be updated in all the sections, now update is necessary to be done in a single place, in a [common|filelog] section only.
For vRealize Operations Manager 6.4 and higher  /etc/liagent.ini file need to be modified and the following section need to be added:
 
[common|filelog]
tags={"vmw_vr_ops_appname":"vROps", "vmw_vr_ops_clustername":"Cluster1", "vmw_vr_ops_clusterrole":"Master", "vmw_vr_ops_nodename":"Node1", "vmw_vr_ops_hostname":"1.2.3.4"}
 
Below are the details about each of the tags.  
vmw_vr_ops_appname:value should be set to "vROps"
vmw_vr_ops_clustername: this tag need to be set with the same value for all vROps cluster nodes 
vmw_vr_ops_clusterrole: the tag value to be either the Master, Replica, Data, or Remote Collector based on the node's role in the vROps cluster
vmw_vr_ops_nodename: this tag can be updated
vmw_vr_ops_hostname: typically contains the IP or FQDN of the vRealize Operations Manager node                     
Log Insight agent configuration needs to be done at the end point (in this case vR Ops node) as well as at the Log Insight server.
Reply
0 Kudos
nem1s1s
Enthusiast
Enthusiast

I've just re-read this and believe there is no Cluster name;

this tag need to be set with the same value for all vROps cluster nodes

What I make of the above statement is to keep the clustername tag consistent per liagent.ini for the vROps Cluster Nodes

[common|filelog]
tags={"vmw_vr_ops_appname":"vROps", "vmw_vr_ops_clustername":"Cluster1", "vmw_vr_ops_clusterrole":"Master", "vmw_vr_ops_nodename":"Node1", "vmw_vr_ops_hostname":"1.2.3.4"}

Below are the details about each of the tags.
vmw_vr_ops_appname:value should be set to "vROps"
vmw_vr_ops_clustername: this tag need to be set with the same value for all vROps cluster nodes
vmw_vr_ops_clusterrole: the tag value to be either the Master, Replica, Data, or Remote Collector based on the node's role in the vROps cluster
vmw_vr_ops_nodename: this tag can be updated
vmw_vr_ops_hostname: typically contains the IP or FQDN of the vRealize Operations Manager node

[common|filelog]
tags={"vmw_vr_ops_appname":"vROps", "vmw_vr_ops_clustername":"Cluster1", "vmw_vr_ops_clusterrole":"Master", "vmw_vr_ops_nodename":"Node1", "vmw_vr_ops_hostname":"1.2.3.4"}
 
Below are the details about each of the tags.  
vmw_vr_ops_appname:value should be set to "vROps"
vmw_vr_ops_clustername: this tag need to be set with the same value for all vROps cluster nodes 
vmw_vr_ops_clusterrole: the tag value to be either the Master, Replica, Data, or Remote Collector based on the node's role in the vROps cluster
vmw_vr_ops_nodename: this tag can be updated
vmw_vr_ops_hostname: typically contains the IP or FQDN of the vRealize Operations Manager node
Reply
0 Kudos
sxnxr
Commander
Commander

As the doc states this can be anything

If (in our case) you have more than one vrops cluster this enables you to distinguish between the two when doing your quarries other wise both clusters would return results. Just put a meaningful name in this field that represents your cluster.

If you have a 4 node cluster then put the same value in for each node

Reply
0 Kudos