SSH

Creating the /opt/tectia Directory

You can have Tectia Server for IBM z/OS installed into an existing zFS file system (see the section called “Option 2”) or you can create a separate file system for it (see the section called “Option 1).

Tectia Server for IBM z/OS will always be installed to path /opt/tectia.

You need to create the /opt/tectia directory and mount the selected file system to it. If you do neither of the above, the product installation will be tried into the file system where /opt is.

Option 1

When you want to define a zFS file system for the installation, start by creating an empty tectia directory under /opt:

> cd /opt
> mkdir tectia

Ensure that the /opt/tectia directory is writable and that it is owned by the SSHD2 user:

> chmod 755 /opt/tectia
> chown SSHD2:0 /opt/tectia

Next, use the CREAZFS example from SAMPLIB (shown below) to define and format a zFS file system.

CREAZFS:

//DEFINE  EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSUDUMP DD  SYSOUT=*
//AMSDUMP  DD  SYSOUT=*
//DASD0    DD  DISP=OLD,UNIT=3390,VOL=SER=*
//SYSIN    DD  *
 DEFINE CLUSTER (NAME(SSZ.OPT1.ZFS) VOLUMES(*) -
 LINEAR CYLINDERS(200 50))
//*
//      IF DEFINE.RC = 0 THEN
//FORMAT  EXEC PGM=IOEAGFMT,REGION=0M,
//            PARM=('-aggregate SSZ.OPT1.ZFS -compat')
//SYSPRINT DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//SYSUDUMP DD  SYSOUT=*
//CEEDUMP  DD  SYSOUT=*
//      ENDIF 

To mount the file system on /opt/tectia use the MOUNZFS example from SAMPLIB as shown below.

MOUNZFS:

//* REPLY nn,dddd ON THE MACHINE CONSOLE TO ALLOW MOUNT
//*
//MOUNT EXEC PGM=IKJEFT1A,DYNAMNBR=75,TIME=100,REGION=6M
//*
//* Mount the file system on an existing, empty directory
//*
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
  MOUNT FILESYSTEM('SSZ.SRVR64.ZFS') +
    MOUNTPOINT('/opt/tectia') +
    TYPE(ZFS) +
    MODE(RDWR)
/*

Note that mounting the file system causes an operator query that must be responded to. You may want to copy the mount command into the BPXPRMxx member in PARMLIB so that the file system will be mounted each time you IPL the system.

Option 2

If you want to install the product into an existing file system, for example the one where /usr/local is mounted, make an empty directory in that file system and create a link to it under /opt:

> mkdir /usr/local/tectia_6_4_10
> ln -s /usr/local/tectia_6_4_10 /opt/tectia