Difference between revisions of "Installation (ESX)"

Jump to navigation Jump to search
2,221 bytes added ,  14:06, 26 November 2010
→‎Storage: Added "USB / SD Hypervisor Checks"
(→‎ESXi: Added SNMP config location)
(→‎Storage: Added "USB / SD Hypervisor Checks")
Line 999: Line 999:
# Via the ESX, browse the datastore and re-add the VM's to the inventory (right-click over the .vmx file)
# Via the ESX, browse the datastore and re-add the VM's to the inventory (right-click over the .vmx file)
#* For a Virtual Machine Question about what to do about a UUID, select Keep
#* For a Virtual Machine Question about what to do about a UUID, select Keep
=== USB / SD Hypervisor Checks ===
USB and SD cards are notorious for causing problems.  Especially USB sticks, which were designed for occasional access storage, and not to be repetitively used in the fashion they are when running ESXi hypervisor.  The SD cards may well be tarnished with the shadow of USB.  In order to perform a disk check, use the following...
'''Assumes your running ESXi4, if using ESXi3 use this procedure (from which this section is adapted from): http://www.vm-help.com/esx/esx3i/check_system_partitions.php'''
Firstly a quick overview of the partitions...
/vmfs/volumes/Hypervisor1 /bootbank Where the ESX boots from
/vmfs/volumes/Hypervisor2 /altbootbank Used during ESX updates
/vmfs/volumes/Hypervisor3 /store VMTools ISO's etc
Everything else in an ESXi server is stored on the scratch disk, or is created at boot in a ramdisk
Run <code> fdisk -l </code> to list the available partitions on the USB/SD card (you'll also see your SAN partitions as well)..
<pre>
Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 8166 MB, 8166309888 bytes
64 heads, 32 sectors/track, 7788 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
                          Device Boot      Start        End      Blocks  Id System
/dev/disks/mpx.vmhba32:C0:T0:L0p1            5      900    917504    5  Extended
/dev/disks/mpx.vmhba32:C0:T0:L0p4  *        1        4      4080    4  FAT16 <32M
/dev/disks/mpx.vmhba32:C0:T0:L0p5            5      254    255984    6  FAT16
/dev/disks/mpx.vmhba32:C0:T0:L0p6          255      504    255984    6  FAT16
/dev/disks/mpx.vmhba32:C0:T0:L0p7          505      614    112624  fc  VMKcore
/dev/disks/mpx.vmhba32:C0:T0:L0p8          615      900    292848    6  FAT16
</pre>
The two partitions with the identical number of blocks are /bootbank and /altbootbank, perform a check disk on these
dosfsck -v /dev/disks/mpx.vmhba32:C0:T0:L0:5
dosfsck -v /dev/disks/mpx.vmhba32:C0:T0:L0:6
to perform a verification pass use -V, or to test for bad sectors use -t (with which you also need to include -a (automatically repair) or -r (interactively repair) options).
dosfsck -V /dev/disks/mpx.vmhba32:C0:T0:L0:5
dosfsck -t -r /dev/disks/mpx.vmhba32:C0:T0:L0:5


== High Availability ==
== High Availability ==

Navigation menu