IBM Support

How do I retrieve Centera Clip ID for restoring data to an IBM Security Guardium appliance ?

Question & Answer


Question

How do I retrieve Centera Clip ID for restoring data to an IBM Security Guardium appliance when I no longer have the archive file in the Catalog Archive, for example when archive is from a legacy or non-active appliance?

Answer

You will have to raise a support ticket with IBM Security Guardium support as root access is needed to get this information.


As root, on the appliance you want to restore the archive to, these commands need to be run by IBM Technical Support

# export LD_LIBRARY_PATH=/usr/local/Centera/lib/


# /usr/java/jdk1.5.0_09/bin/java -classpath
/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/FPLibrary.jar:/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/GlobalUtils.jar:/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/ExternalArchiveSystems.jar com.guardium.externalarchiving.CenteraQuery -a 111.222.333.44?/var/centera/user3.pea -start_time 2018.01.07.80.00.00 -end_time 2018.01.08.23.59.00

Note:-

  • 111.222.333.44 is the Centera pool address.
  • The pool address must the same pool address when the archive was made.
  • The start_time refers to the date time when the archive was taken and not the date time of the archived data. For example, the archived data contains 2012-03-27 data and the data archive was performed on 2012-03-28 so the start time is 2012-03-28.00.00.00.
  • If the archived data contains more than a day of data, you may specify end_time. Otherwise use end_time -1 if archived data contains one day worth of data.
  • /var/centera/user3.pea is the full path of the pea file, replace accordingly.

If you run above command and get this java error


[root@guard ~]# export LD_LIBRARY_PATH=/usr/local/Centera/lib/
[root@guard ~]# /usr/java/jdk1.5.0_09/bin/java -classpath
/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/FPLibrary.jar:/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/GlobalUtils.jar:/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/ExternalArchiveSystems.jar com.guardium.externalarchiving.CenteraQuery -a 111.222.333.44?/var/centera/user3.pea
-start_time 2018.01.07.80.00.00 -end_time -1
received FP_QUERY_RESULT_CODE_PROGRESS, continuing.
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.log4j.Logger
at com.guard
at com.guardium.utils.i18n.AbstractThought.<clinit>(AbstractThought.java:30)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:202)
at com.guardium.utils.Utils.<clinit>(Utils.java:82)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)
at
com.guardium.externalarchiving.CenteraUtils.queryFiles(CenteraUtils.java:212)
at com.guardium.externalarchiving.CenteraQuery.main(CenteraQuery.java:66)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader.findClass(URLClassLoader.java:602)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:777)
at java.lang.ClassLoader.loadClass(ClassLoader.java:750)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:326)
at java.lang.ClassLoader.loadClass(ClassLoader.java:731)
... 9 more


please add log4j-1.2.16.jar after the last jar file in the command.

# export LD_LIBRARY_PATH=/usr/local/Centera/lib/

# /usr/java/jdk1.5.0_09/bin/java -classpath
/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/FPLibrary.jar:/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/GlobalUtils.jar:/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/ExternalArchiveSystems.jar:/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/log4j-1.2.16.jar
com.guardium.externalarchiving.CenteraQuery -a 111.222.333.44?/var/centera/user3.pea -start_time 2018.01.07.80.00.00 -end_time -1

You may cut & paste below:

/usr/local/jakarta-tomcat-4.1.30/webapps/ROOT/WEB-INF/lib/log4j-1.2.16.jar

[{"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Guardium Database Activity Monitor","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"10.0;10.1;8.2;9.0;9.1;9.5","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
12 December 2019

UID

swg21979695