Jump to content
Randall8686

Xpenology VM any one running this ?

112 posts in this topic Last Reply

Recommended Posts

23 minutes ago, maxse said:

Resurrecting an old thread here but I have question. I'm looking for an simple way to backup my unraid to a remote location. I want to purchase an 8-bay synology NAS to place at a friend's place. 

 

Would it be possible to run the XPEnology VM on my unraid at home, and use their hyperbackup to backup the unraid shares to the remote synology? Would I also be able to create snapshots of the shared folder on my home unraid machine?

 

That would be amazing and just go this thought. I am currently attempting to use cludberry to an ofiste unraid running minio and it's just been such as hassle. 

 

*EDIT*

Hmmm now that I think about. I wouldn't mind even purchasing a small 2-bay synology NAS if this could be done. I can't seen to find any info though.

 

Do you guys know if I could the Synology Hyperbackup on the network shares from unraid, and than back those shares up to the remote Synology?

I'm running 3615 in VM. I'm not sure about hyberbackup but other Synology apps are working fine including Surveillance. 

Share this post


Link to post

Finally got the update working also on the 3617x - You need to run this script in order to do the latest DSM updates:

https://xpenology.com/forum/topic/28183-running-623-on-esxi-synoboot-is-broken-fix-available/

 

However, if Jun's script is re-run after the system is fully started, everything is as it should be. So extracting the script from the loader, and adding it to post-boot actions appears to be a solution to this problem:

Download the attached FixSynoboot.sh script (if you cannot see it attached to this post, be sure you are logged in)

Copy the file to /usr/local/etc/rc.d
chmod 0755 /usr/local/etc/rc.d/FixSynoboot.sh
Thus, Jun's own code will re-run after the initial boot after whatever system initialization parameters that break the first run of the script no longer apply. This solution works with either 1.03b or 1.04b and is simple to install. This should be considered required for a virtual system running 6.2.3, and it won't hurt anything if installed or ported to another environment.

 

1) Check file is in temp dir

ls /volume1/Temp/FixSynoboot.sh

sudo -i

cp /volume1/Temp/FixSynoboot.sh /usr/local/etc/rc.d

chmod 0755 /usr/local/etc/rc.d/FixSynoboot.sh

ls -la /usr/local/etc/rc.d/FixSynoboot.sh

-rwxr-xr-x  1 root root 2184 May 18 17:54 FixSynoboot.sh

Ensure the file configuration is correct, reboot the nas and FixSynoboot will be enabled.

 

That's it I am now running:

image.png.d002c8f6769742cc69267a939b08165e.png

 

I even did a test running the new migration tool, migrating all 8-9TB and all apps and configuration from my own Synology 3617

Just wanted to try to see if I could create a full running backup on my Unraid server

Sofar only thing that doesn't seem to work is my 

image.png.a91a4ffa9fdf3dfcc0e9bbd7967688cb.png

 

But again not sure I want to run virtual machines on a virtual NAS LOL!

But anyway if someone knows how to fix this it could be fun to do a benchmark

 

 

 

Share this post


Link to post

Are yuo folks doing this mainly to use the few apps like the camera app, or are you using synology for any actual storage and its DSM features?

 

I am interested if I could just run the synolgy VM and use its DSM and SHR-2 have it set as a hyperbackup vault for another synology off site and just use the synology features? I'm just confused because Im still a noob to VMs. Would it be possible to pass through the actual drives not the unraid shares, and have the xpenology VM format the drives as it needs for their own hybrid raid and btrfs file system? I wan to then be able to utilize the snapshot feature in DSM... 

 

Would appreciate some help on this

Share this post


Link to post

I was off the news regarding Unraid for quite a while...

 

but, if you want to have drives in a VM and do more with them then just store some unimportant stuff, it might be a better Idea to not pass a drive directly to a VM , but to pass an entire controller to the VM. Like a SATA controller over pci(e) or passing some pci(e) connected controllers off the motherboard itself. Same with usb devices and usb controllers.

 

One thing that would be interesting for me would be the Synology Active Backup feature. I would set up an Unraid box, put a xpenology VM on it and would like to use that to backup ESXi VMs either to UNRAID itself or to a storage on the Synology VM. I am not certain yet if that would work.... I just found out about Synologys Active Backup capabilities on free ESXi servers myself.

 

 

 

 

Share this post


Link to post

That's interesting, but I am using an LSI controller. So it would end up passing all of the drives then?

Can anyone else help with this please? I am thinking of using XPENology on my remoe server to simply have it as the target for Hyper Backup Vault, and to easily be able to back up with sftp instead of running minio.

Share this post


Link to post

So quick question.

 

I have a supermicro 846 SAS2 chasis with an Asus board and LSI controller currently running unraid with an i5.

 

Would it be possible to run a stable version of Xpenology virtualized in in unraid and make the adjustments in Xpenology to see and format all the 24 drives in Synology? That would be amazing because I'm thinking I could use then transfer the VM to an X8SIL board with the same chasis and have it be a huge synology hyper back up vault set up!

 

Can anyone help with this or think it's a bad idea? I am currently testing out minio with a vm of cloudberry which took me forever to get working and it still errors out from time to time and I can't get a another off site synology to back up to it with s3 because it just won't work with the minio S3 :( So this would be a great solution!

Share this post


Link to post

I've run XPEnology for 2+ years with passed through whole disks done i the same way you would pass a full disk to any other VM in unRAID without any issue what so ever.
If you are in doubt about how to pass a full disk to a VM, see "spaceinvaderone's" exelent video on the topic.
But when it is passed into the VM, you would just format it in the synology DSM software like if it was a standalone box. 

Hope this helps you going 😉
 

Share this post


Link to post

Do guys know if I could set this entire thing up while the unraid server is in a remote location? I have access to the machine through VPN on an rpi... Would I be able to set this entire thing up without having physical access to the server the remote location?

 

Thhank you so much @Baskedk I want to get this going with snapshots on a remote machine and back up to it via sftp with snapshots, since I don't want to rely on minio. But the machine is in a remote location right now and I'm wondering if I could get this all going remotely while connected through the VPN, or if I have to have physical contact with the machine during certain steps?

 

I will read through this thread again, I did twice already before and I believe the bootloader is linked within this thread? But just in case, which one should I use? This will be strictly for a remote sftp server with snapshots that I will rclone too. Supermicro 8XSIL board with an LSI controller and HP port expander. Node 804 has capicity for 12 drives which is all I want to run in this. It currently had 8, not includng the unraid cache drive and I want to be able to use all 12 for xpenology

 

 

*EDIT*

BTW, I plan to set up sftp on it, and use rclone from my main unraid to back up to the xpenology/synology using sftp on a different port. other than 22. It seems that it's just a matter of checking off some boxes on the xpenology to allow this. Will this automatically make it secure and an encrypted transfer, or will I also need to set up letsencrypt, like I have been doing with the minio intance? Or is that all built-in to the synology/xpenology all I need to do is forward a port and check of some boxes in the DSM?

Edited by maxse

Share this post


Link to post

No need to have a certificate to run sftp on the DSM. And yes, you can change the port DSM uses for sftp inside the settings there.

I can't see why not you could do the entire setup remotely. It should only be for adding disks to the setup as i see it.

As for which bootloader version to use, it varies a bit for people what works.
I believe I've used the setup @bmac6996 provided the details for on page 3 in this threat here. 

 

As for how to get going, there is a well documented tutorial from the XPEnology forums here: https://xpenology.com/forum/topic/7973-tutorial-installmigrate-dsm-52-to-61x-juns-loader/

 

And here is the serial generator for it as well: https://xpenogen.github.io/serial_generator/

 

Just make sure you don't use any of the Synology Quickconnect features with xpenology, since it is the one thing that directly communicates with synology's servers. If you need remote access to your instance, forward ports to it 😉

Share this post


Link to post
12 hours ago, Baskedk said:

No need to have a certificate to run sftp on the DSM. And yes, you can change the port DSM uses for sftp inside the settings there.

I can't see why not you could do the entire setup remotely. It should only be for adding disks to the setup as i see it.

As for which bootloader version to use, it varies a bit for people what works.
I believe I've used the setup @bmac6996 provided the details for on page 3 in this threat here. 

 

As for how to get going, there is a well documented tutorial from the XPEnology forums here: https://xpenology.com/forum/topic/7973-tutorial-installmigrate-dsm-52-to-61x-juns-loader/

 

And here is the serial generator for it as well: https://xpenogen.github.io/serial_generator/

 

Just make sure you don't use any of the Synology Quickconnect features with xpenology, since it is the one thing that directly communicates with synology's servers. If you need remote access to your instance, forward ports to it 😉

Thank you sooo much! Looks complex though, but I think I figured out what I will do.

 

I am just going to conitnue running minio docker with letsencrypt reverse proxy, and use rclone. There aren't any limits on file count sfor minio as far as I understand. The biggest issue then becomes the versioning that synology would provide via the snapshots, in case of ransomware getting accidentally synced, etc... I guess I'll have to be extra careful and then hopefully soon unraid will have the ability to take snapshots.... I just didn't want to have to rely on another program like minio in case I need to recover and something crashes with its database, I won't be able to read the files... unfortunately, it seems too difficult to set up sftp on the unraid, and also again, no versioning. I would just get the 12bay synology already but it's soo $$$

Share this post


Link to post

Hey guys i have a IBM X3300 M4 server and im currently running the latest unraid in it. i have been trying to get this working while being a newbie with servers and codes. im having a problem where i cant look for the server on the find.synology.com site. can any one explain amd help me with this problem. any further information you need can be provided. thanks in advance ! 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.