Table 13 specifies the options you can use with this command:
Table 13: ImportResources command options
Option
-user <username>
-password <password>
-host <hostname | IP address>
-port <port>
-help
-s <Source name>
-f <file name>
-ldap
-domain
ImportResources Examples
The following examples illustrate the usage of these commands.
• To import resources from a tab-delimited file named
ImportedUsers in the EPICenter database running the local server with the default administrator name
and password, enter the following command:
ImportResources -user admin -s ImportedUsers -f importdata.txt
• To import resources from an LDAP directory from a LDAP server into a source group named
CorpUsers in the EPICenter database running on host
and password "king," enter the following command:
ImportResources -host snoopy -port 81 -user master -password king
-s CorpUsers -ldap
This requires a configuration file named
directory.
• To import resources from an Windows Domain server into a source group named NewUsers in the
EPICenter database running the local server with the default administrator name and password, enter
the following command:
ImportResources -user admin -s NewUsers -domain
EPICenter Concepts and Solutions Guide
Value
EPICenter user name. This option is required.
EPICenter user password. If the password is blank, do not
include this argument.
EPICenter server hostname or IP address
EPICenter server port number
Displays syntax for this command
A name that will identify the source of the imported resources.
This name is used to create a group under which all the
resources imported in this operation are placed.
The name of a tab-delimited text file that contains the data to
be imported. See "Importing from a File" in Chapter 8 of the
EPICenter Reference Guide for details.
Specifies that the information to be imported is from an LDAP
directory. Requires a specification file named LDAPConfig.txt,
that resides in the EPICenter user/import directory. See
"Importing from an LDAP Directory" in Chapter 8 of the
EPICenter Reference Guide for details.
Specifies that the information to be imported is from an
Windows Domain Controller server or a Solaris NIS server.
See "Importing from an Windows Domain Controller or NIS
Server" in Chapter 8 of the EPICenter Reference Guide for
details.
importdata.txt
snoopy
LDAPConfig.txt
into a source group named
on port 81, with EPICenter login "master"
to be present in the EPICenter
The ImportResources Utility
Default
None
No password
localhost
80
None
None
None
None
None
user/import
203
Need help?
Do you have a question about the EPICenter Guide and is the answer not in the manual?