Skip to content

Commit

Permalink
Merge pull request #28 from ggtakec/update
Browse files Browse the repository at this point in the history
Updated devpack.sh and data directory path, etc
  • Loading branch information
ggtakec authored Nov 27, 2024
2 parents 50691ed + 9ffd503 commit 4fe954c
Show file tree
Hide file tree
Showing 6 changed files with 265 additions and 62 deletions.
2 changes: 1 addition & 1 deletion devcluster/chmpx/k2hdkc.ini
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ CTLPORT = 8031
#DTORTHREADCNT = 1 ### Default(1), you MUST set same as the value in k2htpdtor configuration file
#DTORCTP = path.so ### Default(k2htpdtor.so), custom transaction plugin path
K2HTYPE = file ### Default(file), parameter can be set M/MEM/MEMORY / F/FILE / T/TEMP/TEMPORARY
K2HFILE = /var/lib/k2hdkc/k2hdkc.k2h
K2HFILE = /var/lib/antpickax/k2hdkc/k2hdkc.k2h
K2HFULLMAP = on ### Default(on)
K2HINIT = no ### Default(no)
K2HMASKBIT = 8
Expand Down
2 changes: 1 addition & 1 deletion devcluster/dkc/setup_dkc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fi

########
# 2. Ensures that the k2hdkc data directory exists
# k2hr3_dkc saves the data to the data directory(for instance /var/lib/k2hdkc/data).
# k2hr3_dkc saves the data to the data directory(for instance /var/lib/antpickax/k2hdkc).
#
logger -t ${TAG} -p user.info "2. Ensures that the k2hdkc data directory exists"

Expand Down
2 changes: 1 addition & 1 deletion devcluster/dkc/setup_dkc_default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ chmpx_loglevel=dump
chmpx_override_conf_file=/etc/antpickax/override.conf

#[k2hdkc]
k2hdkc_data_dir="/var/lib/k2hdkc"
k2hdkc_data_dir="/var/lib/antpickax/k2hdkc"
k2hdkc_systemd_unit_file=/etc/systemd/system/k2hdkc.service
k2hdkc_loglevel=dump

Expand Down
14 changes: 13 additions & 1 deletion devpack/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
3 DEVPACK
# K2HR3 DEVPACK

## Overview
This directory is a environment construction tool for developers to build the minimum K2HR3 system with one HOST(Virtual Machine).
Expand Down Expand Up @@ -65,13 +65,17 @@ $ devpack.sh --help
K2HR3 APP:
--app_port(-appp) Specify K2HR3 Application port
--app_port_external(-apppe) Specify K2HR3 Application external port(optional: specify when using a proxy)
--app_port_private(-apppp) Specify K2HR3 Application private port(optional: specify when openstack)
--app_host(-apph) Specify K2HR3 Application host
--app_host_external(-apphe) Specify K2HR3 Application external host(optional: host as javascript download server)
--app_host_private(-apphp) Specify K2HR3 Application private host(optional: specify when openstack)
K2HR3 API:
--api_port(-apip) Specify K2HR3 REST API port
--api_port_external(-apipe) Specify K2HR3 REST API external port(optional: specify when using a proxy)
--api_port_private(-apipp) Specify K2HR3 REST API private port(optional: specify when openstack)
--api_host(-apih) Specify K2HR3 REST API host
--api_host_external(-apihe) Specify K2HR3 REST API external host(optional: specify when using a proxy)
--api_host_private(-apihp) Specify K2HR3 REST API private host(optional: specify when openstack)
[Environments]
If PROXY environment variables(HTTP(s)_PROXY, NO_PROXY) are detected,
Expand All @@ -98,18 +102,26 @@ Specify CHMPX slave node process control port.
Specify K2HR3 Application port.
- --app_port_external(-apppe)
Specify K2HR3 Application external port(optional: specify when using a proxy).
- --app_port_private(-apppp)
Specify K2HR3 Application private port(optional: specify when openstack)
- --app_host(-apph)
Specify K2HR3 Application host.
- --app_host_external(-apphe)
Specify K2HR3 Application external host(optional: host as javascript download server).
- --app_host_private(-apphp)
Specify K2HR3 Application private host(optional: specify when openstack)
- --api_port(-apip)
Specify K2HR3 REST API port.
- --api_port_external(-apipe)
Specify K2HR3 REST API external port(optional: specify when using a proxy).
- --api_port_private(-apipp)
Specify K2HR3 REST API private port(optional: specify when openstack)
- --api_host(-apih)
Specify K2HR3 REST API host.
- --api_host_external(-apihe)
Specify K2HR3 REST API external host(optional: specify when using a proxy).
- --api_host_private(-apihp)
Specify K2HR3 REST API private host(optional: specify when openstack)

##### NOTE
Specify these options(`--app_port_external(-apppe)`, `--app_host_external(-apphe)`, `--api_port_external(-apipe)`, `--api_host_external(-apihe)`), if your environment requires PROXY settings for external access.
Expand Down
Loading

0 comments on commit 4fe954c

Please sign in to comment.