XenServer 7 install not working for SD-Card setup
-
errrrrg
Would have helped if that were mentioned somewhere in the 42 tutorials I read before trying to update.I found it curious that the install did not ask me where to install to. I don't know if it ignored the SD or automatically chose it, but it didn't ask.
Nor did it ask what partition type I wanted, this wasn't a question.Guess I'm off to buy a couple 64GB SDs.....
-
@guyinpv said in XenServer 7 install not working for SD-Card setup:
errrrrg
Would have helped if that were mentioned somewhere in the 42 tutorials I read before trying to update.I found it curious that the install did not ask me where to install to. I don't know if it ignored the SD or automatically chose it, but it didn't ask.
Nor did it ask what partition type I wanted, this wasn't a question.Guess I'm off to buy a couple 64GB SDs.....
Yeah the installer will only list usable installation targets. It irks me as well. It could easily list the targets with a title "unusable for installation"
But then again, you could very well install to a smaller partition (if you wanted. . )
-
I'd rather take advantage of the new hotness.
The thing is, the installer for 7.1 actually DID do something. I mean, it installed somewhere! I'm guessing that's why my SR is offline, it must have installed to the drive, but my system is booting to the SD still.
-
@guyinpv said in XenServer 7 install not working for SD-Card setup:
I'd rather take advantage of the new hotness.
The thing is, the installer for 7.1 actually DID do something. I mean, it installed somewhere! I'm guessing that's why my SR is offline, it must have installed to the drive, but my system is booting to the SD still.
Yes, it sure does. It just continues to write files even tho it doesn't have the space for them... think of it like those fake USB drives that have 4MB worth of storage but claim to be 4TB.
-
Well that didn't go so well....sort of.
I bought a couple 64GB SD Cards. Just for fun I thought I could install them by utilizing the mirror function of the Dell SD Module. I turned off the server, popped one old SD out and put in one new card.
Booted up the machine and strangely enough, it did not immediately want to mirror the cards. Apparently I had removed the card in slot 1 and the BIOS had that slot set as primary. I'm not really sure why that affects the mirroring but ok.So I changed the BIOS to make slot 2 the primary card. Now when I reset, it properly asked me to fix the mirror and I said yessaroo. This appeared to work, as it later booted into the existing XS 6.5.
I thought, cool, now I just need to pop out the other original card and stick in the new one, and it will mirror back again and the upgrade will be done. This time, however, it didn't work. I booted up and it acknowledged the need for a mirror operation, which I said yes. I left it overnight but nothing ever came of it, it didn't mirror, I don't know. And XS could not start at all after that, it was borked.
Oh well, I can just do a clean install of XS 7.1, and that's just what I did. The install went through perfect, it detected the new SD cards as valid to install to, all good.
Now I reconnected XenCenter and found 4 updates to do for about 85MB.
After the updates I tried to connect my NFS share on my Synology which houses the backed up VMs as well as my ISOs. This was no bueno.
If I try to connect the SR with "nas1:/ISOs" it threw an error saying "DNS lookup failed: the given servername could not be resolved."
If I tried to connect using the IP instead, I got a different error "The SR failed to complete the operation ... Check your settings and try again."Grrrrr. I checked my network settings over and over on both the Synology and XS, many tweaks to test but I could not get it to connect.
I can't even ping any hosts directly from the XS CLI. I'm guessing that somehow XS 7.1 is not configured for support for resolving WINS hosts or something? I have no idea, but it won't ping any hostnames on my network at all. But it will ping domain names and IPs.
Regardless of resolving hostnames, it's still strange that it wouldn't connect the NFS using an IP either.
Back to the drawing board.
-
But the NFS worked before?
-
@guyinpv You might need to check your Management Network dns settings on XS.
-
@scottalanmiller said in XenServer 7 install not working for SD-Card setup:
But the NFS worked before?
Ya. I guess I only ever used it just for this, connecting the NFS. I wouldn't care about it if I could just connect using the IP instead but why wouldn't that work either? Does NFS only work using hostnames?
@momurda said in XenServer 7 install not working for SD-Card setup:
You might need to check your Management Network dns settings on XS.
Settings are pretty uncomplicated; static IP, using main router for default gateway as well as only DNS provider.
Supposedly, the way to get NETBIOS support in 'Nix is by installing winbind and making an edit to the /etc/nsswitch.conf file to enable wins for lookups.
I'm hesitant to do this just because I don't want to manually tweak anything with the default install of XS. -
NFS shouldn't care about host names unless you kerberized it.
-
@guyinpv Youre already tweaking by using SD cards.
Im not sure why you would need NETBIOS/WINS support. Doesnt the NFS server have A record in your DNS? -
@momurda said in XenServer 7 install not working for SD-Card setup:
@guyinpv Youre already tweaking by using SD cards.
Im not sure why you would need NETBIOS/WINS support. Doesnt the NFS server have A record in your DNS?Since he's using his firewall for the DNS server, I'm guessing he isn't putting any A records in there.
-
@scottalanmiller said in XenServer 7 install not working for SD-Card setup:
kerberized it
I got it to work using the IP finally.
Now that I was able to connect my backup VMs share, I went ahead and imported the OVF file. This successfully recreated 3 of my VMs.
But wait, there's more!
It only imported ONE of the VHD files to one of the 3 VMs?!?! fml
So now I'm stuck having my 3 VMs but only one of them can boot cause the other two don't have their drives attached.
I've done my obligatory 3 hours of Googling to try and find out how I can attach the other VHD files to the imported VMs, with no luck.
Just for reference:
-
I created the backup by highlighting the three VMs and clicking the VM->Export menu. This created three VHD files and one OVF file.
-
I imported the OVF file. This created three VMs, but only one of them has a drive attached. The other two boot with essentially "no boot media", no drive.
Now I have what must be my two missing drives, the VHD files, but don't know how to connect those to their respective VMs!
-
-
@guyinpv From the storage tab while a vm is selected in XenCenter, Click on Attach Disk. choose the disk from your list of SR.
-
@momurda said in XenServer 7 install not working for SD-Card setup:
@guyinpv From the storage tab while a vm is selected in XenCenter, Click on Attach Disk. choose the disk from your list of SR.
The only thing in this menu is "Local storage" and "Removable storage".
The VHD files I have are not located on the local storage media, they are on my NAS backup device.
Somehow I have to get the VHD files off the NAS and imported into the existing VMs.
-
Oh i thought you got nfs working earlier
-
@momurda said in XenServer 7 install not working for SD-Card setup:
Oh i thought you got nfs working earlier
I did but that was just my ISO collection, lol
I did try to connect the folder where my backup is, also as an NFS store, but it doesn't really work that way. XS treats these connects like an SR. All I want to do is copy those VHDs back to the server's own local storage, not setup a new SR.
Maybe I'm missing a step here?
-
Can you to connect to that SR then move the disks to the local SR, then attach the disk to the vm? In 6.5 i think the vm had to be on to move disks, in 7 i think this is possible now.
-
@guyinpv said in XenServer 7 install not working for SD-Card setup:
@momurda said in XenServer 7 install not working for SD-Card setup:
@guyinpv From the storage tab while a vm is selected in XenCenter, Click on Attach Disk. choose the disk from your list of SR.
The only thing in this menu is "Local storage" and "Removable storage".
The VHD files I have are not located on the local storage media, they are on my NAS backup device.
Somehow I have to get the VHD files off the NAS and imported into the existing VMs.
I'm not sure how to do this off the top of my head in XenOrchestra (me=fail). How I got my XO back was by using XenCenter. Have the VHD files available on the local machine, and then go to file -> import inside of XenCenter, and select one of the VHD files. You'll then get the normal vm creation questions, but without the storage creation. You should be good to go after the import.
-
@travisdh1 said in XenServer 7 install not working for SD-Card setup:
@guyinpv said in XenServer 7 install not working for SD-Card setup:
@momurda said in XenServer 7 install not working for SD-Card setup:
@guyinpv From the storage tab while a vm is selected in XenCenter, Click on Attach Disk. choose the disk from your list of SR.
The only thing in this menu is "Local storage" and "Removable storage".
The VHD files I have are not located on the local storage media, they are on my NAS backup device.
Somehow I have to get the VHD files off the NAS and imported into the existing VMs.
I'm not sure how to do this off the top of my head in XenOrchestra (me=fail). How I got my XO back was by using XenCenter. Have the VHD files available on the local machine, and then go to file -> import inside of XenCenter, and select one of the VHD files. You'll then get the normal vm creation questions, but without the storage creation. You should be good to go after the import.
Sounds reasonable. Then I just have to figure out how to copy the files onto the server local storage. There is no general "file browser" in XC where I can just copy files from the network.
-
@guyinpv
Use winscp or FileZilla