Category Archive: Uncategorized

Mar 13 2017

How to install vCenter Server Appliance 6.5

With the release of vSphere 6.5 VMware has provided new UI for the installation and more features are available in vCenter Appliance. Like we can backup vCenter appliance configuration at file level. This backed up configuration can be restored to new vCenter Appliance if you should recover failed vCenter Appliance. Also, you can migrate Windows …

Continue reading »

Sep 05 2016

Reload VM with inaccessible and invalid status

Due to ESXi Host and storage connection issues my few VMs crashed and restarted, while few VMs status changed to invalid With below Simple PowerCLI one-liner, you can find all VMs with invalid or inaccessible state and reload it. Then you can power on all required VMs. >Get-View -ViewType VirtualMachine |?{$_.Runtime.ConnectionState -eq “invalid”  –or $_.Runtime.ConnectionState -eq “inaccessible”} |%{$_.reload()}

Sep 05 2016

IPtables Configuration for Squid

In this post we will see how to configure IPTABLES firewall rules for SQUID proxy server. Proxy server will also act as router for LAN network to forward specific ports to external servers. While I have tested below configuration on CentOS 6.7, it will also work on other Linux based system with little modifications. Replace …

Continue reading »

Sep 05 2016

How to Configure SQUID proxy on Linux

In this post we will see how to configure SQUID Proxy server on CentOS. Operating system – CentOS 6.7 Do the minimal installation of CentOS. Install squid package #yum install squid if internet is not working on this system, you can install squid rpm from installation dvd/iso. once squid installation gets completed, edit the squid.conf …

Continue reading »

Sep 05 2016

Linux Iptables Examples

Below iptables rules will configure Linux system as simple router. This will forward all packets to internal and external network. LAN Ethernet – eth0 WAN Ethernet – eth1 Enable IP Forwarding echo 1 > /proc/sys/net/ipv4/ip_forward Forward all LAN request to external network #iptables -I FORWARD -i eth0 -o eth1 -j ACCEPT Forward all ESTABLISHED connections …

Continue reading »

Sep 05 2016

How to Create Local Yum Repository for Red Hat Linux with Security Errata

Local YUM repository is useful when you do not have internet access on all Linux system. In my environment some system don’t have internet access and some systems has issues with RHN registration. Redhat has provided reposync command to sync RHN repositories and I was able to do so. I configured web server to make …

Continue reading »

Sep 05 2016

VM with 0 MB Disk Size

Let’s see how we can fix  Powered ON VMs which shows disk size is as 0 MB thick provision lazy zeroed, while VM is powered on and working fine but we cannot extend disk space. In below image you can see VM is powered ON, but its first disk is of only 0MB. You can …

Continue reading »

Sep 05 2016

Useful PowerCLI Scripts

Useful PowerCLI scripts which will help VMware Admins in day to day work life. Reload VM with inaccessible and invalid status VM with 0 MB Disk Size VM and Template Storage Migration from NetApp to XtremIO

Jul 14 2016

Move VM files between datastore using PowerCLI

  If you need to move VM folders from one datastore to another, you can do it easily using PowerCLI. In this case, I had to move orphaned VMDK files and its folder from many different datastore to one temporary datastore. You can also use this script to Move ISO or any other files from …

Continue reading »

Jun 01 2016

How to Install VMware Update Manager

This post is part of VMware vSphere Install, Configure, Manage training series. VMware vSphere: Install, Configure, Manage See previous Post for introduction of VMware Update manager –  vSphere Update Manager and Host Maintenance In this post, we will see How to install VMware Update manager and integrate it with vCenter Appliance or vCenter server Installed …

Continue reading »

Older posts «