-
-
-
-
-
-
-
-
-
-
Add-HypHypervisorConnectionAddress
-
-
-
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Add-Hyphypervisorconnectionaddress
Add a connection address to a hypervisor connection.
Syntax
Add-HypHypervisorConnectionAddress [-LiteralPath] <String> [-HypervisorAddress] <String> [-LoggingId <Guid>] [-BearerToken <String>] [-AdminAddress <String>] [<CommonParameters>]
<!--NeedCopy-->
Detailed Description
Use this command to add addresses by which a hypervisor can be contacted. All addresses added to a single hypervisor connection are assumed to be equivalent (i.e. they all result in the ability to communicate with the same hypervisors). The hypervisor that the addresses reference is stored at the point of creation of the hypervisor connection. Once this is done, to be valid, all addresses must resolve to this hypervisor.
The addresses required are; XenServer - The address of the XenServer machines (must all reference the same XenServer pool). VMWare vSphere/ESX - The address of a vCenter Server. Microsoft SCVMM/Hyper-V - the address of an SCVMM server.
Related Commands
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
LiteralPath | Specifies the path within a Host Service provider to the hypervisor connection item to which to add the address. The path specified must be in one of the following formats; |
true | false | |
HypervisorAddress | Specifies the address to be used. The address will be validated and the hypervisor must be contactable at the address supplied. XenServer (ConnectionType = XenServer) The address being added must reference the same XenServer pool referenced by any existing addresses for the same connection. |
true | true (ByValue) | |
LoggingId | Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets. | false | false | |
BearerToken | Specifies the bearer token assigned to the calling user | false | false | |
AdminAddress | Specifies the address of a XenDesktop controller to which the PowerShell snap-in connects. You can provide this as a host name or an IP address. | false | false | LocalHost. Once a value is provided by any cmdlet, this value becomes the default. |
Input Type
Return Values
Citrix.Host.Sdk.Hypervisorconnection
Add-Hyphypervisorconnectionaddress Returns An Object Containing The New Definition Of The Hypervisor Connection.
Hypervisorconnectionuid <Guid>
Specifies The Unique Identifier For The Hypervisor Connection.
Hypervisorconnectionname <String>
Specifies The Name Of The Hypervisor Connection.
Connectiontype <Citrix.Xdinterservicetypes.Connectiontype>
Specifies The Connection Type Of The Connection.
Xenserver - A Citrix Hypervisor Hypervisor
Scvmm - A Microsoft Scvmm/Hyper-V Hypervisor
Vcenter - A Vmware Vsphere/Esx Hypervisor
Custom - A 3Rd Party Hypervisor
Hypervisoraddress <String[]>
A List Of Addresses That Can Be Used To Communicate With The Hypervisor.
Username <String>
The User Name That Is Used When Connecting To The Hypervisor.
Persistent <Boolean>
Indicates Whether The Connection Is Stored In The Database Or Is A Temporary Connection Only With The Same Lifetime As The Current Powershell Session.
Pluginid <String>
The Citrix Identifier For The Citrix Machine Management Plug-In.
Revision <Guid>
Identifier For The Current Version Of The Hypervisor Connection. This Value Changes Every Time A Property Of The Hypervisor Connection Is Updated.
Supportspvsvms <Boolean>
Indicates Whether Or Not The Connection Can Be Used As Part Of A Hosting Unit And Therefore Used By The Citrix Xendesktop Machine Creation Service To Create Virtual Machines. Only The Built-In Supported Hypervisor Connection Types Can Be Used For This (I.E. Xenserver, Scvmm And Vcenter).
Metadata <Citrix.Host.Sdk.Metadata[]>
A List Of Key Value Pairs That Can Store Additional Information Relating To The Hosting Unit.
Notes
The address format must be valid for the hypervisor connection. The rules that are applied are as below: XenServer (HypervisorConnection Type = XenServer)
http:\\<IP Address>
or http:\\<server Name>
or https:\\<server Name>
Note: To use multiple addresses to the same XenServer pool to provide failover functionality, all XenServers in the pool must have a shared block storage device. If the use of https connections and failover is required, the certificates on the servers must be trusted by all of the controllers (typically this means having a root certificate installed).
Note: If XenServers are moved to new XenServer pools after being added to a hypervisor connection, unpredictable results can occur. Once a XenServer is assigned to a hypervisor connection, it must not be moved to a new XenServer pool.
In the case of failure the following errors can result.
Error Codes
———–
InputConnectionsPathInvalid
The path provided is not to an item in a sub directory of a hosting unit item.
HypervisorConnectionAddressForeignKeyObjectDoesNotExist
The hypervisor connection to which the address is to be added could not be located.
ConnectionAddressInvalid
The address could not be used to contact a hypervisor or the validation rules have not been met.
HypervisorConnectionAddressDuplicateObjectExists
The address specified is already part of the hypervisor connection.
HypervisorInMaintenanceMode
The hypervisor for the connection is in maintenance mode.
DatabaseError
An error occurred in the service while attempting a database operation.
DatabaseNotConfigured
The operation could not be completed because the database for the service is not configured.
DataStoreException
An error occurred in the service while attempting a database operation - communication with the database failed for
various reasons.
CommunicationError
An error occurred while communicating with the service.
PermissionDenied
The user does not have administrative rights to perform this operation.
ExceptionThrown
An unexpected error occurred. To locate more details, see the Windows event logs on the controller being used or examine the XenDesktop logs.
Examples
Example 1
c:\PS>Add-HypHypervisorConnectionAddress -LiteralPath XDHyp:\Connections\MyConnection -HypervisorAddress http:\\myserver.com
PSPath : Citrix.HostingUnitService.Admin.V1.0\Citrix.Hypervisor::XDHyp:\Connections\MyConnection
PSParentPath : Citrix.HostingUnitService.Admin.V1.0\Citrix.Hypervisor::XDHyp:\Connections
PSChildName : MyConnection
PSDrive : XDHyp
PSProvider : Citrix.HostingUnitService.Admin.V1.0\Citrix.Hypervisor
PSIsContainer : True
HypervisorConnectionUid : 85581f42-c5da-4976-970c-ebc3448ea1e3
HypervisorConnectionName : MyConnection
ConnectionType : XenServer
HypervisorAddress : {http:\\myserver2.com,http:\\myserver.com}
UserName : root
Persistent : False
PluginId : XenFactory
SupportsPvsVMs : True
Revision : 4c95c857-c54d-4f92-abef-0cce32c02502
Metadata :
<!--NeedCopy-->
Description
Add the address ‘http:\\myserver.com’ to the hypervisor connection called “MyConnection”.
Share
Share
In this article
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.