For reinstallation of entire catalogs you can use a simple aldo command: ./aldo ci grid=<grid name> catalogs=<catalogs>
However if you want to install just a single catalog class its a bit more invovled. In the example below I will be importing the /system:NET catalog class to replace the existing one that has a corrupt volume.
From the controller we first create a temporary directory on /vol/_impex/. I called mine net.
[controller]# mkdir /vol/_impex/net
Now, on the BFC we need to extract the system catalog and copy over the relevant files to the controllers impex volume, in the net directory we created. We need to grab all of the NET.* files and the package.desc file.
[BFC]# cd /opt/bfc/applogic_versions/3.0.30/ [BFC]# mkdir temp [BFC]# cd temp [BFC]# tar xvf ../system-1.4.10.tar [BFC]# scp NET* package.desc <controller IP>:/vol/_impex/net/
Now back on the controller we can import the class:
[controller]# 3t class import /system:NET net --force Removing class 'NET'... Importing class NET... Copying volume NET.boot... Done Copying volume NET.usr... Done APPLOGIC RESTRICTED AREA [controller]#
The --force is needed here to overwrite the old system catalog.
And we are done. All that is needed now is to clean up the temp directories we created on the impex volume and on the BFC.
|
Copyright © 2012 CA.
All rights reserved.
|
|