Discussion:
Exporting a WebSphere configuration...
(too old to reply)
j***@cognizant.com
2006-02-15 08:45:14 UTC
Permalink
Hi,

We are using WAS 5.1.x.
We have been able to get our application depolyed and working on it.

However the configuration the JAAS auth entries, JMS topic entries, ConnectionPool settings and the like, was quite a painfull exercise.

It was all done through the admin console and not through JACL scripts.

As WAS stores all the configuration in multiple XML files is their a way to export the setings of my current working instance.

I wish to avoid the painful monotonous process of re-configuring another instance which we need to use going forward.

thx
g1
m***@pinkroccade.com
2006-02-15 09:29:32 UTC
Permalink
Use the backupConfig.sh or backupconfig.bat from the WebSphere/AppServer/bin directory to backup your WebSphere configuration. The XML confgiration files will be copied to a ZIP file.

backupConfig.sh filename -username <user> -password <password>

To restore the configuration use the restoreConfig.sh or restoreconfig.bat.

--Marcel
j***@cognizant.com
2006-02-15 10:21:57 UTC
Permalink
Thanks a lot.

You helped me save quite a few person days.

In my case the zip file was a voluminous 25mb.

Is it possible to filter what "backupConfig.sh" exports?

..
g1
Post by m***@pinkroccade.com
Use the backupConfig.sh or backupconfig.bat from the
WebSphere/AppServer/bin directory to backup your
WebSphere configuration. The XML confgiration files
will be copied to a ZIP file.
r***@yahoo.com.ar
2006-02-15 12:05:37 UTC
Permalink
Hi,
What you want to do is not available in WAS 5.1, just in WAS 6.0
via AdminTask serverExport ....,
For some configuation xml files in WAS 5.1 you can copy or move them to
another server or cell.

Bye
Dexthor
2006-02-15 14:22:47 UTC
Permalink
If the other server that you want to create is in tthe same Cell then
you can use your FirstServer as the template and it should inherit all
the settings you have on the first one.

If you take time, you can write JACL scripts that read the
configuration off of the the first server and you can use them to
create your new ones (more suitable when you have the new server in a
different Cell !)

-Dexthor.
Ola
2006-02-15 19:24:36 UTC
Permalink
I'm not sure if this is the right approach. This will be doable if the
restored server has the same Node name, Cell, server names, include
hostname. The recommenedation below is good for disaster recovery process.
Your best approcah will be scripting

I hope Version 6 has a simple approach to this pain saking task
Post by j***@cognizant.com
Thanks a lot.
You helped me save quite a few person days.
In my case the zip file was a voluminous 25mb.
Is it possible to filter what "backupConfig.sh" exports?
..
g1
Post by m***@pinkroccade.com
Use the backupConfig.sh or backupconfig.bat from the
WebSphere/AppServer/bin directory to backup your
WebSphere configuration. The XML confgiration files
will be copied to a ZIP file.
j***@cognizant.com
2006-02-16 07:59:37 UTC
Permalink
Thanks,

Discovered that the hard way. Created a backup on machine-A and restored it on machine-B.
Now, WAS on Machine-B fails to start; its Configuration is now corrupted.

Anyways,
There is a way to create/ delete profiles; see the post:

http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=266&thread=108086&cat=9
Post by Ola
I'm not sure if this is the right approach. This will
be doable if the restored server has the same Node name, Cell, server
names, include hostname.
s***@yahoo.co.in
2006-02-15 20:29:05 UTC
Permalink
It is advisable to run the backupconfig.sh file only if you want to take a backup of every thing, in case you feel that your server has become unstable.

you can then use this file to restore all of the original configurations on your server in case if it fails.But this works only if you have a new server with the same name and node name as the former.

So i advice you to use the scripting languages preferably JACL to go ahead with your work.

All the best.
Loading...