Architecting a vCloud Availability for vCloud Director Solution : Monitoring
   
Monitoring
8.1 Component Monitoring
vCloud Availability for vCloud Director components can be monitored with an API, agent-based monitoring solution (VMware vRealize Hyperic® / Endpoint Operations Management for VMware vRealize Operations™) and a syslog-based solution (VMware vRealize Log Insight™).
Table 15. Syslog Monitoring
Component
Syslog Configuration
Log Files
vSphere Replication Cloud Service
/etc/syslog-ng/syslog-ng.conf
/opt/vmware/hms/logs/hcs.log
vSphere Replication Server
/etc/syslog-ng/syslog-ng.conf
/var/log/vmware/hbrsrv.log
vSphere Replication Manager Server
/etc/syslog-ng/syslog-ng.conf
/opt/vmware/hms/logs/hms.log
Cloud Proxy
Portal
/opt/vmware/conf/vcav-ui/log4j2.xmls
/opt/vmware/logs/vcav-ui/access.log
/opt/vmware/logs/vcav-ui/dr2c.log
/opt/vmware/logs/vcav-ui/error.log
Platform Services Controller
 
/var/log/vmware/sso/*
vRealize Orchestrator
 
/var/log/vco/app-server/server.log
 
Syslog-ng example for vSphere Replication Server:
Attach the following text at the end of syslog-ng.conf:
source hbrsrv {
file("/var/log/vmware/hbrsrv.log" follow_freq(1) flags(no-parse));
};
destination loginsight { udp("gcp-atx-syslog.gcp.local"); };
log { source(hbrsrv); destination(loginsight); };
 
And restart the syslog service:
> service syslog restart
 
Table 16. Monitoring via vCloud API
Component
vCloud API Call
Response
vSphere Replication Cloud Service
GET /api/admin/vr/nodes
<ns2:Node id="{vrcs-node-id}"> <ns2:MaxSupportedApiVersion>4.0</ns2 MaxSupportedApiVersion>
<ns2:LastHeartbeatTimestamp>{epochtime}</ns2:LastHeartbeatTimestamp>
</ns2:Node>
vSphere Replication Server
GET /api/admin/extension/vr/
vrs/{vrs_id}
<ns2:IsConnected>true</ns2:IsConnected>
vSphere Replication Manager Server
GET /api/admin/extension/
vimServer/{vim-server-id}/vrmServer
<ns2:IsConnected>true</ns2:IsConnected>
Cloud Proxy
GET /api/query?type=cell
or alternatively
GET <proxy-ip>/
api/server_status
<CellRecord … isActive="1" … name="{cell-hostname}" …/>
 
Service is up.
Portal
GET <portal-ip>:8443/
api/vcd/server_status
Service is up.