Strange Maintenance script issue with Protect pool/replicate node

DavrosDalek

ADSM.ORG Member
Joined
Jan 15, 2009
Messages
26
Reaction score
2
Points
0
Hi Guys

I have moved to container storage and modified my maintenance script to suit, i am replicating to another tsm server in a remote site.


My maintenance script looks like this

/* ---------------------------------------------------- */

/*
/* Script Name: MAINTENANCE
/* Storage Pool Protection
/* Node replication */
/* Backup database, device config and volhist */
/* Audit licenses and prepare recovery plan*/
/* Expire Inventory
/* ---------------------------------------------------- */
/* Run script commands in serial mode */
SERIAL
/*
/* Storage Pool Protection
PROTECT STGPOOL PRIMARY_POOL
/*
/* Node replication
REPLicate Node * Wait=Yes
/*
/* Delete previous backup volume history. Keep 14 days of dbbackup history.
delete volhistory type=DBBackup todate=today-14
/*
/* Backup database, device config and volhistory */
backup db type=full devc=dbfulldevc scratch=yes wait=yes
/* Backup Config Files */

backup devconf
backup volh
/* Audit Licenses */
audit license wait=yes
/* Write DR plan out to DRM recovery plan location */
prepare planprefix=Q:\E3TSM01\DRPLAN\
/* Expire inventory */
expire inventory dur=120

/* END */

If i run a preview i get this

ANR1461I RUN: Executing command script IBM--TEMPORARY--SCRIPT++TEST.

ANR1466I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST, Line 55 : SERIAL.
ANR1466I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST, Line 115 : backup db type=full devc=dbfulldevc scratch=yes wait=yes.
ANR1466I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST, Line 125 : backup devconf.
ANR1466I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST, Line 130 : backup volh.
ANR1466I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST, Line 140 : audit license wait=yes.
ANR1466I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST, Line 150 : prepare planprefix=Q:\E3TSM01\DRPLAN\.
ANR1466I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST, Line 160 : expire inventory dur=120.

ANR1470I RUN: Command script IBM--TEMPORARY--SCRIPT++TEST completed successfully (PREVIEW mode).

If i pipe the command to a txt file i get this

ANR0984I Process 73 for Database Backup started in the FOREGROUND at 15:13:04.
ANR4559I Backup DB is in progress.
ANR2280I Full database backup started as process 73.
ANR4626I Database backup will use 1 streams for processing with the number originally requested 1.
ANR4550I Full database backup (process 73) completed. Total bytes backed up: 54,791,241,728.
ANR0985I Process 73 for Database Backup running in the FOREGROUND completed with completion state SUCCESS at 15:26:50.
ANR2394I BACKUP DB: Server device configuration information was written to all device configuration files.
ANR2394I BACKUP DEVCONFIG: Server device configuration information was written to all device configuration files.
ANR2463I BACKUP VOLHISTORY: Server sequential volume history information was written to all configured history files.
ANR2817I AUDIT LICENSES: License audit started as process 74.
ANR1462I RUN: Command script MAINTENANCE completed successfully.



My Storage Pool Protection (PROTECT STGPOOL PRIMARY_POOL) and Node replication (REPLicate Node * Wait=Yes) doesn't run.


I have tried adding wait=yes after the PROTECT STGPOOL PRIMARY_POOL command as well.

Anybody got a clue as to why ?

If i run another script with the commands in them they run fine.

Help ! :eek:

Craig






 
what actually logged there in your ACTLOG , only need to know if any errors or conflict has been occurred
 
Back
Top