-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
178 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# ConfigMap for HPCC Systems Cluster Configuration | ||
|
||
Users can provide customerized settings for environment.xml generation through Kubernetes Configmap. | ||
|
||
ConfigMap is created with bin/bootstrap-xxx.sh or bin/bootstrap.bat | ||
The files are available on hpcc-admin container under /etc/hpcc-config-map/ | ||
|
||
Following configuration are availble now | ||
Under hpcc directory: | ||
|
||
### topology.properties | ||
This file defines how topology in environment.xml can be constructed | ||
|
||
### category.properties | ||
Add/modify Software/Category directories as "-o" option in envgen/envgen2 | ||
|
||
### override.envgen2 | ||
Override all component properties with the give xpath for the given buildset with the value provided. This is "-override" option in envgen/envgen2 | ||
|
||
|
||
### xpath_attributes.envgen2 | ||
Sets or add the xpath attribue and value. This is "-set-xpath-attrib-value" of envgen/envgen2 | ||
|
||
### [component].envgen2 | ||
Add/modify component settings with envgen2 syntax | ||
<HPCC Systems Platform Install Dir>/sbin/envgen2 [-help-update-1 ! -help-update-2] will show some examples | ||
|
||
### contents/*.xml | ||
These xml files will be inserted to environment.xml to xpath provided in <!-- XPATH: --> in the file | ||
These files will be sorted first so users can use file names to control the execution order. | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Software Category settings | ||
|
||
# Examples: | ||
# log=/var/log/[NAME]/INST] | ||
# this will be created in environent.xml as <Category dir="/var/log/[NAME]/INST]" name="log"/> | ||
|
||
# data=/var/lib/[NAME]/hpcc-data/[COMPONENT] | ||
# mirror=/var/lib/[NAME]/hpcc-mirror/[COMPONENT] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#<!--XPATH: Hardware --> | ||
|
||
<ComputerType computerType="PowerEdge" | ||
manufacturer="Dell" | ||
name="dell-server-1" | ||
nicSpeed="1000" | ||
opSys="linux"/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly | ||
|
||
-add sw:ldap#myldap@esp=myesp^adminGroupName=HPCCAdmins160^cacheTimeout=5^filesBasedn=\\\"ou[equal]files,ou[equal]ecl,ou[equal]hpcc\\\"^groupsBasedn=\\\"ou[equal]groups,ou[equal]hpcc\\\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Override attribute values like in envgen | ||
# -override "espsmc,@enableSystemUseRewrite,ture" | ||
# Give a setting per line: | ||
|
||
#espsmc,@enableSystemUseRewrite,ture | ||
roxie,@copyResources,true | ||
roxie,@roxieMulticastEnabled,false | ||
thor,@replicateOutputs,true | ||
esp,@method,htpasswd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly | ||
|
||
#-mod thor@slavesPerNode=8^globalMemorySize=8192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Set attribute values with Xpath like in envgen | ||
# Give one setting per line with commas as column seperator in chance column value has space: | ||
|
||
#Software/Topology/Cluster[@name=\\\"thor\\\"]/ThorCluster,@process,thor123 | ||
Software/RoxieCluster/",roxieMulticastEnabled,false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# ConfigMap for HPCC Systems Cluster Configuration | ||
|
||
Users can provide customerized settings for environment.xml generation through Kubernetes Configmap. | ||
|
||
ConfigMap is created with bin/bootstrap-xxx.sh or bin/bootstrap.bat | ||
The files are available on hpcc-admin container under /etc/hpcc-config-map/ | ||
|
||
Following configuration are availble now | ||
Under hpcc directory: | ||
|
||
### topology.properties | ||
This file defines how topology in environment.xml can be constructed | ||
|
||
### category.properties | ||
Add/modify Software/Category directories as "-o" option in envgen/envgen2 | ||
|
||
### override.envgen2 | ||
Override all component properties with the give xpath for the given buildset with the value provided. This is "-override" option in envgen/envgen2 | ||
|
||
|
||
### xpath_attributes.envgen2 | ||
Sets or add the xpath attribue and value. This is "-set-xpath-attrib-value" of envgen/envgen2 | ||
|
||
### [component].envgen2 | ||
Add/modify component settings with envgen2 syntax | ||
<HPCC Systems Platform Install Dir>/sbin/envgen2 [-help-update-1 ! -help-update-2] will show some examples | ||
|
||
### contents/*.xml | ||
These xml files will be inserted to environment.xml to xpath provided in <!-- XPATH: --> in the file | ||
These files will be sorted first so users can use file names to control the execution order. | ||
|
||
|
||
|
||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Software Category settings | ||
|
||
# Examples: | ||
# log=/var/log/[NAME]/INST] | ||
# this will be created in environent.xml as <Category dir="/var/log/[NAME]/INST]" name="log"/> | ||
|
||
# data=/var/lib/[NAME]/hpcc-data/[COMPONENT] | ||
# mirror=/var/lib/[NAME]/hpcc-mirror/[COMPONENT] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#<!--XPATH: Hardware --> | ||
|
||
<ComputerType computerType="PowerEdge" | ||
manufacturer="Dell" | ||
name="dell-server-1" | ||
nicSpeed="1000" | ||
opSys="linux"/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly | ||
|
||
-add sw:ldap#myldap@esp=myesp^adminGroupName=HPCCAdmins160^cacheTimeout=5^filesBasedn=\\\"ou[equal]files,ou[equal]ecl,ou[equal]hpcc\\\"^groupsBasedn=\\\"ou[equal]groups,ou[equal]hpcc\\\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Override attribute values like in envgen | ||
# -override "espsmc,@enableSystemUseRewrite,ture" | ||
# Give a setting per line: | ||
|
||
#espsmc,@enableSystemUseRewrite,ture | ||
#roxie,@roxieMulticastEnabled,false | ||
#esp,@method,htpasswd | ||
|
||
roxie,@copyResources,true | ||
thor,@replicateOutputs,true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#Modify environment with envgen2 syntax. | ||
#There are override.envgen2 and xpath_attributes.envgen2 for use "-override" and "-set-xpath-attrib-value" respectly | ||
|
||
#-mod thor@slavesPerNode=8^globalMemorySize=8192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Set attribute values with Xpath like in envgen | ||
# Give one setting per line with commas as column seperator in chance column value has space: | ||
|
||
#Software/Topology/Cluster[@name=\\\"thor\\\"]/ThorCluster,@process,thor123 | ||
#Software/RoxieCluster/",roxieMulticastEnabled,false | ||
|
||
|
This file was deleted.
Oops, something went wrong.