Posts

Showing posts from October, 2011

Trending Topics

VMware on AWS - How to restore NSX DFW firewall rules to previous state

Image
Customers who uses NSX day-in, day-out would like to have a point-in time restore functionality of DFW firewall rules. Many customer have a large footprints in VMC and make changes to DFW quite often. This feature was missing for long time and we could see its included in recent versions . Let's see how DFW configuration roll back works  NSX DFW configuration has versioning, and it is stored in the NSX Manager.  Every time when someone update DFW configuration, NSX creates one more version but keep storing the previous ones. You can rollback for previous config but reapplying it once again.  You can find the options under Networking & Security tab , > Security > Distributed Firewall . In the right side we see an Actions drop down. Choose View to get to the below screen.  Let’s go through the use case:  1. Original state- default config with no custom rules:  a. There are no saved configurations during last 30 days: In my existing test setup, with the current setting

Preparing the ESXi Hypervisor for multiple NIC Usage

Image
Step 1: Open the vSphere Client and proceed to  Configuration ,  Networking  and click  Add Networking Step 2: Select  VMKernel  and click  Next Step 3: Create a new network switch  and select a NIC located on another subnet Step 4: Enter a new name for this new network and click  next Step 5: Enter an IP Address and Subnet address for this secondary NIC and click  next Step 6: Final Confirmation Settings Step 7: The second network has been added to this Hypervisor Step 8: Repeat this process for each additional network to be added to the Hypervisor Step 9: Proceed with  Mounting the iSCSI Target on the ESXi Hypervisor Mounting the iSCSI Target on the ESXi Hypervisor Overview: This section will guide the administrator in mounting iSCSI Targets on the Synology DiskStation to the ESXi Hypervisor. Step 1: Within the  Configuration  tab, click on  Storage Adapters , select the  iSCSI Software Adapter  and click  Properties Step 2: In this example, the iSCSI In

vicfg-mpath35 - configure multipath settings for Fibre Channel or iSCSI LUNs

SYNOPSIS vicfg-mpath35 [OPTIONS] DESCRIPTION vicfg-mpath35 provides an interface to configure multipath settings for Fibre Channel or iSCSI LUNs on ESX/ESXi version 3.5 hosts. Use vicfg-mpath for ESX/ESXi 4.0 and later hosts. OPTIONS --help Prints a help message for each command-specific and each connection option. Calling the command with no arguments or with  --help  has the same effect. --list | -l Lists all LUNs and the paths to these LUNs through adapters on the system. For each LUN, the command displays the type, internal name, console name, size, and paths, and the policy used for path selection. --policy | -p Sets the policy for a given LUN to one of "mru", "rr", or "fixed". Most Recently Used (mru) selects the path most recently used to send I/O to a device. Round Robin (rr) rotates through all available paths. Fixed (fixed) uses only the active path. This option requires that you also specify the --lun option. --state | -s Sets the state

Which ESX log file

Log File Name Details /var/log/vmkernel Vmkernel Records activities related to the virtual machines and ESX host /var/log/vmkwarning Vmkernel Warnings A copy of everything marked as a warning or higher severity from vmkernel log. Easier to look through than vmkernel log /var/log/vmksummary Vmkernel Summary Used for avaialability and uptime statistics. Human-readable summary in vmksummary.txt /var/log/vmware/hostd.log Host Agent Log Contains information on the agent that manages and configures the ESX host and its virtual machines /var/log/vmware/vpx VirtualCenter Agent Contains information on the agent that communicates with VirtualCenter /var/log/messages Service Console Log from the Linux kernel. Useful for underlying Linux issues. The kernel has no awareness of VMs running on the VMkernel /var/log/vmware/esxcfg-boot.log ESX Boot Log ESX Boot log, logs all ESX boot events /var/log/vmware/webAccess Web Access Records information on Web-based access to ESX Server /var/log/se

Which ESX log file

• Vmkernel – /var/log/vmkernel – records activities related to the virtual machines and ESX server. • Vmkernel Warnings – /var/log/vmkwarning – This log is a copy of everything marked as a warning or higher severity from vmkernel log. It is much easier to look through this for warnings and  errors , instead of filtering through the full information in the vmkernel logs. • Vmkernel Summary – /var/log/vmksummary – Used to determine uptime and availability statistics for ESX Server; human-readable summary found in /var/log/vmksummary.txt • ESX Server host agent log – /var/log/vmware/hostd.log – Contains information on the agent that manages and configures the ESX Server host and its virtual machines (Search the file date/time stamps to find the log file it is currently outputting to). • Service Console – /var/log/messages – This log is the log from the Linux kernel (service console), which is generally only potentially useful in the case of a host hang, crash, authentication  issue, or 3