Verification of metadata migration commands
(RHEL5.8 on HP G6)
Recently upgraded to 7.5.0.3 from 6.5.2. Using NetBackup_75_Upgrade_Guide-1.pdf version 6, it appears Phase 1 went well:
nbemmcmd -listsettings -brief -machinename backup
ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA="no"
DISABLE_DISK_STU_JOB_THROTTLING="no"
DISABLE_STANDALONE_DRIVE_EXTENSIONS="no"
MEDIA_REQUEST_DELAY="0"
MUST_USE_LOCAL_DRIVE="no"
NON_ROBOTIC_MEDIA_ID_PREFIX="A"
MAX_REALLOC_TRIES="1000"
DISABLE_BACKUPS_SPANNING_DISK="no"
DISALLOW_NONNDMP_ON_NDMP_DRIVE="no"
DO_NOT_EJECT_STANDALONE="no"
PREFER_NDMP_PATH_FOR_RESTORE="yes"
DONT_USE_SLAVE="no"
DRIVE_ERROR_THRESHOLD="2"
MEDIA_ERROR_THRESHOLD="2"
TIME_WINDOW="12"
SCSI_PROTECTION="SR"
NBUFS_DUP_TSU_TO_DSU="no"
NBUFS_DESTINATION_DSU="NONE"
NBUFS_RETENTION_LEVEL="0"
MPMS_DISABLE_RANK="0"
MPMS_DISABLE_EVENTS="no"
UNRESTRICTED_SHARING="no"
FATPIPE_USAGE_PREFERENCE="Preferred"
FATPIPE_WAIT_PERIOD="15"
FATPIPE_RESTORE_WAIT_PERIOD="5"
FT_MAX_CLIENT_PORTS_PER_SERVER="2"
FT_MAX_CLIENTS_PER_PORT="2"
SHAREDDISK_MOUNT_POINT="/nbushareddisk"
AUDIT="ENABLED"
AUDIT_RETENTION_PERIOD="90"
SLP_DSSU_MIGRATION_STATE="1"
LIST_FS_IMAGE_HEADERS="0"
RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL="yes"
VAULT_CLEAR_MEDIA_DESC="no"
SCSI_PERSISTENT_RESERVE="0"
However, the phase 2 portion appears to be incomplete because: LIST_FS_IMAGE_HEADERS = YES
Yet when viewing the Detailed status tab of image cleanup that has run everything indicates successful:
10/31/2012 10:13:22 - Info bpdbm (pid=16480) image catalog cleanup
10/31/2012 10:13:22 - Info bpdbm (pid=16480) Importing flat file image headers into the database.
10/31/2012 10:13:22 - Info bpdbm (pid=16480) [000:00:00] Initiating import for client: Inside
10/31/2012 10:13:23 - Info bpdbm (pid=16480) [000:00:01] Finished importing images for client: Inside with 14 imported, 0 skipped, 0 corrupt.
10/31/2012 10:13:23 - Info bpdbm (pid=16480) [000:00:01] Overall progress: 14 images imported, 0 skipped, 0 corrupt. Import rate = 14 images/sec
10/31/2012 10:13:23 - Info bpdbm (pid=16480) [000:00:01] Initiating import for client: backup
10/31/2012 10:13:23 - Info bpdbm (pid=16480) [000:00:01] Finished importing images for client: backup with 101 imported, 0 skipped, 0 corrupt.
10/31/2012 10:13:23 - Info bpdbm (pid=16480) [000:00:01] Overall progress: 115 images imported, 0 skipped, 0 corrupt. Import rate = 115 images/sec
10/31/2012 10:13:23 - Info bpdbm (pid=16480) Finished importing all images into the database. (Count = 115)
10/31/2012 10:13:23 - Info bpdbm (pid=16480) Cleaning up tables in the relational database
10/31/2012 10:13:23 - Warning bpdbm (pid=16480) Hot catalog backup is not configured for 'backup', catalog cleanup will return partial success until hot catalog backup is configured.
10/31/2012 10:13:23 - Info bpdbm (pid=16480) deleting images which expire before Wed Oct 31 11:13:22 2012 (1351696402)
10/31/2012 10:13:24 - Info bpdbm (pid=16480) deleted 6 expired records, compressed 0, tir removed 0, deleted 0 expired copies
the requested operation was partially successful (1)
My confusion is in step 12 it gives instructions to confirm if phase 1 and phase 2 have completed to run the following commands respectively:
/usr/openv/netbackup/bin/admincmd/nbemmcmd -listsettings -brief -machinename masterservername
/usr/openv/netbackup/bin/admincmd/bpgetconfig
Yet I have seen posts that stated not to run the bpgetconfig command for 7.5.0.3 to make this determination.
How can I determine that my phase 2 has completed successfully?
Thanks....
SLP_DSSU_MIGRATION_STATE="1" for phage 1 compleation
LIST_FS_IMAGE_HEADERS="0" for phase 2 compleation
in your case..both are compleated successfully ..
you can go ahead with the next step
i am not sure where you are seeing as LIST_FS_IMAGE_HEADERS="YES", because your above output showing as LIST_FS_IMAGE_HEADERS="0 which indicates compleation status
From Upgrade doc:-
Wait for both phase 1 and phase 2 migrations to complete.
■ On Windows systems:
install_path\NetBackup\bin\admincmd\nbemmcmd -listsettings
-brief -machinename masterservername
If the result shows SLP_DSSU_MIGRATION_STATE="1", phase 1 has completed.
If the result shows SLP_DSSU_MIGRATION_STATE="0", phase 1 has not completed.
If the result shows LIST_FS_IMAGE_HEADERS = "0", phase 2 has completed.
If the result shows LIST_FS_IMAGE_HEADERS = "1" or if no result appears,Phase 2 has not completed.