forked from ESGF/esgf-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
esg-autoinstall.template
104 lines (78 loc) · 3 KB
/
esg-autoinstall.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#!/usr/bin/expect -f
# -*- mode:shell-script -*-
#
# Configuration file for the esg-autoinstall Expect script.
#
# If you are opening this file as 'esg-autoinstall.template', either
# from /usr/local/etc or from a Git repository, DO NOT MODIFY IT
# DIRECTLY. It must be copied to /usr/local/etc/esg-autoinstall.conf
# before it will be read.
#
# THIS FILE CONTAINS PASSWORDS -- ensure that when you copy it you set
# the permissions to 600 and the ownership to root, e.g.
# chown root /usr/local/etc/esg-autoinstall.conf
# chmod 600 /usr/local/etc/esg-autoinstall.conf
#
### Local Node Settings ###
# Set this to "data" or "data compute" for a data-only node
# Set this to "index" for an index-only node
set NODETYPE "index idp data compute"
# Optional install flags
# Possibilites include "--devel" or "--debug"
set INSTALLFLAGS ""
# Fully qualified domain name of the node
set FQDN "localhost.localdomain"
# Shortname of the node
set SHORTNAME "localhost"
# Long descriptive name of the node
set LONGNAME "UNCONFIGURED LONG NAME"
# Admin password (alphanumeric-only)
set ADMINPASS "CHANGEME"
# IP address cleared for admin-restricted pages
set ADMINIP "0.0.0.0"
# Password for low-privilege publisher database account (alphanumeric-only)
set DBLOWPASS "CHANGEME"
# Globus Online username and password
# (you must have set up this account in advance)
# If your password contains URL special characters, installation may fail.
set GLOBUSUSER "NOT-A-VALID-USERNAME"
set GLOBUSPASS "NOT-A-VALID-PASSWORD"
# Organization name
set ORGNAME "NOT-A-VALID-ORG"
# Namespace (reverse FQDN, i.e. "gov.llnl")
set NAMESPACE "localdomain.localhost"
# Peer Group (valid values are usually "esgf-test" and "esgf-prod")
set PEERGROUP "esgf-test"
# Default Peer (set this to empty for the default peergroup member, or to your own FQDN)
set DEFAULTPEER ""
# Hostname of the node to publish to
set PUBLISHNODE "pcmdi9.llnl.gov"
# Use an external IDP Peer?
# (Unless you know you need to run your own, put y)
set EXTERNALIDP "y"
# FQDN of the external IDP Peer
set IDPPEER "pcmdi9.llnl.gov"
# E-mail address notifications will be sent as
set ADMINEMAIL "root@localhost"
### Special-use variables (you probably don't want to change these) ###
# Which install script to run
set ESGNODESCRIPT /usr/local/bin/esg-node
# Disable timeouts (the installer can take a long time)
set timeout -1
# Database connection string
# (form: [username]@[host]:[port]/[database])
# Note: all elements are mandatory, and the "postgresql://" header is
# automatically prepended by the esg-node script!
# Currently, the only allowed database name is "esgcet"
## DO NOT CURRENTLY SET THIS TO ANYTHING BUT ""
#set DBSTRING "esg@localhost:5432/esgcet
set DBSTRING ""
# Is this an externally managed database?
# (if DBSTRING isn't pointed at localhost, the answer is yes)
# DO NOT CURRENTLY SET THIS TO YES
set DBEXTERNAL no
# Low-privilege database account (this may need to be "esgcet")
set DBLOWUSER "esgcet"
# PostgreSQL port number
# DO NOT CURRENTLY CHANGE THIS
set PGPORT 5432