LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-02-2015, 12:27 PM   #1
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Rep: Reputation: 0
trouble with virsh


I'm configuring a new server for a remote location. I got it setup and running virsh just fine. I'm working on getting virsh to work with secondary internal hard drive. The main hard drive is a solid state and small to run the os (centos 7). I have another 2 tb hard drive in and I have it mounting on boot. I created a storage pool and pointed it to a directory on the secondary hard drive and created a virtual machine. It will start and stop fine and works just like if I have it on the main drive. The thing is I set the vm to autostart and I don't know if this is causing it or not, but when the server reboots virsh can't connect to host until i restart libvirt. Any ideas what is going on?

I tried to disable autostart and see if that would fix it and it doesn't. So right now when the server starts I have to restart the libvirt service to get it to connect

Last edited by jdmmis; 07-02-2015 at 12:38 PM.
 
Old 07-02-2015, 03:05 PM   #2
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 0
Got it to work, had to run these commands again

Quote:
systemctl start libvirtd
systemctl enable libvirtd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Access virsh instance without ssh jberiksen Linux - Virtualization and Cloud 1 08-29-2014 12:48 AM
[SOLVED] virsh not connecting after recovery custangro Linux - Virtualization and Cloud 2 10-19-2013 12:10 PM
problem in connection to console of VM via virsh sanaz Linux - Virtualization and Cloud 11 10-01-2012 06:06 PM
qemu/kvm virsh networking help zoran119 Linux - Virtualization and Cloud 2 12-02-2010 01:43 AM
Xen, xendomain and virsh matiasquestions Linux - Software 0 12-04-2007 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration