1
|
bash-4.1$ ./irodssetup
|
2
|
iRODS configuration setup
|
3
|
----------------------------------------------------------------
|
4
|
This script prompts you for key iRODS configuration options.
|
5
|
Default values (if any) are shown in square brackets [ ] at each
|
6
|
prompt. Press return to use the default, or enter a new value.
|
7
|
|
8
|
After this completes, other configuration options can be selected by
|
9
|
editing the config/config.mk file and running 'make' again.
|
10
|
|
11
|
A prior iRODS configuration file was found. This script can
|
12
|
prompt you for changes, or use the same configuration again.
|
13
|
You can also change parameters by editing config/irods.config
|
14
|
and restarting this script.
|
15
|
|
16
|
Use the existing iRODS configuration without changes [yes]? no
|
17
|
|
18
|
|
19
|
For flexibility, iRODS has a lot of configuration options. Often
|
20
|
the standard settings are sufficient, but if you need more control
|
21
|
enter yes and additional questions will be asked.
|
22
|
|
23
|
Include additional prompts for advanced settings [no]?
|
24
|
|
25
|
|
26
|
iRODS configuration
|
27
|
-------------------
|
28
|
iRODS consists of clients (e.g. i-commands) with at least one iRODS
|
29
|
server. One server must include the iRODS metadata catalog (iCAT).
|
30
|
|
31
|
For the initial installation, you would normally build the server with
|
32
|
the iCAT (an iCAT-Enabled Server, IES), along with the i-commands.
|
33
|
|
34
|
After that, you might want to build another Server to support another
|
35
|
storage resource on another computer (where you are running this now).
|
36
|
You would then build the iRODS server non-ICAT, and configure it with
|
37
|
the IES host name (the servers connect to the IES for ICAT operations).
|
38
|
|
39
|
If you already have iRODS installed (an IES), you may skip building
|
40
|
the iRODS server and iCAT, and just build the command-line tools.
|
41
|
|
42
|
Build an iRODS server [no]?
|
43
|
|
44
|
|
45
|
|
46
|
|
47
|
|
48
|
iRODS can make use of the Grid Security Infrastructure (GSI)
|
49
|
authentication system in addition to the iRODS secure
|
50
|
password system (challenge/response, no plain-text).
|
51
|
In most cases, the iRODS password system is sufficient but
|
52
|
if you are using GSI for other applications, you might want
|
53
|
to include GSI in iRODS. Both the clients and servers need
|
54
|
to be built with GSI and then users can select it by setting
|
55
|
irodsAuthScheme=GSI in their .irodsEnv files (or still use
|
56
|
the iRODS password system if they want).
|
57
|
|
58
|
Include GSI [yes]?
|
59
|
|
60
|
The GLOBUS_LOCATION and the 'install type' is needed to find include
|
61
|
and library files. GLOBUS_LOCATION specifies the directory where
|
62
|
Globus is installed (see Globus documentation). The 'install type' is
|
63
|
which 'flavor' of installation you want to use. For this, use the
|
64
|
exact name of one of the subdirectories under GLOBUS_LOCATION/include
|
65
|
or 'none' in certain cases (e.g. the install type is 'globus').
|
66
|
|
67
|
You also need to set up your Globus GSI environment before running
|
68
|
this.
|
69
|
|
70
|
GLOBUS_LOCATION [/usr/local/globus-c4]?
|
71
|
|
72
|
Available types appear to be: globus
|
73
|
|
74
|
GSI Install Type to use (or 'none') [globus]?
|
75
|
|
76
|
iRODS can make use of the MIT Kerberos authentication
|
77
|
system in addition to the iRODS secure password system.
|
78
|
Both the clients and servers need to be built with Kerberos
|
79
|
and then users can select it by setting
|
80
|
irodsAuthScheme 'KRB' in their .irodsEnv files (or still use
|
81
|
the iRODS password system if they want).
|
82
|
|
83
|
Include Kerberos [no]?
|
84
|
|
85
|
NCCS Auditing extensions (SQL based) can be installed if
|
86
|
desired. See the README.txt file in server/icat/auditExtensions
|
87
|
for more information on this.
|
88
|
|
89
|
Include the NCCS Auditing extensions [no]?
|
90
|
|
91
|
|
92
|
Confirmation
|
93
|
------------
|
94
|
Please confirm your choices.
|
95
|
|
96
|
--------------------------------------------------------
|
97
|
GSI enabled
|
98
|
GLOBUS_LOCATION /usr/local/globus-c4
|
99
|
gsiInstallType globus
|
100
|
|
101
|
Kerberos not selected
|
102
|
|
103
|
NCCS Audit Extensions not selected
|
104
|
|
105
|
Build iRODS command-line tools
|
106
|
--------------------------------------------------------
|
107
|
|
108
|
Save configuration (irods.config) [yes]?
|
109
|
Saved.
|
110
|
|
111
|
|
112
|
Start iRODS build [yes]?
|
113
|
|
114
|
|
115
|
Build and configure
|
116
|
-------------------
|
117
|
|
118
|
Preparing...
|
119
|
|
120
|
Configuring iRODS...
|
121
|
|
122
|
Step 1 of 4: Enabling modules...
|
123
|
properties
|
124
|
ERA
|
125
|
msoDrivers
|
126
|
examples
|
127
|
|
128
|
Step 2 of 4: Verifying configuration...
|
129
|
No database configured.
|
130
|
|
131
|
Step 3 of 4: Checking host system...
|
132
|
Host OS is Linux.
|
133
|
Perl: /usr/bin/perl
|
134
|
C compiler: /usr/bin/g++ (gcc)
|
135
|
Flags: none
|
136
|
Loader: /usr/bin/g++
|
137
|
Flags: none
|
138
|
Archiver: /usr/bin/ar
|
139
|
Ranlib: /usr/bin/ranlib
|
140
|
64-bit addressing supported and automatically enabled.
|
141
|
|
142
|
Step 4 of 4: Updating configuration files...
|
143
|
Updating config.mk...
|
144
|
Skipped. No change.
|
145
|
Updating platform.mk...
|
146
|
Skipped. No change.
|
147
|
Updating irods.config...
|
148
|
Updating irodsctl...
|
149
|
|
150
|
Compiling iRODS...
|
151
|
|
152
|
Step 1 of 2: Compiling library and i-commands...
|
153
|
|
154
|
Step 2 of 2: Compiling tests...
|
155
|
|
156
|
Done!
|
157
|
-----
|
158
|
|
159
|
To use the iRODS command-line tools, update your PATH:
|
160
|
For csh users:
|
161
|
set path=(/informatique/biscarat/Formation/iRODS/clients/icommands/bin $path)
|
162
|
For sh or bash users:
|
163
|
PATH=/informatique/biscarat/Formation/iRODS/clients/icommands/bin:$PATH
|
164
|
|
165
|
If you wish to set the ports to use, set the environment variable
|
166
|
'svrPortRangeStart' or edit the svrPortRangeStart line in irodsctl.pl.
|
167
|
See the 'Specifying Ports' page on the irods web site for more.
|
168
|
|
169
|
For i-commands-only builds like this, irodssetup does not
|
170
|
attempt to create your ~/.irods/.irodsEnv file, so you need to
|
171
|
create or update it by hand yourself. See the iRODS web site page
|
172
|
on the User Environment. You may wish to copy .irodsEnv from
|
173
|
another host.
|
174
|
bash-4.1$
|