VMware Cloud Community
larstr
Champion
Champion

esxcfg-info troubles....

Hi,

I'm trying to use esxcfg-info to collect some raw VSI datas, but I'm having problems that it's terminating abnormally when using different parameters while VMs are running. I'm trying the following sequence and getting errors on many different systems (Intel, AMD, HP, IBM, 4.1, 4.1i etc)

esxcfg-info -w >/dev/null
esxcfg-info -r >/dev/null
esxcfg-info -s >/dev/null
esxcfg-info -n >/dev/null
esxcfg-info -y >/dev/null
esxcfg-info -o >/dev/null
esxcfg-info -u >/dev/null
esxcfg-info -a >/dev/null
vmware -v

An example of the output from a full 4.1 with SC is this:

[root@my-esx01 ~]# esxcfg-info -w >/dev/null
[root@my-esx01 ~]# esxcfg-info -r >/dev/null
 Skipping CPU times for : Vcpu Id 4307 Times due to error
 Skipping VCPU stats for : Vcpu Id 4307 Times due to error
 Skipping CPU times for : Vcpu Id 4309 Times due to error
 Skipping VCPU stats for : Vcpu Id 4309 Times due to error
 Skipping CPU times for : Vcpu Id 4310 Times due to error
 Skipping VCPU stats for : Vcpu Id 4310 Times due to error
 Skipping CPU times for : Vcpu Id 4311 Times due to error
 Skipping VCPU stats for : Vcpu Id 4311 Times due to error
[root@my-esx01 ~]# esxcfg-info -s >/dev/null
[root@my-esx01 ~]# esxcfg-info -n >/dev/null
Error: Operation not supported: Operation not supported
[root@my-esx01 ~]# esxcfg-info -y >/dev/null
[root@my-esx01 ~]# esxcfg-info -o >/dev/null
[root@my-esx01 ~]# esxcfg-info -u >/dev/null
[root@my-esx01 ~]# esxcfg-info -a >/dev/null
Error: Operation not supported: Operation not supported
[root@my-esx01 ~]# vmware -v
VMware ESX 4.1.0 build-320092

And here's an example from an ESXi 4.1 host:

~ # esxcfg-info -w >/dev/null
~ # esxcfg-info -r >/dev/null
 Skipping CPU times for : Vcpu Id 238694 Times due to error
 Skipping VCPU stats for : Vcpu Id 238694 Times due to error
 Skipping CPU times for : Vcpu Id 238696 Times due to error
 Skipping VCPU stats for : Vcpu Id 238696 Times due to error
 Skipping CPU times for : Vcpu Id 226605 Times due to error
 Skipping VCPU stats for : Vcpu Id 226605 Times due to error
~ # esxcfg-info -s >/dev/null
~ # esxcfg-info -n >/dev/null
~ # esxcfg-info -y >/dev/null
~ # esxcfg-info -o >/dev/null
~ # esxcfg-info -u >/dev/null
~ # esxcfg-info -a >/dev/null
 Skipping CPU times for : Vcpu Id 238694 Times due to error
 Skipping VCPU stats for : Vcpu Id 238694 Times due to error
 Skipping CPU times for : Vcpu Id 238696 Times due to error
 Skipping VCPU stats for : Vcpu Id 238696 Times due to error
 Skipping CPU times for : Vcpu Id 226605 Times due to error
 Skipping VCPU stats for : Vcpu Id 226605 Times due to error
~ # vmware -v
VMware ESXi 4.1.0 build-260247

Anyone else seeing these things?

Lars

0 Kudos
5 Replies
FredPeterson
Expert
Expert

Same thing, brand new v4.1 build on an IBM x3850M2 (but the hardware prolly doesn't mean anything)

0 Kudos
MauroBonder
VMware Employee
VMware Employee

when a run esxcfg-info |grep -i -B 5 hint |more  i receive same report . Hardware Sun fire x4600...is a bug of version ?

*Please, don't forget the awarding points for "helpful" and/or "correct" answers. *Por favor, não esqueça de atribuir os pontos se a resposta foi útil ou resolveu o problema.* Thank you/Obrigado
0 Kudos
ferdis
Hot Shot
Hot Shot

Hi,

I got IBM x3550 M3 and when using esxcfg-info I got this after few seconds:

"Error: Operation not supported"

Why is this?

Thanks.

0 Kudos
NYSteve
Enthusiast
Enthusiast

I am troubleshooting a VMotion failure at 82% (so far, no KB articles have helped), and am also getting that error when running esxcfg-info.  Has anyone gotten a solution to this?

0 Kudos
Dino09
Contributor
Contributor

HI

We had the same issue with a MD3000 and SAS5/e shared storage, in the end what it turned out to be is the seperae vmotion vswitches I'd created that caused the problem, the moment I removed them and left Vmotion to use the management port it worked a treat, I'm still looking further into this one

0 Kudos