[one-users] Shared File System mixed with non-shared

Oriol Martí omarti at cesca.cat
Tue Jan 17 08:23:37 PST 2012


Hello, I want to mix the shared File System without the non shared.
What is the best way to do this?

I think that the best is:
1- Create some hosts with the shared driver:
onehost create cluster01 im_kvm vmm_kvm tm_shared

This hosts have the /var/lib/one shared by NFS or another shared FS 
protocol.

2- Create some other hosts with non-shared driver
onehost create cluster02 im_kvm vmm_kvm tm_ssh

In this hosts the directory /var/lib/one is mounted from local disk FS.

When I create a compute, if I want to create with shared FS I add the 
next line:
REQUIREMENTS = "TM_MAD=\"tm_shared\""

If I want to create from local disk:
REQUIREMENTS = "TM_MAD=\"tm_ssh\""

When I create a compute, I want this compute is in shared disk by 
default, to do this I add the shared line requirements (REQUIREMENTS = 
"TM_MAD=\"tm_shared\"") in the OCCI, EC2 templates (small, medium, 
large). I create new templates (small-local, medium-local, and 
large-local) with the local disk line requirements.

Is this the best approach to mix different file systems?

For me it would be very interesting to have one host with shared and 
non-shared storage, is this possible?

Regards

-- 
......................................................................
        __
       / /          Oriol Martí i Bonvehí
C E / S / C A      Departament de Sistemes i Xarxes
     /_/            Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
T. 93 551 62 12 · F. 93 205 6979 · omarti at cesca.cat
Facebook (http://on.fb.me/vPv3oN) · Twitter @CE5CA · Linkedin
Subscriu-te al butlletí (www.cesca.cat/butlleti)
......................................................................




More information about the Users mailing list