Portus Version 2018-08-24
 

z/VSE Server installation


Using the Deployment Wizard to install on a z/VSE host
Operating the Portus Server
      

Using the Deployment Wizard to install on a z/VSE host

In preparation of running the Portus server on z/OS the installation datasets have to be deployed to the z/VSE host. The deployment wizard on your Portus Control Centre on Windows or Linux can be used to deploy the required files to z/VSE.

Operating the Portus Server

Sizing the partition for the Portus server

The Portus server, started with the parameters as delivered, will require a partition with ca. 500 KB 24-bit and 36 MB 31-bit storage, plus ca. 20 KB SVA-24 and 160 KB SVA-31 storage.

To find out how much free SVA space is available on the system issue the AR command GETVIS SVA.

The output will look like this:

AR 0015 GETVIS USAGE   SVA-24    SVA-ANY                    SVA-24    SVA-ANY
AR 0015  AREA SIZE:    1,872K    14,728K                                     
AR 0015  USED AREA:    1,312K     6,788K MAX. EVER USED:    1,320K     6,800K
AR 0015  FREE AREA:      560K     7,940K LARGEST FREE:        560K     7,380K
AR 0015 1I40I  READY  

To get more information about SVA allocation and usage run the LIBR utility function LISTDIR SDL.

The output will look like this:

STATUS DISPLAY       SDL  AND  SVA                  DATE: 2009-07-12
                                                    TIME: 22:25     
--------------------------------------------------------------------
SDL       TOTAL ENTRIES :    908   (100%)                           
          USED  ENTRIES :    514   ( 57%)                           
          FREE  ENTRIES :    394   ( 43%)                           
                                                                    
SVA(24)   TOTAL SPACE   :   2188K  (100%)                           
          USED  SPACE   :   1558K  ( 71%)                           
           - PFIXED AREA:    165K  (  8%)  START AT: 002C7928       
          FREE  SPACE   :    630K  ( 29%)                           
                                                                    
SVA(31)   TOTAL SPACE   :   7620K  (100%)                           
          USED  SPACE   :   6685K  ( 88%)                           
           - PFIXED AREA:    680K  (  9%)  START AT: 051C6F00       
          FREE  SPACE   :    935K  ( 12%)                           
--------------------------------------------------------------------
DIRECTORY DISPLAY    SDL SORTED BY PHASE NAME       DATE: 2009-07-12
                                                    TIME: 22:25     
--------------------------------------------------------------------
 M E M B E R    ORIGIN SVA/MOVE  LOADED  PHASE  ADDRESS  ENTRY POINT
NAME     TYPE   SYSLIB   MODE   INTO SVA SIZE   IN SVA   IN SVA     
--------------------------------------------------------------------
$$BACLOS PHASE    YES    MOVE      31      554  04BE6C48 04BE6C48   
$$BATTNA PHASE    YES    MOVE      31     2216  04BE6E78 04BE6E78   
$$BATTNK PHASE    YES    MOVE      31     1104  04BE7720 04BE7720   
$$BATTNR PHASE    YES    MOVE      31      389  04BE7B70 04BE7B70   
$$BCASI3 PHASE     NO    MOVE      31      838  04BEF880 04BEF880   
$$BCLOSE PHASE    YES    MOVE      31     1192  04BE7CF8 04BE7CF8   
$$BCLOS2 PHASE    YES    MOVE      31      624  04BE81A0 04BE81A0   
$$BCLOS5 PHASE    YES    MOVE      31     1032  04BE8410 04BE8410   
$$BCLRPS PHASE    YES    MOVE      31      712  04BE8818 04BE8818   
$$BCVSAM PHASE    YES    MOVE      31      768  04BE8AE0 04BE8AE0   
$$BCVS02 PHASE    YES    MOVE      31      326  04BE8DE0 04BE8DE0   
$$BDYD$$ PHASE     NO    MOVE      31      104  04BEFBC8 04BEFBC8   
...
...

In /apache2/conf/extra/httpd-mpm.conf there is a section entitled worker MPM - this details the number of threads, maxclients etc that is available for Apache to use. The httpd-mpm.conf worker MPM settings that we provide as default is presented below. Please refer to Apache documentation for detailed information on these parameters.

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
    ServerLimit         1
    StartServers        1
    MaxClients          8
    MinSpareThreads      2
    MaxSpareThreads     8
    ThreadsPerChild     8
    MaxRequestsPerChild 0
</IfModule>

Please note that should you wish to adjust these parameters there will need to be adjustments in the partition size also. Installation job cpHttpd.jcl and cpHttpd.p can be modified to copy files from the pfs.

Using a disk file for the ADARUN parameters

The Portus start job, SOAGSTRT.JCL, as distributed uses inline ADARUN parameters.

It may prove advantageous to put these parameters on a disk file instead, the following is sample JCL to do this:

* $$ JOB JNM=DITTOCS,CLASS=0,DISP=D
* $$ LST CLASS=A,DISP=D
// JOB DITTIOCS    CARD TO SEQUENTIAL DISK FILE
// UPSI 1
// DLBL CARD,'SOAGATE.ADARUN.PARAMETERS',0,SD
// EXTENT SYS010,vvvvvv,1,0,ssss,1
// ASSGN SYS010,DISK,VOL=vvvvvv,SHR
// EXEC DITTO
$$DITTO CS FILEOUT=CARD,RECFMOUT=F,BLKSIZE=80
ADARUN PROGRAM=RENTUSER
ADARUN SVC=<your_ADABAS_SVC_number>
ADARUN DATABASE=<your_ADABAS_dbid>
/*
/&
* $$ EOJ

After having created the disk file replace the inline ADARUN parameters in SOAGSTRT.JCL with the appropriate sequence of DLBL CARD, EXTENT and ASSGN statements.


Ostia
www.ostiasolutions.com
Copyright @ 2006-2018 Ostia Software Solutions Limited.