machine to enable the HPSS 6.2 system to work properly. On several test machines, we had to open world access to the devices used by the HPSS Core Server and PVL in order for them to initialize properly.

6.3.14. Verify HPSS 4.5 Conversion Results

Prior to running the verification utilities, we recommend that running the DB2 utility RUNSTATS on each table in every database. This will enable the verification utilities to run quicker than if RUNSTATS is not used. For example: “db2 runstats on table hpss.bitfile and indexes all allow write access”.

Prior to running the verification utilities, set the environment variables

HPSS_PRINCIPAL_SSM and HPSS_KEYTAB_FILE_SERVER back to their HPSS 4.5 values as the verification programs need to authenticate with SFS with the proper user credentials. For example, at most sites the HPSS_PRINCIPAL_SSM should be hpss_ssm and the HPSS_KEYTAB_FILE_SERVER should be /krb5/hpss.keytabs. After completing the verifications, these environment variables should be returned to their HPSS 6.2 values.

There are three utilities provided to verify the correctness of the HPSS 4.5 to 6.2 converted metadata. They are located under $HPSS_ROOT/convert62/bin.

db_convert_size_check

db_convert_ns_check

db_convert_address_check

Different degrees of verification may be performed based on the amount of time an HPSS site decides to devote to this task. Verification is highly recommended immediately following the conversion before the 6.2 HPSS servers are started.

Simply executing the verification programs will run them with the recommended or default option. See the utility's usage for additional options which are available. Perform the following steps for each root and non-root subsystem:

6.3.14.1. Capture Session Output

Set up a scripting session to capture the verification output.

% script verify.output

6.3.14.2. Run db_convert_size_check

Run the db_convert_size_check script.

% db_convert_size_check -g /.:/encina/sfs/hpss/globalconfig

The utility db_convert_size_check is provided to verify the existence and size of all the expected DB2 tables following the conversion. This utility checks that all of the expected tables exist and checks the number of records in each table against the number of records in the corresponding SFS metadata file(s). This utility runs quickly and should be run at every site. The default behavior of this utility is to check all metadata tables. If the “-t” option is specified, the utility will only check the given table. If the “-m” option is specified, the utility will perform a metadata consistency check to

HPSS Installation Guide

July 2008

Release 6.2 (Revision 2.0)

211

Page 211
Image 211
IBM HPSS manual Verify Hpss 4.5 Conversion Results, Capture Session Output, Run dbconvertsizecheck