Is there a way to have CA CSM automatically mount file systems for products that were not originally installed by CA CSM? Also for those products with file systems that were originally installed by CA CSM but were removed and re-migrated back into CA CSM?
Release: MSMNGR00200-5.1-Chorus Software Manager
This is possible. First run the DBSQLPR JCL below to get the maximum MOUNTPOINTID value.
//STEP05A EXEC PGM=DBSQLPR,
//STEPLIB DD DSN=hlq.CUSLIB,
// DD DSN=hlq.CAAXLOAD,
//CXX DD DSN=hlq.CXX,
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//OPTIONS DD *
//SYSIN DD *
SELECT MAX(MOUNTPOINTID) FROM MOUNTPOINT;
The hlq for CXX, CAAXLOAD and CUSLIB is in the MSMMUF startup JCL.
Next use this input to create a mountpoint record for your CSI by running the DBSQLPR JCL with this SYSIN:
//SYSIN DD *
INSERT INTO MOUNTPOINT (MOUNTPOINTID,
Replace NNN with the max current value of MOUNTPOINTID taken from the DBSQLPR result plus 1.
Replace /..../product/path with your path and FILE.SYSTEM.ZFS with your file system name.
Replace PRODUCT.CSI with the name of your CSI dataset.
Current maximum returned 300 so NNN should be replaced with 301.
File system name:
CSI dataset name:
Remove the mount=aggrgrow parm if it is an HFS file system.
The Julian datetime value of 1501608992440 can be modified to the current Julian datatime but this is not significant.