02
Sat, Nov
2 New Articles

TechTip: BRMS for the i, Part 1

High Availability / Disaster Recovery
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

BRMS is the strategic tool for backup and recovery support for the IBM i, but how many of us really understand it? In many ways, it's intuitive. But there are still some things you should know.

 

BRMS. Backup Restore Media Services.

 

If you're in the i world, then this is IBM's strategic tool for you to control your backups and, in the event something awful happens, your recovery. It provides a fairly large range of options and also a structure that helps you organize your backups and tell the difference between them a little easier than remembering that BK0703C is the monthly backup and BK0702C is the daily backup. I like to think of BRMS as a two-headed beast.

 

One side interfaces with the media device, whether it's tape or whatever, freeing you up from having to get involved in that. It forces you to establish standards for your tape-naming conventions, and as long as you know what backup you're kicking off, it handles everything else.

 

The other side provides a multi-level structure that defines what's going to be backed up and what that backup's characteristics will be.

 

But enough chit chat. Let's get right into it.

 

Is It Free?

Is it free? Ah, I do love a good jest.

 

Of course, it's not free. There's no free lunch, and there's no free good backup and restore system. Naturally, it's based on the size of your machine, using a closely guarded secret formula that was actually derived from the one for Coke.

 

But there is some flexibility in terms of how much you pay because there is flexibility in terms of what you buy.

 

What Are the Pieces Involved?

First, there's the part of BRMS that's not really BRMS. This is the Media and Storage Extensions product that's offered in i5/OS but isn't a standard part of the configuration. In other words, there's a separate charge for this item, but you need it if you're going to be running BRMS. And, although this is jumping the gun a bit, you must have this installed before you install BRMS. For those of you keeping score at home, this is 5770-SS1 Option 18.

 

Second, there is the BRMS base product. This is what does most of the work, allowing you to set up your backups and perform restores in the event of a problem. Essentially, it's a media-handling service, where the media can be regular old tapes, virtual tapes, or optical stuff. Obviously, the base product is required, and it's identified as 5770-BR1 - *BASE BRMS. We'll talk about what it actually does in a bit.

 

Third and fourth, two optional products come with BRMS, and whether they're truly optional or not will depend on what you want to do with the product.

 

The first of these options is the Network Option, 5770-BR1 Option 1. What this does is allow you to have several IBM i's using (or networking) the same media unit (tape drive, whatever). BRMS must be installed on all machines for this to work.

 

The second option is the Advanced Function feature, 5770-BR1 Option 2. While Option 1 does just one thing, this option does several.

 

First, it supports the archive and retrieve functions in BRMS. If you want to do that, then you need this option. It will archive things to tape and then allow you to very simply retrieve them back to disk. The archiving can be done automatically, with BRMS constantly looking for objects that have not been touched in x number of days, that have been over a certain size for x number of days, and other things.

 

Second, it supports software encryption. Yes, that's not part of the base package, and to get it, you need this. Although to be fair, many drives now have hardware encryption built into them, so this might not be as important as it once was. To do this, you'll also need to bring in the Encrypted Enablement Enhancement, 5770-SS1 Option 44, and have that installed on your machine.

 

Third, it supports Hierarchical Storage Management (HSM). This feature will take advantage of the fact that you might have multiple auxiliary storage pools (ASPs), with some having very fast, high-cost DASD, and others a slower, cheaper storage structure. This function will automatically migrate data from one ASP to another (including archive or tape), based on criteria you set up. The movement can be based on the different ASPs or on control group records you set up (more on them in a bit). Or you can set it up manually using the STRMGRBRM command. You can promote or demote, and it can be tons of fun for the whole family. One restriction is that you can do this only to libraries, spool files, and root folders from the IFS. But that's not bad.

 

So there's your flexibility. You can buy what you need rather than the whole fruitcake. Take a moment now and quietly reflect on your particular environment. Which of these five pieces would you need? How would you use them? How would you raise the money to purchase them? Bake sales are always nice.

 

Anything Else You Should Know?

All in all, besides being able to recognize BRMS at quite a long distance, there are a couple of other things that should be mentioned.

 

Your Existing Backup CL Programs

If you're not using a BRMS type of system to manage your data and your media, then you probably have a variety of CL programs that are filled with SAVLIB and other such commands.

 

These will all go bye-bye.

 

You will set up everything that you want to save in BRMS. There are actually several levels of setup that you can do (we'll talk about that later), but once the data is entered into BRMS (as in the specific things you want to backup), then you're all set. All backups will run within BRMS, and it will trigger the native SAVLIB, SAVF, etc. commands that actually do the backup. But that will all be transparent to you.

 

I know, I know. You probably have subsystems you want to stop/start, users that you need to log off, and maybe even job queues you want to pause and then release like a pack of hungry Irish Wolfhounds. And BRMS will take care of that for you.

 

Still Need a Scheduler

There are limits to what BRMS will do for you, of course, and while you can set up fairly complicated schedules for the backups, it will not actually kick off a backup for you. You have to do that.

 

Of course, you can do it manually if you want to, using the STRBKUBRM command.

 

And you can always use a scheduler, whether you use a fancy old thing like Robot Scheduler or use the WRKJOBSCDE that comes with the i.

 

Support a Couple of Backup Options

 

BRMS gives you a fair amount of flexibility when you define your backup. You can indicate, on a daily basis, what type you want to do: full or incremental. Now when I say "full," I don't necessarily mean a full system backup. I mean a full backup of all the libraries, folders, lists, and whatnot that you defined to be part of that backup.

 

And when I say "incremental," I mean…well, I guess I mean incremental: everything that has changed since the last back up of the items supported by that particular backup.

 

It also gives you the opportunity to do save while active.

 

What It Is

So this is what BRMS is. But how does it work? How do you set it up to do these things? And what flexibility does it offer? To find out that stuff, you have to stay tuned to next month, when we will unleash BMRS, Part 2.

 

David Shirey

David Shirey is president of Shirey Consulting Services, providing technical and business consulting services for the IBM i world. Among the services provided are IBM i technical support, including application design and programming services, ERP installation and support, and EDI setup and maintenance. With experience in a wide range of industries (food and beverage to electronics to hard manufacturing to drugs--the legal kind--to medical devices to fulfillment houses) and a wide range of business sizes served (from very large, like Fresh Express, to much smaller, like Labconco), SCS has the knowledge and experience to assist with your technical or business issues. You may contact Dave by email at This email address is being protected from spambots. You need JavaScript enabled to view it. or by phone at (616) 304-2466.


MC Press books written by David Shirey available now on the MC Press Bookstore.

21st Century RPG: /Free, ILE, and MVC 21st Century RPG: /Free, ILE, and MVC
Boost your productivity, modernize your applications, and upgrade your skills with these powerful coding methods.
List Price $69.95

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: