BuildForge Help

Installing the Agent on System i Platforms

To install the agent on System i platforms:

  1. Use the aix5np-bfagent-version.tar.gz file.
  2. Unzip the file.
    gzip -d gzipfilename.gz
  3. Extract from the unzipped tarball.
    tar xvf tarballname.tar
  4. Place the bfagent executable in the agent installation directory. Example: /usr/local/bin.
  5. Edit the shell configuration in the bfagent.conf file. Set the shell value to /bin/sh.
  6. Place the bfagent.conf file in /etc.
  7. Configure the system to run bfagent at startup. The following set of commands is an example, based on the executable being in /bin.
    CRTLIB BFAGENT
    
    CRTSBSD SBSD(BFAGENT/BFAGENT) POOLS((1 *BASE)) TEXT('Build Forge Agent subsystem')
    
    CRTJOBQ JOBQ(BFAGENT/BFAJOBQ) TEXT('Build Forge Agent job queue')
    
    CRTUSRPRF USRPRF(BFAGENT) PASSWORD(*NONE) INLMNU(*SIGNOFF) LMTCPB(*YES) SPCAUT(*ALLOBJ) TEXT('Build Forge Agent user profile')
    
    CRTJOBD JOBD(BFAGENT/BFAJOBD) JOBQ(BFAGENT/BFAJOBQ) TEXT('Build Forge Agent autostart')
     USER(BFAGENT) RQSDTA('CALL PGM(QP2SHELL) PARM(''/bin/bfagent'' '' -s'')')
    
    CRTCLS CLS(BFAGENT/BFACLS) TEXT('Build Forge Agent job class')
    
    ADDRTGE SBSD(BFAGENT/BFAGENT) SEQNBR(1) CMPVAL(*ANY) PGM(QCMD) CLS(BFAGENT/BFACLS)
    
    ADDJOBQE SBSD(BFAGENT/BFAGENT) JOBQ(BFAGENT/BFAJOBQ) MAXACT(*NOMAX) SEQNBR(10)
    
    ADDAJE SBSD(BFAGENT/BFAGENT) JOB(BFAGENT) JOBD(BFAGENT/BFAJOBD)