Wednesday, December 22, 2010

Tech journal on converting NT and 2000 machines from physical to virtual in vSphere

I've been working on converting all legacy development workstations from physical to virtual for enhanced security and administration. Here are some notes to self:

1. NT4 and Windows Server 2000 networking would not work until AFTER VMware Tools is installed.

2. NT4 would require manual installation of network driver. Here's the link to the KB article from VMware.

3. As a reminder, Windows Server 2000 already has Terminal Service available, but must be installed via Add/Remove Programs->Change Windows Components.

Cheers!

Wednesday, August 18, 2010

My vSphere 4 Virtual Hardware Upgrade Notes...

Borrowed and learned a lot from Scott Lowe's post at: http://blog.scottlowe.org/2009/06/01/vsphere-virtual-machine-upgrade-process/

After analyzing and summarizing Scott's post and the comments that follow, here's my procedure (main steps are directly taken from Scott's post):

  1. On the VM, open up Command Prompt, and type "netsh interface ip dump > c:\ipconfig.txt" to record the IP configuration of the guest operating system in c:\ipconfig.txt.
  2. Upgrade VMware Tools in the guest operating system if it has not already been done.
  3. After the guest operating system reboots and is back up again, first take a snapshot. For SQL Server/Exchange Server, the "Quiesce guest file system" option is recommended. Then shutdown the guest operating system. You can do this by right-clicking on the virtual machine and selecting Power > Shutdown Guest.
  4. Upgrade the virtual machine hardware by right-clicking the virtual machine and selecting Upgrade Virtual Hardware.
  5. In the virtual machine properties, add a new network adapter of the type VMXNET3 and attach it to the same port group/dvPort group as the first network adapter.
  6. Remove the first/original network adapter.
  7. Click OK to commit the changes you’ve made to the virtual machine.
  8. Power on the virtual machine. When the guest operating system is fully booted, log in and recreate the network configuration you recorded for the guest back in step 1. Per Dave O. in Scott's original post, "Since Windows will most likely see the new NIC as “Local Area Connection 2” (or something similar) you have to modify the above text file and change the NIC name to match the new NIC’s name. Or change the new NIC’s name on the host to match what’s in the file above. Either way works. " Open Command Prompt and type "netsh –f c:\ipconfig.txt" to re-import the network configuration to the new vmxnet 3 adapter.
  9. Power on the virtual machine. When the guest operating system is fully booted up, log in.
  10. Create a new system environment variable named DEVMGR_SHOW_NONPRESENT_DEVICES and set the value to 1.
  11. Launch Device Manager and from the View menu select Show Hidden Devices.
  12. Remove the drivers for the old network adapter and old SCSI adapter. Close Device Manager and you’re done!
Thanks a lot for Scott Lowe's post and Dave O.'s comment. Hopefully this combine version would give myself and fellow admins a reference point should this becomes necessary

Monday, March 8, 2010

Father's Journal: A little accident, a big lesson

Dear Son,

Yesterday, we went to "yum cha" with you and your grandma after church. We were amazed by your "friendliness" shown toward total strangers: waving arms, smiling, laughing, and saying a whole bunch of things that Mom and I would probably never understand (BTW, we recorded some...see if you could explain to us what those mean once you get older). Weather was gorgeous but a bit windy, and we planned to go to park with you after a little shopping.

While I was pushing you in your stroller in Ross, all of a sudden, your Mom screamed! When I took a look, I was stunned for a moment: you vomited your entire lunch plus the additional bottle of milk out, all over your clothes! Despite the mess and stinks, I've checked and made sure you didn't have a fever, then began the mission to find out the cause. It turned out, by the grace of our Lord, that you attempted to swallow a piece of clothing and ended up trigger you to vomit it out along with everything you ate and drink earlier. Your Mom and I have been very careful not to allow you to reach/grab anything, and yet, this tiny piece of cloth somehow ended up in your hands, then your mouth, and finally backed on your clothes. Had you actually swallowed it "successfully", we would probably keep scratching our heads trying to figure out why you got sick all of a sudden...it's all by God's mercy. Praise the Lord!

Because of your situation, we terminated all plans and immediately brought you home for a warm bath and get changed into a new set of clothes. Your Mom was a little sad because she's been wanting to bring you to the park, but it's either bad weather or busy schedule that didn't allow us to do so. But God's hand was at work. We ran a quick errand after settling you down with grandma, and it became fiercely windy all of a sudden. We did go to the park that we intended, and you know what? The surrounding was (and still is) under construction. The wind brought some dirt in our faces, and we literally ran back to our car to escape from the "muddy wind". Can't imagine if we actually brought you here and if we would be able to cover you up in time. It's another proof that God's plan is way better than our plans. That's why Jesus taught us to pray like this:

"10Your kingdom come, your will be done,
on earth as it is in heaven.
"

May we all learn to treasure God's will as it's way better than anything we could possibly come up with!

In Christ w/ Love, Your Dad

Thursday, March 4, 2010

Father’s Journal: My Son’s first “Ba Ba”

Dear Son,

February 26, 2010 at 7:15 AM, when I was beside your crib trying to lift you up, I whispered to you ‘Say “Ba Ba”!’, just as I did for countless times before. Only this time, I could clearly hear that you actually said “Ba Ba” back to me!!! I was so overjoyed that I literally jumped up and down, and within minutes, I’ve brought you to your Mom and told her the good news. And since then, I’ve been hearing you saying “Ba Ba” every day, and you probably would not know how sweet this phrase is until you yourself become a father someday…

As you’ve grown from “baby” to “toddler”, it’s about time to recollect what a wonderful and miraculous journey Mom and I have shared with you prior to your birth…

December 13, 2009 at around 7:00 AM, your Mom woke me up and told me there’s something wrong. After a brief discussion, we’ve called the OB (Mom’s doctor) and was asked to head to the emergency room ASAP. Little did we know that this trip marked the beginning of a 12-week journey with you, our precious son…

The OB confirmed that Mom's water broke and would need to be immediately hospitalized until she gave birth. There’s a 50% that you would be born within 48 hours; 49.99% within 14 days; a very remote chance that the membrane would seal up and the pregnancy could continue.

You were only 26 weeks and 5 days old. At that stage, many major organs including brain, lungs and intestines were not fully developed. If you were indeed born this early, you would likely be admitted into Newborn ICU at birth for at least 8 - 10 weeks, with tons of complications/surgeries as we’ve seen in some of your buddies in NICU later on.

By His Grace, the hospital has sent many specialists our way to keep us informed on the entire situation and the caring provided from the nurse team was top notch. All doctors and nurses alike were very helpful and sensitive to address our concerns.

I’ve requested your Christian uncles and aunties from our church to pray for us, but my feelings were so complicated that I really didn't know how to use words to describe. I’ve decided to humble myself and lay down all my worries in prayers, and trusted that you and your Mom’s lives are all in the hands of Our Father in heaven, and that He would use this journey to mold us into better children of His. God has proven His faithfulness and love over and over again in this journey…

In Christ w/ Love, Your Dad

Monday, March 1, 2010

What can you do with a box of crayons? Answer: Really Amazing Things!!!

This is a repost of a thread I came across on an online forum. Perhaps you’ve seen it before but to me it’s really stunning. Hope you would enjoy!

Materials needed: A box of crayons

pb060322059

Location: Streets of Copenhagen, Denmark

According to the artist, he’s been doing this on streets for over 20 years. This is his life!

30476D58251730D0186E2B03C76B935B

FCE1F6CDB5F39DA39F2056FB9DEA3A41

4DF47677CBADAEC55C2B99CDB8530E1C

5899E78571D9ABC7D9F8546AD17DB61B

Pretty cute kitten but not really special…yet!

0F7E218ACA86E56DA237581229430ED2

AE7686EE83537DAEFBE686149FBDD3C4

AF7B846A3C7D9A90890E45737087839C

B9076EB51896B1734BE49D154619CFAB

Now this is something special…and there’s more!

F0D1ECD79527792751FBAB083F51009A

How about this classic bottle of Coke?

1F89CB0FECC2120F8C25B69DA5B51E53

Newsflash: Amazing statues discovered right underneath the streets of Copenhagen!

1BBAFFBB8BC630B004A4916BF7E49A59

Watch seals right in the middle of the street…must have saved them lots of trips to Sea World!

854DE742059B12733455B1170B27EE88

I could play my toy yacht in the middle of the street…nope…I’m not kidding!

F005053BEDBDF7FAFDC6061A06803266

How big could a Sony VAIO laptop get?

020C09553186271532299CA760490B71

Can you tell which person in purple is real?

FA1A90CFD8A22D59164CE700E6DDA744

Which side is “really” up?

8050824A6B02D79447C313277C350E99

Even a fly as giant as this is no match for our brand of bug killer…

5C94F2A72C487C828E9F495AD475C0FD

Spidey, I’m stuck at the top of a pile of Jenga. Save me!

E955260217ADFA8DEA5B60859C41B83C

Who would have thought there’s a giant hole in the middle of the street? Help!!!!!!!!!!

3C9EFF313BC75EE6CB74A8DEC7708C49

Gold rush on the streets of Copenhagen?!

5C3D16051DE15682E60AE8877DC76E05

You still don’t believe it, do you?

839B822CA551B690ADFC0D55E9B4C01B

These gold are all mine! Wahahahahaha!!!

1DE80C6998272BC0551BD1BB21D52603

Finally, it’s Batman and Robin’s turn to save me from the building on fire!

1946FF55A4CEF180A1B9699C53EAE519