GPFS inside OpenStack guests
Hi folks, Does anyone have experience of running GPFS inside OpenStack guests, to connect to an existing (traditional, "bare metal") GPFS filesystem owning cluster? This is not using GPFS for openstack block/image storage - but using GPFS as a "NAS" service, with openstack guest instances as as a "GPFS client". --- Orlando -- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
I was asking this question at the gpfs forum on Monday at sc, but there didn't seem to be much in how wr could do it. One of the suggestions was to basically use nfs, or there is the Manilla compnents of Openstack coming, but still that isn't really true gpfs access. I did wonder about virtio, but whether that would work with gpfs passed from the hosting system. Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Orlando Richards [orlando.richards@ed.ac.uk] Sent: 19 November 2014 16:35 To: gpfsug-discuss@gpfsug.org Subject: [gpfsug-discuss] GPFS inside OpenStack guests Hi folks, Does anyone have experience of running GPFS inside OpenStack guests, to connect to an existing (traditional, "bare metal") GPFS filesystem owning cluster? This is not using GPFS for openstack block/image storage - but using GPFS as a "NAS" service, with openstack guest instances as as a "GPFS client". --- Orlando -- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Wed, 19 Nov 2014, Simon Thompson (Research Computing - IT Services) wrote:
I was asking this question at the gpfs forum on Monday at sc, but there didn't seem to be much in how wr could do it.
One of the suggestions was to basically use nfs, or there is the Manilla compnents of Openstack coming, but still that isn't really true gpfs access.
NFS should be easy enough - but you can lose a lot of the gpfs good-ness by doing that (acl's, cloning, performance?, etc).
I did wonder about virtio, but whether that would work with gpfs passed from the hosting system.
I was more looking for something fairly native - so that we don't have to, for example, start heavily customising the hypervisor stack. In fact - if you're pushing out to a third-party service provider cloud (and that could be your internal organisation's cloud run as a separate service) then you don't have that option at all. I've not dug into virtio much in a basic kvm hypervisor, but one of the guys in EPCC has been trying it out. Initial impressions (once he got it working!) were tarred by terrible performance. I've not caught up with how he got on after that initial look.
Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Orlando Richards [orlando.richards@ed.ac.uk] Sent: 19 November 2014 16:35 To: gpfsug-discuss@gpfsug.org Subject: [gpfsug-discuss] GPFS inside OpenStack guests
Hi folks,
Does anyone have experience of running GPFS inside OpenStack guests, to connect to an existing (traditional, "bare metal") GPFS filesystem owning cluster?
This is not using GPFS for openstack block/image storage - but using GPFS as a "NAS" service, with openstack guest instances as as a "GPFS client".
--- Orlando
-- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
technically there are multiple ways to do this. 1. you can use the NSD protocol for this, just need to have adequate Network resources (or use PCI pass trough of the network adapter to the guest) 2. you attach the physical disks as virtio block devices 3. pass trough of the Block HBA (e.g. FC adapter) into the guest. if you use virtio you need to make sure all caching is disabled entirely or you end up with major issues and i am not sure about official support for this, 1 and 3 are straight forward ... Sven On Wed, Nov 19, 2014 at 8:35 AM, Orlando Richards <orlando.richards@ed.ac.uk
wrote:
Hi folks,
Does anyone have experience of running GPFS inside OpenStack guests, to connect to an existing (traditional, "bare metal") GPFS filesystem owning cluster?
This is not using GPFS for openstack block/image storage - but using GPFS as a "NAS" service, with openstack guest instances as as a "GPFS client".
--- Orlando
-- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Yes, what about the random name nature of a vm image? For example I spin up a new vm, how does it join the gpfs cluster to be able to use nsd protocol? And how about attaching to the netowkrk as neutron networking uses per tenant networks, so how would you actually get access to the gpfs cluster? Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Sven Oehme [oehmes@gmail.com] Sent: 19 November 2014 19:00 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] GPFS inside OpenStack guests technically there are multiple ways to do this. 1. you can use the NSD protocol for this, just need to have adequate Network resources (or use PCI pass trough of the network adapter to the guest) 2. you attach the physical disks as virtio block devices 3. pass trough of the Block HBA (e.g. FC adapter) into the guest. if you use virtio you need to make sure all caching is disabled entirely or you end up with major issues and i am not sure about official support for this, 1 and 3 are straight forward ... Sven On Wed, Nov 19, 2014 at 8:35 AM, Orlando Richards <orlando.richards@ed.ac.uk<mailto:orlando.richards@ed.ac.uk>> wrote: Hi folks, Does anyone have experience of running GPFS inside OpenStack guests, to connect to an existing (traditional, "bare metal") GPFS filesystem owning cluster? This is not using GPFS for openstack block/image storage - but using GPFS as a "NAS" service, with openstack guest instances as as a "GPFS client". --- Orlando -- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org<http://gpfsug.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Just make the new VMs NFS clients, no? It's so much simpler and the performance is not much less. But you do need to run CNFS in the GPFS cluster. On 11/19/14 11:03 AM, Simon Thompson (Research Computing - IT Services) wrote:
Yes, what about the random name nature of a vm image?
For example I spin up a new vm, how does it join the gpfs cluster to be able to use nsd protocol?
And how about attaching to the netowkrk as neutron networking uses per tenant networks, so how would you actually get access to the gpfs cluster?
Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Sven Oehme [oehmes@gmail.com] Sent: 19 November 2014 19:00 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] GPFS inside OpenStack guests
technically there are multiple ways to do this.
1. you can use the NSD protocol for this, just need to have adequate Network resources (or use PCI pass trough of the network adapter to the guest) 2. you attach the physical disks as virtio block devices 3. pass trough of the Block HBA (e.g. FC adapter) into the guest.
if you use virtio you need to make sure all caching is disabled entirely or you end up with major issues and i am not sure about official support for this, 1 and 3 are straight forward ...
Sven
On Wed, Nov 19, 2014 at 8:35 AM, Orlando Richards <orlando.richards@ed.ac.uk<mailto:orlando.richards@ed.ac.uk>> wrote: Hi folks,
Does anyone have experience of running GPFS inside OpenStack guests, to connect to an existing (traditional, "bare metal") GPFS filesystem owning cluster?
This is not using GPFS for openstack block/image storage - but using GPFS as a "NAS" service, with openstack guest instances as as a "GPFS client".
--- Orlando
-- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org<http://gpfsug.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Alex Chekholko chekh@stanford.edu
On Wed, 19 Nov 2014, Simon Thompson (Research Computing - IT Services) wrote:
Yes, what about the random name nature of a vm image?
For example I spin up a new vm, how does it join the gpfs cluster to be able to use nsd protocol?
I *think* this bit should be solvable - assuming one can pre-define the range of names the node will have, and can pre-populate your gpfs cluster config with these node names. The guest image should then have the full /var/mmfs tree (pulled from another gpfs node), but with the /var/mmfs/gen/mmfsNodeData file removed. When it starts up, it'll figure out "who" it is and regenerate that file, pull the latest cluster config from the primary config server, and start up.
And how about attaching to the netowkrk as neutron networking uses per tenant networks, so how would you actually get access to the gpfs cluster?
This bit is where I can see the potential pitfall. OpenStack naturally uses NAT to handle traffic to and from guests - will GPFS cope with nat'ted clients in this way? Fair point on NFS from Alex - but will you get the same multi-threaded performance from NFS compared with GPFS? Also - could you make each hypervisor an NFS server for its guests, thus doing away with the need for CNFS, and removing the potential for the nfs server threads bottlenecking? For instance - if I have 300 worker nodes, and 7 NSD servers - I'd then have 300 NFS servers running, rather than 7 NFS servers. Direct block access to the storage from the hypervisor would also be possible (network configuration permitting), and the NFS traffic would flow only over a "virtual" network within the hypervisor, and so "should" (?) be more efficient.
Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Sven Oehme [oehmes@gmail.com] Sent: 19 November 2014 19:00 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] GPFS inside OpenStack guests
technically there are multiple ways to do this.
1. you can use the NSD protocol for this, just need to have adequate Network resources (or use PCI pass trough of the network adapter to the guest) 2. you attach the physical disks as virtio block devices 3. pass trough of the Block HBA (e.g. FC adapter) into the guest.
if you use virtio you need to make sure all caching is disabled entirely or you end up with major issues and i am not sure about official support for this, 1 and 3 are straight forward ...
Sven
On Wed, Nov 19, 2014 at 8:35 AM, Orlando Richards <orlando.richards@ed.ac.uk<mailto:orlando.richards@ed.ac.uk>> wrote: Hi folks,
Does anyone have experience of running GPFS inside OpenStack guests, to connect to an existing (traditional, "bare metal") GPFS filesystem owning cluster?
This is not using GPFS for openstack block/image storage - but using GPFS as a "NAS" service, with openstack guest instances as as a "GPFS client".
--- Orlando
-- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org<http://gpfsug.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- -- Dr Orlando Richards Research Facilities (ECDF) Systems Leader Information Services IT Infrastructure Division Tel: 0131 650 4994 skype: orlando.richards The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
On 19/11/2014 14:56, "orlando.richards@ed.ac.uk" <orlando.richards@ed.ac.uk> wrote:
And how about attaching to the netowkrk as neutron networking uses per tenant networks, so how would you actually get access to the gpfs cluster?
This bit is where I can see the potential pitfall. OpenStack naturally uses NAT to handle traffic to and from guests - will GPFS cope with nat'ted clients in this way?
Well, not necessarily, I was thinking about this and potentially you could create an external shared network which is bound to your GPFS interface, though there¹s possible security questions maybe around exposing a real internal network device into a VM. I think there is also a Mellanox driver for the VPI Pro cards which allow you to pass the card through to instances. I can¹t remember if that was just acceleration for Ethernet or if it could do IB as well.
Also - could you make each hypervisor an NFS server for its guests, thus doing away with the need for CNFS, and removing the potential for the nfs server threads bottlenecking? For instance - if I have 300 worker nodes, and 7 NSD servers - I'd then have 300 NFS servers running, rather than 7
Would you then not need to have 300 server licenses though? Simon
On Wed, 2014-11-19 at 20:56 +0000, orlando.richards@ed.ac.uk wrote:
On Wed, 19 Nov 2014, Simon Thompson (Research Computing - IT Services) wrote:
Yes, what about the random name nature of a vm image?
For example I spin up a new vm, how does it join the gpfs cluster to be able to use nsd protocol?
I *think* this bit should be solvable - assuming one can pre-define the range of names the node will have, and can pre-populate your gpfs cluster config with these node names. The guest image should then have the full /var/mmfs tree (pulled from another gpfs node), but with the /var/mmfs/gen/mmfsNodeData file removed. When it starts up, it'll figure out "who" it is and regenerate that file, pull the latest cluster config from the primary config server, and start up.
It's perfectly solvable with a bit of scripting and putting the cluster into admin mode central.
And how about attaching to the netowkrk as neutron networking uses per tenant networks, so how would you actually get access to the gpfs cluster?
This bit is where I can see the potential pitfall. OpenStack naturally uses NAT to handle traffic to and from guests - will GPFS cope with nat'ted clients in this way?
Not going to work with NAT. GPFS has some "funny" ideas about networking, but to put it succinctly all the nodes have to be on the same class A, B or C network. Though it considers every address in a class A network to be on the same network even though you may have divided it up internally into different networks. Consequently the network model in GPFS is broken. You would need to use bridged mode aka FlatNetworking in OpenStacks for this to work, but surely Jan knows all this. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
participants (6)
-
Alex Chekholko -
Jonathan Buzzard -
Orlando Richards -
orlando.richards@ed.ac.uk -
Simon Thompson (Research Computing - IT Services) -
Sven Oehme
