Monday, October 17, 2011

One Simple WebFOCUS BI Best Practice - Personal Backups

While developing WebFOCUS BI applications, you will invariably experience a "Duh!" moment. You just saved something bad to the development server and immediately wish you could somehow undo a potentially time-consuming mistake.

One way to ensure you can get the coding equivalent of a golfing "Mulligan" is by adopting a practice of creating personal backups of your BI applications. With earlier snapshots of the application available, you can virtually go back in time and get code as it was before your poorly-made change. 

Having a personal backup saves you the embarrassment of groveling to the system administrator to see if he might be able to find your files within last night's system backup. 

Where to Keep Personal Backups
Because I often work at the client site and on their systems, I typically keep a backup library on a removable thumb drive. For my own company's development, I keep backups on a USB extension hard drive.

For my personal backups, I (almost daily) create a folder with the name of the client and date of the save, for example: "ABC Financial Dashboard (2011 Oct 17)." While a backup done each morning is usually sufficient, if I am getting ready to do something major in the afternoon after having already done quite a bit of development in the morning, I may make a "PM" version in addition to the original "AM" one.

I group all of these daily backup folders into a parent folder for that particular client. On a regular basis, I might go back and weed out all of the duplicates. For example, I have been making regular backups of the BI Consolidator software application for about ten years. Every so often, I clean out this important backup folder by deleting all but one version for each previous month.

How to Create Personal Backups
Components of WebFOCUS applications can exist on multiple platforms in a variety of libraries. So when creating a personal backup, remember to capture a snapshot of the important pieces on both the WebFOCUS Report Server and the Managed Reporting web tier.

On the WebFOCUS Report Server, you typically have an application folder which at the least contains metadata. In addition to this one, there may be other important folders in the path as well (e.g., the always-present BASEAPP or perhaps a shared template folder), so consider backing up more than just your application folder.

Backing up the WFRS application folders is straight-forward and we can use the Developer Studio Windows-based product to just copy and paste. There are two places to view the WFRS application folders, the first being near the top under the Data Server (EDASERVE) view.

When using this Data Server view, Developer Studio provides a segregated look at the different components and groups them into virtual folders. That makes backing up all of the files difficult. A more appropriate view for backups can be found at the bottom of the Developer Studio tree on the left-hand side under "Web Applications."

With this view, Developer Studio displays all of the components in the WFRS application folder in a simple list. To create a backup, select all of these files and copy them to the Windows clipboard.

Then, paste the WFRS files into the current day's backup folder. If you need to backup multiple application folders, you might want to create a separate backup folder for each (e.g., BASEAPP, FINANCE, and OPERATIONS).

The Managed Reporting Environment on the web server is a bit more complex. There is security information, real and descriptive names, and so forth. Luckily, Information Builders created a Change Management feature for exporting MRE applications from one image and importing them into another. For our backup purposes, we can just let WebFOCUS perform an export and keep the zipped archive file as our MRE backup.

From the MRE Main Menu (the /ibi_apps/ link), click on the "Managed Reporting Change Management Extract" feature. From the next screen, select from the MRE tree on the left the MRE Domain you want to backup. Although we typically only work in one MRE Domain at a time, remember to backup all the ones that are being actively modified as part of your application development effort.

Check the option to download the file and click on the button to create a Change Management Package. The web page will give you a Save dialog box and let you write the resulting zip archive file into your backup folder.

Inside this zip file, you will see an XML document called "cmRepos" and a folder for each of your saved MRE Domains. The cmRepos document contains additional information that WebFOCUS needs to import this change management package back into another environment.

The MRE Domain folder contains a subfolder called "apps" which contains all of your WebFOCUS application code.

When You Need to Restore
When you have that "oh no" moment during WebFOCUS application development, just go back to your backup folder. Find the earlier version of the code you messed up and open the file with a text editor such as Notepad. Select all and copy it to the Windows clipboard. Then go into Developer Studio, open the bad code with the IDE text editor and paste in the copied earlier version.

Of course, you may want to make a quick backup of the bad code first. Hopefully, you can use something and not have to entirely recreate the work you lost by reverting to the backup version. Still, this is a better option than being under stress to correct an existing problem on the development server (by the way, you would never develop on the production server, right?). 


Yes, even You will stumble into a self-imposed dumb experience. Taking the time to be a little paranoid and make personal backups is a smart thing to do. 

Saturday, October 15, 2011

Brotherhood Mutual and WebFOCUS BI

Rob talks about WebFOCUS
Rob Fosnaugh, manager of Business Intelligence for Brotherhood Mutual in Fort Wayne, Indiana, was recently recorded talking about his feelings on Information Builders and their BI software product, WebFOCUS.

For more than ninety years, Brotherhood Mutual has provided insurance for America's churches and ministries. They purchased the WebFOCUS product about five years ago. Despite having no previous WebFOCUS experience at the time, Rob leveraged his background in other BI products to quickly develop sophisticated insurance dashboards with IB's software.

If you are interested in learning more about how Brotherhood Mutual uses WebFOCUS, you can download Rob's presentation from the Summit 2011 annual users' conference held in Dallas.

Brotherhood Mutual is more than just a commercial venture; they share a common vision with their customers and actively assist Christian ministries. For example, see their work with a comic book aimed at helping today's children deal with moral dilemmas.

See Rob's video here.


Partner Has a New BI Recruiter

Partner just keeps getting better. Named as a finalist in the Best Places to Work in Cincinnati, great people are taking notice.

This month, Lynn Holliday joined us as Director of Human Resources. In addition to her management duties, Lynn will play a special role in helping Partner Intelligence recruit WebFOCUS BI professionals.

For the past dozen years, Lynn has specialized in recruiting technical professionals. Recently, she has specialized in Business Intelligence skills.

Partner Intelligence continues to see profitable growth, but WebFOCUS skills are hard to find. Having a dedicated WebFOCUS recruiting staff should make for an exciting 2012 year.

If you have the right BI experience and skills, now is the time to talk to Lynn about an exciting open position to join a growing organization with some of the best WebFOCUS consultants in the Midwest.

About Me

My photo

I am a project-based consultant, helping data-intensive firms use agile methods and automation tools to replace legacy reporting and bring in modern BI/Analytics to leverage Social, Cloud, Mobile, Big Data, Visualizations, and Predictive Analytics. For several world-class vendors, I led services teams specializing in providing software implementation and custom application development. Based on scores of successful engagements, I have assembled proven methodologies and automated software tools.

During twenty years of technical consulting, I have been blessed to work with smart people from some of the world's most respected organizations, including: FedEx, Procter & Gamble, Nationwide, The Wendy's Company, The Kroger Co., JPMorgan Chase, MasterCard, Bank of America Merrill Lynch, Siemens, American Express, and others.

I was educated at Valparaiso University and the University of Cincinnati, graduating summa cum laude. In 1990, I joined Information Builders, the vendor of WebFOCUS BI and iWay enterprise integration products, and for over a dozen years served in branch leadership roles. For several years, I also led technical teams within Cincom Systems' ERP software product group and the custom software services arm of Xerox.

Since 2007, I have provided enterprise BI services such as: strategic advice; architecture, design, and software application development of intelligence systems (interactive dashboards and mobile); data warehousing; and automated modernization of legacy reporting.