Migrating LPARs to the Cloud

Originally published by TechChannel April 26, 2022

In this video from IBM Champion Rob McNelly, learn key considerations, solutions and next steps for moving LPARs to the cloud

Today I want to talk about migrating LPARs to the cloud.

Where are you on your cloud journey? Have you just begun thinking about it? Are all of your systems currently running in the public cloud? Are you running a proof of concept or some test and development machines in the cloud? Have you decided against the cloud altogether and for now you are choosing to run your LPARs in your own data centers? Even when you are running your own machines in your own data centers, there can be advantages to thinking of your own environment as a private cloud. 

There are arguments to be made for whichever choice you have decided to pursue, but isn’t it nice that there are so many options to consider with Power Systems? As more public cloud providers and managed service providers offer Power Systems servers for customers to run their AIX and IBM i workloads on, that ultimately gives you more choices around where you end up running your applications.

Whichever physical location you choose, if you end up moving LPARs to another data center, you will have some choices around how you move your applications and data to get it running somewhere else. For many of us, this is nothing new. 

For years admins have been setting up secondary disaster recovery locations, configuring replication between data centers, and migrating to completely new data centers and different colos for much of our careers. 
On the other hand, some companies have a single machine running an application on a single server in a data center, while others have a machine running in a closet somewhere that seems to magically manage itself.

It is hard to come up with a one size fits all solution or recommendation as so many customers have so many different problems they are trying to solve.

If you are not comfortable tackling this type of project on your own, you could engage IBM Lab Services, or you could ask your IBM Business Partner to help you.

IBM published a document that gives several ideas and methods you could consider when you are ready to migrate your LPARs, maybe some of them can be incorporated in your plans as you think about your organization’s changing requirements.

Although this document is geared toward migrating to IBM’s own Power Cloud offering, many of these same techniques could be considered when moving between any two data centers, including two that you manage yourself, it does not have to be a cloud migration in order to consider these options.

The document mentions things like using IBM Cloud Object Storage, which can be used as an intermediary location to store your files. Think of this as an NFS mount point or some other storage solution you are using today where you can just copy your files. This is a great place to store your mksysb or savevg or OVA files before you are able to fully restore them to your new LPAR.

Mass Data Migration is a solution where you get an actual physical device hooked up in your existing data center, you copy your data to it, then you physically ship that device to the cloud data center where it can be copied to your target LPAR. Think of it conceptually like a removable USB drive you would use with a laptop for example. If you have massive amounts of data this might be an option to speed things up compared to trying to copy it all over a network. Sometimes a truck with a bunch of tapes is faster than a network transfer will be.

PowerVC OVA images could come into play if you are already running or plan to set up PowerVC in your environment. You would create your OVA image, copy that image to the cloud object storage, then use that image to deploy it to your new LPAR. Again, depending on network speeds and sizes of the image you are copying across the network this method could take a while.

The document touches on replication software that you would run in your LPAR like GLVM, or you could rely on application-level replication like Db2 HADR or Oracle Data Guard, or possibly even a simple rsync command.
There is also a section of the document that covers IBM i specific strategies including using BRMS, or geomirroring. 

There are pros and cons to each of these methods. Some are much simpler than others, but depending on how long of an outage window you can get, or if you can get one at all, will help determine which option you choose.
A massive critical database with clusters of application servers will obviously require much different migration approaches compared to a small simple LPAR that can withstand a longer outage window.

The benefits of getting out of managing your own traditional infrastructure can be tremendous, but in order to have successful projects, it will require thoughtful planning, for some of you this is all a review of options you have already considered, but hopefully for some of you this is all food for thought.

As always, I appreciate your time, and thanks for watching.

Top Reasons to Love AIX

Originally published by TechChannel February 17, 2022

IBM Champion Rob McNelly highlights his top reasons to love the Power Systems, IBM i and AIX ecosystems

As I started training for my upcoming Grand Canyon rim to rim hikes, I realized that I had not mentioned the things I love about AIX lately.

I am an AIX bigot. I love IBM Power Systems. I have not gone to the extreme of getting a tattoo like some of the Apple fanboys and girls might, but I wear my IBM shirts and use my IBM backpacks and generally let it be known that I have been a happy IBM customer and partner for many years and I am proud to be a Lifetime IBM Champion for POWER.

In 2019 I wrote an article called 10 things to love about AIX. It reminded me of some videos that have been recorded by Nigel Griffiths including a series of videos he called called AIX in Focus.

He talked about Active Memory Expansion, and mksysb, and LVM, and JFS2.

In his webinar for the Power Systems Virtual User Group in December 2020 he mentioned what he calls “AIX Best Bits” and asked many of you what are your favorites parts of the AIX ecosystem. Some of your choices included smitty, PowerVM, NIM, Live Partition Mobility, nmon and the stable CLI that AIX incorporates across the entire ecosystem.

You can find more about Nigel’s “Best Bits” here but don’t limit your reading to just that post, there are many other topics to read on his blog as well.

Anyway, according to users that responded when Nigel asked the question, PowerVM came in first, followed by smitty, nmon, LPM, DLPAR, NIM, mksysb, LVM, PowerHA, JFS2, PowerVC and the list of favorites goes on and on.

I cannot find fault with any of these selections. These “Best Bits” explain exactly why working on Power Systems and AIX and VIOS is such a pleasure. I am sure IBM i admins have similar tools that they could point to which helps explain their devotion to their favorite operating system as well.

Dual VIO gives us the ability to perform maintenance at any time as we have redundancy built in. PowerVM allows for very granular controls over how we configure and tune our LPARs which allows for rapid provisioning of new servers, along with the ability to adjust our systems for changing workloads on the fly.

Smitty allows junior administrators to get up to speed quickly, as it allows for the ability to see what commands will actually run on the command line under the covers. Even advanced admins can find it useful when they cannot quite remember how to perform a task, they can easily find it on the smitty menu and either run it directly or find the underlying command to run or add to their scripts.

Mksysb allows me to take a complete backup of my OS, and use that image to either restore my system in case of a problem, or clone that system to another physical machine. 

This list did not even touch on things like alt-disk installs, mksysb migrations, alt-disk clones, etc. The list of powerful tools that we have available is easy to take for granted.

When you look at how the commands and flags work across the system, you can understand that you are working on a system that has been architected, and well thought out, instead of one that has had commands and flags built with little regard for how they will interact with other commands on the system.

Many of these commands on AIX have stayed the same for our entire careers. Compare that with other OSes that will change how they start and how they run and the names of essential commands with little rhyme or reason.

This is a rock-solid robust ecosystem that proactively calls home to IBM when it has issues, these are systems where you can dynamically add and remove physical and virtual devices with no downtime, these are systems with a well thought out command syntax. This ecosystem is backed up by a vendor that you can call when things go wrong, and that will help you answer questions and provide a wealth of documentation and Redbooks, not to mention the user group meetings that help with real world experience and examples.

I feel like I am probably leaving things out of my list of things that I love, and I imagine you have your own list of things that you love, so why not reach out and let me know what they would include?

Thank you for your time and I will talk to you soon. Thanks for watching.

AIX and Power Systems 2021 Review, and a Look Toward 2022

Originally published by TechChannel January 27, 2022

IBM Champion Rob McNelly highlights key AIX and Power Systems 2021 milestones, and reflects on what’s to come in 2022

As I made my way back up the Bright Angel trail in the Grand Canyon after visiting Plateau Point, I realized that I had not talked about the AIX and Power Systems news and highlights that happened in 2021, and some of the upcoming things that I have to look forward to in 2022.

In 2021 we celebrated the 35-year anniversary of the AIX OS. As Maria Ward mentioned in her blog post, “2021 is a key milestone in the history of AIX as we reminisce on how far we’ve come with 35 years of innovation behind us, but more importantly as we look ahead to the future with a new AIX release that will extend the AIX roadmap for another 10 years and beyond.”

People ask me all the time if AIX is dead, and I have to ask them is COBOL dead? Is the mainframe dead? I have been hearing about the demise of so-called legacy systems for years, but people do not seem to realize just how reliable these computing environments and OSes are, and how hard they can be to replace. Just as the mainframe keeps chugging along, so does the Power Systems ecosystem.

Instead of being dead, in 2021 we were able to download and test an open beta of the newest iteration of the OS, AIX 7.3, and then in December it was made generally available

As I built LPARs and started my own hands-on experience with the new release, I could not help but think back to the first AIX open beta I installed with AIX 6, and the first open beta version of AIX 7 that I loaded in 2010. One of my favorite things about these environments is the ease of migration and OS upgrades and updates that are taken for granted with AIX. Unlike some other OSes, going from 7.1 or 7.2 to 7.3 does not require any special reinstall, it just works.

In 2021 IBM started the Power10 hardware roll out with the enterprise class systems when they announced the E1080 server, which started shipping toward the end of the year. 

What will I be looking forward to in 2022? More deployments of AIX 7.3 at customer locations, and more Power10 server hardware options to choose from. Although I cannot point to any announcements, and I am certainly not attempting to make any here, I do not think it is too much of a stretch to think that if we use history as a guide, we can expect to see Power10 scale out servers to start to be discussed and announced and rolled out. As the enterprise machines continue to be configured and sold, I am looking forward to rounding out the portfolio for these customers that do not have the workload to justify the biggest systems. 

Even if you are in a smaller IBM i shop with a smaller machine that finds that one core is more than enough to meet your computing demands, I hope you take the time to explore other Linux workloads that may make sense to also run on your server, and I hope you find value in continuing to keep your server hardware and your OS on current versions that are still supported by IBM.

Part of the joy of migrating to new hardware is that it can be as seamless as running a live partition mobility operation and your end users may not even realize that the hardware that they are running on has changed.
Although it was announced in 2021, another thing to look forward to in 2022 is more of us getting used to the new package manager for the AIX Toolbox RPM packages.

Instead of using YUM, we will now start using dandified YUM, or DNF. As we can read in the blog, “YUM is a Python2-based package manager and Python2 is already out of support from the community.

There was a need to move to a package manager which works with Python3.”

There are resources available to help you with your journey to DNF, as with anything I would start moving from YUM to DNF on test LPARs before trying it in production.

Ferris Bueller reminded me that “Life moves pretty fast. If you don’t stop and look around once in a while, you could miss it.”

What are you most looking forward to in 2022? Is it the new OS? The hardware? Just the knowledge that IBM continues to innovate in this space? Thank you for your time and I will talk to you soon. Thanks for watching. 

Learning AIX and IBM i: Courses, Tracks and Certifications

Originally published by TechChannel December 7, 2021

IBM Champion Rob McNelly on courses, tracks or certifications you can use for developing IBM i and AIX resources internally

As I made my way across the country from the ocean, to a campsite in the woods, to a cabin along a lake during my latest camping adventures, I realized that I had not answered a question I had received. 

I was asked “Are there some courses or tracks or certifications you would recommend if we are looking to develop IBM i and AIX resources internally?”

I immediately wondered, what is the background and skill level of the person who needs training? I would have different recommendations for someone with many years of IT experience and a Unix or Linux background versus someone with little or no IT experience who had only used Apple computers or Windows operating systems.

I went with a pretty generic answer, for example they might consider formal classes, like AIX basics. The course description states:

“This course enables you to perform everyday tasks using the AIX operating system.”

There are classes from Global Knowledge like implementation and administration where you learn to install, customize and administer the AIX operating system in a partitioned environment.

Or maybe the advanced administration class. The description states that this course provides advanced AIX system administrator skills with a focus on availability and problem determination. It provides detailed knowledge of the ODM database. It shows how to deal with AIX problems. There is special focus on dealing with Logical Volume Manager problems, including procedures for replacing disks. Several techniques for minimizing the system maintenance window are covered.

There is a jumpstart class if they already know Unix where they provide focused training for experienced UNIX administrators on how to install, customize and administer the AIX operating system in a multiuser POWER partitioned environment.

The whole list of classes can be found if you search for AIX.

There was an article that stated that user groups are the Power systems heartbeat, and I tend to agree.

“User groups are the heartbeat of the IBM Power Systems community. … Many features that we have built into the platform were a direct result of feedback we collected from clients and business partners in user groups.”
“Everyone is in it together. Many user group members are business partners or clients who compete against each other on a daily basis, yet when it comes to the user group community, their dedication to IBM Power Systems platform outweighs the desire to outfox the competition.”

“Virtual learning is of particular importance since many clients are unable to attend conferences and seminars (such as IBM’s Technical University events) in person. As a result, virtual learning groups allow professionals to further their education without financial burdens or logistical headaches.”

I wrote about this topic in 2007. Even back then I said: 

If you can’t attend meetings, either due to a lack of time or the absence of a group in your area, you can still join virtual user groups and sign up for their teleconferences and webinars. They bring in various guest speakers just like traditional user groups–and perhaps an hour-long conference call fits more easily into your schedule.

User group mailing lists can be another great resource. Groups that may not regularly schedule formal meetings may still have active lists, and the informal question and answers that can come from the mailing list can be very helpful.

I revisited the topic in 2011 when I wrote about different blogs, bloggers, videos and documents, some of which you may still recognize and use 10 years later.

I want to remind you to watch the replays from the Power Virtual User Group technical webinar series.

There are other groups that have older recordings which do not have recent content but may still be worth checking out. 

Nigel Griffith recorded videos for the njmon and nmon user meetings as well as the AIX user meetings.

Nigel also has videos going back eight years on his Youtube channel. At the time I recorded this he had just posted a new video.

One of the most well-known meetings is the Power Systems Virtual User Group, the oldest Sessions I can see were from 2007. These monthly meetings have been going for years and are still very relevant.

At the end of all of taking all these classes and watching these replays, you may find that you are ready for the AIX v7 administrator certification.

Lastly, be sure to keep up to speed with the latest Redbooks.

This was some of what came to my mind when I considered how I would get new staff up to speed with POWER systems, how would you answer the question?

Hopefully you have learned something today, thank you for your time and I will talk to you soon. Thanks for watching.  

IBM Champion Rob McNelly on the New AIX 7.3 Announcement

Originally published by TechChannel October 29, 2021

AIX 7.3 was announced on October 19, 2021. Get the details from Rob McNelly in this video.

As I finished running 13.1 miles at the Lake Powell half marathon, I realized that I had not told you about the AIX 7.3 announcement from IBM.

The announcement letters are easy enough to find on the IBM website. 7.3 was officially announced on October 19, and although there is more than just the AIX announcement, that is the one I wanted to focus on today. Learn more here.

Although 7.3 will not be generally available until December 10, you can take advantage of the AIX 7.3 Open Beta if you want a sneak preview. As much as I would like to show you running LPARs and the actual discussions on the open beta forum, keep in mind that in order to participate in the program we agreed to treat the information as IBM Confidential. 

In order to keep myself out of IBM jail, I am keeping this video overview very general with publicly available sources, and I am not getting into the specifics of what is being discussed in the forum. Just be aware that customers from around the world are putting it through its paces and there have been some interesting things I have learned. If you want to participate it is as easy as signing up and requesting access. Once you also agree to keep the information confidential, you too will be able to get your hands on the new OS.

Keep in mind, you will need to be running POWER8, POWER9 or Power10 servers in order to run AIX 7.3.
Here are some of the changes you can expect, obviously there is much more than what I am including here: 

  • Increased file and filesystem sizes
  • Having the bash shell included and supported out of the box along with ksh as we are accustomed to
  • Support for dandified yum, otherwise known as dnf for installation of open source packages from the AIX Toolbox, this is going to be the replacement for yum going forward
  • Reduced time to dynamically add processors and memory to a running LPAR
  • Reduced IPL times for multi-terabyte memory LPARs 
  • Enhanced support for logical volume encryption to include rootvg and the dump device
  • Creating an OVA file from a mksysb using the create_ova command
  • Create ISO image from the mksysb_iso command

Hopefully this will whet your appetite and help convince you to find some time to test out the new OS. Along with AIX, be aware that the products included with AIX Enterprise Edition have also changed. We are now up to Enterprise Edition version 1.7, and included in this bundle are both AIX 7.3 and 7.2, PowerVC for virtualization and cloud management, PowerSC for cloud security and compliance, VM recovery manager for automated HA and DR as an alternative to PowerHA, and Tivoli monitoring 6.3. If you already have Enterprise Edition you can update to version 1.7 at no charge.

Another reason to think about your AIX 7.3 plans is that AIX 7.1 is going to start having dates around end of marketing, end of service, and end of life. You may be able to pay for extended support for a period of time, but as with everything that option will not last forever. In order to have the latest OS taking advantage of the latest hardware you need to start planning for the future.

I am recording this before TechU begins, if you attend the TechU sessions live or listen to the replays I am sure you will be able to get much more information. 

The November 4th AIX Virtual User group meeting will cover AIX 7.3, with presentations from several IBM employees that will be able to give you more information. And be sure to check out the virtual user group replay from September 30 that covers the IBM Power10 hardware announcement.

Sign up for the open beta, watch the replays, and read the announcement letters, there is more than I have had the time to cover.

Hopefully you have learned something today, thank you for your time and I will talk to you soon. Thanks for watching.  

Learn More:

https://community.ibm.com/community/user/power/blogs/maria-ward1/2021/10/07/announcing-aix-73
https://community.ibm.com/community/user/power/blogs/maria-ward1/2021/10/10/aix73-open-beta
https://survey.alchemer.com/s3/6362863/58268010431b
https://www.ibm.com/products/powervc
https://www.ibm.com/products/powersc
https://www.ibm.com/products/vm-recovery-manager
https://www.ibm.com/docs/en/tivoli-monitoring/6.3.0?topic=release-new-in-version-63
https://www.ibm.com/training/events/vtechu2021
https://www.ibm.com/support/pages/power-systems-virtual-user-group

Rob McNelly on the IBM Support Technical Support Appliance

Originally published by TechChannel September 28, 2021

IBM Champion Rob McNelly on practical uses for the IBM Support Technical Support Appliance (TSA), how to set it up, report information and more

Rob McNelly looks at the Technical Support Appliance (TSA) from IBM support. 

Transcript

As I crossed the finish line after swimming 425 yards, biking 15 miles, and running 5 kilometers in the sprint triathlon I recently completed, I realized that I had not talked about the TSA lately.

If you are an American you are probably thinking that I mean the transportation security administration when I say TSA, but in this context I am talking about the Technical Support Appliance from IBM support. 

I briefly mentioned the TSA in passing in an article in 2017, but I neglected to get into the details as to why you would want to run it in your environment and how you can get started installing it.

As much as we all love using hmcscanner in order to document our POWER systems and get vital information, the reports you can get from TSA will have a different set of information that is just as important. It does not just show you oslevel information, it will also tell you whether your Operating system, VIO, and firmware levels are up to date, it will tell you when your IBM contracts will expire, etc. There are color codes available that quickly highlight which machines might need immediate attention.

This sample file I am looking at now is available for you to download at a link on the TSA website, you can download it yourself open it up in Excel, and take a look around as well. Each tab shows information such as the devices it has discovered, the contracts that IBM knows about, the firmware recommendations, IBM i recommendations, Linux recommendations, system firmware, and adapter firmware.

Although looking at an example can be helpful, it can be more powerful to imagine what you might discover in your own environment with a report like this.

Any customer who has some sort of active maintenance contract with IBM support can download and use TSA. Since TSA collects information and transmits it to IBM, and since customers sign on to the IBM website to get the resulting reports, I do not imagine it would be very useful to a customer that didn’t have any type of IBM support. 

TSA can be set up as a hardware appliance or a virtual appliance, but in most instances I would expect you to run the virtual appliance. It would be easier for POWER system admins to run it on POWER hardware, but it is currently deployed as an .ovf file to run in your VMware x86 environment which is how I ran it, although you can also run it in Microsoft Hyper-V if you have that running in your environment. If you are not the Windows admin in your environment, it may be time to go play nice with your teammates in order to help get it installed.

You can get more information, get the install image, get the setup guide, get the configuration guide, and you can watch tutorials if you visit the TSAdemo site at the handy shortened URL: ibm.biz/TSAdemo

It will take you step by step through what you need to do.

Step 1: you download the image from fix central.

Step 2: you install TSA on the virtual machine. Read the setup guide and watch the tutorial for more information.

Step 3: configure TSA to discover devices on your network and set up the discovery schedule. Read the configuration guide and watch the configuration tutorial for more information

Step 4: configure TSA to transmit the information to IBM.

Step 5: after 48 hours, you can log into the IBM client insights portal and download your reports.

Be sure to set include your IBM ID when you configure TSA so that IBM support knows to connect this TSA appliance to your IBM ID. This way when you log into the portal you will be able to download your reports.

Ongoing maintenance will include making sure that you update any credentials in TSA that might change in your environment in the future.

Once you get in the habit of reviewing these reports, planning for system updates will be that much easier.

Thank you for your time and I will talk to you soon.

Video Tutorial: Using invscout on AIX

Originally published by TechChannel September 1, 2021

In his latest video tutorial, IBM Champion Rob McNelly explains how to use the invscout command on AIX

Learn how to use the invscout command on AIX from IBM Champion Rob McNelly:

Transcript:

As I paddled my Kayak down the Colorado River, I realized that many of you had fallen behind on your system patching.

As server administrators, besides updating our operating system, and our virtual IO server, and our HMC code, we also need to keep our server firmware and physical device firmware up to date. There is nothing worse than having an outage that’s root cause was found to have been fixed in code that was delivered a year prior to the event. Vendors provide fixes for a reason. 

The physical network adapters, fibre adapters, etc on our machines have microcode that needs to be managed. I have recently met people that did not realize how easy it can be to validate that the code they are running is current. It is just as easy to use your system report to find and download the updated code you will need to install. Others did not realize that you can do it all from the command line, some thought you had to upload individual files through a web browser.

Today we will be looking at the invscout command. This is already installed on your system. You can use invscout to survey your LPAR for currently installed microcode and device firmware. You will need to run this tool in the LPAR that owns the physical adapters you are interested in checking, most of the time your VIO server will own the physical adapter you are checking, but in your environment you may also have adapters assigned directly to your LPARs, it will be up to you to know the appropriate place to run the command. 

There are good web sites available that will provide you with an overview and more in depth information. Just typing invscout into a search engine brought up these pages, there were others as well. 

https://www.ibm.com/docs/en/aix/7.2?topic=i-invscout-command
http://gibsonnet.net/blog/cgaix/html/MDS%20reports.html
https://unixhealthcheck.com/blog?id=230

For the purposes of this video, we will walk through how to perform this task on a single system using the command line, the unixhealthcheck web page has a nice script where you can automate running invscout on multiple systems at once.

I like Chris Gibson’s Web page, he outlines the basic steps you need to perform, starting with downloading the latest catalog file from the IBM website. In my example LPAR I will use the wget command, which I installed earlier using yum.

After you download the catalog file, you will want to move it to the /var/adm/invscout/microcode directory. Once you have the file in the correct place, you can simply run the invscout command. One of the files it outputs will include the hostname of the system followed with the .mup suffix. This is the file you need to upload to IBM to generate the report.

You can manually upload it to an IBM website, but I prefer using curl so I can use the command line. If you do not have curl loaded on your system, refer to my video on yum for an easy way to get curl installed.

Now I will scroll to the right so you can see the curl command I am running, I will run the curl command, and I will run the ls command.

After you have your html file, simply open it in a browser in order to display it. You will get information like the hostname and serial number, along with the system and device firmware levels. If there are updates available, there will be links you can click on that will take you right to fixcentral to download the code.

On the IBM microcode discovery site, you can either upload your file, or if you click on the menu on the left side of the page there is an option for programmatic upload. This is where you will find an example of the curl command you can use. Just change the @local.mup with your hostname, but be sure to keep the @ sign. You may need to redirect the output to a file, in my case I redirect to hostname .html.

curl -F “mdsData=@/var/adm/invscout/test.mup;type=multipart/form” -H “Expect:” http://www14.software.ibm.com/support/customercare/mds/mds > test.html

When you look more closely at the unixhealthcheck script, you will see that they set up a list of multiple servers to inventory at once. They download the catalog file from IBM, copy that file to the other systems where they want to run invscout, run the command, collect the output, concatenate the files into one big file, then use curl to upload that file. In their example they display the results on a web server, but you can just as easily look at that file in your browser.

This should be enough to get you started. Thanks for watching!

Video Tutorial: Rob McNelly on Installing YUM on AIX

Originally published by TechChannel August 3, 2021

In this TechChannel video tutorial, learn from how to install YUM on AIX from IBM Champion Rob McNelly

In the first TechChannel video tutorial of the year, learn how to install YUM on AIX from IBM Champion Rob McNelly:

Transcript:

On this test logical partition, I checked to see if YUM was installed by running the YUM command. It was not installed. I wrote an article about YUM in 2017 on the AIX change blog. You can find the blog archives on my website at robmcnelly.com. The YUM article has a link to a user group meeting where you can get more information about why you want to install YUM on your logical partition. 

When you install an RPM package, you may find that there are other dependencies that also need to be installed. It can be tedious to manually sort out these dependencies. YUM solves this problem by automatically installing any needed dependencies when you install the packages that you want. You could also use YUM to make sure your packages are up to date. I followed the instructions in the article. On this logical partition, RPM was already installed so I just copied the YUM bundle version 6.0. 

I omitted the section in this video where I downloaded and copied the file. I’m assuming you’ll be able to do that without any problems. 

I copied the file to /home/guest and then I untared the file. I would recommend practicing the installation on test logical partition and I would encourage you to follow the change management policies that apply in your environment. 

I’m letting the video run in real time so you can get a feel for how fast the process is. In this case after I CD into the directory and run the LS command, then I untar the file and I run RPM -I-V-H *RPM in order to install the package that YUM needs. Some typical packages that I see people installing on AIX regularly include bash, bzip, expect, gcc, hyper, Python, arsenic, screen, TightVNC, etc. You can go to the IBM toolbox for Linux applications and find packages that might interest you. Once RPM completed installation, I ran the RPM -Q in order to see all the RPM packages that were installed on my system. 

The next thing I did is run YUM repo list and I found that I couldn’t resolve a hostname because DNS was not set up on the machine. I added Google’s DNS server and I pretended it was 1990 by pinging Yahoo. After I can resolve the hostname, I am able to run YUM repo list and in order to test that everything is working, I run YUM install Wget again in order to allow YUM to determine which dependencies I need and install them automatically.  

Again, I am letting this download and install packages in real time so that you can a feel for how long it takes. As you can see, it is not long at all. Obviously you will need to make changes to your repository if you are unable to reach the internet directly. I would expect that with the sensitive information most of our production machines are processing, being able to directly connect AIX logical partitions to the internet will be rare so downloading the packages and saving them on a local machine may be the only way you’ll be able to get this process to work. 

Now that WGet has finished installing, I’m going to go ahead and let YUM check to see if my RPM packages are all up to date. There are some packages that need to be updated on my system so I will go ahead and let it do that. As I have stated numerous times, I’m allowing this process to run in real time so you can see that it does not take long to run depending on your connection to your repository. 

By using this process, installing additional RPM packages is a breeze. You no longer have to manually intervene. Some of you may say that you are already using this tool but you would be surprised how many people still do not realize that they are able to use YUM with AIX. Some of the things that we take for granted are still not widely known which is why I wanted to bring attention to the topic today. 

I want to thank you for your time and if you had additional topics you’d like to see me cover, feel free to send me an email.

Python Programming Tutorials

Our Python Tutorials will help you learn Python quickly and thoroughly. We start with “Hello World” and then move on to data structures (sets, lists, tuples and dictionaries). Next we’ll cover classes, and give a variety of in-depth examples and applications.

Meridian IT YouTube videos

Say NO MORE to the status quo. You deserve a partner that can help you transform your technology tools and resources into undeniable business value.

We’ve been helping clients with their needs since 1979 – and we’re proud to say that some of our clients have been with us from day one. We recognize our clients have a business to run, and Meridian serves as their technology advisor to help implement the solutions they want and provide the expertise on the solutions they need. Our team gives our clients a competitive edge to dominate their industry with solutions optimized for their unique challenges.

Don’t take it from us, hear it from our customers. We take pride in our long-term relationships and ensuring that their experience is the best the industry has to offer.

https://meridianitinc.com/customers

Say “No More” to your IT & Business Challenges with Meridian IT

https://www.youtube.com/channel/UCt_Y_ae22ZFQBMxLWj0I9LQ/videos

IBM Systems Magazine videos on Youtube

https://www.youtube.com/user/ibmsystemsmag/videos

Videos by Rob McNelly

Solving dependency issues with rpm

https://www.youtube.com/watch?v=imlE8ogyCQM

Running screen

https://www.youtube.com/watch?v=HoZj4LMO1mM

Running HMC Scanner

https://www.youtube.com/watch?v=5YxOgS8uhOo

Running System Planning Tool to Document Servers

https://www.youtube.com/watch?v=w-R4zEZYad0

vncserver

https://www.youtube.com/watch?v=_8pfPrSYsG4