Pages

Wednesday, May 26, 2021

How to monitor / report UNMAP bandwidth for particular datastore

The following command brings the correct information by using UnmapBandwidthSpec instead of UnmapGranularity.

Get-Datastore LCD002_001 | % {$_.ExtensionData.Info.Vmfs.UnmapBandwidthSpec | Select Policy,FixedValue}

What are the available pciSlotNumbers for RHEL8 VMs?

 

Summary

What are the available pciSlotNumbers for RHEL8 VMs?


Cause

All normally created Virtual Machines with Virtual Hardware version 7 to 19 will have the same configuration:


pciBridge0: pciBridge, 1 function

pciBridge4: pcieRootPort, 8 functions

pciBridge5: pcieRootPort, 8 functions

pciBridge6: pcieRootPort, 8 functions

pciBridge7: pcieRootPort, 8 functions


VMs with this configuration can have up to 32 PCIe devices with the slot number sequence.


 160, 192, 224, 256,

1184, 1216, 1248, 1280,

2208, 2240, 2272, 2304,

3232, 3264, 3296, 3328,

4256, 4288, 4320, 4352,

5280, 5312, 5344, 5376,

6304, 6336, 6368, 6400,

7328, 7360, 7392, 7424,


Resolution


It is possible to manually configure a VM to have a different pciBridge configuration, and therefore different pciSlotNumbers but this should only be performed in cooperation with VMware Engineering.

Saturday, May 15, 2021

AWS - deploy apache web server

#!/bin/bash
# Install Apache Web Server and PHP
yum install -y httpd mysql amazon-linux-extras install -y php7.2
chkconfig httpd on
service httpd start

 

 

Monday, May 10, 2021

How to create a file in unix like system?

How to create a file in unix like system?

# cat > text.txt << EOF
This is the file.
EOF