Friday, October 30, 2020
Dell EMC PowerFlex MP for vROps 8.x - Part1 - Install
Part2 - Configure
Friday, October 23, 2020
VMware PowerCLI 101 - part8 - Working with vSAN
This article explains how to work with vSAN resources using PowerCLI.
Note I am using the following versions:
PowerShell: 5.1.14393.3866
VMware PowerCLI: 12.1.0.17009493
Connect to vCenter:
Connect-VIServer <IP of vCenter server>
List all vSAN get cmdlets:
Get-Command Get-Vsan*
vSAN runtime info:
$c = Get-Cluster Cluster01
Get-VsanRuntimeInfo -Cluster $c
vSAN space usage:
Get-VsanSpaceUsage
vSAN cluster configuration:
Related posts
VMware PowerCLI 101 - Part1 - Installing the module and working with stand-alone ESXi host
VMware PowerCLI 101 - Part2 - Working with vCenter server
VMware PowerCLI 101 - Part3 - Basic VM operations
VMware PowerCLI 101 - Part4 - Snapshots
VMware PowerCLI 101 - Part5 - Real time storage IOPS and latency
VMware PowerCLI 101 - part6 - vSphere networking
VMware PowerCLI 101 - part7 - Working with vROps
Sunday, September 27, 2020
Monitoring Tanzu Kubernetes cluster using Prometheus and Grafana
Updated: June 26, 2021
In this post, we will see how to deploy Prometheus and Grafana using Helm and Prometheus Operator to monitor Tanzu Kubernetes clusters.
The default username is "admin" and the password is "prom-operator".
References
https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack
[www.bogotobogo.com] Docker_Kubernetes_Prometheus_Deploy_using_Helm_and_Prometheus_Operator
Saturday, September 19, 2020
Performance monitoring in Linux
CPU
cd /proc/
cat cpuinfo
less cpuinfo
less cpuinfo | grep processor
uptime
The load average is the CPU usage load average over 1 min, 5 min, and 15 min. The calculation for load avg value is given below.
For a single processor system:
Load avg value 1.0 = 100% CPU capacity usage
Load avg value 0.5 = 50% CPU capacity usage
This means for a 4 processor system:
Load avg value 4.0 = 100% CPU capacity usage
Load avg value 2.0 = 50% CPU capacity usage
Load avg value 1.0 = 25% CPU capacity usage
top
To get details of a process: ps aux | grep <process ID>
To get logs of a process: journalctl _PID=<process ID>
Memory
Average memory usage view by samples with regular intervals:
vmstat <interval> <number of samples>
Hope it was useful. Cheers!