Re: [cobbler] PXE of xen domU (XenCenter)

2012-10-18 Thread André Gemünd
Hi,

may I ask for what you need that exactly? I always use koan for XenPV, and 
think its really convenient. koan --virt to install new machines over the wire 
and --replace-self on existing machines for reinstallations. Since that works 
flawlessly, I've never used PXE on VMs anymore. 

But still, you can use pypxeboot for Xen machines, although I wouldn't know why.

Greetings
André

- Ursprüngliche Mail -
> Hi.
> 
> Is it possible to PXE XenServer domU with cobbler? I've been looking
> around but have somehow missed documentation on this one...
> 
> 
> --
> Jakov Sosic
> www.srce.unizg.hr
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> 

-- 
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemu...@scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] PXE of xen domU (XenCenter)

2012-10-18 Thread James Cammarata
On Oct 18, 2012 12:47 PM, "Jörgen Maas"  wrote:
>
> On Thu, Oct 18, 2012 at 7:06 PM, Jakov Sosic  wrote:
>>
>>
>>
>> Well I don't necessary need PXE, I can boot live CD, but how to force
>> 'cobbler buildiso' to build paravirtualized kernel/initrd into it's
>> generated.iso?!
>>
>
> I dont think that's up to cobbler
> Just add a another distro object with the proper kernel/initrd's
>

When you imported the distribution, cobbler should have created a version
of the distro/profile that ended with -xen. Use that instead and you should
be good to go.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] How Anaconda Detects Hard Drives

2012-10-18 Thread Orion Poplawski

On 10/11/2012 04:28 PM, Bob Cochran wrote:

Greetings,

I have a system which is essentially a network attached storage server. It has
FreeNAS 8.2.0 running on it from a USB flash drive, and approximately 12 Tb of
RAIDed storage across 9 hard drives. These drives are connected to two (2) IBM
M1015 SAS host adapters. (Forgive me, I'm still new to network storage and
didn't understand I can use an SAS expander in combination with the SAS HBAs
until yesterday.)

There is a 10th hard drive which is an SSD drive and which is not connected to
anything right now -- not to the SAS HBAs and not to the SuperMicro
motherboard's SATA ports.

I want to connect this SSD drive to the box and then use Cobbler to install
Fedora 17 specifically to the SSD. The Fedora installation will become a
virtual machine host and will run a bunch of guests that do various things. In
fact I want to turn FreeNAS into a vm.

My question is, do I need to disconnect all the NAS hard drives in order to
make certain that anaconda won't decide to format and use a storage drive
instead of the SSD? I would rather not risk the data that is on those storage
drives. Or is there a kickstart option to show me a list of the enumerated
hard drives and let me pick the one for the Fedora 17 install?

If I plug the SSD into the motherboard's SATA connector, will that
automatically be assigned /dev/sda if no other SATA ports on the motherboard
are in use? What if I plug in an SAS host adapter line instead?


Use /dev/disk/by-path (or -id/-uuid) addresses.  E.g. for my disk servers I do:

clearpart --linux 
--drives=/dev/disk/by-path/pci-:00:1f.1-scsi-0:0:0:0,/dev/disk/by-path/pci-:00:1f.1-scsi-1:0:0:0

part raid.1 --size=200 --ondisk=/dev/disk/by-path/pci-:00:1f.1-scsi-0:0:0:0
part raid.2 --size=200 --ondisk=/dev/disk/by-path/pci-:00:1f.1-scsi-1:0:0:0
part raid.3 --size=4 --grow 
--ondisk=/dev/disk/by-path/pci-:00:1f.1-scsi-0:0:0:0
part raid.4 --size=4 --grow 
--ondisk=/dev/disk/by-path/pci-:00:1f.1-scsi-1:0:0:0


This ensures that the install does to the disk you want.  The trick is to find 
out the path names.  You can boot the installer or live image to do some 
poking around.


--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office  FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301   http://www.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] PXE of xen domU (XenCenter)

2012-10-18 Thread Jörgen Maas
On Thu, Oct 18, 2012 at 7:06 PM, Jakov Sosic  wrote:

>
>
> Well I don't necessary need PXE, I can boot live CD, but how to force
> 'cobbler buildiso' to build paravirtualized kernel/initrd into it's
> generated.iso?!
>
>
I dont think that's up to cobbler
Just add a another distro object with the proper kernel/initrd's

-- 
Grtz,
Jörgen Maas
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] PXE of xen domU (XenCenter)

2012-10-18 Thread Jakov Sosic
On 10/18/2012 06:11 PM, James Clendenan wrote:
> That's correct I believe for Xen in general.  PXE's usually only
> available in HVM mode, but not in para mode.
> 
> You might need to build the machines in HVM mode and then have some kind
> of a trigger to have the host switch the mode?  I haven't done it, but
> just thinking it might be a strategy to look at.

Well I don't necessary need PXE, I can boot live CD, but how to force
'cobbler buildiso' to build paravirtualized kernel/initrd into it's
generated.iso?!

I would rather not have to manually move from HVM to paravirt, if it's
possible.

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] PXE of xen domU (XenCenter)

2012-10-18 Thread James Clendenan
That's correct I believe for Xen in general.  PXE's usually only available
in HVM mode, but not in para mode.

You might need to build the machines in HVM mode and then have some kind of
a trigger to have the host switch the mode?  I haven't done it, but just
thinking it might be a strategy to look at.

James Clendenan

On Thu, Oct 18, 2012 at 4:12 AM, Jakov Sosic  wrote:

> On 10/18/2012 12:18 PM, Jakov Sosic wrote:
> > Hi.
> >
> > Is it possible to PXE XenServer domU with cobbler? I've been looking
> > around but have somehow missed documentation on this one...
>
> I've tried with "cobbler buildiso", but the iso won't boot in
> paravirtualized environment, only when domU is in HVM mode...
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] PXE of xen domU (XenCenter)

2012-10-18 Thread Jakov Sosic
On 10/18/2012 12:18 PM, Jakov Sosic wrote:
> Hi.
> 
> Is it possible to PXE XenServer domU with cobbler? I've been looking
> around but have somehow missed documentation on this one...

I've tried with "cobbler buildiso", but the iso won't boot in
paravirtualized environment, only when domU is in HVM mode...
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] PXE of xen domU (XenCenter)

2012-10-18 Thread Jakov Sosic
Hi.

Is it possible to PXE XenServer domU with cobbler? I've been looking
around but have somehow missed documentation on this one...


-- 
Jakov Sosic
www.srce.unizg.hr
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler