Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Verification of metadata migration commands

Created: 21 Nov 2012 • Updated: 05 Jan 2013 | 3 comments
This issue has been solved. See solution.

(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....

 

Comments 3 CommentsJump to latest comment

RamNagalla's picture

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.

 

 

SOLUTION
yhbg's picture

I think I get it now. Since I am on a Linux platform wait and run this command until I've completed both:

# /usr/openv/netbackup/bin/admincmd/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"         <-------------phase 1 complete   
LIST_FS_IMAGE_HEADERS="0"              <--------------phase 2 complete
RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL="yes"
VAULT_CLEAR_MEDIA_DESC="no"
SCSI_PERSISTENT_RESERVE="0"

And I should not run: 

# /usr/openv/netbackup/bin/admincmd/bpgetconfig
SERVER = backup
SERVER = inside
KNOWN_MASTER
MASTER_OF_MASTERS
USEMAIL = root@localhost
BPBACKUP_POLICY = any
BPBACKUP_SCHED = any
BPARCHIVE_POLICY = any
BPARCHIVE_SCHED = any
CLIENT_NAME = backup
REQUIRED_INTERFACE = backup
COMPRESS_SUFFIX
BELIEVE_MOUNTS = NO
VERBOSE = 5
BPDBM_VERBOSE = 0
BPRD_VERBOSE = 0
BPSCHED_VERBOSE = 0
BPBRM_VERBOSE = 0
BPTM_VERBOSE = 0
BPDM_VERBOSE = 0
VAULT_VERBOSE = 0
BPJOBD_VERBOSE = 0
NBPROXY_VERBOSE = 0
MAXFILELIST_ALLOWED_FOR_DISPLAY = 50
SectorsPerBuffer = 32
PEM_VERBOSE = -1
JM_VERBOSE = -1
RB_VERBOSE = -1
MEGABYTES_OF_MEMORY = 0
RESTORE_RETRIES = 0
RESTORE_PRIORITY = 99999
MUST_USE_LOCAL_DRIVE = NO
RE_READ_INTERVAL = 300
LOCKED_FILE_ACTION = WAIT
SERVER_CONNECT_TIMEOUT = 30
CLIENT_CONNECT_TIMEOUT = 300
CLIENT_READ_TIMEOUT = 300
APOLLO_RESTORE_TIMEOUT = 0
BPSTART_TIMEOUT = 300
BPEND_TIMEOUT = 300
LIST_FILES_TIMEOUT = -1
MAX_APOLLO_RESTORE_ARG_CHARS = 9000
ALLOW_MEDIA_OVERWRITE
KEEP_DATABASE_COMM_FILE = NO
ORACLE_HOME =
INFORMIX_HOME =
SYBASE_HOME =
EXCHANGE_HOME =
SQL_SERVER_HOME =
SAP_HOME =
DB2_HOME =
NDMP_HOME =
MEDIA_ID_PREFIX =
DISABLE_STANDALONE_DRIVE_EXTENSIONS = NO
ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA = NO
DISALLOW_BACKUPS_SPANNING_MEDIA = NO
MEDIA_REQUEST_DELAY = 0
MEDIA_UNMOUNT_DELAY = 180
MAX_VAULT_JOBS = 50
MPX_RESTORE_DELAY = 30
DISABLE_JOB_LOGGING = NO
DISALLOW_SERVER_FILE_WRITES = NO
DO_NOT_RESET_FILE_ACCESS_TIME = NO
USE_CTIME_FOR_INCREMENTALS = NO
BUSY_FILE_PROCESSING = NO
BUSY_FILE_DIRECTORY =
BUSY_FILE_NOTIFY_USER = root
BUSY_FILE_ACTION
LIMIT_BANDWIDTH
THROTTLE_BANDWIDTH
INITIAL_BROWSE_SEARCH_LIMIT = 0
ALLOW_NON_RESERVED_PORTS = YES
CRYPT_KEYFILE =
CRYPT_LIBPATH =
CRYPT_OPTION = ALLOWED
CRYPT_STRENGTH = DES_40
CRYPT_CIPHER = AES-256-CFB
CRYPT_KIND = STANDARD
CRYPT_ALTAES = NO
DISALLOW_CLIENT_LIST_RESTORE = NO
DISALLOW_CLIENT_RESTORE = NO
ALLOW_BLOCK_INCREMENTALS = NO
FORCE_RESTORE_MEDIA_SERVER
FAILOVER_RESTORE_MEDIA_SERVERS
NEARSTORE_FAILOVER_SERVER
ALLOW_NDMP = NO
ALLOW_ENCRYPTION = NO
ALLOW_FLASHBACKUP = NO
NFS_ACCESS_TIMEOUT = 5
USE_CTIME_FOR_DIRECTORY_INCRS = NO
AUTO_CORRECT_POLICY = YES
SERVER_SENDS_MAIL = YES
Debug_Database = 0
ALLOW_DISASTER_RECOVERY = NO
KEEP_LOGS_DAYS = 3
ENABLE_ROBUST_LOGGING = YES
PREFERRED_GROUP =
AUTHORIZE_SERVER =
RANDOM_PORTS = YES
LOTUS_NOTES_PATH =
LOTUS_NOTES_INI =
LOTUS_NOTES_LOGCACHEPATH =
LOTUS_NOTES_LOGCACHESIZE = 0
LOTUS_NOTES_USERID =
LOTUS_NOTES_EXECDIR =
CLIENT_RESERVED_PORT_WINDOW = 512 1023
SERVER_RESERVED_PORT_WINDOW = 512 1023
CLIENT_PORT_WINDOW = 0 0
SERVER_PORT_WINDOW = 1025 5000
ALLOW_TPC = NO
CONNECT_OPTIONS = localhost 1 0 2
DEFAULT_CONNECT_OPTIONS = 0 1 0
ACCEPT_PORT = AUTOMATIC
REQUEST_DELIVERY_TIMEOUT = 300
MEDIA_SERVER
DISABLE_SCSI_RESERVE = NO
Time_Overlap = 60
Buffer_Size = 128
Use_Archive_Bit = YES
Perform_Default_Search = YES
Accumulate_Files = NO
User_Directed_Timeout = 60
Announce_DHCP_Interval = 0
Clear_Archive_Bit_Incr_Wait = 300
Exclude
Include
Browser =
Clients
Port_BPCD = 13782
Port_BPRD = 13720
Debug_Flush = 0
Debug_Heap = 0
Debug_Level = 0
Debug_TCP = 0
OTM_Cache_Control = 0
OTM_Cache_File =
OTM_Cache_Size_Init = 10
OTM_Cache_Size_Max = 50
OTM_Error_Control = 0
OTM_Logging = 0
OTM_Quiescent_Wait = 5
OTM_Quiescent_Timeout = 60
OTM_Current = NO
OTM_Exclude = 0
OTM_Sync_Timeout = 60
OTM_Use = YES
VSP_CacheVols =
VSP_Exclude =
VSP_Cache_Size_Init = 30
VSP_Cache_Size_Max = 30000
VSP_Error_Control = 0
VSP_Logging = 0
VSP_Quiescent_Wait = 5
VSP_Quiescent_Timeout = 300
VSP_Current = YES
VSP_Sync_Timeout = 60
VSP_Use = YES
Error_Messages_Max = 10
Policy_Type = 0
Client_Version = 31
Case_Sensitive_Exclude_List = NO
Compress_Use = 0
Compress_Buffer_Size = 62
Compress_Minimum_Size = 512
NW_Migrated_Files = NO
NW_Uncompress = NO
EXCHANGE_MAILBOX =
SHAREPOINTV2_USERID =
SHAREPOINTV2_PASSWORD =
SHAREPOINTV2_PASSWORD_KEY =
SHAREPOINTV2_DBCC_CHK_PREBKUP = 0
SHAREPOINTV2_DBCC_CONT_ONERR = 1
SHAREPOINTV2_DBCC_CHK_POSTBKUP = 0
Cluster_Database_Force_Restore = NO
ChangeJournalUse = NO
GENERATE_ENGLISH_LOGS = NO
KEEP_VAULT_SESSIONS_DAYS = 30
KEEP_JOBS_SUCCESSFUL_HOURS = 78
KEEP_JOBS_HOURS = 78
BPDBJOBS_COLDEFS
DB_PORT = 13784
ENABLE_PERFORMANCE_DATA_COLLECTION = YES
CHECKSUM1
CHECKSUM2
DASHBOARD_PORT_WINDOW = 0 0
UNLINK_ON_OVERWRITE = NO
SKIP_RESTORE_TO_SYMLINK_DIR = NO
CHECK_RESTORE_CLIENT = NO
INCOMPLETE_JOB_CLEAN_INTERVAL = 7
EXCHANGE_ENABLE_SIS = NO
EXCHANGE_TRUNCATELOGS_IR = NO
EXCHANGE_BACKUP_REPLICA = 0
EXCHANGE_ESEUTIL_THROTTLE = 0
EXCHANGE_VSS_BACKUP_ALL_LOGFILES = YES
BPTM_MEDIA_HEADER_READ_SIZE = 64
IGNORE_XATTR = NO
USE_FILE_CHG_LOG = NO
NDMP_DAR_ENABLED = YES
OLD_VNETD_CALLBACK = NO
RESOURCE_MONITOR_INTERVAL = 600
VERSIONINFO = "Linux" "2.6.18-308.4.1.el5" "Unknown" "NetBackup" "7.5" 750000
INCOMPLETE_BKUP_JOB_CLEAN_INTERVAL = 3
DSSU_RELOCATION_MAX = 1000
MAX_INDEXING_JOBS = 10
PURGE_INDEX = YES
RESUME_ORIG_DUP_ON_OPT_DUP_FAIL = NO
AUTHENTICATION_DOMAIN
AUTHORIZATION_SERVICE = _NONE_ 0
USE_VXSS = PROHIBITED
VXSS_NETWORK
VXSS_SERVICE_TYPE = INTEGRITYANDCONFIDENTIALITY
PREFERRED_NETWORK
VSP_Auto_Size = YES
VSP_Cache_Percentage = YES
VSP_Max_Percentage = YES
GRFS_ADVERTISED_NAME
SPS_REDIRECT_ALLOWED
SPC_SERVER =
SPC_WEB_SERVER =
DEFAULT_SNAPSHOT_CACHE =
CLUSTER_NAME =
ANY_CLUSTER_INTERFACE = NO
EMMSERVER = backup
EMMPORT = 1556
EMMORBOPTIONS =
REQUIRED_NETWORK =
SSOD_CONFIG_SERVER =
SANCLIENT = 0
NONBLOCKINGPL = 0
FIREWALL_IN =
FIREWALL_OUT =
VXDBMS_NB_DATA = /usr/openv/db/data
VXDBMS_NBDB_BACKUP_OWNER = YES
VXDBMS_NB_CONF =
TRUST_SERVER_CLIENT_NAME = NO
BMR_COLLECT_INFO_TIMEOUT = 0
NBRB_REEVAL_PERIOD = 300
NBRB_FORCE_FULL_EVAL = 1800
NBRB_REEVAL_PENDING = 60
NBRB_RETRY_DELAY_AFTER_EMM_ERR = 60
NBRB_MPX_GROUP_UNLOAD_DELAY = 10
NBRB_CLEANUP_OBSOLETE_DBINFO = 60
NBRB_ENABLE_OPTIMIZATIONS = 1
OPEN_NBSL_NBNOS = 0
FSE_PORT = 0
REVERSE_NAME_LOOKUP = ALLOWED
VNET_OPTIONS = 120 3600 200 40 3 1 30 5 1793 32 0 0
JOB_PRIORITY = 0 0 90000 90000 90000 90000 85000 85000 80000 80000 80000 80000 75000 75000 70000 70000 50000 50000 45000 0 0 0 0 0
NDMP_CLIENT
DISK_CLIENT
VM_PROXY_SERVER
MAX_CORBA_PAYLOAD_SIZE = 262144
KMS_DIR = /usr/openv/kms
LOCAL_CACHE = UNSPEC
NBFSD_STAGING_DIR =
GRANULAR_DUP_RECURSION = 999
AUTO_LOGOFF_TIMEOUT = 0
ENTERPRISE_VAULT_USERID =
ENTERPRISE_VAULT_PASSWORD =
ENTERPRISE_VAULT_PASSWORD_KEY =
ENTERPRISE_VAULT_DBCC_CHK_PREBKUP = 0
ENTERPRISE_VAULT_DBCC_CONT_ONERR = 1
ENTERPRISE_VAULT_DBCC_CHK_POSTBKUP = 0
EXCHANGE_USERID =
EXCHANGE_PASSWORD =
EXCHANGE_PASSWORD_KEY =
EXCHANGE_PERFORM_CONSISTENCY_CHECK = YES
EXCHANGE_IGNORE_CC = YES
ENTERPRISE_VAULT_REDIRECT_ALLOWED
PERFORM_CONSISTENCY_CHECK = YES
CONTINUE_BACKUP_ON_FAILURE = YES
DDNS_RANGE
OPS_CENTER_SERVER_NAME
FAST_CONFIGURED_CLIENT = YES
ORACLE_METADATA = NO
NBUSEARCHSERVER_USERNAME =
NBUSEARCHSERVER_PASSWORD =
NBUSEARCHSERVER_PASSWORD_KEY =
KEEP_DBM_IMAGECHANGELOG_DAYS = 7
HOST_CACHE_PATH =
HOST_CACHE_TTL = 3600
HOST_CACHE_RESYNC_INTERVAL = 900
HOST_CACHE_RESYNC_TIMEOUT = 120
NETBACKUP_APPLIANCE_MODE = NOT_APPLIANCE
CLIENT_KEEP_LOG_DAYS = 0
CD_WHOLE_IMAGE_COPY = YES
IP_ADDRESS_FAMILY = AF_INET
LIST_FS_IMAGE_HEADERS = YES          <------this is where I was thinking phase 2 did not complete
AUTO_ADD_ALL_ALIASES_FOR_CLIENT = NO
TELEMETRY_UPLOAD = NO
CHECK_GETCLIENT_BY_HOSTNAME = 0
NBRNTD_PEER_SOCK_EXPIRATION = 300
NBRNTD_IDLE_TIMEOUT = 300
NBRNTD_MAX_CONNECTIONS = 256
NBRNTD_MIN_KEEP_ALIVE_TIME = 30
NBRNTD_MAX_KEEP_ALIVE_TIME = 60
RESILIENT_NETWORK
NBJM_JOB_UPDATE_TIME = 10
REQUEST_STU_RESOURCE_FOR_SNAPSHOT_JOBS = YES
TFI_PRODUCER_BUFFER_SIZE = 1024

 

Thanks.....

RamNagalla's picture

Thats cool.. Good luck..

 

 

 

if any post helps you Don't forget to give a "Thumbs Up" or mark as "Solution"