Archive

Archive for September, 2009

list MAC addresses of guest VMs

September 9th, 2009 Comments off

I noticed an IP conflict today on a windows box hosted on the ESXi. In the events viewer under system I checked the MAC address of the system trying to hijack my IP address. I wanted to find a quick way and check if this mac address is in my existing ESXi Virtual Machines or it’s outside somewhere..
I wanted to find a quick and dirty way to check this since there is number of machines on the ESXi host.
Here is what I did…

I opened VMWare VI-TOOLKIT. After I connected I decided to try some commands that I regularly use such as get-vm and get-vmguest. After I found nothing interesting I checked out the CI Toolkit Cmdlets Reference Document.

And there it was… the perfect command for what I wanted..

Read more…

Categories: ESX, ESXi, VI, VMware Tags: , , , ,

Fixing incorrect crs_stat

September 8th, 2009 Comments off

I was interested to find out how I can change the configuration of the oracle cluster nodeapps.
I had a problem with the listener running on both nodes.
The problem was an incorrect ACTION_SCRIPT=/u01/app/oracle/oracle/product/10.2.0/asm/bin/racgwrap
The path was incorrect due to previous installation that I did with the wrong path. This leads to unknown status in the application state as follows:

oracle@rac03:/u01/crs1020/crs/public> crs_stat -t
Name Type Target State Host
————————————————————
ora….SM1.asm application ONLINE ONLINE rac03
ora….03.lsnr application ONLINE UNKNOWN rac03
ora.rac03.gsd application ONLINE ONLINE rac03
ora.rac03.ons application ONLINE ONLINE rac03
ora.rac03.vip application ONLINE ONLINE rac03
ora….SM2.asm application ONLINE ONLINE rac04
ora….04.lsnr application ONLINE UNKNOWN rac04
ora.rac04.gsd application ONLINE ONLINE rac04
ora.rac04.ons application ONLINE ONLINE rac04
ora.rac04.vip application ONLINE ONLINE rac04

In order go fix this I exported the listener configuration by using the following for both nodes separately:

Read more…