Skip to main content
SnapCenter 6.0 cmdlets

Add-SmDomain

Contributors

Register a domain with SnapCenter server.

Syntax

Add-SmDomain [-Name]  <String>  [-Protocol]  <String>  [-FQDN]  <String>  [-IPAddresses]  <String>  [-DCHostNames]  <String>

Detailed Description

Register a trusted or untrusted domain with SnapCenter Server.

Parameters

Name Description Required? Pipeline Input Default Value

Name

NETBIOS Name of the domain to be registered. The domain name must not contain special characters like forward slash (/), backslash (\), colon (:), asterisk (*), question mark (?), double quotation mark ("), left angle bracket (<), right angle bracket (>), and vertical bar (|).  The domain name must not begin with the special character dot (.).

true

true (ByPropertyName)

Protocol

Protocol of the domain to be registered.By default the protocol value is LDAP. You can specify LDAPS to use the secured windows active directory communication.

false

true (ByPropertyName)

FQDN

FQDN of the domain to be registered.Used for both LDAP and LDAPS protocol, when you provide the correct FQDN while adding or modifying the domain with LDAP protocol, the domain resolves and the IP address that you might have entered using the IPAddresses parameter is not stored.

true

true (ByPropertyName)

IPAddresses

Domain IP Addresses of the disjoint domain to be registered.When you provide the correct FQDN while adding or modifying the domain, the domain resolves and the IP address is not stored.

false

true (ByPropertyName)

DCHostNames

Domain host name of the disjoint or the same domain to be registered.For LDAPS protocol, DCHostNames is a mandatory parameter. The IP address should resolve and the user should not be permitted to manually provide the IP address.

false

true (ByPropertyName)

Examples

Example 1: Register a trusted domain with SnapCenter Server with LDAP Protocol.

 Add-SmDomain -Name ad12 -FQDN ad12.test.netapp.com
Added the domain ad12.
Id : 0
Name   : ad12
DomainFQDN : ad12.test.netapp.com
DCHostIPAddresses  :
TrustedDomains :
CreatedOn  :
ModifiedOn :
Port   : 389
Protocol   : LDAP
DCHostNames:

Example 2: Register an untrusted domain with SnapCenter Server with LDAP Protocol.

 Add-SmDomain -Name ad16 -FQDN ad16.test.netapp.com -IPAddresses 192.160.0.44
Added the domain ad16.
Id : 0
Name   : ad16
DomainFQDN : ad16.test.netapp.com
DCHostIPAddresses  : 192.160.0.44
TrustedDomains :
CreatedOn  :
ModifiedOn :
Port   : 389
Protocol   : LDAP
DCHostNames:

Example 3: Register a trusted domain with SnapCenter Server with LDAPS Protocol.

 Add-SmDomain -Name ad19 -FQDN ad19.test.netapp.com -DCHostNames WS9K19DC.ad19.test.netapp.com -Protocol LDAPS
Added the domain ad19.
Id : 0
Name   : ad19
DomainFQDN : ad19.test.netapp.com
DCHostIPAddresses  :
TrustedDomains :
CreatedOn  :
ModifiedOn :
Port   : 636
Protocol   : LDAPS
DCHostNames: WS9K19DC.ad19.test.netapp.com