Command Reference > infacmd ldm Command Reference > publishArchive
  

publishArchive

Creates a resource in offline mode and runs the scan.
The infacmd ldm publishArchive command uses the following syntax:
publishArchive

<-DomainName|-dn> Fully qualified domain name

<-UserName|-un> user_name

<-Password|-pd> The Encryped user password to access the ISP

<-ServiceName|-sn> Name of the Catalog Service

<-ResourceName|-rn> Name of the resource

[<-SecurityDomain|-sd> Name of the security domain]

<-DomainHost|-dh> Name of the host machine where the domain runs

<-DomainPort|-dp> Port number of the domain

[<-DomainSslEnabled|-dse> is domain SSL enabled]

[<-SslLocation|-ts> Path to the truststore]

[<-SslPassword|-tsp> Password to access the truststore]

<-ArchiveFilePath|-arf> Path to the metadata archive file

[<-Verbose|-v> Verbose]

[<-WaitToCatalog|-w> Wait for the metadata ingestion to catalog to complete]

[<-Force|-f> Force resource creation or update]
The following table describes infacmd ldm CreateService options and arguments:
Option
Argument
Description
-DomainName
-dn
domain_name
Required. Name of the Informatica domain. You can set the domain name with the -dn option or the environment variable INFA_DEFAULT_DOMAIN. If you set a domain name with both methods, the -dn option takes precedence.
-UserName
-un
user_name
Required if the domain uses Native or LDAP authentication. User name to connect to the domain. You can set the user name with the -un option or the environment variable INFA_DEFAULT_DOMAIN_USER. If you set a user name with both methods, the -un option takes precedence.
Optional if the domain uses Kerberos authentication. To run the command with single sign-on, do not set the user name. If you set the user name, the command runs without single sign-on.
-Password
-pd
password
Required if you specify the user name. Password for the user name. The password is case sensitive. You can set a password with the -pd option or the environment variable INFA_DEFAULT_DOMAIN_PASSWORD. If you set a password with both methods, the password set with the -pd option takes precedence.
-ServiceName
-sn
service_name
Required. Catalog Service name.
-ResourceName
-rn
Name of the resource
Required. Name of the resource. The name cannot exceed 79 characters, have leading or trailing spaces, or contains carriage returns, tabs, or the following characters:
\ / * ? < > " | $
-SecurityDomain
-sdn
security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication or Kerberos authentication. Name of the security domain to which the domain user belongs. You can set a security domain with the -sdn option or the environment variable INFA_DEFAULT_SECURITY_DOMAIN. If you set a security domain name with both methods, the -sdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native. If the domain uses Kerberos authentication, the default is the LDAP security domain created during installation. The name of the security domain is the same as the user realm specified during installation.
-DomainHost
-dh
Domain host name
Required. Name of the host machine where the domain runs.
-DomainPort
-dp
Domain port number
Required. The port number of the domain.
-DomainSslEnabled
-dse
is_Domain_SSL_Enabled
Optional. Specify true to enable SSL domain. Default is False.
-SslLocation
-ts
-
Optional. Path to the truststore.
-SslPassword
-tsp
-
Optional. Password to access the truststore.
-ArchiveFilePath
-arf
-
Required. Path to the metadata archive file.
-Verbose
-v
Verbose
Optional. Displays or saves purge information in verbose mode. Verbose mode provides detailed information about object versions, including repository name, folder name, version number, and status. You can use the -b option with -o and -p.
-WaitToCatalog
-w
-
Optional. Waits for the metadata ingestion to complete into the catalog.
-Force
-f
-
Optional. Creates or updates the resource.