Hi
I've succesfully installed ocs unix-agent on some CentOS 6 and 7 using epel and remi repository.
# rpm -qa|grep ocsinventory-agent
ocsinventory-agent-2.1.1-1.el6.remi.x86_64
and
# rpm -qa|grep ocs
ocsinventory-agent-2.1.1-1.el7.remi.x86_64
Some of the systems are physical, under VMware ESX and under Xen full virtualization. Everything's fine in physical and Xen servers. But something is amiss on systems under VMware. It shows more CPUs than actually installed.
For example this is the output from /proc/cpuinfo: (4 CPUs detected)
# cat /proc/cpuinfo|grep model\ name
model name : Intel(R) Xeon(R) CPU X5670 @ 2.93GHz
model name : Intel(R) Xeon(R) CPU X5670 @ 2.93GHz
model name : Intel(R) Xeon(R) CPU X5670 @ 2.93GHz
model name : Intel(R) Xeon(R) CPU X5670 @ 2.93GHz
But when I ran ocsinventory-agent, this is what I get from the .ocs file: (5 CPUs?)
<CPUS>
<CORES>4</CORES>
<CPUARCH>x86_64</CPUARCH>
<CPUSTATUS>Enabled</CPUSTATUS>
<CURRENT_SPEED>2933</CURRENT_SPEED>
<DATA_WIDTH>64</DATA_WIDTH>
<HPT>on</HPT>
<L2CACHESIZE>12288</L2CACHESIZE>
<MANUFACTURER>Intel</MANUFACTURER>
<SOCKET>ZIF Socket</SOCKET>
<SPEED>2933</SPEED>
<TYPE>Intel(R) Xeon(R) CPU X5670 @ 2.93GHz</TYPE>
<VOLTAGE>3.3 </VOLTAGE>
</CPUS>
<CPUS>
<CORES>4</CORES>
<CPUARCH>x86_64</CPUARCH>
<CPUSTATUS>Enabled</CPUSTATUS>
<CURRENT_SPEED>2933</CURRENT_SPEED>
<DATA_WIDTH>64</DATA_WIDTH>
<HPT>on</HPT>
<L2CACHESIZE>12288</L2CACHESIZE>
<MANUFACTURER>Intel</MANUFACTURER>
<SOCKET>ZIF Socket</SOCKET>
<SPEED>2933</SPEED>
<TYPE>Intel(R) Xeon(R) CPU X5670 @ 2.93GHz</TYPE>
<VOLTAGE>3.3 </VOLTAGE>
</CPUS>
<CPUS>
<CORES>4</CORES>
<CPUARCH>x86_64</CPUARCH>
<CPUSTATUS>Enabled</CPUSTATUS>
<CURRENT_SPEED>2933</CURRENT_SPEED>
<DATA_WIDTH>64</DATA_WIDTH>
<HPT>on</HPT>
<L2CACHESIZE>12288</L2CACHESIZE>
<MANUFACTURER>Intel</MANUFACTURER>
<SOCKET>ZIF Socket</SOCKET>
<SPEED>2933</SPEED>
<TYPE>Intel(R) Xeon(R) CPU X5670 @ 2.93GHz</TYPE>
<VOLTAGE>3.3 </VOLTAGE></CPUS>
<CPUS>
<CORES>4</CORES>
<CPUARCH>x86_64</CPUARCH>
<CPUSTATUS>Enabled</CPUSTATUS>
<CURRENT_SPEED>2933</CURRENT_SPEED>
<DATA_WIDTH>64</DATA_WIDTH>
<HPT>on</HPT>
<L2CACHESIZE>12288</L2CACHESIZE>
<MANUFACTURER>Intel</MANUFACTURER>
<SOCKET>ZIF Socket</SOCKET>
<SPEED>2933</SPEED>
<TYPE>Intel(R) Xeon(R) CPU X5670 @ 2.93GHz</TYPE>
<VOLTAGE>3.3 </VOLTAGE>
</CPUS>
<CPUS>
<CORES>4</CORES>
<CPUARCH>x86_64</CPUARCH>
<CPUSTATUS>Enabled</CPUSTATUS>
<CURRENT_SPEED>2933</CURRENT_SPEED>
<DATA_WIDTH>64</DATA_WIDTH>
<HPT>on</HPT>
<L2CACHESIZE>12288</L2CACHESIZE>
<MANUFACTURER>Intel</MANUFACTURER>
<SOCKET>ZIF Socket</SOCKET>
<SPEED>2933</SPEED>
<TYPE>Intel(R) Xeon(R) CPU X5670 @ 2.93GHz</TYPE>
<VOLTAGE>3.3 </VOLTAGE>
</CPUS>
And is also shown as 5 CPUs in the OCS-ng Web:
5 Result(s)(Download)
Manufacturer | Type | Serial number | Frequency | Cores number | L2 cache size | Architecture | Data width | Current address width | Logical CPUS | Voltage | Current speed | Socket type |
---|
Intel | Intel(R) Xeon(R) CPU X5670 @ 2.93GHz | | 2933 | 4 | 12288 | x86_64 | 64 | 0 | 0 | 3.3 | 2933 | ZIF Socket |
|
Intel | Intel(R) Xeon(R) CPU X5670 @ 2.93GHz | | 2933 | 4 | 12288 | x86_64 | 64 | 0 | 0 | 3.3 | 2933 | ZIF Socket |
|
Intel | Intel(R) Xeon(R) CPU X5670 @ 2.93GHz | | 2933 | 4 | 12288 | x86_64 | 64 | 0 | 0 | 3.3 | 2933 | ZIF Socket |
|
Intel | Intel(R) Xeon(R) CPU X5670 @ 2.93GHz | | 2933 | 4 | 12288 | x86_64 | 64 | 0 | 0 | 3.3 | 2933 | ZIF Socket |
|
Intel | Intel(R) Xeon(R) CPU X5670 @ 2.93GHz | | 2933 | 4 | 12288 | x86_64 | 64 | 0 | 0 | 3.3 | 2933 | ZIF Socket |
All those doesn't happened on physical and Xen VMs, only on VMWare.
Is this known bug? Is there any update or workaround that I can apply?
Thank you.