Create
Creates the repository tables in the database. Before you can create the repository tables, you must complete these tasks:
- •Create and configure the database to contain the repository.
- •Create the Repository Service in either the Administrator tool or infacmd.
- •Run the Repository Service in exclusive mode in either the Administrator tool or infacmd.
- •Connect to the repository in pmrep.
You cannot use the Create command if the repository database already contains repository tables.
To use the Create command, you must have permission on the Repository Service in the domain.
The Create command uses the following syntax:
create
-u <domain_user_name>
[-s <domain_user_security_domain>]
[-p <domain_password> |
-P <domain_password_environment_variable>]
[-g (create global repository)]
[-v (enable object versioning)]
The following table describes pmrep Create options and arguments:
Option | Argument | Description |
---|
-u | domain_user_name | Required. User name. |
-s | domain_user_security_domain | Required if you use LDAP authentication. Name of the security domain that the user belongs to. Default is Native. |
-p | domain_password | Optional. Password. Use either the -p or -P option, but not both. If you do not use either the -p or -P option, pmrep prompts you to enter the password. |
-P | domain_password_ environment_variable | Optional. Password environment variable. Use either the -p or -P option, but not both. If you do not use either the -p or -P option, pmrep prompts you to enter the password. |
-g | - | Optional. Promotes the repository to a global repository. |
-v | - | Optional Enables object versioning for the repository. |