Now you can configure up to 3 Syslog servers in the VAMI to receive the vCenter logs:
Click on configure:
Disclaimer: This is not officially supported by VMware, please use at your own risk.
Recently I faced the challenge with a script running on a VCSA which executes some checks and in case something gets detected it has to trigger a vCenter alarm.
My solution is to log a user event which will be captured by an vCenter alert definition.
1. vCenter alert definition
as trigger manually enter (type): vim.event.GeneralUserEvent
2. The script which will log the user event
#!/usr/bin/python #!/usr/bin/python import sys sys.path.insert(0, '/usr/lib/vmware/site-packages/') from pyVim.connect import SmartConnect from pyVmomi import vim import ssl import atexit username = 'firstname.lastname@example.org' password = 'VMware1!' v = sys.version_info try: if sys.version_info <7 or v.minor < 7: si = SmartConnect(host="localhost", user=username, pwd=password) content = si.RetrieveContent() ds = content.rootFolder log = si.content.eventManager.LogUserEvent(entity=ds, msg="Postgres Corruption detected") else: s = ssl.SSLContext(ssl.PROTOCOL_TLS) s.verify_mode = ssl.CERT_NONE si = SmartConnect(host="localhost", user=username, pwd=password, sslContext=s) content = si.RetrieveContent() ds = content.rootFolder log = si.content.eventManager.LogUserEvent(entity=ds, msg="Postgres Corruption detected") except: print("Unexpected error:", sys.exc_info())
The resulting alert can be catched by vROPs and trigger further events/ tickets.
Yesterday VMware released version 1.3 of the vSphere Integrated Containers. The version enhances stability and delivers a new graphical-user interface to guide users through the creation of a Virtual Container Host (VCH).
Please find the details in the original post on the VMware blog: VMware Blog
VMware is publishing the latest KBs on their Blog.
VMware Whitepapers about Storage and Availability.
vMSC Best Practices – https://storagehub.vmware.com/#!/vsphere-storage/vmware-vsphere-r-metro-storage-cluster-recommended-practices
vSphere APIs for IO Filtering – https://storagehub.vmware.com/#!/vsphere-storage/vmware-vsphere-apis-for-i-o-filtering-vaio
VMFS – https://storagehub.vmware.com/#!/vsphere-storage/vmware-vsphere-vmfs
VAAI – https://storagehub.vmware.com/#!/vsphere-storage/vmware-vsphere-apis-array-integration-vaai-1
iSCSI – https://storagehub.vmware.com/#!/vsphere-storage/best-practices-for-running-vmware-vsphere-on-iscsi
VMware has released a new Whitepaper about Metro Storage Clusters.
“An overview of the definition, functionalities and capabilities of VMware vSphere Metro Storage Cluster configuration that is a specific storage configuration combining replication.”
This course covers a series of topics on cloud native basics such as container technology, Kubernetes, and container related infrastructure technologies.
Cloud Native Basics
What is a Container?
In this lightboard talk, Ben Corrie explains what a container is for beginners.
The Benefits of Containers
In this lightboard talk, Ben Corrie walks through the benefits of containers.
Kubernetes in 5 mins
In this lightboard talk, Steve Tegeler walks through Kubernetes fundamentals for beginners.
Docker Networking Options
In this lightboard talk, Nathan Ness walks through the networking options in Docker.
Networking with Kubernetes
In this lightboard talk, Nathan Ness walks through the networking options in Kubernetes and explains the types of communications through Kubernetes services.
An Analysis of IT Technology Silos: Consumers & Providers
In this lightboard talk, Steve Tegeler takes you through an analysis of IT technology silos and talks about what the consumers and providers of each silo care about.
In this lightboard talk, Haining Zhang walks you thought what container registry is and how it works.
Developer Ready Infrastructure
Pivotal Cloud Foundry and vSphere Part 1
In this lightboard talk, Merlin Glynn provides an overview of cloud foundry and the benefits of running cloud foundry, as well as how it interacts with vSphere.
Pivotal Cloud Foundry and vSphere Part 2
In this lightboard talk, Merlin Glynn discusses Pivotal Cloud Foundry (PCF) and VMware vSphere, vRealize and NSX, and explains how VMware technologies provide key services such as scalability, availability and security that keep PCF running optimally and how to meet external requirements of PCF like monitoring and logging.
Pivotal Cloud Foundry and NSX
In this lightboard talk, Merlin Glynn provides an overview of Pivotal Cloud Foundry and VMware NSX, and explains how NSX provides virtual networking and security for Pivotal Cloud Foundry.
Containers on vSphere
vSphere Integrated Containers Networking Overview
In this lightboard talk, Patrick Daigle provides an overview of the networking concepts for vSphere Integrated Containers.
“In this paper, we explore the performance characteristics of a large enterprise web application running in
Docker containers deployed in VMware vSphere 6.5 virtual machines (VMs). In order to put the performance of
this deployment choice into context, we compare its performance to that of the same application running both
in vSphere 6.5 VMs without Docker containers and in Docker containers on an operating system (OS) running
directly on the bare-metal server. We also look at the performance impact of some common configuration
options in order to better understand the performance differences among these three configurations.”
If you would like to manage your vROPs using Powershell the following module could be helpful.
PowervROps is a module written for PowerShell that can be used to access various elements of the vRealize Operations Manager API via PowerShell functions.
Found a great blog post on how to monitor windows services with VMware vRealize Operations Manager (vROPs).
Link: Steve Tilkens Blog