VMware PowerCLI – How do I add functions?

When first using VMware PowerCLI, you will need to add functions that are associated with your profile. Create a new profile: PowerCLI> New-item –type file –force $profile Once your profile has been created, you can now add functions by typing: PowerCLI> notepad $profile The above command simply opens notepad and allows you to edit your ...

Change ILO IP address via CLI on HP C7000 Blade Chassis

You need to change the ILO IP on an HP blade. You don’t have access to blade except via SSH to the HP C7000 Chassis. Here is how: 1. Connect to the C7000 chassis: HP BladeSystem Onboard Administrator (C) Copyright 2006-2012 Hewlett-Packard Development Company, L.P. Type ‘HELP’ to display a list of valid commands. Type ...

ESXi identify boot LUN + boot LUN claim rules

Identify bootlun: # ls -l / lrwxrwxrwx 1 root root 49 Oct 27 17:55 bootbank -> /vmfs/volumes/94671c74-55d3efd8-6f90-332c181fc3cf Obtain the disk ID: # vmkfstools -P path For example: # vmkfstools -P /vmfs/volumes/bebbef72-6cbc41fa-b169-68d3824c6d51 vfat-0.04 file system spanning 1 partitions. File system label (if any): Mode: private Capacity 261853184 (63929 file blocks * 4096), 114647040 (27990 blocks) avail ...

pfSense Transparent Bridge Firewall + VMware ESXi

You have setup pfSense as a VM via the OVA. Your VM that you want to filter its traffic is on a portgroup on a vSwitch with no uplink. pfSense has 2 NICs – 1. WAN – Using a portgroup that has internet access 2. LAN – Using the same portgroup/vswitch as your VM that ...

Disable VR (vSphere Replication) on VM

You have long removed SRM/vSphere replication. You discovered a VM still had vSphere Replication enabled. system has paused replication disk added to vm Manually remove vSphere replication from vCenter 1. In a webbrowser go to: http://YOUR-vCenter Server/mob 2. Remove this extensions: “com.vmware.vcHms” More information about MOB, and removing plugins from vCenter, here: http://www.viktorious.nl/2012/05/06/vcenter-howto-remove-a-plugin-from-the-plugin-manager/ Remove vSphere ...

VMware Tools For FreeBSD

cd /usr/ports/emulators/open-vm-tools-nox11/ make all install vi /etc/rc.conf vmware_guest_vmblock_enable=”YES” vmware_guest_vmhgfs_enable=”YES” vmware_guest_vmmemctl_enable=”YES” vmware_guest_vmxnet_enable=”YES” vmware_guestd_enable=”YES” vi /etc/ntp.conf First line: tinker panic 0 vi /boot/loader.conf kern.hz=100 vi /etc/sysctl.conf kern.cam.da.retry_count=100 vmware-toolbox-cmd timesync disable

Configure HP ILO via ESXi CLI – Reset ILO Password via ESXi CLI

The HP server must have been installed with the HP ESXi ISO -or- Updated via VMware Update Manager (VUM) with the latest vibs from vibsdepot.hp.com. The process to configure the ILO is as follows: 1.  SSH to the ESXi host 2. cd /opt/hp/tools 3. Export the current config:   ./hponcfg -w /tmp/ilo_config.txt 4. Edit the above ...

Reset TopSpin Infiniband Switch Password

To reset the password on a TopSpin Inifiband switch you’ll need to boot the system in the single user mode. To do this: Connect a console to the serial port and stop the booting at ppcboot.   Do the following: 1) at the “Hit any key to stop autoboot:” prompt, press a key quickly ( <5sec ...

CentOS / RHEL horrible disk performance with SSD

noop, is essentially a first-in first-out (FIFO) queue with no extra logic. Each virtual machine can stop worrying about the disk, instead passing I/O requests along to the hypervisor to make a better decision about overall performance. Add “elevator=noop” to the kernel parameters in your boot loader’s configuration in /etc/grub.conf `echo noop > /sys/block/${DEVICE}/queue/scheduler`. Set ...

VMware converter does not find or recognize LVM CentOS 6 |-wi-ao|

As discussed in this VMware thread:  http://communities.vmware.com/thread/413602 VMware converter 5 fails to recognize LVM slices on CentOS 6 or Red Hat 6. Log files shows: WARN storage.lvm ]: Failed to match lvs output line ‘  lv_root|vg00|587034787840B|-wi-ao–|1 This issue is:  -wi-ao–    converter is expecting:  -wi-ao  (no –) Two fixes: 1.  downgrade to:   lvm2-2.02.72 -or- 2. Wrap ...