Setting up vSphere encryption


Starting from vSphere 6.5, vSphere supports VM encryption. for that a Key Management Server is required. Once a virtual machine is encrypted, vSphere needs somewhere to save the decryption key and for that it uses the KMS.VMware officially supports the use of 12 KMS products with vSphere.

The above list is of products which have been specifically tested and certified by VMware.

After choosing the KMS solution, the appliance can be easily deployed through OVF Template.

Upon the successful deployment, You will now be shown the IP address of the KMS.

Then, you can do the rest configurations using the web browser.

Finally, you need to setup a secure two-way trust (default method is to use Certificates) between vSphere and the KMS. Once this trust has been established the full suite of vSphere encryption features will become available.

You will now be asked to upload a KMS Certificate and a KMS Private Key file. This is the certificate we created. Open the downloaded .ZIP file and you will see two .PEM files. Ignore the ‘cacert.pem’ file, instead use the .PEM file with the name you decided earlier.

Lastly, click establish trust.

Once all the above tasks are completed, you may get the chance to encrypt the desired VMs.

Within vCenter right-click on a virtual machine that you intend to encrypt, expand VM Policies and then select Edit VM Storage Policies, also make sure to change this to VM Encryption Policy. Once done select OK.

How to change network card priority in Windows Servers


There are occasions where the sys admins need to select the default NIC out of multiple NICs. Specially when it comes to working with NIC teaming & etc.

To solve this, you just have to tell your computer which network card you want it to use first.

Just launch the Run command and enter “ncpa.cpl“.
As you can see, you have all your network cards available in this window.

Next, if you press the “ALT” key, you will show different tabs appear in the top.
Click on the “Advanced” tab and then “Advanced Settings”

A window will appear with the different network cards and the different parameters for IPv4 and IPv6.

There, you just have to select the one you want to use in priority and click on the up arrow and put it at the top of the list.