Command Reference > pmrep Command Reference > Register
  

Register

Registers a local repository with a connected global repository. You must connect to the global repository before you register the local repository.
Also, you must run the Repository Service for the local repository in exclusive mode. You can configure the Repository Service to run in exclusive mode in the Administrator tool or you can use the infacmd UpdateRepositoryService command.
The command returns “register successfully completed” or returns “failed to execute register” message. The registration might fail for the following reasons:
The Register command uses the following syntax:
register

-r <local_repository_name>

-n <local_repository_user_name>

[-s <local_repository_user_security_domain>]

[-x <local_repository_password> |

-X <local_repository_password_environment_variable>]

[-d <local_repository_domain_name> |

{-h <local_repository_portal_host_name>

-o <local_repository_portal_port_number>}] (if local repository is in a different domain)
The following table describes pmrep Register options and arguments:
Option
Argument
Description
-r
local_repository_name
Required. Name of the local repository to register.
-n
local_repository_user_name
Required. Local user name.
-s
local_repository_user_security_
domain
Required if you use LDAP authentication. Name of the security domain that the user belongs to. Default is Native.
-x
local_repository_password
Optional. Login password for the local target repository. You use the -x or -X option, but not both. If you do not use the -x or -X option, pmrep prompts you for the password.
-X
repository_password_
environment_variable
Optional. Login password environment variable for the local target repository. You use the -x or -X option, but not both. If you do not use the -x or -X option, pmrep prompts you for the password.
-d
local_repository_domain_name
Required if the local repository is in a different domain and you do not use the -h and -o options. Name of the Informatica domain for the repository.
-h
local_repository_portal_host_
name
Required if the local repository is in a different domain and you do not use -d. Machine name of the domain where the local repository is located. If you use this option, you must also use the -o option.
-o
local_repository_portal_port_
number
Required if the local repository is in a different domain and you do not use -d. Port number for the domain where the local repository is located. If you use this option, you must also use the -h option.