?
Solved

proper method to backup IBM WAS7.

Posted on 2012-09-07
5
Medium Priority
?
605 Views
Last Modified: 2012-09-07
Hi,

Is there any recommended method to backup/restore IBM WAS7 and its applications?

Thanks.
0
Comment
Question by:sminfo
  • 3
  • 2
5 Comments
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 2000 total points
ID: 38375387
Hi again,

IBM have withdrawn their product "TSM for Application Servers", so there is no longer a direct interface between WAS and TSM.

IBM now recommend using the imbedded WebSphere Application Server backup support to create a flat file which can then be backed up using the standard TSM BA client.
This can be kind of automated using the "Preschedulecmd" facility of TSM's central scheduler.

This is what IBM write in their "Software withdrawal and support discontinuance" announcement:

Note: Although Tivoli Storage Manager for Application Servers will no longer be available to back up WebSphere Application Server, WebSphere Application Server data can still be backed up to Tivoli Storage Manager or Tivoli Storage Manager Extended Edition using the recommended approach below.

Use Tivoli Storage Manager backup/archive client and WebSphere Application Server (WAS) backupConfig command:

The recommendation for backing up WebSphere Application Server V6 or later to Tivoli Storage Manager is to use the imbedded WebSphere Application Server backup support to back up to local disk and then use the Tivoli Storage Manager backup/archive client to back up the disk files to Tivoli Storage Manager.
The backupConfig command provided by WebSphere Application Server copies the contents of the profile's config directory tree to a zip file. A corresponding restoreConfig command can restore the configuration from the backup zip.
You can use Tivoli Storage Manager preschedulecmd option to initiate backupConfig automatically prior to scheduled Tivoli Storage Manager backups.
It's from here:
http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=AN&subtype=CA&htmlfid=897/ENUS907-186&appname=USN

I'm not a real WAS expert, but I think you know what they are trying to say when mentioning the "imbedded WebSphere Application Server backup support", right?

Good luck!

wmp
0
 

Author Comment

by:sminfo
ID: 38375417
yes wmp... this backupCOnfig is right for me... .let me take a look at how it works.. I have TSM on this LPAR.. so I think I can use it...  give me some minutes to see the script...
0
 

Author Comment

by:sminfo
ID: 38375437
ok, I executed the command, it shutdowns WAS, and create a zip file to a folder which is backup to TSM... now, to restore, in case of crash, it I supposed I have to install the same version of WAS and execute the restoreConfig.sh...of course, keeping the same hostname and IP address... what do u think?
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 38375464
I think you're basically correct, although I don't know whether the saved config would contain references to hostname and IP - but it sounds reasonable, anyway.

I think "installing" WAS is a bit overdone.

In case of a crash it should be sufficient restoring an mksysb to get back the rootvg (including the TSM client installation), recreate the filesystem structure on the data vg(s) (or restore a "savevg -r" backup) to then restore the WAS binaries etc. which you have (hopefully) backed up using TSM BA.
As a final step you would perform restoreConfig using the zip file restored in the previous step.
0
 

Author Closing Comment

by:sminfo
ID: 38375509
perfect wmp!!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month15 days, 22 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question