How to install VMware Tools in a Linux Guest Operating System

VMware Tools is a set of services and modules that enable several features in VMware products for better management of, and seamless user interactions with, guest operating systems. – from VMware Website

In Linux VM, VMware recommended that all the user to use Open VM Tools instead of VMware Tools.

However in some of the environment without internet connection, install VMware tools on Linux VM is the only option.

Here i going to show how to install VMware tools on Linux VM that run on CentOS 7. Note: guest OS must be running in order to install VMware Tools

Step 1: Attach VMware Tools to guest OS

Continue reading

How to use VMware vCenter Converter for P2V migration

Prerequisites to perform P2V & V2V of Powered on Machine

  • Ensure that the Converter Standalone server machine able to access to the Windows source machine via network.
  • Stop or disable anti-virus software running on the source machine
  • Prepare local Administrator account on source machine
  • Allow following TCP and UDP ports in Firewall:
PortProtocolSourceDestinationPurpose
22TCPConverter Standalone serverpowered-on source machineUsed to establish an SSH connection between the Converter Standalone server and the source Linux machine
137UDPConverter Standalone serverpowered-on source machineFor hot migration. Not required if the source computer does not use NetBIOS
138UDPConverter Standalone serverpowered-on source machineFor hot migration. Not required if the source computer does not use NetBIOS
139TCPConverter Standalone serverpowered-on source machineFor hot migration. Not required if the source computer does not use NetBIOS
443TCPConverter Standalone servervCenter ServerRequired only if the conversion destination is a vCenter Server
443TCPConverter Standalone clientConverter Standalone serverRequired only if the Converter Standalone server and Linux client components are on different machines
443TCPConverter Standalone clientvCenter serverRequired only if the Converter Standalone server and client components are on different machines
22TCPPowered-on Source Linux machineESX/ESXi HostUses secure connection port 22 to Host
443,902TCPPowered-on Source Windows machineESX/ESXi HostRequired for data transfer to destination ESX/ESXi host Note: – Port 902 is required if destination is vCenter – Port 902 is not required if proxy mode feature turn on
445TCPConverter Standalone serverpowered-on source machineRequired for system conversion. Not required if the source computer uses NetBIOS
9089TCPConverter Standalone serverpowered-on source machineRequired for system conversion. Remote agent deployment
Continue reading

How to configure vSwitch from CLI using esxcfg-vswitch command

If you need to change your vswitch and port group settings using the service console or SSH, esxcfg-vswitch is what you need to use.

A) List all virtual switches and the port group

[root@datahivehost1:~] esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 5376 14 128 1500 vmnic0

PortGroup Name VLAN ID Used Ports Uplinks
VM_Management 888 6 vmnic0
VMVLAN1 1 3 vmnic0
vmotion 188 1 vmnic0
ManagementNetwork 888 1 vmnic0

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch_NFS 5376 4 1024 1500 vmnic3

PortGroup Name VLAN ID Used Ports Uplinks
DATA_LAN 0 0 vmnic3
NFS 567 1 vmnic3

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch_VM_Network 5376 1 1024 1500

PortGroup Name VLAN ID Used Ports Uplinks

DVS Name Num Ports Used Ports Configured Ports MTU Uplinks
DATAHIVEDSwitch 5376 17 512 9000 vmnic1,vmnic2

DVPort ID In Use Client
34 1 vmnic1
35 1 vmnic2
18 1 MK_WIN16-01.eth0
45 1 Hive_Sense02.eth2
21 1 MK_Desktop02.eth0
44 1 Hive_Sense01.eth2
68 1 Hive-NSX-Manager.eth0
22 1 MK_WIN_01.eth0
88 1 RHUI-Client01.eth0
86 1 CDS01.eth0
89 1 RHUI-RHEL8-01.eth0
84 1 Repostore.eth0
95 1 lab-svr-01.eth0
96 1 lab-svr-02.eth0

Continue reading