About @HKw@!

I am an IT Engineer who blog about my IT Support and System Administration working Experience If you like to know more about my IT Engineer life, Press Ctrl+D to bookmark my page.

VMware – How to setup Software iSCSI with ESXCLI

To configure Software iSCSI, it can be done via HTML5 Web UI. But when you need to setup or configure Software iSCSI for many esxi host, it will take long time to do via HTML5 Web UI.

This job can be speed by setting up Software iSCSI with esxcli command line tool.

Below are most common esxcli command that i used to setup Software iSCSI

1) Enable software iSCSI

Command:

esxcli iscsi software set -e true

2) To view host’s iSCSI adapter

Command:

esxcli iscsi adapter list

3) Rename the ISCSI adapter IQN according to your desired name

Continue reading

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