Remove VM from soli...
 
Notifications
Clear all

Remove VM from solidCP , reflect on hyper-v console but keep it's folder with disk

Page 3 / 4

TechGuy
Posts: 205
(@hxkd)
Estimable Member
Joined: 5 years ago

Hi,

sorry im confused, which user are you referring to, the enterprise server user or the hyperv proxy or remotes, just wanna get me on the same page.. Another question, when we use a proxy, the connection settings is actually the proxy server settings for all the remotes. This causes a bit of confusion, ie the properties that we then see is actually the proxy server and not the remotes, so you think you rebooting the remote hyperv server or looking at its logs etc, but in fact its looking at the proxy, is there no way to rectify this issue, or connect solidcp direct to a hyperv core machine without the proxy ? The issue in reality is you need to have a full windows server to manage the remote as it needs iis etc, and the whole intention of using hyperv core is to not have the licencing problem... 

Reply
Genadij
Posts: 103
(@berkut)
Estimable Member
Joined: 5 years ago

If your Remote HyperV server is not in a domain, you should add it in trusted hosts list.

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_remote_troubleshooting?view=powershell-7.2#how-to-connect-remotely-from-a-workgroup-based-computer

This note will be added in a future release of SolidCP to help other people properly set up remote HyperV.

Reply
TechGuy
Posts: 205
(@hxkd)
Estimable Member
Joined: 5 years ago

Hi, no the hyper v servers are all in a domain, its the vps that we created that we running the solid cp enterprise server and portal on that was not in the domain. So we added all the domains machines to the trusted senders list of the solidcp machine, which then allowed powershell cmds to run without auth errors. but it still didnt fix the delete issue.

Reply
Genadij
Posts: 103
(@berkut)
Estimable Member
Joined: 5 years ago

You not properly read my last message about the fix.

https://solidcp.com/forum/postid/9892/

Reply
TechGuy
Posts: 205
(@hxkd)
Estimable Member
Joined: 5 years ago

ok I took a chance and assumed the dll was compiled correctly for the hyperv 2012 service provider, I copied it onto the hyper-v server that is the proxy for the other vms, unnder the C:\SolidCP\Server asp.net v4.5\bin folder, I renamed the other dlls and then copied the file to the server, I then created a vm and tried deleting it, and the disk was removed successfully.  Attached is the file, however, I would like to resolve the couple issues that i saw when compiling the files, as I have a few ideas that I want to implement later on.

PLEASE NOTE = DISCLAIMER!!  I tested this on my system and its working, I have not had any issues using it, however, I have added it here freely, but I will NOT TAKE any responsibility, if you use it its at your own risk. There is NO VIRUS etc, this is just a disclaimer, knowing the web and how things happen 😉

 

Reply
Page 3 / 4
Share: