Is it possible to install a newer version of the Spool Web Interface over an existing HFS/zFS dataset that already contains an older version?
search cancel

Is it possible to install a newer version of the Spool Web Interface over an existing HFS/zFS dataset that already contains an older version?

book

Article ID: 24520

calendar_today

Updated On:

Products

OM Spool

Issue/Introduction

Is it possible to install a newer version of the Spool Web Interface over an existing HFS/zFS dataset that already contains an older version?

 

 

Environment

Spool

Resolution

 

Yes, it is possible by creating new directories to install the newer version of the Spool Web Interface version while using the same HFS/zFS dataset that already contains an older copy of it.

The directories for the OM Spool Web interface are named /usr/lpp/caspool and /usr/lpp/caspool/images by default.
If you want to keep both versions of the OMSpool Web interface under the same HFS/zFS dataset, you do not want to use the same directories.
You would create a new directory level in the directory path. For example /usr/lpp/caspool/vnnn and /usr/lpp/caspool/vnnn/images.
The corresponding release dependent DDDEFs definitions (CBQ4HFBN and CBQ4HFS) have to be changed also to reflect the new path.
This is where the newer OM Spool Web interface component will be installed then.

1.- Consider using a job similar to this one to accomplish this task: 

//*********************************************************************
//*  CREATE CA SPOOL MOUNT POINT HFS DIRECTORY.                       *
//*********************************************************************
//* 
//MKDIRHFS EXEC PGM=IKJEFT01 
//SYSTSPRT  DD  SYSOUT=* 
//SYSPRINT  DD  SYSOUT=* 
//SYSTSIN   DD  * 
PROF MSGID 
MKDIR '/usr/lpp/caspool/vnnn'        MODE(7,7,7) 
/* 
//* 
//*********************************************************************
//*  CREATE CA SPOOL HFS DIRECTORIES.                                 *
//*********************************************************************
//* 
//MKDIRHFS EXEC PGM=IKJEFT01 
//SYSTSPRT  DD  SYSOUT=* 
//SYSPRINT  DD  SYSOUT=* 
//SYSTSIN   DD  * 
PROF MSGID 
MKDIR '/usr/lpp/caspool/vnnn/images' MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/vnnn/swap'   MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/vnnn/logs'   MODE(7,7,7) 
/* 
//********************************************************************* 
//*  CHANGE FILE PERMISSIONS FOR ALL CA SPOOL HFS DIRECTORIES.        * 
//********************************************************************* 
//* 
//HMODHFS EXEC PGM=BPXBATCH,REGION=0M, 
//         PARM='SH chmod -R 0777 /usr/lpp/caspool/vnnn' 
//

2.- The job must run on the same system where the HFS/zFS dataset is currently mounted for the /usr/lpp/caspool path.

3.- All the MKDIRs commands in the above first two steps can also be consolidated into one single step if necessary:

PROF MSGID 
MKDIR '/usr/lpp/caspool/vnnn'        MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/vnnn/images' MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/vnnn/swap'   MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/vnnn/logs'   MODE(7,7,7)

4.- The MODE (7,7,7) parameter establishes the following access level 'drwxrwxrwx' for all the directories the job is creating.

Note: Newer versions of Spool Web interface are not forward or backward compatible with other version. New changes are incorporated across releases so unpredictable results may result should mixed modules be encountered.