-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathesg-autoinstall.template
129 lines (98 loc) · 4 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#!/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"
# Hostname of the node to publish to
set PUBLISHNODE "esgf-node.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 "esgf-node.llnl.gov"
# E-mail address notifications will be sent as
set ADMINEMAIL "root@localhost"
# Path of certificate(s) for CA chain that issued ESGF node certificate.
# For a multi-level chain, separate each certificate path by a newline.
# /O=ESGF/OU=ESGF.ORG/OU=simpleca.nsc.liu.se/CN=NSC Simple CA
set CACERTCHAIN "/etc/grid-security/certificates/cd6ccc41.0"
# /O=ESGF/OU=ESGF.ORG/OU=simpleca.ipsl.upmc.fr/CN=IPSL Simple CA
##set CACERTCHAIN "/etc/grid-security/certificates/0597e90c.0"
# /C=US/O=ESGF/OU=ANL/CN=Root Certificate Authority
##set CACERTCHAIN "/etc/grid-security/certificates/99eb76fc.0"
# Default answer for installing Globus
# Should be be N for upgrade and Y for fresh install
set GLOBUS "y"
# Whether to register MyProxy/GridFTP endpoint with Globus.
set REGISTERGLOBUS "Y"
# Should thredds be installed? Y for new installations and upgrades 2.5.9 or earlier
# For now, N is recommended for 2.5.13 or later (until new version released)
set THREDDS "Y"
# Should CDAT and esgcet be upgraded ?
set UPGRADECDAT "Y"
### 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
# Force recreation of SOLR replica indexes
set SOLRREINDEX ""
#If you want to use a local esgf-mirror, set this variable with the correct url. ex: http://blah.blah/esgf
set LOCMIRRORURL ""