HA High availability issue in ESXi 4.1

From somebody on expertsexchange

There are 2 main reasons cause the problem
1. DNS name issue
2.vcenter build version is not match the ESXi build version

Please following these steps to fix the problem, it’s my own notes, fixes all the 3 causes
Failed to enable HA agent on an ESXi host
1.Try to disable HA on Cluster level, by right click ‘clusterX’, edit setting. Uncheck HA and DRS.
2.Waiting for disabling HA tasks completed for all hosts.
3.Back to cluster “edit setting”, check only ‘enable HA’, click ok. It takes a few minutes to get all ESXi hosts on cluster have HA agent installed.
4.Then enable DRS.
5.If one or more ESXi host HA agent is not started. Right click the failed host, “reconfigure for HA agent”
6.If the problem still not get fixed. Disconnect the ESXi host, link through SSH, run the following to uninstall HA agent on host
7./opt/vmware/uninstallers/VMware-vpxa-uninstall.sh & /opt/vmware/uninstallers/VMware-aam-ha-uninstall.sh , restart vm management services by /sbin/services.sh –restart
8.Then reconnect ESXi on vcente, vcenter will push a new version of HAagent installation.

installing windows 2012 server onto esxi 4.1

edit vmx file and add lines:

bios440.filename = “bios.440.rom”
mce.enable = TRUE
cpuid.hypervisor.v0 = FALSE
vmGenCounter.enable = FALSE

the file bios.440.rom must be added into the same folder as the virtual machine. Link for it is below – rename it by changing .tiff to .rom after downloading.


Some references point to issues with this method, which may be solved with this:

To work around this issue, manually create a CPUID mask for the affected virtual machines:

To manually create a CPUID mask for the affected virtual machines:

1.Power down the virtual machine.
2.Right-click the virtual machine and click Edit Settings.
3.Click the Options tab.
4.Select CPUID Mask under Advanced.
5.Click Advanced. ◦For Intel:

1.Under the Register column, locate the edx register under Level 80000001.
2.Paste this into the value field:


For example, cpuid.80000001.edx = —-:0—:—-:—-:—-:—-:—-:—-

◦For AMD:

1.Select the AMD Override tab.
2.Change cpuid.80000001.edx.amd = ———–H——————– to
cpuid.80000001.edx.amd = —-0—————————

6.Click OK to close the virtual machine properties.


SaltStack Enterprise
Speed + Scale + Flexibility + Simplicity

SaltStack is systems and configuration management software used to automate any infrastructure, cloud or DevOps function

SaltStack fundamentally improves the way enterprise IT organizations and DevOps teams configure and manage all aspects of a modern data center infrastructure. SaltStack provides a completely different approach to legacy alternatives not built for the speed and scale of the cloud. The largest enterprise IT and Web-scale organizations in the world use SaltStack to orchestrate and control any cloud while providing automation for the DevOps toolchain. SaltStack is built on an extremely fast, scalable and powerful remote execution platform for efficient control of distributed infrastructure, code and data.

better way to copy

Originally from servervault by a user named Johan

Bonus: a better way to copy

If you have thinly provisioned client, you can use the command-line tool vmkfstools like so:

vmkfstools -i /vmfs/volumes/path_to_datastore/path_to_source_vm/vmname.vmdk /vmfs/volumes/path_to_dest_datastore/path_to_dest_vm/vmname.vmdk -d thin &

This will clone (-i) the vmdk file and make sure the destination file is thinly (-d thin) provisioned. The & at the end of the command will make sure you get your command prompt back.

It will copy much faster than the GUI copy does, and you can cancel it easier.

canceling a vmkfstools copy

ps |grep vmkfstools Note down the PID. kill 12345
Where 12345 is the first number listed on the vmkfstools line.

Possible way of making liposomal coenzyme q10

Copied from: http://alobar.livejournal.com/3346670.html
excerpts from Brooks Bradley posts

Our vitamin “C” liposomal encapsulation protocol is as follows: Using a small (2 cup) Ultrasonic cleaner, (Item #03305, obtainable from Harbor Freight @ about $30.00), we performed the following:

1. Dissolved 3 level tablespoons of soy lecithin in 1 cup of water (preferably distilled).

2. Dissolved 1 level tablespoon of ascorbic acid powder (Vit. “C”) in 1/2 cup of water.

3. Poured both solutions together in the ultrasonic cleaner bowl and turned the unit on. Using a plastic straw (leaving the top of the cleaner opened), gently, slowly, stirred the contents. Note: The cleaner will, automatically, self-stop about every 2 minutes. Just push ON button to continue. Repeat for a total of 3 series (6 minutes). By that time the entire solution should be blended into a cloudy, homogeneous, milk-like mixture. The LET solution is now formed.

4. This protocol furnishes about 12 grams (12000mg.) of vitamin C product.

At 70% encapsulation efficiency, 8400 mg would be of the LET type. This solution will keep, acceptably, at room temperature for 3 to 4 days. Refrigerated, it will keep much longer. We use it so fast around our place…there isn’t enough left to be concerned over storage. The “homogenizing effect” is so powerful that after 3 days at room temperature, no precipitation or solution separation appears evident. This type of sequestered vitamin “C” has demonstrated to be, at least 5 times more effective (per volumetric measure) than any other form of orally-ingested vitamin “c”….that we have tested. Additionally, it appears to be even more rapid in tissue-bed availability- —than IV applications. An astounding revelation.. ..to us. We estimate the DIY researcher can produce the active LET portion of this solution for 15 cents per gram….as against about $1.00 per gram from commercial sources.

Brooks Bradley wrote:
We checked for particle size as a major parameter. Second, the power level in watts
driving the ultrasonic cleaner transducer and it DOES affect the particle size (at least we
found it so).
The higher the power, the smaller the majority of the particles (condition held until
power levels of our largest lead zirconate-titanate transducers went beyond 1000 watts
per transducer.)
No effective reduction occurred beyond these power levels (Power Spectral Density
However, it WAS NOT necessary to reach these power levels to obtain excellent nanosize
200 watts driving a transducer at 38K Hertz….yielded excellent results…..even with the
high-power lead zirconate units.
The larger 2.5 liter Harbor Freight unit does, in fact, yield smaller particle liposomes
(but the particle size from the small unit was perfectly acceptable for our experiments—
and the results gained were, also, quite acceptable as effective in our in-vitro
It should be noted; to get reliable population density numbers, the samples had to be
dehydrated completely before viewing with the scanning electron microscope (the same
problem is encountered with colloidal silver particle evaluation!).
Ultrasonic energy agitating does facilitate the increased creation of nano-size particles.
In fact, Ultrasonic energy was the FIRST energy source to actually achieve this level of
size reduction (so I am informed by staff members more conversant with this
technology…than am I).
Diffraction grating came later.”

How to make liposomal C- From Krispin Sullivan, www.krispin.com
http://www.harborfreight.com/25-liter-ultrasonic-cleaner-95563.html the ultrasound
machine. Other smaller units will also work. Look for ease of cleaning and pouring and
how long the timer cycle will process.
Better sonication – get and use http://www.ebay.com/itm/DSA50SE-GL2-DUAL-
makes six cups (2 cup recipe times 3) and you can sonicate for 20 minutes, nice.
In my experience using a high powered Immersion Blender for the initial mixing works
best, such as the KitchenAid 300 or similar.
Recipe to make liposomal C in the 2.5 liter ultrasonic machine making 9 cups which is
144 half ounce (1 tablespoon) servings of 1,000 mg each-
9 teaspoons (3 tablespoons) of ascorbic acid http://www.iherb.com/NutriBiotic-
27 teaspoons (9 tablespoons) of sodium ascorbate http://www.iherb.com/NutriBiotic-
36 tablespoons of lecithin http://www.iherb.com/Fearn-Natural-Food-Lecithin-
Granules-16-oz-454-g/5949?at=0 or http://www.iherb.com/Now-Foods-Lecithin-
” Put 36 tablespoons (level) lecithin granules into a measuring container and fill
with very warm (reverse osmosis, distilled, or non-chlorinated, non-fluoridated) water,
NOT boiling, just very warm to the 6 cup mark. Warm water expands the lecithin to
allow uptake of more vitamin C.
” Mix slowly with immersion/hand blender or regular blender, high enough to blend
smoothly, so that the lecithin is thoroughly mixed, no lumps or granules remaining.
” Place the ascorbic acid and sodium ascorbate in a separate measuring container
and fill to the 3 cup line, cold or room temp water (RO or distilled, no fluoride or
chlorine). Stir briskly (do not blend) until fully dissolved (looks clear). Add to the premixed
lecithin and blend a bit more until thoroughly mixed.
” Toss the batch (or part thereof) in your ultrasound machine on high (no heat) and
run two cycles of 480 stirring with non-metallic stirrer every few minutes to get all
liquid ‘sonicated’. You can leave the top off during the sonication. If you only add liquid
to about 1-2 inches from the bottom you will get better liposomes (smaller), though it
will take longer. Each ‘batch’ should process about 10-12 minutes minimum, if using the
larger machine 20 minutes.
The mix should be smooth, somewhat thick, milky yellow, with no lumps or separations.
If your material has lumps, separates, or otherwise does not remain milky smooth you
made a mistake. Gently re-blend and re-sonicate to see if you can save the batch.
Pour into one or more jars/bottles with a tight lid and refrigerate. Each tablespoon (1/2
ounce) will contain about 1,000 mg liposomal C and 900-1000 mg phospholipids.
Recipe for two cups (32 servings of 1,000 mg each) if you use a smaller machine, most
machines will make 2 cups at a time but you will get better liposomes if you only process
(ultrasound) 1 cup at a time-
2 teaspoon ascorbic acid (level, measuring)
6 teaspoons sodium ascorbate (level, measuring) Put the vitamin C in a measuring
container and add cool water to the ½ cup line, stir briskly until thoroughly dissolved.
Set aside.
Put 8 tablespoons lecithin granules (level, measuring) in large measuring container; add
very warm water (fluoride/chlorine free) and fill to 1 ½ cup line. Blend until smooth
with immersion/hand blender or regular blender, try not to ‘foam’ too much.
When smooth, slowly add the fully dissolved vitamin C. Blend thoroughly.
Pour into the ultrasound machine keeping each batch not more than 1-2 inches from the
bottom and process/sonicate each batch for about 10-12 minutes.
Place in glass container with an air tight lid or cap and refrigerate.
Sonicate or sonication-
Sonication is the act of applying sound (usually ultrasound) energy to agitate particles in
a sample for various purposes. Sonication is commonly used in nanotechnology for
evenly dispersing nanoparticles in liquids. Ultrasound machines aim the sound waves to
the middle so stirring more evenly distributes particle size.
Loading dose is 2,000 mg three times a day for 6-8 weeks, or longer. Maintenance dose
is 1,000-2,000 mg twice a day.
All items, so far the best buy, Fearn Lecithin, Nutribiotics Sodium Ascorbate 1 lb. and
Nutribiotics Ascorbic Acid 1 lb. are available from http://iherb.com If first time ordering
use my referral code NAJ524 for a discount. Buying lecithin in sealed 1 lb. containers
keeps it fresher. Exposure to moisture/air causes changes in lecithin making it less
healthful and producing a stronger ‘off-taste’. So unless you make TONS of liposomal C
weekly buy lecithin in 1 lb. units. Sealed and kept in a cool/dry location the lecithin has a
long shelf life.