Re: [ovirt-users] obtain spm id (host id) from engine using api

2016-12-17 Thread Joost
Thans Will have a look. Verstuurd vanaf mijn iPhone > Op 16 dec. 2016 om 23:35 heeft Nir Soffer het volgende > geschreven: > >> On Fri, Dec 16, 2016 at 9:15 PM, wrote: >> HI Nir, this is exactly what i am doing. >> >>

Re: [ovirt-users] obtain spm id (host id) from engine using api

2016-12-16 Thread Nir Soffer
On Fri, Dec 16, 2016 at 9:15 PM, wrote: > HI Nir, this is exactly what i am doing. > > connectStoragePool(storagePoolUuid,hostid,'',masterStorageDomainUuid,masterVersion) > > What i want however is to ensure i can i.e. start vms even when the engine > is not available and

Re: [ovirt-users] obtain spm id (host id) from engine using api

2016-12-16 Thread joost
HI Nir, this is exactly what i am doing. connectStoragePool(storagePoolUuid,hostid,'',masterStorageDomainUuid,masterVersion) What i want however is to ensure i can i.e. start vms even when the engine is not available and then make sure they keep running when the engine comes online. If the

Re: [ovirt-users] obtain spm id (host id) from engine using api

2016-12-16 Thread Nir Soffer
On Fri, Dec 16, 2016 at 6:15 PM, wrote: > Hi Nir, thanks. > > I am actually after cases where the storagepool is not mounted.And engine > can not reach vdsm. > > > I can mount it using the vdsm api however i need to use a hostid. > I cant find where to get the particular

Re: [ovirt-users] obtain spm id (host id) from engine using api

2016-12-16 Thread joost
Hi Nir, thanks. I am actually after cases where the storagepool is not mounted.And engine can not reach vdsm. I can mount it using the vdsm api however i need to use a hostid. I cant find where to get the particular id from. at the moment, when i manually connect the storage pool (using

Re: [ovirt-users] obtain spm id (host id) from engine using api

2016-12-16 Thread Nir Soffer
On Fri, Dec 16, 2016 at 5:20 PM, wrote: > in ovirt engine the table. > > vds_spm_id_map > > holds the ids used in spm election. > > engine_20150824095956=# select * from vds_spm_id_map ; >storage_pool_id| vds_spm_id |vds_id >