Dear All,
I've just completed a fresh 4.1.8 installation intended for
production use. I had some troubles along the way and am still
a bit confused. Details are below.
Installing the iCAT server went just fine, though I have no
clue if some of the config options (that the setup script
had not asked about) are right, e.g. (in server_config.json):
"icat_host": "localhost"
I even see an error message in rodsLog complaining about this:
############################################################
Jul 22 17:11:40 pid:6699 ERROR: server_control_executor - icat_host_name
is localhost, not a fqdn
############################################################
I got one cert for my two servers (iCAT and iResc) from a CA.
Installed CAs cert in /etc/ssl/certs.
Everything looked fine: verification (openssl verify -x509_strict)
was OK for my chain.pem
(Btw. do I have to have the same dhparams file on my servers?)
Adjusted service account config to have the necessary items:
* irods_ssl_certificate_chain_file
* irods_ssl_certificate_key_file
* irods_ssl_dh_params_file
Modified
core.re as well to require use of SSL:
################################################################################
acPreConnect(*OUT) { *OUT="CS_NEG_REQUIRE"; }
################################################################################
After finishing with the configuration of my iCAT I installed my
resource server.
I did not change the Vault. I thought I'd get rid of the defaults
after everything is up and running.
...and then ... setup failed...
Validations were all fine but:
################################################################################
Install problem:
Cannot start iRODS server.
Found 0 processes:
There are no iRODS servers running.
################################################################################
OK, no problem. I've made quite a few changes in configuration that
were not part of the setup.
Done everything I thought to be done.
No success.
Edited /etc/irods/hosts_config.json.
(Btw. what is the difference between the "local" and "remote" address
types?)
At the moment my hosts_config.json looks like (values replaced):
################################################################################
{
"host_entries": [
{
"address_type" : "local",
"addresses" : [
{"address" : "<IPv4 address of my resource server>"},
{"address" : "<FQDN of my resource server>"}
]
},
{
"address_type" : "remote",
"addresses" : [
{"address" : "<IPv4 address of my iCAT server>"},
{"address" : "<FQDN of my iCAT server>"}
]
}
]
}
################################################################################
This is for my resource server. At my iCAT, the iCAT is set local and
the resource server is set remote.
Noticed that I have not yet changed
core.re so I edited that as well to
have the acPreConnect rule.
At this point I was able to start my resource server but only if
I set "cert" instead of "hostname" for "irods_ssl_verify_server"
in "irods_environment.json".
Another thing that is a bit strange for me is that
'irods-grid status --all' returns different result.
On the resource server it returns both the iCAT and itself.
On the iCAT it only returns the iCAT.
Noticed that for my resource server I have a probably
auto generated default resource name:
################################################################################
"irods_default_resource": "<resource server name>Resource"
################################################################################
...but ilsresc shows nothing but the default resource (demoResc) of
the iCAT. This looks the same on both servers.
I'd appreciate some help. :)
Cheers,
Tamás