Overview
...
Cloud Management HyperCloud™ Platform (CMPHCP) VM Agent is a small Java program that runs under admin login, packaged as an executable jar. CMP HCP VM Agent is optional, but its presence greatly enhance manageability and monitoring of Virtual Machine from within VM. CMP HCP VM Agent is required to enable containerized application deployment and CMPHCP-Kube vms status is sent back to the queue, Management Service picks up the status and records the status. If CMP VMHCP VM-Agent is installed, the agent periodically sends “i-am-alive”, its IP, and metrics to a Queue which then gets picked up by Management Service for recording as displayed in VM Monitoring. CMP VM HCP VM-Agent communicates over secure (TLS) connection with RabbitMQ.
Deployment
...
CMP support HCP support deployment of CMP Agent HCP Agent over Linux and Windows platform via SSH and cloud-init
...
Purpose | Description |
---|---|
Performance Monitoring | CMP VM HCP VM Agent provides an inside-view of VM performance for CPU, Memory and Disk. Additionally, captures VM system information such as mounted volumes, OS etc.. |
VM Heart Beat or Keep Alive to CMPHCP | CMP VM HCP VM Agent sends “i-am-alive” periodically. Allowing CMP HCP to handle scenarios where VM OS is hanged but VM state is still running on hypervisor |
Plugin Execution | CMP VM HCP VM Agent Allows platform agnostic execution of CMP plugins HCP plugins on virtual machine. CMP plugins HCP plugins allows CMP to HCP to perform application workflow executed at various application lifecycle hooks such as adding addition web-tier application configuring LB to route traffic to this |
Script Execution | CMP VM HCP VM Agent allows execution of raw script with VM for custom script execution |
Disk / Volume mounting | CMP VM HCP VM Agent allows file-system mounting/dismounting of disk attached. Upon mounting it also creates a file-system on the newly attached disk or vol. Works across OS platform Linux or Windows |
VM Storage Resize | CMP VM HCP VM Agent allows resizing of root or attached volumes for cases where VM is resized for storage. Otherwise, it has to be done manually |
Container Life cycle Management | With the help of Agent, CMP provides HCP provides complete Application lifecycle management of containerized application on VM |
...
HCP VM Functionality Agent comparison
...
CMP VM HCP VM Functionality | With Agent | Without Agent |
---|---|---|
VM Provisioning | Yes | Yes |
VM Start/Stop/Resize/Move | Yes | Yes |
VM Disk / Volume - attached / detach | Yes | Yes |
Performance Monitoring | Yes | No |
VM Heart Beat or Keep Alive to CMPto HCP | Yes | No |
Plugin Execution | Yes | No |
Script Execution | Yes | No |
Disk / Volume FS Mounting | Yes | No |
VM Storage Resize | Yes | No (Yes with certain VM template) |
Container Lifecycle Management | Yes | No |
...
Technology/ Framework | Usage |
---|---|
Java/ JVM | Primary Programming Language / Runtime environment. |
Spring | Widely used for dependency Injection, REST template and Spring Boot |
Logging | Using slf4j API specification with log back-classic implementation (uses Native implementation) |
Performance Monitoring | OSHI is a free JNA-based (native) Operating System and Hardware Information library for Java. Sigar (software) |
Rabbit MQ Client | CMP Agent HCP Agent communicate with CMP Substem HCP Substem over TLS connection with rabbitMQ |
Deployment support | All flavor of Linux: RHEL, Centos, Ubuntu, Fedora, Oracle All flavor of Windows: Win10x, Win2012, Win2K16 |
...