The ImportResources Utility
EPICenter Concepts and Solutions Guide
203
Table 13 specifies the options you can use with this command:
ImportResources Examples
The following examples illustrate the usage of these commands.
•
To import resources from a tab-delimited file named
importdata.txt
into a source group 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
snoopy
on port 81, with EPICenter login “master”
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
LDAPConfig.txt
to be present in the EPICenter
user/import
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
Table 13: ImportResources command options
Option
Value
Default
-user <username>
EPICenter user name. This option is required.
None
-password <password>
EPICenter user password. If the password is blank, do not
include this argument.
No password
-host <hostname | IP address>
EPICenter server hostname or IP address
localhost
-port <port>
EPICenter server port number
80
-help
Displays syntax for this command
None
-s <Source name>
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.
None
-f <file name>
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.
None
-ldap
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.
None
-domain
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.
None
Содержание EPICenter 5.0
Страница 12: ...12 EPICenter Concepts and Solutions Guide Preface...
Страница 76: ...76 EPICenter Concepts and Solutions Guide Managing your Network Assets...
Страница 92: ...92 EPICenter Concepts and Solutions Guide Managing VLANs...
Страница 116: ...116 EPICenter Concepts and Solutions Guide Managing Wireless Networks...
Страница 146: ...146 EPICenter Concepts and Solutions Guide VoIP and EPICenter Avaya Integrated Management...
Страница 163: ...Appendices...
Страница 164: ......
Страница 178: ...178 EPICenter Concepts and Solutions Guide Troubleshooting...