After you connect vRealize Operations Manager to vRealize Log Insight for Launch in Context, configure the Log Insight agent on vRealize Operations Manager to send audit logs and system events to vRealize Log Insight. 

Procedure

  1. Enable Secure Shell (SSH) on each node of vRealize Operations Manager.
    1. Open a Web browser and go to https://sfo01m01vc01.sfo01.rainpole.local/vsphere-client.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      administrator@vsphere.local

      Password

      vsphere_admin_password

    3. Under the sfo01m01vc01.sfo01.rainpole.local vCenter Server, navigate to the virtual appliance for the node.

      Virtual Appliance Name

      Role

      vrops01svr01a

      Master node

      vrops01svr01b

      Master replica node

      vrops01svr01c

      Data node 1

      sfo01vropsc01a

      Remote collector 1

      sfo01vropsc01b

      Remote collector 2

    4. Right-click the appliance node and select Open Console to open the remote console to the appliance.
    5. Press ALT+F1 to switch to the command prompt.
    6. Log in using the following credentials.

      Setting

      Value

      User name

      root

      Password

      vrops_root_password

    7. Start the SSH service by running the following command.
      service sshd start
    8. Close the virtual appliance console.
    9. Repeat the step for other nodes.
  2. Configure the Log Insight agent in vRealize Operation Manager.
    1. Open an SSH connection to the vRealize Operations Manager appliances using the following settings.

      Setting

      Value

      Host name

      • vrops01svr01a.rainpole.local

      • vrops01svr01b.rainpole.local

      • vrops01svr01c.rainpole.local

      • sfo01vropsc01a.sfo01.rainpole.local

      • sfo01vropsc01b.sfo01.rainpole.local

      User name

      root

      Password

      vrops_root_password

    2. Edit the liagent.ini file on each vRealize Operations Manager node using a text editor such as vi.
      vi /var/lib/loginsight-agent/liagent.ini
    3. Locate the [server] section, uncomment the following parameters and input the following values.
      [server]
      ; Log Insight server hostname or ip address
      ; If omitted the default value is LOGINSIGHT
      hostname=sfo01vrli01.sfo01.rainpole.local
      ; Set protocol to use:
      ; cfapi - Log Insight REST API
      ; syslog - Syslog protocol
      ; If omitted the default value is cfapi
      ;
      proto=cfapi
      ; Log Insight server port to connect to. If omitted the default value is:
      ; for syslog: 512
      ; for cfapi without ssl: 9000
      ; for cfapi with ssl: 9543
      port=9000
      ;ssl - enable/disable SSL. Applies to cfapi protocol only.
      ; Possible values are yes or no. If omitted the default value is no.
      ssl=no
      ; Time in minutes to force reconnection to the server
      ; If omitted the default value is 30
      ;reconnect=30
    4. After the [server] section, add the following block on each vRealize Operations Manager node.
      [common|filelog]
      tags={"vmw_vr_ops_appname":"vROps", "vmw_vr_ops_clustername":"vrops01svr01", "vmw_vr_ops_clusterrole":"<vROPS Node Role Here>", "vmw_vr_ops_nodename":"<Your vROPS Node Name Here>", "vmw_vr_ops_hostname":"<Your vROPS Hostname Here>"}
    5. Modify the following parameters specifically for each node.

      Parameter

      Description

      Location in liagent.ini

      vmw_vr_ops_clusterrole

      Role of the vRealize Operations Manager node

      Set to Master or Remote Collector according to the role of the node.

      vmw_vr_ops_nodename

      IP address or FQDN of the vRealize Operations Manager node

      Replace each <Your VROPS Node Name Here> with the following names:

      • vrops01svr01a

      • vrops01svr01b

      • vrops01svr01c

      • sfo01vropsc01a

      • sfo01vropsc01b

      vmw_vr_ops_hostname

      Name of the vRealize Operations Manager node that is set during node initial configuration

      Replace each <Your VROPS Hostname Here> with the following names:

      • vrops01svr01a.rainpole.local

      • vrops01svr01b.rainpole.local

      • vrops01svr01c.rainpole.local

      • sfo01vropsc01a.sfo01.rainpole.local

      • sfo01vropsc01b.sfo01.rainpole.local

      For example, on the master node you change the [common|filelog] section to add a context to the logs that are sent to the vRealize Log Insight cluster:

      [common|filelog]
      tags={"vmw_vr_ops_appname":"vROps", "vmw_vr_ops_clustername":"vrops01svr01", "vmw_vr_ops_clusterrole":"Master", "vmw_vr_ops_nodename":"vrops01svr01a", "vmw_vr_ops_hostname":"vrops01svr01a.rainpole.local"}
    6. Press Esc and enter :wq! to save the file.
    7. Restart the Log Insight agent on node by running the following console command.
      /etc/init.d/liagentd restart
    8. Verify that the Log Insight agent is running.
      /etc/init.d/liagentd status
    9. Stop the SSH service on the virtual appliance by running the following command. 
      service sshd stop
  3. Repeat the steps for each of the remaining vRealize Operations Manager nodes.
  4. Configure the Agent Group for the vRealize Operations Manager components in the vRealize Log Insight Web user interface.
    1. Open a Web browser and go to https://sfo01vrli01.sfo01.rainpole.local.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      admin

      Password

      vrli_admin_password

    3. Click the configuration drop-down menu icon and select Administration.
    4. Under Management, click Agents.
    5. From the drop-down menu at the top, select vRops 6.4 or higher - Sample from the Available Templates section and click the Copy Template button at the bottom.
    6. In the Copy Agent Group dialog box, enter vROPs - Appliance Agent Group in the Name text box and click Copy.
    7. In the agent filter fields, enter the following values pressing Enter after each host name.

      Filter

      Operator

      Values

      Hostname

      Matches

      • vrops01svr01a.rainpole.local

      • vrops01svr01b.rainpole.local

      • vrops01svr01c.rainpole.local

      • sfo01vropsc01a.sfo01.rainpole.local

      • sfo01vropsc01b.sfo01.rainpole.local

    8. Click Refresh and verify that all the agents in the filter appear in the Agents list.
    9. Click Save New Group at the bottom of the page.
    10. Click the Dashboard tab and select the VMware - vRops 6.x dashboard under the Content Pack Dashboards on the left.

Results

All VMware - vRops 6 dashboards become available on the home page of vRealize Log Insight. You see the Total number of vRops Clusters showing 1 and Total number of vRops nodes over time showing the host names of the vRealize Operations Manager nodes.