- 29 Jul 2022
- DarkLight
Heartbeat VM creation
- Updated on 29 Jul 2022
- DarkLight
The Heartbeat Virtual Machine will serve two purposes in your Operations Control Environment. First, it will serve as an Uptime Monitor sending ping requests to each server set up for monitoring. Second, it will serve as a proxy to allow your vCenter / Hyper-V / Nutanix environment to be inventoried and accessible via the Operations CTRL platform.
Heartbeat Server Creation
- Requirements
- CPU Cores: 4 (Minimum)
- RAM: 4 GB (Minimum)
- Disk: 20 GB (Minimum)
- Network Connectivity to monitored subnets.
- Network Connectivity to CTRL.expedient.cloud over port 443.
- Superuser privileges via the sudo command for the user installing the Morpheus worker package.
- A VM running Ubuntu Linux 18.04 will need to be deployed within your cloud environment.
- Access to base yum or apt repos. Access to Optional RPM repos may be required for RPM distros.
- Once the base server is built, download the appropriate package from Morpheus Hub based on your target Linux distribution and version for installation in a directory of your choosing. The package can be removed after successful installation:Shell
wget https://downloads.morpheusdata.com/files/morpheus-worker_5.4.8-1_amd64.deb
- Validate the package checksum as compared with the values indicated on Hub:Shell
sha256sum morpheus-worker_5.4.8-1_amd64.deb
- Next, install the package using your selected distribution's package installation command and your preferred options:Shell
sudo dpkg -i morpheus-worker_5.4.8-1_amd64.deb
- Run the configuration script:Shell
sudo morpheus-worker-ctl reconfigure
- Once these steps are complete, please notify your Project Manager / Delivery Engineer and provide them with the IP / FQDN of your vCenter / Hyper-V / Nutanix Server.
Morpheus Worker Configuration
- You will be provided an API Key by your Delivery Engineer.
- Head back to the worker box with the API key in hand and configuration complete in Morpheus UI. Configure the gateway by editing /etc/morpheus/morpheus-worker.rb and updating the following:
worker_url 'https://gateway_worker_url'
worker['appliance_url'] = 'https://ctrl.expedient.cloud'
worker['apikey'] = 'API KEY FOR THIS GATEWAY'
worker['worker_key'] = 'DISTRIBUTED WORKER KEY'
- After all configuration options have been set, run the following command to reconfigure to install and configure the worker, Nginx, and guacd services:Shell
sudo morpheus-worker-ctl reconfigure
- The worker reconfigure process will install and configure the worker, Nginx, and guacd services and dependencies.
If the reconfigure process fails due to a missing dependency, add the repo that the missing dependency can be found in and run again.
Configuration options can be updated after the initial reconfigure by editing /etc/morpheus/morpheus-worker.rb and running sudo morpheus-worker-ctl reconfigure again.
- Once the installation is complete, the Morpheus worker service will automatically start and open a web socket with the specified Morpheus appliance. To monitor the startup process, run morpheus-worker-ctl tail to tail the worker's logs, Nginx, and guacd services. Individual services can be tailed by specifying the service, for example, morpheus-worker-ctl tail worker
- Your Delivery Engineer will work with you to install the Morpheus Agent on the Heartbeat / Worker Server.