Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-30-2008, 10:36 AM
|
#1
|
|
Member
Registered: Nov 2006
Posts: 55
Rep:
|
Xen on CentOS 5.0 "xm"
I am completely new to CentOS 5.0, (only a few days). Someone was asking me about installing Citrix XenServer on it (I don't know anything about "XenServer", I just heard about it yesterday). While searching around for info I found that CentOS 5.0 already has Xen installed on it.
Does anyone know the difference between Citrix XenServer and the Xen installed on CentOS 5.0.?
I was told if I use "uname -r" it will tell me if the Xen kernel is installed. I get:
uname -r
2.6.18-92.1.10.el5xen
Which I assume means it's installed.
Now I was told t use "xm list" but "xm list" doesn't work. I get:
xm list
bash: xm: command not found
Next, to setup a virtual machine use "virt-install", this does work:
virt-install
What is the name of your virtual machine?
Why doesn't "xm list" work.? What do I need to do to make it work.?
|
|
|
|
10-01-2008, 12:55 AM
|
#2
|
|
Member
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
|
1. I don't know the exact difference. But I know that XenSource the company behind Xen was bought by Citrix. So I guess they have a different product. Since Xen is Open Source it's been included with several distros in cluding RHEL, CentOS, Fedora and Ubuntu.
2. Why xm command doesn't work: Check whether you have the necessary packages. For example just having a Xen kernel (kernel-xen) doesn't guaruntee the availability if xen utilities.
Find what's installed
Search the repos for what are available.
If xen, xen-libs or any other necessary package is not installed try installing them with
Eg:
Code:
#yum install xen xen-libs
Note: You might some from here useful.
3. Try virt-manager. It's a GUI tool which can help you to manage Xen VMs. Also if your time allows ans need drives, have a look at the new oVirt project.
Last edited by SkyEye; 10-01-2008 at 12:58 AM.
|
|
|
|
11-20-2009, 09:09 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2009
Posts: 4
Rep:
|
yum install didn't help
Hi all,
I have installed the xen kernel (Dom0) on CentOS 5 and is verified by the following:
root# uname -r
2.6.18-164.6.1.el5xen
I have also installed all the appropriate packages (xen xen-libs libvirt xen-kernel, etc) and I still get the following:
root# xm list
bash: xm: command not found
I can use the virt-manager GUI or virt-install from the terminal, but need to specifically use xm tools. I find it strange that after installing all the packages that they are not working.
Any suggestions?
Thanks!
|
|
|
|
12-09-2009, 10:18 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2009
Posts: 2
Rep:
|
"/usr/sbin/xm list" run this. I think, It will work, also, plase check your PATH env
--Syed!
|
|
|
|
01-31-2010, 11:28 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2009
Posts: 4
Rep:
|
Still no luck... Can't seem to run any xm commands... Here's what I've tried...
[root@localhost usr]# xm list
bash: xm: command not found
[root@localhost usr]# xm create
bash: xm: command not found
[root@localhost usr]# yum install xen*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.cs.wisc.edu
* base: mirrors.xmission.com
* extras: mirrors.liquidweb.com
* updates: mirror.hmc.edu
Setting up Install Process
Package xen-devel-3.0.3-94.el5_4.3.i386 already installed and latest version
Package xen-libs-3.0.3-94.el5_4.3.i386 already installed and latest version
Package xen-3.0.3-94.el5_4.3.i386 already installed and latest version
Nothing to do
[root@localhost usr]#
Again, the Virtual Machine Manager GUI is working, but I would like to run VM management from the terminal.
Any help would be most appreciated. Thanks!
|
|
|
|
02-01-2010, 07:36 AM
|
#6
|
|
LQ Newbie
Registered: Dec 2009
Posts: 2
Rep:
|
Please run the following command ("/usr/sbin/xm list")
[root@localhost usr]# /usr/sbin/xm list
--Syed!
|
|
|
|
02-01-2010, 06:35 PM
|
#7
|
|
LQ Newbie
Registered: Nov 2009
Posts: 4
Rep:
|
Worked! Sorry about that. I was in the wrong directory before.
Thanks!!!!!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:54 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|