3 ms·
It's a real shame there is no IBM i emulation the same way there is Hercules. The very alien nature of its OS, all the way back to the AS/400, can be extremely
by rbanffy 2y ago
It's a real shame there is no IBM i emulation the same way there is Hercules. The very alien nature of its OS, all the way back to the AS/400, can be extremely educational and mind-expanding for people who grew up on Windows and Unix.
- sillywalk 2y agoIf only.. There's Inside the AS/400[0] available on the Internet Archive, which is a great introduction to the system. Pub400 has free accounts for playing around with. But it's not the same as having your own system. [0] https://archive.org/details/insideas4000000solt/ https://archive.org/details/insideas4000000solt/ [1] https://www.pub400.com/ https://www.pub400.com/
- kragen 2y agothe ia's copy doesn't seem to be freely available, but thanks for the book recommendation! what's your as/400 skill level?
- sillywalk 2y agoHuh. It was available on an hourly basis when I checked. There's a follow on book called Fortress Rochester: Inside the iSeries, that I had but gave away. It seems to be very expensive. My skill level is zero. :) I've read the book and know a bit about the system, but have never used one.
- blendergeek 2y agoAfter the IA lost a lawsuit, they can't lend out their books anymore
- kragen 2y agoavailable with drm isn't freely available
- skissane 2y agoUnfortunately with Pub400 free account you only get user level access, so useful for learning the basics of using the system and developing code for it, but not for understanding the internals (topic of this blog post), you need sysadmin level access for that. You can get a dedicated instance with sysadmin level access if you pay either Pub400, IBM, or a few other vendors. (The smaller instances are not bare metal, they are actually VMs using IBM’s hypervisor.) Whichever way you go you are paying $$$$, because IBM’s licensing for the OS starts at thousands of dollars a year (even for a very low-end system), and gets bigger quickly as the CPU/memory grows.
- jasomill 2y agoAlternatively, if your goal is non-production exploration of low-level details of the system as described in this article, or even just learning the ropes of IBM i, another option is to buy an old POWER6 or POWER7 system on eBay that's licensed for virtualization and a reasonably recent version of the base IBM i OS, then use it to create disposable evaluation VMs running whatever additional extra-cost software you want to play with (time-limited evaluation copies of most first-party IBM i software are freely downloadable from IBM's Web site). While these systems won't run anything newer than IBM i V7R2 (POWER6) or V7R3 (POWER7), they're likely to be both faster and cheaper than inexpensive cloud options. Consider: In 2017, I paid $1,700 for a POWER6 server (2 CPU cores, 16 GB RAM, half a dozen 137 GB hard drives) with virtualization and IBM i licenses. The cost estimator on IBM's Power Virtual Server site suggests that their cheapest VM capable of running any version of IBM i they support (0.25 CPU cores, 2 GB RAM, 35 GB storage) costs around $400/month.
- skissane 2y ago> The cost estimator on IBM's Power Virtual Server site suggests that their cheapest VM capable of running any version of IBM i they support (0.25 CPU cores, 2 GB RAM, 35 GB storage) costs around $400/month. RZKH (who run Pub400), the cheapest they charge is 245 EUR/month, which at current exchange rates is about US$263/month. That's 0.05 CPU cores, 2 GB RAM, 100 GB storage), without development tools. Development tools license is additional EUR 79/month (about US$85/month) per concurrent user. Plus they want a minimum 4 month commitment, so it is over US$1000 anyway. At which point, yes your eBay option looks better, unless you really need the latest OS
- skissane 2y agoQEMU has POWER emulation and can even (I’ve heard) run AIX, so in principle could be extended to run IBM i too. The problems are instructions which only IBM i uses, for which public documentation is missing or incomplete, and hence QEMU doesn’t emulate-but blog posts like this could help in closing that gap. Another gap is there are firmware APIs that only IBM i uses, so QEMU doesn’t implement those either - and again, public documentation is missing. Of course, people could reverse engineer these calls and implement them. An option (even if only a temporary one) might be to dump the firmware of an actual system and emulate it rather than trying to directly implement the firmware calls. My understanding is (beware my info could be wrong, a lot of this is just my own guesses) is parts of the firmware are actually modules loaded from disk (“LIDs”), and part of the boot process is actually loading these extensions and adding them to the firmware image on the system board. Of course, there is also the legal issue. But the reality is that most people who run z/OS on Hercules are doing so illegally, and while in theory IBM could sue them, in practice IBM only appears interest in that if you try to turn it into a business, as opposed to just a hobby. Technically it may be possible to legally run z/OS under Hercules, if you have a real mainframe licensed to run z/OS, and then you run Hercules on that mainframe. And similarly, in theory, if you have a POWER box licensed to run IBM i, it might be legal to run it on that box under an open source emulator (if one existed). However, I suspect very few people have ever done that. (And ask your lawyer to check the fine print of IBM’s licensing agreements, because even though in theory they should allow that, it all depends on precisely how they are worded.) So, I doubt technical illegality is really that big an issue in practice. I think the real problem here is a cultural issue. IBM mainframes historically were really open in exposing their internals, and so lots of customers and vendors developed deep expertise in z/OS internals, even to the point of writing custom kernel modules (nucleus modules to use the proper terminology). So there is a big skill base of people available to work on Hercules. By contrast, IBM i internals have historically been much more hidden from customers, leaving most of the people who know them well either (ex-)IBM employees, or partner vendor (ex-)employees who have signed IBM NDAs - obviously those people worry that working on an open source emulator might risk negative legal attention from IBM. Plus people with mainframe internals skills have always been a numerically larger community than people with IBM i internals skills
- shrubble 2y ago
- deleted 2y ago[deleted]