發表文章

目前顯示的是 5月, 2011的文章

ESX “Dead Brain” has some symptoms

I found the ESX “Dead Brain” has some symptoms and it’s very insteresting 1. CPU utilization is heavy loading in vix-async-pipe  a. Reference VMware KB: 1030894 ---- not work   b. Reference VMware KB: 1003490 ---- not work  2. Load average is up than 20 , you can using “top” to check esx hypervisor loading. 3. Some zombie process and can’t kill it  a. ps aux | awk ‘{ print $8 “ “$2 }’ | grep –w Z ---- show zombie process ID  b. kill -9 xxxxx ---- not work  Finally, I found this VMware KB: 1005566 and it works for me. Link : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005566 I think “Dead Brain” is cause by process dead lock (in this case  vmware-hostd)

Service mgmt-vmware restart may not restart hostd

VMware KB Article: 1005566 Symptoms •The command service mgmt-vmware restart does not restart hostd. •The script gets stuck when stopping the service. •The SSH session to the ESX host becomes unresponsive. •hostd fails to restart. Resolution You must manually stop the stuck service and restart it. To stop the service and restart it: 1.Log in as root to the ESX host command-line via the physical console or via KVM connection. 2.Navigate to the /var/run/vmware directory with the command: # cd /var/run/vmware 3.Run this command to list the files vmware-hostd.PID and watchdog-hostd.PID : # ls -l vmware-hostd.PID watchdog-hostd.PID 4.Determine the Process ID (PID) management service. View the contents of the vmware-hostd.PID file with the command: # cat vmware-hostd.PID For example: [root@vmware]# cat vmware-hostd.PID 1191[root@vmware]# 5.Use the resulting PID to kill the process. Caution: Use the kill -9 command with care. It kills the process of the su...

How to eliminate the “Open File Security Warning” from programs accessed from the file server.

1.Open the Control Panel 2.Open Internet Options 3.Click the Security Tab 4.Click on Local Intranet 5.Click on Sties 6.Click Advanced 7.Type the drive letter of your file server where the application is located in the “Add this website to this zone” box. 8.Click Add 9.Click Close 10.Click OK 11.Close Internet Options by clicking OK 12.Close the Control Panel You should no longer get the “Open File Security Warning” when you run an application from the file server.

Black screen at windows 2003 logon window

圖片
Q. I got this as below screen, after I enter password (it's difficult , but possible), everything is ok.... A. A similar issue happened to me when the system disk filled up. For some reason it zero out settings in the registry You'll have to free up some space and perform registry edits remotely. Remember to backup your registry before performing any task like this. this is the edit required to get the screen back or close to standard. [HKEY_USERS\.DEFAULT\Control Panel\Colors] "ActiveBorder"="212 208 200" "ActiveTitle"="10 36 106" "AppWorkSpace"="128 128 128" "Background"="102 111 116" "ButtonAlternateFace"="181 181 181" "ButtonDkShadow"="64 64 64" "ButtonFace"="212 208 200" "ButtonHilight"="255 255 255" "ButtonLight"="212 208 200" "ButtonShadow"="128 128 128" "ButtonTex...

SAN Switch Command

alicreate 給予port or wwn 一個alias name sample:    alicreate "SW6_P27_VMS01_FCS1", "1,2" zonecreate 新建zone的名字及內容 sample:    zonecreate "SW6_P27_VMS01_FCS1_SW12_P01_CX960_SPB0","SW6_P27_VMS01_FCS1;SW12_P01_CX960_SPB0" cfgsave 把所做的變更保存到flash中. (類似switch 中的write mem) 完整範例 change the logical switch within a CLI session You can use the CLI command: setcontext "FID" FABRIC Switch A ************************************************************************************** alicreate "SRV01_HBA0", "21:00:00:E0:1B:0B:F0:24" alicreate "CX4_SPA0", "21:00:00:E0:1B:0B:F0:24" zonecreate "SRV01_CX4_SPA0", "CX4_SPA0; SRV01_HBA0" zonecreate "SRV01_CX4_SPB1", "CX4_SPB1; SRV01_HBA0" cfgadd "COMP_FABRIC_A", "SRV01_CX4_SPA0; SRV01_CX4_SPB1" cfgsave cfgenable "COMP_FABRIC_A" FABRIC Switch B ****************************************...