GPFS for DBs..MySQL, PGSQL, etc; How about VMware?
Hello Everyone, Medium-time user of GPFS, MySQL, PostgreSQL, etc here.. Decent sized system in production, hundreds of nodes, lots of tuning etc. Not a newb. :) Looking for opinions on running database engines backed by GPFS. Has anyone run any backed by GPFS and what did you think about it? I realize there are tuning guides and guide-lines for running different DBs on different file systems, but there seems to be a lack of best-practices for doing so on GPFS. For example, usually you don't run DBs backed by NFS due to locking, cacheing etc.. You can tune those out with sync, hard, etc, but, still the best practice is to use a local file system. As GPFS is hybrid, and used for many apps that do have hard requirements such as Cinder block storage, science apps, etc, and has proper byte-level locking.. it seems like it would be semi-equal to a lock file system. Does anyone have any opinions, experiences, or recommendations for running DBs backed by GPFS? Also will accept horror stories, gotcha's, and "dont do it's". :) On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"? Thanks, -Zach -- Zach Giles zgiles@gmail.com
Can't say I've tried this in so many years it's not relevant. But the IBM/TSM storage folks have a number of interesting reports over at their blog posted using Tivoli with DB2. I recall it says right out there that the DB was on the ESS/GSS but it's been a few months. Search for "storageneers tivoli" and/or "scale out tsm gss". I think there were two or three of them last year. Or poke Sven. ;) Something tells me he'll know. Ed Wahl OSC ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Zachary Giles [zgiles@gmail.com] Sent: Thursday, September 03, 2015 10:59 AM To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS for DBs..MySQL, PGSQL, etc; How about VMware? Hello Everyone, Medium-time user of GPFS, MySQL, PostgreSQL, etc here.. Decent sized system in production, hundreds of nodes, lots of tuning etc. Not a newb. :) Looking for opinions on running database engines backed by GPFS. Has anyone run any backed by GPFS and what did you think about it? I realize there are tuning guides and guide-lines for running different DBs on different file systems, but there seems to be a lack of best-practices for doing so on GPFS. For example, usually you don't run DBs backed by NFS due to locking, cacheing etc.. You can tune those out with sync, hard, etc, but, still the best practice is to use a local file system. As GPFS is hybrid, and used for many apps that do have hard requirements such as Cinder block storage, science apps, etc, and has proper byte-level locking.. it seems like it would be semi-equal to a lock file system. Does anyone have any opinions, experiences, or recommendations for running DBs backed by GPFS? Also will accept horror stories, gotcha's, and "dont do it's". :) On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"? Thanks, -Zach -- Zach Giles zgiles@gmail.com _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Zachary, VMWare via NFS to GPFS is a great option as several new features have been added to GPFS to support VM workloads over the last couple years, including file-grained dirty bits (FGDB) for tracking updates at 4KB granularity and HAWC for buffering small synchronous writes in fast storage. Dean Hildebrand IBM Almaden Research Center From: Zachary Giles <zgiles@gmail.com> To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Date: 09/03/2015 08:00 AM Subject: [gpfsug-discuss] GPFS for DBs..MySQL, PGSQL, etc; How about VMware? Sent by: gpfsug-discuss-bounces@gpfsug.org Hello Everyone, Medium-time user of GPFS, MySQL, PostgreSQL, etc here.. Decent sized system in production, hundreds of nodes, lots of tuning etc. Not a newb. :) Looking for opinions on running database engines backed by GPFS. Has anyone run any backed by GPFS and what did you think about it? I realize there are tuning guides and guide-lines for running different DBs on different file systems, but there seems to be a lack of best-practices for doing so on GPFS. For example, usually you don't run DBs backed by NFS due to locking, cacheing etc.. You can tune those out with sync, hard, etc, but, still the best practice is to use a local file system. As GPFS is hybrid, and used for many apps that do have hard requirements such as Cinder block storage, science apps, etc, and has proper byte-level locking.. it seems like it would be semi-equal to a lock file system. Does anyone have any opinions, experiences, or recommendations for running DBs backed by GPFS? Also will accept horror stories, gotcha's, and "dont do it's". :) On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"? Thanks, -Zach -- Zach Giles zgiles@gmail.com _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Zach, VMware is covered via Pass-through Raw Device Mapping (RDM) with physical compatibility mode if you want direct disk access inside the VM. Otherwise works as a "normal" GPFS client Go to: "Table 28. VMware support matrix" @ http://www-01.ibm.com/support/knowledgecenter/STXKQY/gpfsclustersfaq.html Have a client using this in production with x86 RHEL running on top of VMware ... it works well. They use RDM since the VMs do have disk access directly. Mit freundlichen Grüßen / Sincerely Christoph Krafft Client Technical Specialist - Power Systems, IBM Systems Certified IT Specialist @ The Open Group Phone: +49 (0) 7034 643 2171 IBM Deutschland GmbH Mobile: +49 (0) 160 97 81 86 12 Hechtsheimer Str. 2 Email: ckrafft@de.ibm.com 55131 Mainz Germany IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Martina Koederitz (Vorsitzende), Susanne Peter, Norbert Janzen, Dr. Christian Keller, Ivo Koerner, Markus Koerner Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940 From: Zachary Giles <zgiles@gmail.com> To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Date: 03.09.2015 16:59 Subject: [gpfsug-discuss] GPFS for DBs..MySQL, PGSQL, etc; How about VMware? Sent by: gpfsug-discuss-bounces@gpfsug.org Hello Everyone, Medium-time user of GPFS, MySQL, PostgreSQL, etc here.. Decent sized system in production, hundreds of nodes, lots of tuning etc. Not a newb. :) Looking for opinions on running database engines backed by GPFS. Has anyone run any backed by GPFS and what did you think about it? I realize there are tuning guides and guide-lines for running different DBs on different file systems, but there seems to be a lack of best-practices for doing so on GPFS. For example, usually you don't run DBs backed by NFS due to locking, cacheing etc.. You can tune those out with sync, hard, etc, but, still the best practice is to use a local file system. As GPFS is hybrid, and used for many apps that do have hard requirements such as Cinder block storage, science apps, etc, and has proper byte-level locking.. it seems like it would be semi-equal to a lock file system. Does anyone have any opinions, experiences, or recommendations for running DBs backed by GPFS? Also will accept horror stories, gotcha's, and "dont do it's". :) On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"? Thanks, -Zach -- Zach Giles zgiles@gmail.com _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
When you say VMware, do you mean to the hypervisor or vms? Running vms can of course be gpfs clients. Protocol servers use nfs ganesha server, but I've only looked at smb support. Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Zachary Giles [zgiles@gmail.com] Sent: 03 September 2015 15:59 To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS for DBs..MySQL, PGSQL, etc; How about VMware? On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"? Thanks, -Zach -- Zach Giles zgiles@gmail.com _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Frank, Edward, David, Christoph, The Oracle 12c certified with GPFS 4.1 looks like they only mention AIX with GPFS.. though it could apply to Linux too I believe. There's no tuning info in it... I do see the DB2 and SAS whitepapers. I've read those over and over trying to tune for Oracle and other things. They're OK, but I'm not really interested in DB2 (Though I'm sure lots of IBM people are.. ), and they also don't seem to say or "Show" much of tuning over different block sizes, direct writes vs not, read pattersn, data integrity, etc. They're still valuable though. I _did_ find moderate info on Oracle, Though it is fairly scattered. I'm doing a bunch of testing with Oracle right now and it's .. finicky .. with GPFS. Yes it works, and there are comments on data integrity here and there about Direct IO and ASync IO bypassing cache.. Oracle has latches, etc. So, seems like you could assume the data is good on GPFS. There's very little in terms of tuning. So far, it seems unhappy with large block sizes, even though it is recommended, but they're calling "512KB" large, so it's all from more than several years ago. Places to look: IBM GPFS 4.1 docs.. there's a section; Oracle 11g "Integration" docs.. probably still applies for 12, though it's removed; Random Blogs What I can't find, and am most interested in, is, info on MySQL and PostgreSQL. I see little blogs here and there saying it will work, and _some_ engines support DirectIO.. but I'm wondering if MySQL will Do The Right Thing (tm) and ensure writes are written and data is good over this "remote" file system. I worry that if it goes offline or we have waiters that it won't make MySQL very happy and there will be data loss. There's already enough stories about MySQL data loss online. I'm wondering if GPFS "feels" like a local disk enough to MySQL that it won't fail in the way NFS does for MySQL. I'm guessing the answer is that with some engines like InnoDB and direct io turned on, it'll be fine and for others it will be whatever you get.. but that's not very reassuring. PostgreSQL seems to have even less info. Dean, I'll look in to those. Thanks. Are those all in 4.1 and in the new protocol servers? Does HAWC work when the client is over NFS? I assume the server would take care of it.. Haven't read much yet. Christoph, Looks like that RDM is only for ESX (the older linux-based hypervisor), not ESXi. AFAIK there's no GPFS client that can run on ESXi yet, so the only options are remote mounting GPFS via NFS on the Hypervisor to store the VMs. Or, inside the VM, but that's not what I want. Simon, I'm talking about on the hypervisor. Looking for a way to use GPFS to store VMs instead of standing up a SAN, but want it to be safe and consistent. Thus my worry about backing VM disks by NFS backed by GPFS... -Zach On Fri, Sep 4, 2015 at 2:57 AM, Simon Thompson (Research Computing - IT Services) <S.J.Thompson@bham.ac.uk> wrote:
When you say VMware, do you mean to the hypervisor or vms? Running vms can of course be gpfs clients.
Protocol servers use nfs ganesha server, but I've only looked at smb support.
Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Zachary Giles [zgiles@gmail.com] Sent: 03 September 2015 15:59 To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS for DBs..MySQL, PGSQL, etc; How about VMware?
On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"?
Thanks, -Zach
-- Zach Giles zgiles@gmail.com _______________________________________________ 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
-- Zach Giles zgiles@gmail.com
Dean, I'll look in to those. Thanks. Are those all in 4.1 and in the new protocol servers? Does HAWC work when the client is over NFS? I assume the server would take care of it.. Haven't read much yet.
FGDB was in 3.4 I believe, and HAWC is in 4.1.1 ptf1....but there are other items that helped performance for these environments, so using the latest is always best :) Yes, hawc is independent of nfs...its all in gpfs.
Christoph, Looks like that RDM is only for ESX (the older linux-based hypervisor), not ESXi. AFAIK there's no GPFS client that can run on ESXi yet, so the only options are remote mounting GPFS via NFS on the Hypervisor to store the VMs. Or, inside the VM, but that's not what I want.
Simon, I'm talking about on the hypervisor. Looking for a way to use GPFS to store VMs instead of standing up a SAN, but want it to be safe and consistent. Thus my worry about backing VM disks by NFS backed by GPFS...
50% of VMWare deployments use NFS... and NFS+GPFS obeys nfs semantics, so together your VMs are just as safe as with a SAN. Dean
-Zach
On Fri, Sep 4, 2015 at 2:57 AM, Simon Thompson (Research Computing - IT Services) <S.J.Thompson@bham.ac.uk> wrote:
When you say VMware, do you mean to the hypervisor or vms? Running vms can of course be gpfs clients.
Protocol servers use nfs ganesha server, but I've only looked at smb support.
Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss- bounces@gpfsug.org] on behalf of Zachary Giles [zgiles@gmail.com] Sent: 03 September 2015 15:59 To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS for DBs..MySQL, PGSQL, etc; How about
VMware?
On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"?
Thanks, -Zach
-- Zach Giles zgiles@gmail.com _______________________________________________ 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
-- Zach Giles zgiles@gmail.com _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
A previous company that I worked for used DB2 Purescale which is basically HA DB2 with GPFS for the filesystem with crm for cluster management. On Sep 3, 2015 10:59 AM, "Zachary Giles" <zgiles@gmail.com> wrote:
Hello Everyone,
Medium-time user of GPFS, MySQL, PostgreSQL, etc here.. Decent sized system in production, hundreds of nodes, lots of tuning etc. Not a newb. :) Looking for opinions on running database engines backed by GPFS. Has anyone run any backed by GPFS and what did you think about it?
I realize there are tuning guides and guide-lines for running different DBs on different file systems, but there seems to be a lack of best-practices for doing so on GPFS.
For example, usually you don't run DBs backed by NFS due to locking, cacheing etc.. You can tune those out with sync, hard, etc, but, still the best practice is to use a local file system. As GPFS is hybrid, and used for many apps that do have hard requirements such as Cinder block storage, science apps, etc, and has proper byte-level locking.. it seems like it would be semi-equal to a lock file system.
Does anyone have any opinions, experiences, or recommendations for running DBs backed by GPFS? Also will accept horror stories, gotcha's, and "dont do it's". :)
On that same note... How about VMware? Obviously I guess really the only way would be via NFS export.. which cNFS was .. not the best at (my opinion). Maybe Protocol Servers are better? Maybe also a "don't do it"?
Thanks, -Zach
-- Zach Giles zgiles@gmail.com _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (6)
-
Christoph Krafft -
Dean Hildebrand -
Jeno Cram -
Simon Thompson (Research Computing - IT Services) -
Wahl, Edward -
Zachary Giles
