Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fujitsu:hpcgateway:guides:internals:installation [2016/05/02 08:13] (current)
Line 1: Line 1:
 +====== Installation internals ======
 +
 +
 +===== - /home and /opt dependency =====
 +
 +/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:
 +<​code>​
 +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"
 +        }
 +    ],
 +</​code>​
 +
 +
 +  * Collection configs:
 +<​code>​
 +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"​
 +        }
 +
 +</​code>​
 +
 +
 +===== - hostname and/or IP dependency =====
 +
 +**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
 +<​code>​
 +Cluster.rnd01:​
 +    "​headnode"​ : "​rnd01",​
 +</​code>​
 +
 +  * collection configs: "​host"​ attribute used by the ssh manager to connect to the cluster host
 +<​code>​
 +ssh.rnd01:
 +    "​host"​ : "​rnd01",​
 +</​code>​