My business runs its Oracle databases on HPUX11i and Hewlett Packard hardware. Oracle and HP are licensed for use with Linux, so i wished to peer how the efficiency of some of their databases would compare if moved to Linux. My most appropriate aim become for Linux to do everything HPUX does, interconnecting with their current infrastructure seamlessly. I wondered even if they might lose any flexibility in administration.
For my first appropriate dive into the world of Linux, I chose Intel processors, thereby sticking to the philosophy of no longer altering too many components at one time. i used to be interested in how new 32-bit processors would evaluate to their "ancient" sixty four-bit UNIX ones. i might study that the sooner processors would more than make up for being handiest 32-bit, principally for their atmosphere the place most of their databases don't seem to be too colossal and do not definitely get hammered that much. Their storage area network (SAN) is imperative to their techniques, so I truly wanted to push to get all of the points of their SAN disks from HPUX working on Linux as well. ultimately, there's much discuss can charge discounts with Linux, and i wanted to add my two cents to the broad-ranging transformations individuals find in complete can charge of ownership (TCO).
A UNIX guy's View of Linux
I've labored on a few different *nixes, and getting to know Linux in reality become no different. As I discover when going to a new UNIX hardware platform, the changes get greater as you get closer to the hardware layer. Formatting disk partitions and kernel adjustments, for instance, reminded me of ancient SunOS days. These tasks went excellent on Linux, but the initiatives are not computerized or as handy as Solaris or HPUX. Most of my kernel changes have been dynamic, and although making them is rarely fool-proof, they did not require a recompile/reboot--in contrast to the equivalent HPUX kernel adjustments. because Linux is open, GUI equipment are available to make these tasks more convenient. i like Webmin especially. also, pink Hat's Disk Druid is a great device for partitioning disks within the installation application--I have no idea why RH does not make it available backyard installing. while taking a purple Hat course, I asked a crimson Hat employee this query. His simplest reply changed into anything like, "lots of people ask for that, I have no idea why it be now not available". Is any one at red Hat listening?
Having spent contemporary years completely with HPUX, i used to be comfortable to discover lshw. it be slightly like ioscan, which provides a straightforward method to peer all of your hardware at a glance. In Linux, the entire assistance is already there, however you deserve to glance through a number of files in /proc to peer them.
just Do It
I had goofed around with Oracle on Linux on a laptop that I nabbed from their HelpDesk. but earlier than I might have confidence Linux for their are living database, I crucial a true server in their laptop room. this may mean getting authorization to purchase two small servers. My evangelism components changed into to reveal that by using spending under £10K as soon as, they might be able to keep up to 15K, per HPUX server, repeating 12 months in and yr out.
perhaps the maths changed into compelling, or possibly it was the fact that their IT Director already changed into a Linux fan, but i used to be allowed to buy two HP-DL360 G4 (three.4GHz) 1U servers, which they check with as pizza bins. This model was the latest incarnation of the equal packing containers their windows guys buy, so they already had some adventure and confidence within the hardware, as neatly ass a predefined help channel. They select Emulex LP9000 fibre playing cards, as they're their average and are recommended by their SAN application manufacturers. I additionally purchased just a few licenses for HP speedy Lights Out (ILO) application, so I could compare absolutely that console answer to the Guardian provider Processor on their HPUX servers.
installation purple Hat ES
We bought pink Hat commercial enterprise Server three.0, which put in high-quality, however the DL360 server has a SmartArray 6i hardware array for managing both internal disks. pink Hat did not have drivers within the 3.0 setting up CDs, however it didn't take a RH consultant long to element me to the download area on the RH net website. There I found replace 4 of RH ES three.0 ISO pictures. After some downloading and just a few ISO burning periods, this RH media had the necessary cciss drivers and for this reason identified the internal disks. I haven't any complaints with red Hat's Anaconda installing; it looks good and works high-quality.
First check: Oracle
Oracle is certified on many Linux distributions. I had heard in a speech that Oracle is so excited by Linux that it even offers you Linux OS help to aid you get up and running. I validated this and found it to be real. Outlined under is the exact script I ran to regulate the kernel parameters and set up the ambiance on a new Linux container for Oracle. I found this all with the aid of Googling for the crucial tips.
typical, my leading remarks on Oracle on Linux it's great. As my English colleagues want to say, "It does what it says on the tin". once the sysadmin configures the field for Oracle, your DBA may not even recognize he isn't working on UNIX--the techniques are that identical. in case you've ever seen Oracle on windows, you understand that Oracle administration is OS impartial. I've considered first-hand that the following tasks/components are absolutely the equal for Oracle on UNIX and Linux:
setting up application
import and export instructions
startup and shutdown commands
backup mode (for decent or on-line backups)
I've imported copies of five of their databases to Oracle on Linux and not using a problems. each one of these were operating on 8.1.6, so any hassles encountered really had to do with going from Oracle eight to Oracle 9 in place of going from UNIX to Linux. now they have been running their first are living database on Linux for a few months now, and performance on these new bins is extremely good.
second examine: Linux & UNIX playing nicely
With Oracle now working on Linux, I vital to show that all their infrastructure would still work. It did us no first rate to position their reside databases on a server that could not be backed up, monitored, administered and cloned effortlessly.
For backups, they use HP's DataProtector (formerly called OmniBack), which runs as a server on UNIX and as shoppers on all of their home windows and UNIX servers. HP hasn't ported DP to Linux for the server; in any other case, i'd plan to control all their backups from Linux. but HP does offer the DP customer for Linux; it can also be discovered on the UNIX DP CD, together with all of the models of UNIX. Most tasks for backups, including installing the customer on a UNIX or windows server, can be run from the GUI, however Linux isn't built-in easily yet.
As with many Linux jobs, though, the command line is the reply. working the DP installing application and answering just a few questions gave me an business backup product that plays properly with my present setup. i would say the learning curve right here is miniscule.
The subsequent priority for Linux connecting to their current programs changed into monitoring. They use a brilliant application referred to as large Brother to computer screen their servers. or not it's free for non-business use, and that i recommend it to all and sundry. as a result of UNIX shell scripting is my language of option, i really like easy methods to write a script to video display anything after which plug that into massive Brother to record by way of an internet web page. I knew the BB client would run on Linux, as a result of I've already viewed it run a BB server. All they needed to do turned into down load the application and comply with the directions to collect it as soon as for every new hardware platform.
As before, configuring BB for Linux was exactly the same process as for UNIX. They now use BB to monitor network entry, disk area utilization, LVM repute, web servers, Oracle SQLplus connection, listener popularity and many other customized assessments.
With availability monitoring coated by means of large Brother, they wanted to get their new Linux containers monitored for processor, disk, reminiscence and swap in regard to performance. They may use standard UNIX tools such as sar, however they already standardised on HP Openview PerfView, which runs from a GUI and creates relatively graphs. They had to improve this product to a more moderen version to get it working with a Linux client, however there were no issues to record right here both. here is an instance, although, of the place you deserve to come to a decision even if you are going for optimum expenses savings and installing open supply everywhere. They already were paying business expenditures for their old UNIX atmosphere and, as a minimum in the starting, they failed to want to make massive adjustments and take on more risks. So we're nevertheless paying identical prices to have their Linux bins monitored and backed up, as a result of it is the solution they have already got in region right here.
Storage area community Integration
When it involves SANs, Linux works, however no longer as simply and flexibly as HPUX. to use a new lun on HPUX, you without difficulty should category <ioscan> and <insf -e>. however with Linux, you both should reboot or discover the hostadapter, SCSI channel, identification number and lun number after which type:echo "scsi add-single-gadget a b c d" > /proc/scsi/scsi DISK LUN table: a hostadapter 0 b SCSI channel on host adapter 0 c identification 0 d LUN 0
I bet we're nevertheless at the early adopter stage, even though, so these administration functions may still be computerized and simplified as time goes via. I consider QLogic has a more robust toolset, however thus far I've handiest tried Emulex.
The relaxation of the nuts-n-bolts of Linux that needs to work with UNIX--issues similar to NFS, NIS, DNS, SSH fundamental sendmail and NTP--all worked wonderfully as smartly. probably I may still had been satisfied with this, but i wanted to push to get as many of my UNIX equipment to work on Linux as feasible.
HPUX has an admin tool called Ignite that may also be used to clone a server, both its configuration and its data. Ignite works like Ghost, but I feel or not it's even improved. As for Linux, a few both commercial and free open-source admin equipment can be found. to this point I've used Partition graphic to save an image of a whole Linux partition throughout their community. you then can boot the equal or a similar Linux box the usage of Partition photograph and restoration that partition from the network, consequently building or rebuilding a server for cloning or catastrophe recover functions. Does this look advanced? it's more convenient than it sounds.
this is first rate, however as a result of HP hasn't ported Ignite to Linux, I nonetheless am hunting for something so as to make an image of my sever while or not it's nevertheless up and operating. Ignite lets me boot a server into a special kernel controlled via Ignite after which install it completely over the community. Their HP servers support PXE boot, which will also be used together with crimson Hat's KickStart program to do something like this. or not it's outside the scope of my contrast schedule, however, to do that, so I cannot provide insider assistance right here. other things i am searching into after this article is posted consist of LVM, disk mirroring and snapshotting.
So here's a abstract of the a considerable number of strengths HPUX and crimson Hat Linux present in their condition:
Our cost reductions
complete charge of ownership is difficult to calculate. Is Linux challenging to be taught? It depends on how smartly equipment administrators be trained. in the event that they've confirmed themselves via transferring knowledge from one OS--and even from one flavour of UNIX to an extra--then it's no problem in any respect. With a little little bit of support, both a practicing route or some mentoring, I agree with any device administrator who desires to study Linux will succeed.
Is Linux free? there isn't any such element as a free lunch. You may be ready find out everything you need to comprehend from free cyber web newsgroups, such as this one, however is that the manner your organization in reality desires to do company? I assume that in an commercial enterprise atmosphere, the administration is willing to pay for some form of security and accountability related to support and renovation. They fortunately pay for hardware help so that they can get aid with their new fibre playing cards when they want it. They also pay for licenses and guide for their backup and network monitoring software. This can also trade, however the business both pays someone else for his or her time to improve and hold the product they use or they are going to should pay one in all us techies in the business to do this work. still, even with this compromise, we're saving tens of lots of kilos each yr, both on deciding to buy and help protection.
Linux wins on:
can charge of the OS
can charge discount rates from the Intel servers vs. PA-RISC ones
Dynamic kernel adjustments (no reboot)
HPUX wins on:
Maturity and vigour of admin equipment
Maturity of RAID and fibre card drivers
Repartitioning boot disk (no reboot)
Server cloning utility
handy crash-dumps and far flung console access
In conclusion, my opinion is that HPUX is more mature and less difficult to use, however Linux offers access to ample can charge savings to make the change rewarding. In a few years, I expect Linux to be even more eye-catching.