How start Qnap virtualStation VM

Post Reply
vincent1890
Starting out
Posts: 13
Joined: Fri Nov 22, 2019 8:56 pm

How start Qnap virtualStation VM

Post by vincent1890 »

Hello

I’m looking for how I can start a Qnap virtualStation VM by script after saving it?
I can’t find on the forum or google a solution by script Powershell,Bacth,Bash,other...

Thank you
Good day
Qnap TS-877 (64 Go de RAM) 4x6 To WD Red PRO (Raid10), 1x SSD 860 PRO 4 To (VMs Virtual Station + VMs Esxi), 1x SSD 850 EVO 500 Go (cache), 1x WD Enterprise HGST Ultrastar HC510 10 To (Backup Internal speed), 1x WD Black (8 Go Spare for RAID), 1x PCIe ConnectX-3 Pro 10G (2x Link 10 GBit/s)
vincent1890
Starting out
Posts: 13
Joined: Fri Nov 22, 2019 8:56 pm

Re: How start Qnap virtualStation VM

Post by vincent1890 »

Hello,

Despite the fact that I do not have any help, I managed to find the desired answers here is what must be done (export) first in the SSH console and then possible commands to run by an automatic remote script or manually in a console.
Thank you and have a good day

Good use to people who were looking for the same thing as me.

PS: when I created an automatic script I would put it here, it might interest people for their backups and others...

in SSH

Code: Select all

[/] # export LD_LIBRARY_PATH=/QVS/usr/lib:/QVS/usr/lib64/
[/] # export PATH=$PATH:/QVS/usr/bin/:/QVS/usr/sbin/
List All VM

Code: Select all

virsh list --all
Start VM

Code: Select all

virsh start <uuid>
Stop VM

Code: Select all

virsh shutdown <uuid> --mode acpi
or
virsh shutdown <uuid> --mode agent
Qnap TS-877 (64 Go de RAM) 4x6 To WD Red PRO (Raid10), 1x SSD 860 PRO 4 To (VMs Virtual Station + VMs Esxi), 1x SSD 850 EVO 500 Go (cache), 1x WD Enterprise HGST Ultrastar HC510 10 To (Backup Internal speed), 1x WD Black (8 Go Spare for RAID), 1x PCIe ConnectX-3 Pro 10G (2x Link 10 GBit/s)
User avatar
OneCD
Guru
Posts: 12146
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: How start Qnap virtualStation VM

Post by OneCD »

Good work Vincent, thanks for posting your solution. :geek:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Post Reply

Return to “Virtualization Station”