Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Comment
 
LinkBack (2) Tutorial Tools
<!-- google_ad_section_start -->Backing UP Your Hardware Management Console<!-- google_ad_section_end -->
Backing UP Your Hardware Management Console
Fred Sherman, pSeries Engineer
Published by FASherman
June 28th, 2006
<!-- google_ad_section_start -->Backing UP Your Hardware Management Console<!-- google_ad_section_end -->

This tutorial will explain the different types of hardware management console (HMC) backups, how to perform each, when the different types of backups should be used and how you can automate the backup processes.

What are the different types of HMC backups?

IBM documentation will tell you that there are two types of backups, Backup Critical Console Data and Save Upgrade Data, but there really is a third backup called Partition profile data backup.

What are the differences between the three types of backups?


Backup Critical Console Data

The Backup Critical Console Data task is used to back up the HMC configuration and profile data to the formatted DVD-RAM media. The backup DVD-RAM media is used only when recovering the HMC from the software or hardware problem. The following data is included in the backup DVD-RAM media:
  • User configuration
  • User preferences, including each user’s home directory
  • HMC configuration files that record the following customizing:
    • TCP/IP
    • Rexec/ssh facility setting
    • Remote virtual terminal setting
    • Time zone setting
  • HMC log files located in the /var/log directory
  • Service functions settings, such as Inventory Scout, Service Agent, and Service Focal Point
  • Partition profile data backup
Save Upgrade Data

The Save Upgrade Data task is used to save the current HMC configuration in the special disk partition on the HMC. This task is used before you migrate the current HMC software level to a new version of the HMC software.

The Save Upgrade Data task creates several archive files for the following configuration information, then saves those archive files in the special disk partition on the HMC:
  • User configuration
  • User preferences, including each user’s home directory
  • HMC configuration files that record the following customizing:
    • TCP/IP Rexec/ssh facility setting
    • Remote virtual terminal setting
    • Time zone setting
  • HMC log files located in the /var/log directory
  • Service functions settings, such as Inventory Scout, Service Agent, and Service Focal Point
  • Partition profile data backup
Partition Profile Data Backup

The Partition Profile Data Backup is performed by the HMC automatically. The default backup file, /var/hsc/profile/MT-MDL*SN/backupFile, is automatically created when the HMC is first connected to its managed system and the data gets written to the file from the NVRAM. If the default backup file does not exist, it will be created with the data from the NVRAM upon the next HMC reboot. The backup file is updated whenever changes are made to the partitioning configuration.

When should I perform each type of backup?

Typically, you shouldn’t need to perform Partition Profile Data Backup, so let’s concentrate on the other two types. HMC backups are just like any other types of backups. You want to do them as often as necessary. At a minimum, you’ll want to perform a Save Upgrade Data before any HMC software upgrades. I prefer to perform Backup Critical Console Data backups on a more regular basis, usually once a week.

How do I perform each type of backup?

Backup Critical Console Data
  1. Expand the Software Maintenance folder, then select the HMC application in the Navigation area.
  2. Select the Backup Critical Console Data task in the content area.
  3. An information window opens that prompts you to insert a formatted DVD-RAM media into the drive, as shown in Figure 6-4 on page 113. Insert the media and click Continue.
  4. When the task is complete, an information window opens with this message:

    HSCP0001 The Backup Critical Console Data request completed successfully.

  5. Once confirmed, click OK to close the information window. Remove the media from the drive.
Note: This can take quite a bit of time, depending on the data on the HMC system. I have one HMC that supports several p550s and p570s, each with several LPARs that takes over an hour to complete.

Save Upgrade Data

  1. Expand the Software Maintenance folder, then select the HMC application in the Navigation area.
  2. Select the Save Upgrade Data task in the content area.
  3. An information window opens that prompts you to select the media (Hard drive or DVD). Click Continue.

    Note: The DVD media selection is available for the hscpe user only.

  4. Another information window opens as shown in Figure 6-6. When ready, click Continue.
  5. When the task is complete, an information window opens with this message:

    HSCP0020 The Save Upgrade Data request completed successfully.

  6. Click OK to confirm and close the information window.
How do I automate the Backup Critical Console Data task?

You can automate the Backup Critical Console Data task using the HMC scheduler. Unless you plan on rotating the DVD media, only the most-recent backup image will be on the DVD. To schedule the Backup Critical Console Data task, do the following:
  1. In the Navigation area, expand the HMC Management folder.
  2. In the Navigation area, click the HMC Configuration icon.
  3. In the Contents area, click Schedule Operations.
  4. From the list, select the HMC you want to back up and click OK.
  5. Select Options > New.
  6. In the Add a Scheduled Operation window, select Backup Critical Console Data and click OK.
  7. In the appropriate fields, enter the time and date that you want this backup to occur.
  8. Click the Repeat tab and select the intervals at which you want the backup to repeat and press Enter.
  9. When you have set the backup time and date, click Save. When the Action Completed window opens, click OK. A description of the operation displays in the Scheduled Operations window.
Tutorial Tools

Featured Tutorials
Read more
Virtualization and Power

Starting with Virtualization
  #1  
By sha012 on July 5th, 2006
Lightbulb Re: Backing UP Your Hardware Management Console

Hi,

I scheduled this backup to happen every friday.

My question is when me automate "where is this copy of backup sitting?"

If I were to do this manually, I would have to mention the location for the backup DVD/NFS mount pt etc..


Thankyou
Shiva
Reply With Quote
  #2  
By dthacker on July 5th, 2006
Re: Backing UP Your Hardware Management Console

Just to clarify, I'm reading that the DVD is overwritten every time you back up to DVD. Multiple backups are not stored on the DVD. If you want multiple backups, you must rotate the DVD. Is that correct?

Dave
Reply With Quote
  #3  
By FASherman on July 5th, 2006
Re: Backing UP Your Hardware Management Console

That is correct. The DVD will be overwritten each time. I usually rotate 4 DVDs to have a month's worth of backups.
Reply With Quote
  #4  
By feb on September 1st, 2006
Re: Backing UP Your Hardware Management Console

Is there any way to automate the backup to an NFS directory. I can do this manually, but it would be very helpful to do it automatically.
Reply With Quote
  #5  
By kongyw on September 16th, 2006
Re: Backing UP Your Hardware Management Console

This tutorial is great. Wish I had read this earlier. That would have made my life much easier.

It is a bit puzzling though that the Upgrade Data backup onto DVD-RAM needs hscpe user. I have made such a backup as hscroot myself. In fact, it saved me from having to rebuild the HMC from scratch due to a defect in HMC 5.1.0 where the Critical Console Data backup restore corrupts the bootloader - I had numerous problem when upgrading from 5.1.0 to 5.2.1. Apparently, that is a fairly common problem - refer to the HMC 5.2.x cummulative fix MH00822 webpage. (Sorry, URL not allowed yet due to less than 5 posts).

In fact, I think backing up the Upgrade Data onto DVD-RAM should be part of best practice. Selecting DVD-RAM will actually backup the Upgrade Data to both the hard disk and DVD-RAM.

Thanks.
Yun-Wai Kong
Reply With Quote
  #6  
By kah00na on October 20th, 2006
Re: Backing UP Your Hardware Management Console

I want to automate my HMC Critical Console Data backups to FTP to my NIM server so they will get backed up to our TSM server. How can I automate this?

I have been backing up weekly to DVDs but I don't know how to tell if they were actually sucessful or not.
Reply With Quote
  #7  
By alanmoon on October 20th, 2006
Re: Backing UP Your Hardware Management Console

Kah00na,
I just wrote a shell script that opens an ssh to the hmc, issues the bkconsdata command and passes the variables of the NFS host and mount point to put it on.

/usr/bin/ssh hscroot@hmc1 bkconsdata -r nfs -h $HOST -l $NFSDIR

I have multiple HMCs so I put them in an array and sequentially increment through them. I had to be careful of the naming of the file as well. Each file shows up with a unique date time stamp name and I never know what it is until it lands. I just clean up the directory before the first file lands and then rename the file after it has comlpleted. After all that is done I issue a dsmc inc $filename command to back it up. I added it to cron and it runs once a week. I hope that helps
Last edited by alanmoon; October 23rd, 2006 at 10:59.
Reply With Quote
  #8  
By kah00na on October 23rd, 2006
Re: Backing UP Your Hardware Management Console

Thanks alanmoon!! That is EXACTLY what I needed. Instead of choosing "-r nfs", I changed it to "-r ftp" and added "-u $USER" and "-passwd $PASS" and now I'm in business again. Finally, no more DVD 1.5 hour DVD backups!

Here's my entire command to do a ftp backup:
/usr/hmcrbin/bkconsdata -r ftp -h $HOST -u $USER -passwd $PASS

Thanks again alanmoon!!
Reply With Quote
  #9  
By alanmoon on October 23rd, 2006
Talking Re: Backing UP Your Hardware Management Console

kah00na,
Glad I could help!

Reply With Quote
Comment

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


LinkBacks (?)
LinkBack to this Thread: http://www.pseriestech.org/forum/tutorials/backing-up-your-hardware-management-console-74.html
Posted By For Type Date
nichogl's Bookmarks on Delicious This thread Refback 2 Weeks Ago 10:41
nichogl's Bookmarks on Delicious This thread Refback 2 Weeks Ago 17:39

Currently Active Users Viewing This Tutorial: 1 (0 members and 1 guests)
 
Tutorial Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Backing up your HMC FASherman Hardware Management Console 10 March 19th, 2008 17:59
How to Use the Advanced System Management Interface for Troubleshooting and Recovery FASherman Tutorials 4 March 4th, 2008 12:23
Console issues (p5 9116 model 561) SunGuy Hardware Management Console 5 July 9th, 2007 14:45
Trouble getting serial console tb0ne AIX for POWER Systems 3 April 18th, 2007 19:02
IBM's Open Source Muse alexisl Articles 0 July 20th, 2006 11:20



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com

Tutorial powered by GARS 2.1.8m ©2005-2006


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50