Hello Friends
I need a guide to virtualization in RHEL.
I tried many ways but it always gives me a different error, and in fact is very difficult and I know what I'm doing wrong.
What I want to achieve is to install a virtual machine from a ks.cfg on RHEL 6
If someone is holding appreciate some guidance about whether the share.
I've searched Google, Youtube, and other pages about it, and I can not accomplish anything.
Thanks in advance
On Sat, Jun 08, 2013 at 08:03:36AM -0400, Fidel Dominguez wrote:
Hello Friends
I need a guide to virtualization in RHEL.
I think it would help if you were a bit more specific.
For example, putting ks.cfg virtualbox into google came up with this as the first hit.
http://mikent.wordpress.com/2012/04/12/how-to-install-linux-redhat-5-x-or-6-...
VirtualBox is probably the quickest and easiest to use on CentOS. The other options are VMware-player and KVM.
I tried many ways but it always gives me a different error, and in fact is very difficult and I know what I'm doing wrong.
The way to get help here would be to tell us what you did, and what errors you saw.
On 06/08/2013 07:11 AM, Scott Robbins wrote:
On Sat, Jun 08, 2013 at 08:03:36AM -0400, Fidel Dominguez wrote:
Hello Friends
I need a guide to virtualization in RHEL.
I think it would help if you were a bit more specific.
For example, putting ks.cfg virtualbox into google came up with this as the first hit.
http://mikent.wordpress.com/2012/04/12/how-to-install-linux-redhat-5-x-or-6-...
VirtualBox is probably the quickest and easiest to use on CentOS. The other options are VMware-player and KVM.
I tried many ways but it always gives me a different error, and in fact is very difficult and I know what I'm doing wrong.
The way to get help here would be to tell us what you did, and what errors you saw.
I agree with all this, except I would say KVM is the easiest to use as it is part of the distribution.
The real question is ... do you want just visualization or do you want cloud services.
http://www.internap.com/2013/06/04/the-difference-between-private-cloud-and-...
If you want virtualization only, then KVM and virt-install is going to be the way to script an automated install:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/...
Specifically, something like this is the way to use a kickstart file with KVM:
https://www.redhat.com/archives/libvirt-users/2012-November/msg00032.html
On 06/08/2013 08:16 AM, Johnny Hughes wrote:
On 06/08/2013 07:11 AM, Scott Robbins wrote:
On Sat, Jun 08, 2013 at 08:03:36AM -0400, Fidel Dominguez wrote:
Hello Friends
I need a guide to virtualization in RHEL.
I think it would help if you were a bit more specific.
For example, putting ks.cfg virtualbox into google came up with this as the first hit.
http://mikent.wordpress.com/2012/04/12/how-to-install-linux-redhat-5-x-or-6-...
VirtualBox is probably the quickest and easiest to use on CentOS. The other options are VMware-player and KVM.
I tried many ways but it always gives me a different error, and in fact is very difficult and I know what I'm doing wrong.
The way to get help here would be to tell us what you did, and what errors you saw.
I agree with all this, except I would say KVM is the easiest to use as it is part of the distribution.
The real question is ... do you want just visualization or do you want cloud services.
http://www.internap.com/2013/06/04/the-difference-between-private-cloud-and-...
If you want virtualization only, then KVM and virt-install is going to be the way to script an automated install:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/...
Specifically, something like this is the way to use a kickstart file with KVM:
https://www.redhat.com/archives/libvirt-users/2012-November/msg00032.html
You might also look here:
On Sat, Jun 08, 2013 at 08:19:34AM -0500, Johnny Hughes wrote:
On 06/08/2013 08:16 AM, Johnny Hughes wrote:
VirtualBox is probably the quickest and easiest to use on CentOS. The other options are VMware-player and KVM.
I tried many ways but it always gives me a different error, and in fact is very difficult and I know what I'm doing wrong.
The way to get help here would be to tell us what you did, and what errors you saw.
I agree with all this, except I would say KVM is the easiest to use as it is part of the distribution.
I'm not sure that's correct. (That it's the easiest). Recently, the talk about going for an RHSCA made me look into KVM for the first time in awhile. I had to google a bit to get it working--not horribly difficult (would have been easier save for typing Bridge instead of BRIDGE in a config file, looking at it at least 10 times and not figuring out the error, but..). I think VBox is more intuitive to the newcomer, though if the OP is wondering about this for one of the tests, then KVM is definitely the way to go.
If you want virtualization only, then KVM and virt-install is going to be the way to script an automated install:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/...
I'm going to mention another link that I found useful
http://linux.dell.com/files/whitepapers/KVM_Virtualization_in_RHEL_6_made_ea...
Not for using it with a kickstart, but as a quick KVM setup. Afterwards, the link you gave has, in 15.1 and so on help with working with with kickstart (or at least PXE, even if they don't go into detail about kickstart)
On Sat, Jun 8, 2013 at 12:22 PM, Scott Robbins scottro@nyc.rr.com wrote:
I'm not sure that's correct. (That it's the easiest). Recently, the talk about going for an RHSCA made me look into KVM for the first time in awhile. I had to google a bit to get it working--not horribly difficult (would have been easier save for typing Bridge instead of BRIDGE in a config file, looking at it at least 10 times and not figuring out the error, but..). I think VBox is more intuitive to the newcomer, though if the OP is wondering about this for one of the tests, then KVM is definitely the way to go.
Doesn't bridge creation normally work in the virt-manager GUI? It didn't for me because I made the mistake of trying it in a remote freenx session which bit the dust when it unconfigured the underlying eth? interface and left a bit of a mess. But it looked like it would have worked if run in a local X session.
-- Les Mikesell lesmikesell@gmail.com
On Mon, Jun 10, 2013 at 10:18:57AM -0500, Les Mikesell wrote:
On Sat, Jun 8, 2013 at 12:22 PM, Scott Robbins scottro@nyc.rr.com wrote:
I'm not sure that's correct. (That it's the easiest). Recently, the talk about going for an RHSCA made me look into KVM for the first time in awhile. I had to google a bit to get it working--not horribly difficult (would have been easier save for typing Bridge instead of BRIDGE in a config file, looking at it at least 10 times and not figuring out the error, but..). I think VBox is more intuitive to the newcomer, though if the OP is wondering about this for one of the tests, then KVM is definitely the way to go.
Doesn't bridge creation normally work in the virt-manager GUI? It didn't for me because I made the mistake of trying it in a remote freenx session which bit the dust when it unconfigured the underlying eth? interface and left a bit of a mess. But it looked like it would have worked if run in a local X session.
Not unless one has manually created a bridge. Trying on a machine without a bridge, I saw no option to use one.
In addition, playing with this a bit more, I'm finding it to have poorer graphics than VBox on a couple of Linux desktops (Lubuntu), and it also seems that it doesn't see Mod4. I vaguely remember that being the case over 6 years ago, and actually contributing a patch to the FreeBSD port that fixed it. (Which was just a diff file to the BSD port Makefile).
I did try using spice, but that just gave me a black screen. Note that I haven't put any serious effort into any of this--I'm mostly playing with it as a platform for a few server type installs, however, it does seem that the other two give the casual user a better out of the box experience.
On Mon, Jun 10, 2013 at 11:43 AM, Scott Robbins scottro@nyc.rr.com wrote:
Doesn't bridge creation normally work in the virt-manager GUI? It didn't for me because I made the mistake of trying it in a remote freenx session which bit the dust when it unconfigured the underlying eth? interface and left a bit of a mess. But it looked like it would have worked if run in a local X session.
Not unless one has manually created a bridge. Trying on a machine without a bridge, I saw no option to use one.
The GUI isn't very intuitive, but the approach shown first here: http://www.techotopia.com/index.php/Creating_a_CentOS_6_KVM_Networked_Bridge... looked like it should have worked if freenx hadn't crashed underneath it.
In addition, playing with this a bit more, I'm finding it to have poorer graphics than VBox on a couple of Linux desktops (Lubuntu), and it also seems that it doesn't see Mod4. I vaguely remember that being the case over 6 years ago, and actually contributing a patch to the FreeBSD port that fixed it. (Which was just a diff file to the BSD port Makefile).
Once you are past the network setup you are probably better off connecting directly to the guest with vnc/freenx/remote desktop, etc. anyway.
-- Les Mikesell lesmikesell@gmail.com
HI Fidel
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtua... ?
http://www.ovirt.org/Documentation ?
Max
On 08/06/13 20:03, Fidel Dominguez wrote:
Hello Friends
I need a guide to virtualization in RHEL.
I tried many ways but it always gives me a different error, and in fact is very difficult and I know what I'm doing wrong.
What I want to achieve is to install a virtual machine from a ks.cfg on RHEL 6
If someone is holding appreciate some guidance about whether the share.
I've searched Google, Youtube, and other pages about it, and I can not accomplish anything.
Thanks in advance _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 08.Jun.2013, at 14:03, Fidel Dominguez wrote:
What I want to achieve is to install a virtual machine from a ks.cfg on RHEL 6
How would you do it with a bare metal machine? I do not think your question has anything to do with virtualization.
That said, try virt-manager, while creating a new machine you can specify kernel and initrd *and* kernel parameters
http://$whatever/centos/6/os/$arch/images/pxeboot/vmlinuz http://$whatever/centos/6/os/$arch/images/pxeboot/initrd.img ks="$url to your kickstart file"
Thks
I will try at night On Jun 8, 2013 5:11 PM, "Markus Falb" wnefal@gmail.com wrote:
On 08.Jun.2013, at 14:03, Fidel Dominguez wrote:
What I want to achieve is to install a virtual machine from a ks.cfg on RHEL 6
How would you do it with a bare metal machine? I do not think your question has anything to do with virtualization.
That said, try virt-manager, while creating a new machine you can specify kernel and initrd *and* kernel parameters
http://$whatever/centos/6/os/$arch/images/pxeboot/vmlinuz http://$whatever/centos/6/os/$arch/images/pxeboot/initrd.img ks="$url to your kickstart file" -- Markus
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos