SolidCP with more t...
 
Notifications
Clear all

SolidCP with more than one Hyper-V server

2 Posts
2 Users
0 Reactions
812 Views
Posts: 1
Topic starter
(@techguy)
New Member
Joined: 5 years ago

Hi,

We are currently using WSP and trying to migrate to SolidCP so that we can use Windows 2019.

On our WSP platform we provisioned a VPS with Windows Server 2008 as a domain controller, with Hyper-V management tools and all three elements of WSP installed, and then we added our Hyper-V servers joining the domain, and adding it to the servers in the portal and we are able to deploy VPS using our template and configure them, and it works flawlessly for years.

On the SolidCP platform we followed the same logic and provisioned a VPS with Windows Server 2019 as a domain controller, with Hyper-V management tools and all three elements of SolidCP installed, and then we added one Hyper-V server by joining the domain and adding it as a server in the portal and it worked.

However after we added the second Hyper-V server by joining the domain, and add it as a server in the portal, we faced a problem. Whenever we start the provisioning process, on either of the hosting servers, it starts on both of them by creating the folders for the template and then by copying the template file to the assigned folder and then there is an error.

It seems that SolidCP server connects to both server at the same time instead of just one. Here is the error that we are receiving:

00:00:00

Setup external network

00:00:00
Assigning external IP addresses

00:00:00
Setting external primary IP address

00:00:00
Setup management network

00:00:00
Management network setup - Skipped

00:00:00
Setup private network

00:00:00
Private network setup - Skipped

00:00:00
OS Template Generation: 2

00:00:00
SecureBoot: Enabled

00:00:00
OS Template: Windows Server 2019 SE

00:00:00
Start Converting template VHD

00:00:00
Template VHD path: D:Synced-FilesServer2019STD.vhdx

00:00:00
Converting to 'D:Hyper-VVirtualMachinesDemo.NY-101.LocalVirtual Hard DisksDemo.NY-101.Local.vhdx'

00:00:24
Error reading VHD information: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '0' is not a valid value for SolidCP.Providers.Virtualization.VirtualHardDiskType. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write9_VirtualHardDiskType(VirtualHardDiskType v) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write12_VirtualHardDiskInfo(String n, String ns, VirtualHardDiskInfo o, Boolean isNullable, Boolean needType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write125_GetVirtualHardDiskInfoResponse(Object[] p) at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) at System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream) at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues) at System.Web.Services.Protocols.WebServiceHandler.Invoke() --- End of inner exception stack trace ---
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '0' is not a valid value for SolidCP.Providers.Virtualization.VirtualHardDiskType.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write9_VirtualHardDiskType(VirtualHardDiskType v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write12_VirtualHardDiskInfo(String n, String ns, VirtualHardDiskInfo o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write125_GetVirtualHardDiskInfoResponse(Object[] p)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream)
at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues)
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Virtualization2012.VirtualizationServer2012.GetVirtualHardDiskInfo(String vhdPath)
at SolidCP.EnterpriseServer.VirtualizationServerController2012.CreateVirtualMachineInternal(String taskId, VirtualMachine vm, LibraryItem osTemplate, Int32 externalAddressesNumber, Boolean randomExternalAddresses, Int32[] externalAddresses, Int32 privateAddressesNumber, Boolean randomPrivateAddresses, String[] privateAddresses, String summaryLetterEmail)

00:00:24
VPS was not created

1 Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

Can you please check if Disk Type has been set in the HyperV provider?

Kind Regards,

Trevor Robinson

Reply
Share: