Does anyone have any suggestions for running DB2 in VMWare? We've been told not to do it, but I see VMWare as a supported environment from IBM.
|
feedback
|
|
Why were you told not to do it? I've been working with VMware for many years now and can't recall an application or server I've tried to virtualize that had any issues. If it is a supported environment, I would do it. The hardest part about running any app under VMware is application vendors that stick their head in the sand and refuse to support their app running on VMware because they don't understand it. | |||
|
feedback
|
|
Same as you'd do with any other virtualized Database. Keep an eye on what you can do to max out I/O performance and cache availability. Have multiple cores available. VMWare ESXi and ESX are supported hypervisors for DB2, by the way. http://www.ibm.com/developerworks/wikis/display/im/DB2+Virtualization+Support Are there any specific concerns you have? | |||||||||||
feedback
|
|
I am running in ubuntu jaunty vmware server 3, with app hittin it all the time, no issues. | |||
|
feedback
|
|
I've done it for years; the only caveat is make sure you can assign enough memory and cpu to the virtual or you may get some strange results if it runs out of resources. | |||
|
feedback
|
|
I talked about that topic the other day with our admin and he said vmware used to have performance issues with db2 (Databases usually go a little bit deeper into the OS layer than other software in regards with writing on hard drives to achieve better persistence). I think he mentioned that the optimization algorithm had troubles with the way db2 access the drives. However, he was aware that vmware supports db2 now and decided to wait with virtualizing db2 servers until first adopters have eliminated the most issues. | ||||
|
feedback
|
|
You can always create a raw LUN for the DB2 databases. This is usually faster than using a .vmdk file. I'd make sure you're using vSphere 4 and ensure the VMs have the v7 hardware/tools loaded. | |||
|
feedback
|