[one-users] ssh and shared data storage

Antanas Masevicius antanas.masevicius at ntt.lt
Wed Jun 11 06:34:21 PDT 2014


Hello,

been struggling to resolve situation with persistent images. That is
images gets copied (during instantiation) after setting DS to ssh, even
on local storage.
At first i had only machine with local data storage which look like:

oneadmin at xen-host0:~/datastores/0/42$ onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0 system 110.1G 20% - 0 sys - shared
1 default 110.1G 20% - 8 img fs shared
2 files 110.1G 20% - 0 fil fs shared

then, i added another xen host for which i have set data storage TM to ssh:

oneadmin at xen-host0:~/datastores/0/42$ onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0 system 110.1G 20% - 0 sys - shared
1 default 110.1G 20% - 8 img fs shared
2 files 110.1G 20% - 0 fil fs shared
100 xen1_ds_syste - - A_cluster 0 sys - ssh

This did not let me deploy image to remote (new) host. Someone suggested
i have to set image DS to ssh:

oneadmin at xen-host0:~/datastores/0/42$ onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0 system 110.1G 20% - 0 sys - shared
1 default 110.1G 20% - 8 img fs ssh
2 files 110.1G 20% - 0 fil fs ssh
100 xen1_ds_syste - - A_cluster 0 sys - ssh

Now, i was able to instantiate image on remote host. This is fine, but,
when i tried to instantiate image for local host, it also started to
copy persistent images on instatiation.

What is practice for such cases? Should i run everything on shared media
only or maybe there is some other way to achieve this compatibility?

best regards,
Antanas

-- 
Antanas Masevičius
Technikos direktorius
UAB "Nacionalinis telekomunikaciju tinklas"
Tel.  +370 5 2056000
Tel.  +370 700 00031 (tiesioginis)
Fax.  +370 700 00034
el.p: antanas.masevicius at ntt.lt
www.ntt.lt
www.spykas.com



More information about the Users mailing list