RedHat 7/8 – Sync NTP

It is important to maintain correct system time. The Network Time Protocol (NTP) is the standard way for machines to provide and obtain correct time information on the internet. A machine can get the accurate time info from public NTP services on the internet or local NTP services.

To show overview of the current time related settings including current time, time zone and NTP Sync setting, timedatectl command can help to generate the info

Continue reading

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


esxcli iscsi software set -e true

2) To view host’s iSCSI adapter


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