Storing it in host_details table with the "product_version" name should be 
fine. For XS, that is where it is kept and it'll make sure it is consistent for 
other hypervisors too.

Just for my understanding, what is the requirement  for which you now need to 
keep the Vmware host version details?

Regards,
Devdeep

> -----Original Message-----
> From: Koushik Das [mailto:[email protected]]
> Sent: Tuesday, January 15, 2013 2:23 PM
> To: [email protected]
> Subject: Inconsistent way to store host HV version in db
> 
> The 'host' table has a column 'hypervisor_version' but that doesn't get filled
> (tried with XS and Vmware). For Vmware the column 'version' is populated
> with HV version whereas in case of XS it has CS version appended with some
> timestamp.
> There is another table 'host_details'. For XS saw that there is a name-value
> pair 'product_version' but nothing like that for a Vmware host.
> 
> Can anyone let me know what is the correct place for HV version to be stored
> so that it can be accessed in a consistent way? Also since clusters are meant 
> to
> be homogeneous would it make sense to add it in 'cluster' table?
> 
> -Koushik

Reply via email to