< Back
Add-NsxSecondaryManager
Post
NAME Add-NsxSecondaryManager
SYNOPSIS
Adds a standalone NSX Manager to an existing CrossVC configured NSX
environment.
SYNTAX
Add-NsxSecondaryManager -NsxManager <String> [-Thumbprint <String>] [-AcceptPresentedThumbprint] [-Credential
<PSCredential>] [-Connection <PSObject>] [<CommonParameters>]
Add-NsxSecondaryManager -NsxManager <String> [-Thumbprint <String>] [-AcceptPresentedThumbprint] [-Username
<String>] -Password <String> [-Connection <PSObject>] [<CommonParameters>]
DESCRIPTION
The NSX Manager is the central management component of VMware NSX for
vSphere.
The Add-NsxSecondaryManager cmdlet adds a standalone NSX Manager
to a CrossVC configured NSX environment.
The connected NSX Manager must be configured with the Primary Role, and
the standalone NSX Manager to be added must be configured with the
Standalone role.
PARAMETERS
-NsxManager <String>
Hostname or IPAddress of the Standalone NSX Manger to be added
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Thumbprint <String>
SHA1 hash of the NSX Manager certificate. Required unless -AcceptPresentedThumprint is specified.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AcceptPresentedThumbprint [<SwitchParameter>]
Accept any thumbprint presented by the server specified with -NsxManager. Insecure.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Username <String>
Username for NSX Manager to be added. A local account with SuperUser privileges is required. Defaults to
admin.
Required? false
Position? named
Default value admin
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Password for NSX Manager to be added. A local account with SuperUser privileges is required.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Credential object for NSX Manager to be added. A local account with SuperUser privileges is required.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? named
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-NsxSecondaryManager -NsxManager nsx-m-01b -Username admin -Password VMware1! -AcceptPresentedThumbprint
Adds the NSX Manager nsx-m-01b as a secondary to the currently connected primary NSX Manager and accepts whatever
thumbprint the server returns.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Add-NsxSecondaryManager -NsxManager nsx-m-01b -Credential $Cred -AcceptPresentedThumbprint
Adds the NSX Manager nsx-m-01b as a secondary to the currently connected primary NSX Manager and accepts whatever
thumbprint the server returns. Credentials are specified as a PSCredential object.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Add-NsxSecondaryManager -NsxManager nsx-m-01b -Username admin -Password VMware1! -Thumbprint
d7:8d:8a:06:55:52:2a:49:00:06:b1:58:c22b:82:21:6b:2f:92
Adds the NSX Manager nsx-m-01b as a secondary to the currently connected primary NSX Manager and validates that
the thumbprint presented by the server is as specified.
RELATED LINKS
SYNOPSIS
Adds a standalone NSX Manager to an existing CrossVC configured NSX
environment.
SYNTAX
Add-NsxSecondaryManager -NsxManager <String> [-Thumbprint <String>] [-AcceptPresentedThumbprint] [-Credential
<PSCredential>] [-Connection <PSObject>] [<CommonParameters>]
Add-NsxSecondaryManager -NsxManager <String> [-Thumbprint <String>] [-AcceptPresentedThumbprint] [-Username
<String>] -Password <String> [-Connection <PSObject>] [<CommonParameters>]
DESCRIPTION
The NSX Manager is the central management component of VMware NSX for
vSphere.
The Add-NsxSecondaryManager cmdlet adds a standalone NSX Manager
to a CrossVC configured NSX environment.
The connected NSX Manager must be configured with the Primary Role, and
the standalone NSX Manager to be added must be configured with the
Standalone role.
PARAMETERS
-NsxManager <String>
Hostname or IPAddress of the Standalone NSX Manger to be added
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Thumbprint <String>
SHA1 hash of the NSX Manager certificate. Required unless -AcceptPresentedThumprint is specified.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AcceptPresentedThumbprint [<SwitchParameter>]
Accept any thumbprint presented by the server specified with -NsxManager. Insecure.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Username <String>
Username for NSX Manager to be added. A local account with SuperUser privileges is required. Defaults to
admin.
Required? false
Position? named
Default value admin
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Password for NSX Manager to be added. A local account with SuperUser privileges is required.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Credential object for NSX Manager to be added. A local account with SuperUser privileges is required.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? named
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-NsxSecondaryManager -NsxManager nsx-m-01b -Username admin -Password VMware1! -AcceptPresentedThumbprint
Adds the NSX Manager nsx-m-01b as a secondary to the currently connected primary NSX Manager and accepts whatever
thumbprint the server returns.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Add-NsxSecondaryManager -NsxManager nsx-m-01b -Credential $Cred -AcceptPresentedThumbprint
Adds the NSX Manager nsx-m-01b as a secondary to the currently connected primary NSX Manager and accepts whatever
thumbprint the server returns. Credentials are specified as a PSCredential object.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Add-NsxSecondaryManager -NsxManager nsx-m-01b -Username admin -Password VMware1! -Thumbprint
d7:8d:8a:06:55:52:2a:49:00:06:b1:58:c22b:82:21:6b:2f:92
Adds the NSX Manager nsx-m-01b as a secondary to the currently connected primary NSX Manager and validates that
the thumbprint presented by the server is as specified.
RELATED LINKS