Installation internals

/home and /opt path are defined in the HPC Gateway installation in file system and database collection.

File system:

  • ${hpcg_home}/core/etc/setenv_*
  • ${hpcg_home}/core/etc/profile.sh
  • ${hpcg_home}/repo/installer/install.hpcg.cfg

Database:

  • collection clusters:
Cluster.rnd01:
    "runlog" : "/home/hpcgadmin/hpcgateway/runlog",
    "rundirs" : [ 
        {
            "num" : 1.0000000000000000,
            "root" :
"/home/hpcgadmin/hpcgateway/rundir/@@__HPCG_USER__@@/@@__HPCG_PATH_DATE__@@/task_@@__HPCG_TASK_NUM__@@",
            "description" : "The rundir will be automatically created in the
home file system (/home/hpcgadmin/hpcgateway/rundirs/USER)",
            "label" : "Automatic creation in home"
        }
    ],
  • Collection configs:
clusterAgent.rnd01:
        {
            "value" : "/home/hpcgadmin/hpcgateway/utilities",
            "key" : "utilitiesDir"
        }, 
        {
            "value" : "/home/hpcgadmin/hpcgateway/runlog",
            "key" : "runlogDir"
        },
        {
            "value" : "/opt/hpcg/live/clusters/rnd01/mediators",
            "key" : "mediatorsDir"
        }

File system:

  • ${hpcg_home}/core/jetty/webapps/torii/WEB-INF/web.xml : database.host
  • ${hpcg_home}/core/etc/setenv_mongo.sh : hpcg_mongo_host
  • ${hpcg_home}/core/etc/setenv_jetty.sh : hpcg_jetty_host
  • ${hpcg_home}/core/etc/setenv_cluster.<x>.sh : hpcg_cluster_host

Database:

  • collection clusters: “headnode” attribute used by the file explorer tool to browse the head node of the cluster
Cluster.rnd01:
    "headnode" : "rnd01",
  • collection configs: “host” attribute used by the ssh manager to connect to the cluster host
ssh.rnd01:
    "host" : "rnd01",