My Oracle Support Banner

Where Does "issadmin.sh --setstate" Get The Default Backend Host Name From? (Doc ID 2112208.1)

Last updated on MARCH 06, 2016

Applies to:

Oracle Communications Indexing and Search Service - Version 1.0.5.18.0 and later
Information in this document applies to any platform.

Goal

Using ISS 1.0.5.25.0.

Where does issadmin.sh --setstate get the default back-end name?

I occasionally do:  issadmin.sh --setstate A --user USERID

and get an error saying that user is not in mailXX.domain.com (the wrong back-end).

The issue is that mailXX is not the back-end associated with the index server where I am doing the command.
I can workaround this by specifying --host mailYY.domain.com (the right back-end).

But, where is it getting this default hostname?  Does it have anything to do with the mail.server parameter in the jiss.conf file?

Here is an example that looks at the --setdefaulthostname value and the mail.server value to illustrate:

On a lab system, I had ISS configured with mail.server in jiss.conf set to lab_mach2.oracle.com. This was the initial setting that I specified after running the setup script. I can see that in the jiss.conf, I have:

mail.server = lab_mach2.oracle.com

I then unset the defaulthostname param:

bash-3.2# ./issadmin.sh --setdefaulthostname ""
Tue Mar 1 13:35:49 GMT 2016
removing default hostname, was lab_mach2.oracle.com
Tue Mar 1 13:35:49 GMT 2016


Ran a refresh, since this parameter is listed in the refreshable parameters from issadmin.sh --refresh --help:

bash-3.2# ./issadmin.sh --refresh
Tue Mar 1 13:36:02 GMT 2016
Tue Mar 1 13:36:03 GMT 2016


Ran a --listbrief to see the settings:

bash-3.2# ./issadmin.sh --listbrief
Tue Mar 1 13:36:18 GMT 2016
Store ID: ISSID_e30c7b65-1674-4410-b002-f2881e7ed65e created: 20131120185454
default host name:
default export/import path:



But, after doing all of the above, the jiss.conf still contains the mail.server = lab_mach2.oracle.com entry, as it did previously.

It is confusing as to why the jiss.conf was not "updated" with the above change, since mail.server was listed as a refreshable parameter.  To see if it would change anything, I stopped ISS and restarted, but mail.server was still set to the original entry.  In this case, how is jiss.conf updated for the mail.server parameter?  Is there an explanation for this (or does jiss.conf have to be edited manually)?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.