Slashdot Mirror


Managing Linux and Virtual Machines?

deijmaster asks: "For a couple of months we have been hearing (as a major consulting firm) IBM people pushing the possibility of installing a Z/Linux VM setup at one of our biggest clients (financial). To a Linux user such as myself this sounds great, at first. Now, I am a bit reluctant when it comes to managing this kind of infrastructure, with little or no local expertise at IBM. Has anyone gone through a Z/Linux VM corporate installation and lived through the management of such a solution?"

12 of 239 comments (clear)

  1. Re:Doesn't seem like such a big deal by Fnord · · Score: 4, Informative

    That's really not what he means. This is using a completely non unix oriented system (a mainframe) running a VM (which is not an emulator, virtualization is built into mainframes) to run many instances of linux (which isn't emulated either, linux runs natively on mainframes).

  2. Linux/390 resources by Dammital · · Score: 5, Informative
    Check out Mark Post's Linux for S/390 site. He collects SHARE papers, distribution info, and pointers to other resources. Lots of good stuff.

    Oh, and the Marist linux-390 listserver is well worth subscribing to.

  3. not cost efffective by Anonymous Coward · · Score: 5, Informative

    Well I used to work at similar financial company where IBM was pushing something similar as well. What it boiled down to was the following issues.

    1. for the equivalent # of VM's it was more cost effective to buy new Intel hardware. The annual maintaince cost for the IBM more than paid for all new hardware.
    2. Software availability. The only thing you could run it would be home grown apps or existing opensource apps. No commercial software was available. This company was an all Oracle shop, no DB2. They're primary opensystems backup solution was Netbackup. Which at the time had no client for linux on Z. (a year ago).
    3. In house expertise. They had no linux expertise and very little Unix (solaris & HP) (jr admins at best) expertise. Let alone running linux on a Z.

    So to sum it up. It's a very expensive, somewhat propritary and inflexiable environment. If you have a specialized use for it and can justify the cost go for it. Otherwise stick with commodity Intel/AMD hardware. It'll be cheaper and easier in the long run.

    1. Re:not cost efffective by bunyip · · Score: 4, Informative

      Yes, you're right on the "not cost effective".

      BTW - I've ported a number of programs to Linux/390 (an IBM G6 mainframe) and compared them to Linux on my 1 GHz Athlon cobbled together from left over parts and a motherboard from Fry's. The net result is that the Athlon is about twice as fast as the G6 mainframe.

      The latest and greatest mainframes are about twice as fast as a G6, but PCs have come a long way since 1 GHz. Currently, 1 CPU on a mainframe running Linux costs about $100K, you can buy a pretty impressive Intel server for that price.

      So, Linux on S/390 is only effective when you have a bunch of machines with utilization close to zero - let's call it "epsilon", which is what we mathematicians say when we really want to say zero but still need to divide by it. You buy the box for VM, which can run hundreds or even thousands of instances, securely and stably, so long as most of them are doing nothing.

      Linux/390 is great for experimental servers, test systems, etc. OTOH - if you have any significant workload, buy a rack-mount PC.

      Alan.

    2. Re:not cost efffective by LinuxHam · · Score: 4, Informative

      Mod AC down. He's working with **very** old data, and is generalizing about the industry from one customer experience. And yes, one year is a heluva long time in Linux on Z. Just every IBM app for Linux on Intel has been ported to Linux on Z by now. It is by no means limited to open source apps anymore (yes, a year ago, it was).

      --
      Intelligent Life on Earth
  4. Z/Linux at a big financial firm by edwardd · · Score: 5, Informative

    I work for a big financial firm in NYC that is using Z/Linux pretty heavily. I have to say that while we are very happy with the results, it is VERY important to have VM people on staff who are also Linux savvy. IBM has been great in getting us set up, but they don't live with the systems. We do. You'll need to be very careful about what you're using the Linux instances for, and take alook at how they'll use hardware resources, like the OSA cards.

    With careful planning, and the expectation that it will be a bumpy start, you'' find that it's a very rewarding experience, both personally and professionally.

  5. No fears, IBM will take care of you by Anonymous Coward · · Score: 5, Informative

    I wouldn't get hung up on the whole "local" thing. You just have to understand how IBM works. There's no concept of "local" at IBM. At any one point in time, 50% of IBM employees aren't in a traditional work place.

    If you have problems, contact IBM and they will get their best people on it. IBM is all about customer service. You never get fired for buying IBM. From an engineers perspective, it's a pita. The best people in a department end up spending most of their time working on customer problems.

    Hell, IBM still supports OS/2. If a Z-Series seems to solve your problem, go for it. IBM will take care of you.

  6. Linuxcare? by chrisd · · Score: 5, Informative
    I understand that Linuxcare has a program specifically for managing linux vms on z series mainframes...I'd call em and see what they've got.

    http://www.linuxcare.com/

    Chrisd

    --
    Co-Editor, Open Sources
    Open Source Program Manager, Google, Inc.
  7. Re:You WILL need help by Anonymous Coward · · Score: 5, Informative

    Actually VM itself is fairly straight forward to administer

    The biggest hurdle will be:

    • termonology -- For example DASD instead of disk drives
    • sysprog or Systems Programmer - System administrator
    • A userid is just another name for a virtual machine. In otherwords say you have 10 linux systems, they would each be represented by 10 userids (LINUX1, LINUX2, etc.)
    • Within VM itself the concept of deamons (services) are abit different. Each deamon is installed in it's own virtual machine ( Service Virtual Machines or SVMs). For example the TCP/IP stack is it's own virtual machine, the FTP service is another virtual machine, etc. VM provides a very efficient inter-virtual-machine communication system.

      This is also where security comes in. Each SVM is really isolated from each other.

    • There is no concept of a root user within VM, instead individual virtual machines have privilages that are restrict what that virtual machine can do. In addition authorizations for services are handled by the service itself (for example being able to control the TCP/IP stack requires that the user doing the control be authorized by the TCP/IP stack itself.

    One thing to remember too is that VM was (and still is) used by many Universities and colleges -- not as much as it was back in the 70's and 80's, but it still has a presence.

    Anyway... just some comments from an old timer VM sysprog

  8. zLinux admins need VM skills by Anonymous Coward · · Score: 5, Informative
    I'm posting this as an AC because I'm an IBMer.

    Familiarity with Linux will not help you setting up the zLinux environment. It works like this: You dedicate a few processors of your mainframe to Linux. These processors will run VM, which has:

    • a command-line environment
    • the ability to run scripts written in REXX
    • the ability to virtualize resources and give them to virtual machines defined as "users".

    The users are defined in a "user directory". There, you can specify how much memory, disk and CPU share you want to give to each user. These users, remember, are in fact virtual machines that will boot an image of Linux compiled for the zSeries processor architecture.

    If you want to create and take down Linux images frequenlty, you'll have to install and customize some VM scripts that will do the job for you. When the scripts are installed, you can setup a new Linux image (complete with its own disks, IP address, etc.) with a single operator command.

    Most sysadmins of a zLinux machine spend a lot of time in VM. So learning VM is essential if you are going to do this job. VM was created 30 years ago and is somewhat primitive in places, but the resource virtualization mechanism is incredibly powerful and makes up for it.

    Finally, make sure that people understand that there might be dozens of virtual CPUs defined under VM but only a few real CPUs. If you have 4 CPUs, a Linux user with an absolute CPU share of 25% will have the equivalent of one CPU. If the Linux image is used for recompiling its kernel, it might be a tad slow. The mainframe has great I/O performance but only run-of-the-mill raw CPU speed.

    Good luck.

  9. *warning* I work for IBM by Anonymous Coward · · Score: 5, Informative

    Grain of salt, yada yada...

    I second the idea that it is very important to have VM skills on site for a customer looking at this. Presumably the customer is already a z/Series account, so they probably already know a thing or two, but they may have bought into the "VM is going away" speech and gotten rid of their VM stuff years ago and gone to z/OS.

    Even if they have VM skills from 5-7 years ago - that will still do. VM hasn't changed all that much, it just has some more bells and whistles. So one or two refresher courses for whoever is still around in their shop will get them up to speed on z/VM 4.4 if they knew it 'Back in the day'.

    And yes - Linux on VM is still young. Most shops appear to do a lot of 'roll your own' solutions to the administrative problems. Get hooked into the Marist linux390 mailing list, there are a lot of smart folks there who have at least thought about any problem youre likely to have.

    I've run/tested every one of SLES 7, 8, RedHat 7.1, 7.2, RHEL3 beta, TurboLinux (old and crusty now) and Debian with pretty much any IBM middleware you could think of. From the linux side - it doesn't know anything about VM, or care. So you as the administrator must make sure it plays politely with the others it lives with. You probably should not just throw 2 Gigabytes of storage at it just because Websphere says it needs it. Running Linux with VM does require some understanding of how to make the most of shared resources. Check out this redbook:

    http://publib-b.boulder.ibm.com/Redbooks.nsf/Red bo okAbstracts/sg246824.html?Open

    It makes a lot of these points better than I can.

    --Anonymous Coward cause I forgot my password :(

  10. Re:You WILL need help by Anonymous Coward · · Score: 5, Informative

    Actually not quite true (that the VM person won't understand or like linux).

    Linux has actually given VM a shot in the arm. VMers are well aware of that fact. I support a couple of VM systems during the day and play around with Linux at home at night.

    Also in terms of culture, I think you would be very surprised with the VM culture. VM spent many years as the unwanted child, VMers had to rely on each other in order to be heard above the MVS roar.

    If you take a look at some of the history of the internet you will find VM sitting there (BITNET was basically a collection of VM systems). The listserv concept was originally from VM (CERN was -- might still be -- a big VM site).

    If you want to see some of the history of VM you can start here: http://pucc.princeton.edu/~melinda