Example accountlist Files

Skip to end of metadata
Go to start of metadata

Example Indexing and Search Service accountlist Files

The following examples illustrate different ways to construct the account file used by issadmin.sh --accountlist file commands. Each non-comment line in the --accountlist file must conform to the following syntax:

;<groupnum>;<state>;<singleton>;<detail>;<hostname>;<username> 

where some of the fields may be omitted.

Topics:

Simple Bootstrap of Two Accounts Example

The following command bootstraps two accounts:

where the file twoaccounts contains the following information:

# simple file of two accounts
;;;;;bco108.example.com;test@example.com
;;;;;bco108.example.com;admin

If the accounts were not created previously, then the previous command using the twoaccounts file creates them in the next available groups by using the default allocation policy. After the bootstrap, the same file can be used to check the accounts with the following commands:

Bootstrap with More Accounts Example

Assume that the file fiveaccounts contains the following information:

# five accounts, two with specific group numbers
;;;;;bco108.example.com;test@example.com
;;;;;bco108.example.com;admin
;110;;;;bco108.example.com;bill
;111;;;;bco108.example.com;charles
;;;;;bco108.example.com;greg

Assuming none of these accounts have been created beforehand, the following command bootstraps them all, placing the first two and last accounts according to the default allocation policy, and the third and fourth in the specific groups as specified.

Note
The order in which the accounts are bootstrapped is the order in the file in this example because no --threads N option was specified (meaning use a single thread). The order is not always this if the command uses multiple threads. This may mean the groups selected by the default allocation policy do not correspond to the order of the accounts in the file.

Setting Account State with Multiple Accounts Example

Assume the the file fiveaccounts contains the following information:

# fiveaccounts, two with state specified 
;;;;;bco108.example.com;test@example.com
;;A;;;bco108.example.com;admin
;110;I;;;bco108.example.com;bill
;111;;;;bco108.example.com;charles
;;;;;bco108.example.com;greg

Assuming that all of these accounts have been created beforehand, the following command changes the state of all but the account bill to be set to Active.

The --setstate command does not use the group number, and the "state" value in the file overrides the value specified on the command line for account bill.

This file could also be used in the previous example, because the "state" field does not effect the behavior of the --boootstrap command.

Labels:
indexsearchservice indexsearchservice Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Oracle community and they might not be employed or in any way formally affiliated with Oracle. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Oracle nor any other party necessarily agrees with them.