From anthonyparackel at yahoo.com Wed Nov 1 21:08:10 2006 From: anthonyparackel at yahoo.com (anthony parackel) Date: Wed, 1 Nov 2006 13:08:10 -0800 (PST) Subject: Kickstart setup for different hardware profiles - Help! Message-ID: <20061101210810.90675.qmail@web39801.mail.mud.yahoo.com> Hi All, Unfortunately, I?m assigned the task of creating a kickstart environment that contains the following machines: Dell 1850 Dell 1950 Dell 2850 Dell 2950 Each system will have RHEL 4 loaded on it. I?m very new to linux(Junior SysAdmin) and I need to come up with a way to overcome the following obstacles. 1. I need to be able to install specific NIC drivers that aren?t supported eg. The 2950 won?t boot off the network because it doesn?t have the Broadcom NetXtreme II Gigabit ethernet driver(bnx2) Should I setup an environment that will load the drivers off a CD? Or is this even possible with PXE? (Not sure how it works) My guess is that I?d have to put ?dd? on a boot line. Is this correct? 2. Each machine contains different hard drives(SATA, SCSI and SAS). What would be the most efficient way to load the drivers for these different types of controllers? I plan on setting up a NFS source where these drivers can be loaded using The ??driverdisk? option. Would this be the best way? 3. Since there are multiple hardware profiles, Is it best to have different ks.cfg files on a CD or a network share? I?d want to ideally assign static Ips to each server instead of using DHCP. Honestly, I?m very confused and intimidated by this task. Can anybody please point down the right path? ANY advice is appreciated. Thanks in advance, --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Colin.Coe at woodside.com.au Wed Nov 1 23:28:37 2006 From: Colin.Coe at woodside.com.au (Coe, Colin C. (Unix Engineer)) Date: Thu, 2 Nov 2006 07:28:37 +0800 Subject: Kickstart setup for different hardware profiles - Help! Message-ID: <17EBC05307239C4896ED25244F42A8010295EE09@permls05.wde.woodside.com.au> 1. If you're using the EL4 update 4 then you shouldn't need a driver disk. Anaconda should load the right NIC driver. 2. SATA and SCSI (and probably SAS - I've not used them) report as SCSI devices, sda, sdb, sdc, etc. Anaconda should get the driver right for these controllers as well. 3. I support Sun Ultra40 (Opteron based workstation), HP xw6200, xw9300 and xw9400 workstations with a single ks.cfg. The differences between the machines are compensated for in my %pre script. I do almost all my kickstarts from NFS shares. My advice is to read the doco on the redhat site. http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/pdf/rhel-sag -en.pdf All the info is there. CC -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of anthony parackel Sent: Thursday, 2 November 2006 5:08 AM To: kickstart-list at redhat.com Subject: Kickstart setup for different hardware profiles - Help! Hi All, Unfortunately, I'm assigned the task of creating a kickstart environment that contains the following machines: Dell 1850 Dell 1950 Dell 2850 Dell 2950 Each system will have RHEL 4 loaded on it. I'm very new to linux(Junior SysAdmin) and I need to come up with a way to overcome the following obstacles. 1. I need to be able to install specific NIC drivers that aren't supported eg. The 2950 won't boot off the network because it doesn't have the Broadcom NetXtreme II Gigabit ethernet driver(bnx2) Should I setup an environment that will load the drivers off a CD? Or is this even possible with PXE? (Not sure how it works) My guess is that I'd have to put 'dd' on a boot line. Is this correct? 2. Each machine contains different hard drives(SATA, SCSI and SAS). What would be the most efficient way to load the drivers for these different types of controllers? I plan on setting up a NFS source where these drivers can be loaded using The "-driverdisk" option. Would this be the best way? 3. Since there are multiple hardware profiles, Is it best to have different ks.cfg files on a CD or a network share? I'd want to ideally assign static Ips to each server instead of using DHCP. Honestly, I'm very confused and intimidated by this task. Can anybody please point down the right path? ANY advice is appreciated. Thanks in advance, ________________________________ Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bigchoo at gmail.com Thu Nov 2 00:32:34 2006 From: bigchoo at gmail.com (Boonchu Ngampairoijpibul) Date: Wed, 1 Nov 2006 16:32:34 -0800 Subject: question about kickstart In-Reply-To: References: <69893db60610301943t7cc92f2fn1b05ae9e6fe8acf@mail.gmail.com> Message-ID: <69893db60611011632u4fb7e4dcw5a699562a6d4f7c9@mail.gmail.com> Thanks Chip for response. After I read through your message. I use linux with regular bootable RHEL 4 CD. It turn out to be a problem with my two extra PCI nic cards. One of nic cards has been assigned as eth0. Multiple ethenet ports made bootable linux confusing about the port assignment. Instead of using eth0, I used eth4. It works on eth4. Then I pulled two nic cards out. Then it works on eth0 again. -boonchu 2006/10/31, Shabazian, Chip : > > Try adding ethtool to the boot: line: > eth0_ethtool="autoneg=off speed=100 duplex=full", or eth0_ethtool="speed=1000 > autoneg=on duplex=full", etc. Also, there is a 255 character limit on the > boot: line, so you may want to make sure you don't run over that. This is > all you should need: > > boot: linux linux ip=xxx.xxx.xxx.xxx netmask=XXX.XXX.XXX.XXX ks= > http://xxx.xxx.xxx.xxx.xxx/ks/host01 eth0_ethtool="speed=1000 autoneg=on > duplex=full" initrd=initrd.img ramdisk_size=8192 ksdevice=eth0 > > The above of course assumes you are building off eth0. > > ------------------------------ > *From:* kickstart-list-bounces at redhat.com [mailto: > kickstart-list-bounces at redhat.com] *On Behalf Of *Boonchu Ngampairoijpibul > *Sent:* Monday, October 30, 2006 7:43 PM > *To:* kickstart-list at redhat.com > *Subject:* question about kickstart > > Greeting! > > I try to use network Kickstart to re-install RHEL 4 update 3 on target > machine HP DL 585 G1. I encounter a problem with my network. I try with > following parameters below on boot prompt to assign static IP. It does not > work so far. Cicso switch is our network equipment. Kickstart server and > client also reside the same subnet. I also configure Cisco switch to > auto/auto and STP port fast enabled. Many changes seems not help me to get > IP assigned. I also use PXE boot (F12) to boot from my DHCP server. It also > fail. I just suspect to broadcom NIC card. NIC might not initialize properly > and fail to reach the network. > > If I use CD to install from local machine, it comes up ok with IP and > reachable to network. > > Can anyone have a pointer to my problem? > > boot: linux ip=xxx.xxx.xxx.xxx netmask=XXX.XXX.XXX.XXX gateway= > xxx.xxx.xxxx.xxx dns=xxx.xxx.xxx.xxx ksdevice=FF:FF:FF:FF:FF:FF ks= > http://xxx.xxx.xxx.xxx.xxx/ks/host01 initrd=initrd.img ramdisk_size=8192 > splash=silent selinux=0 npfb > > boot: ip=XXX.XXX.XX.XX netmask=XXX.XXX.XXX.XXX gateway=XXX.XX.XX.X dns= > XX.XXXX.XX.X ksdevice=XX:XX:XX:XX:XX:XX ks=file:/ks.cfg initrd=initrd.imgramdisk_size=10000 splash=silent selinux=0 elevator=cfq text showopts > linksleep=120 eth0_ethtool="speed=100 autoneg=off duplex=full delay_link=1" > nofb > > psc[root at srv073 root]# lspci | grep -i broadcom > 02:06.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 > Gigabit Ethernet (rev 10) > 02:06.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 > Gigabit Ethernet (rev 10) > > -boonchu > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gurudatta at sonoasystems.com Thu Nov 2 03:43:59 2006 From: gurudatta at sonoasystems.com (gurudatta) Date: Thu, 02 Nov 2006 09:13:59 +0530 Subject: question about kickstart In-Reply-To: References: Message-ID: <1162439039.16718.18.camel@localhost.localdomain> Hi , I am Gurudatta i am planning to create kickstart cd with serial ata with broadcom network card for fedeora core 3.0 . i can install through boot floppy.by creating the boot image and drvnet image all my systems are not having the floppy drive ... if ucan guide me how can i go about this it will be help full for me.. Regards Gurudatta N.R From Chip.Shabazian at bankofamerica.com Thu Nov 2 17:22:14 2006 From: Chip.Shabazian at bankofamerica.com (Shabazian, Chip) Date: Thu, 02 Nov 2006 09:22:14 -0800 Subject: Kickstart setup for different hardware profiles - Help! In-Reply-To: <20061101210810.90675.qmail@web39801.mail.mud.yahoo.com> Message-ID: Driver disks (if needed) can be loaded from either the boot line, OR from the kickstart file. Of course, if you need them for the NIC, then you are going to have to load them from the boot line. This can be done with either a custom boot cd, via pxeboot, or manually entered on the boot line. You can do a lot in %pre to figure out different machines, drives, etc. dmidecode is useful to figure out which machine you are on. Doing this, you can have one kickstart for all servers. If you are going to pxeboot, you are going to need a dhcp server to assign the initial address. You can setup the dhcp server to only assign addresses to specific machines, and to assign a specific IP address. Your kickstart file can then make that IP address static. ________________________________ From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of anthony parackel Sent: Wednesday, November 01, 2006 1:08 PM To: kickstart-list at redhat.com Subject: Kickstart setup for different hardware profiles - Help! Hi All, Unfortunately, I'm assigned the task of creating a kickstart environment that contains the following machines: Dell 1850 Dell 1950 Dell 2850 Dell 2950 Each system will have RHEL 4 loaded on it. I'm very new to linux(Junior SysAdmin) and I need to come up with a way to overcome the following obstacles. 1. I need to be able to install specific NIC drivers that aren't supported eg. The 2950 won't boot off the network because it doesn't have the Broadcom NetXtreme II Gigabit ethernet driver(bnx2) Should I setup an environment that will load the drivers off a CD? Or is this even possible with PXE? (Not sure how it works) My guess is that I'd have to put 'dd' on a boot line. Is this correct? 2. Each machine contains different hard drives(SATA, SCSI and SAS). What would be the most efficient way to load the drivers for these different types of controllers? I plan on setting up a NFS source where these drivers can be loaded using The "-driverdisk" option. Would this be the best way? 3. Since there are multiple hardware profiles, Is it best to have different ks.cfg files on a CD or a network share? I'd want to ideally assign static Ips to each server instead of using DHCP. Honestly, I'm very confused and intimidated by this task. Can anybody please point down the right path? ANY advice is appreciated. Thanks in advance, ________________________________ Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmyers at walasystems.com Thu Nov 2 20:53:04 2006 From: mmyers at walasystems.com (Michael Myers) Date: Thu, 02 Nov 2006 12:53:04 -0800 Subject: Kickstart setup for different hardware profiles - Help! In-Reply-To: <20061101210810.90675.qmail@web39801.mail.mud.yahoo.com> References: <20061101210810.90675.qmail@web39801.mail.mud.yahoo.com> Message-ID: <454A5AB0.5030301@walasystems.com> anthony parackel wrote: > Hi All, > Unfortunately, I?m assigned the task of creating a kickstart environment Welcome to the fun(really!) and pain(sometimes) of Kickstart! One caveat: Most of my statements apply to Fedora Core, though I've tried to be as general as possible. Particularly, I'm not sure which buildinstall process and syntax is required for the current RHEL, as the move to yum-based install has changed that a bit. The concepts are the same, though. > 1. I need to be able to install specific NIC drivers that aren?t supported > eg. The 2950 won?t boot off the network because it doesn?t have the > Broadcom NetXtreme II Gigabit ethernet driver(bnx2) > Should I setup an environment that will load the drivers off a CD? Or > is this even possible with PXE? (Not sure how it works) > My guess is that I?d have to put ?dd? on a boot line. Is this correct? If the network drivers are in a newer kernel that's available to you, I'd rebuild the install images with the updated kernel, as it's much, much easier and more maintainable IMO to keep all of the administration in one place. Ideally, the newest update kernel has all of the network drivers included. I actually just went through this process with a newer Intel E1000 that we received on two different boards from different manufacturers that we needed to eval. Luckily, going to the current kernel version fixed almost everything at once. Buildinstall is your friend, and sometimes your adversary. However, once you tame it, it makes things much easier. I'm not sure how painful this process would be with a Wi-Fi adapter, but at first glance it looks very painful for those with software radios. Otherwise, once you have network, you can fix just about anything else from kickstart. > 2. Each machine contains different hard drives(SATA, SCSI and SAS). > What would be the most > efficient way to load the drivers for these different types of > controllers? I plan on setting up a NFS source where these drivers can > be loaded using > The ??driverdisk? option. Would this be the best way? Once you've got working network, yes, you can grab driver disks. I tend to try to avoid hardware that doesn't have drivers available in one kernel or another, but I know well that that's not always an option. > 3. Since there are multiple hardware profiles, Is it best to have > different ks.cfg files on a CD or a network share? I?d want to ideally > assign static Ips > to each server instead of using DHCP. > Honestly, I?m very confused and intimidated by this task. Can anybody > please point down the right path? > ANY advice is appreciated. > Thanks in advance, > One hint that might open up a new path of exploration at least, and might fix your problems at best: The kickstart config file, since it's just a text file, can pretty easily be generated by a CGI script. This makes configuration for multiple hardware versions dead simple once it's set up, and even different software builds and %post entries can easily be specified. Typing in the static IP on the boot line can be slow and painful, so you might also look into using DHCP to boot, and then specifying the network settings in kickstart. There's also the possibility of using DHCP tied to the MAC address, but that doesn't look like it solves your issue. Also - if you do use a CGI script with multiple parameters, single-quote the URL, as it looks like Anaconda or one of the other scripts that handle the bootparams attempt to expand the ampersands. -- Michael The information transmitted may contain confidential material and is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please delete the information from your system and contact the sender. This message has been scanned for compliance violations by the Defender e-mail appliance, powered by WaLaSystems. For more information, visit www.WaLaSystems.com From Colin.Coe at woodside.com.au Mon Nov 6 03:02:51 2006 From: Colin.Coe at woodside.com.au (Coe, Colin C. (Unix Engineer)) Date: Mon, 6 Nov 2006 11:02:51 +0800 Subject: 'repo' Kickstart option Message-ID: <17EBC05307239C4896ED25244F42A8010295EE20@permls05.wde.woodside.com.au> Hi all I've been playing with FC6 and EL5 BETA, specifically looking at the repo option. Is there proxy support for this option planned? I'm behind an ISA proxy so currently I download the RPMs I need manually and install them in my %post script. Thanks CC -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahopcroft at uk.ibm.com Mon Nov 6 04:00:58 2006 From: ahopcroft at uk.ibm.com (Alex Hopcroft) Date: Mon, 6 Nov 2006 04:00:58 +0000 Subject: Alex Hopcroft/UK/IBM is out of the office. Message-ID: I will be out of the office starting 05/11/2006 and will not return until 07/11/2006. For issues regarding ongoing projects please contact the Unified Unix Team Leader, Sue Emmerson (44-113-390-1575) who will be able to assit. Alternatively I will respond to your message when I return. From philipp_subx at redfish-solutions.com Fri Nov 10 22:19:20 2006 From: philipp_subx at redfish-solutions.com (Philip Prindeville) Date: Fri, 10 Nov 2006 15:19:20 -0700 Subject: Usb-storage not part of default drivers? Message-ID: <4554FAE8.4030002@redfish-solutions.com> I was trying to install FC5 onto a machine with an ailing DVD (ROM) drive that was never all that fast or reliable to begin with (it was a first generation Philips). I had a Sony external DVD drive with USB 2.0 lying around, and tried to boot off that. Well, the BIOS loader found the first image and loaded it up fine, but once Linux was coming up from the FC-5-x86_64-DVD.iso image, it failed to find the Fedora image. Huh? Well, it was of course because it wasn't loading up usb-storage by default. Hmmm... I'd think that this would be pretty ubiquitous at this point. What's the reasoning for leaving that out? Are there scenarios where loading it crashes or hangs the system? Sure, it's easy enough to specify by hand. Is there an easy way to tweak the .iso so that it gets included by default? Looking at section 7.10 of the Kickstart guide doesn't suggest that there's an option to throw into isolinux/isolinux.cfg to do this. Thanks, -Philip From redhat at rampaginggeek.com Sat Nov 11 21:00:31 2006 From: redhat at rampaginggeek.com (Jason Edgecombe) Date: Sat, 11 Nov 2006 16:00:31 -0500 Subject: Usb-storage not part of default drivers? In-Reply-To: <4554FAE8.4030002@redfish-solutions.com> References: <4554FAE8.4030002@redfish-solutions.com> Message-ID: <455639EF.7070902@rampaginggeek.com> does adding a kernel option at the boot prompt fix things? If so, you can add those parameters to the isolinux.cfg file Jason Philip Prindeville wrote: > I was trying to install FC5 onto a machine with an ailing DVD (ROM) > drive that was never all that fast or reliable to begin with (it was a > first generation Philips). I had a Sony external DVD drive with USB 2.0 > lying around, and tried to boot off that. > > Well, the BIOS loader found the first image and loaded it up fine, but > once Linux was coming up from the FC-5-x86_64-DVD.iso image, it > failed to find the Fedora image. > > Huh? > > Well, it was of course because it wasn't loading up usb-storage by > default. > > Hmmm... I'd think that this would be pretty ubiquitous at this point. > > What's the reasoning for leaving that out? Are there scenarios where > loading it crashes or hangs the system? > > Sure, it's easy enough to specify by hand. > > Is there an easy way to tweak the .iso so that it gets included by default? > Looking at section 7.10 of the Kickstart guide doesn't suggest that > there's an option to throw into isolinux/isolinux.cfg to do this. > > Thanks, > > -Philip > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > From philipp_subx at redfish-solutions.com Sat Nov 11 21:09:26 2006 From: philipp_subx at redfish-solutions.com (Philip Prindeville) Date: Sat, 11 Nov 2006 14:09:26 -0700 Subject: Usb-storage not part of default drivers? In-Reply-To: <455639EF.7070902@rampaginggeek.com> References: <4554FAE8.4030002@redfish-solutions.com> <455639EF.7070902@rampaginggeek.com> Message-ID: <45563C06.4060207@redfish-solutions.com> Well, that's the thing... I know how to load up additional drivers from a driver disk, but I don't know how to specify additional optional drivers that are already part of the media to be loaded as well. I tried to find an option to do that both in the Kickstart manual and in the bootparam manpage, but couldn't find anything. Maybe I'm just dense. -Philip Jason Edgecombe wrote: >does adding a kernel option at the boot prompt fix things? If so, you >can add those parameters to the isolinux.cfg file > >Jason > >Philip Prindeville wrote: > > >>I was trying to install FC5 onto a machine with an ailing DVD (ROM) >>drive that was never all that fast or reliable to begin with (it was a >>first generation Philips). I had a Sony external DVD drive with USB 2.0 >>lying around, and tried to boot off that. >> >>Well, the BIOS loader found the first image and loaded it up fine, but >>once Linux was coming up from the FC-5-x86_64-DVD.iso image, it >>failed to find the Fedora image. >> >>Huh? >> >>Well, it was of course because it wasn't loading up usb-storage by >>default. >> >>Hmmm... I'd think that this would be pretty ubiquitous at this point. >> >>What's the reasoning for leaving that out? Are there scenarios where >>loading it crashes or hangs the system? >> >>Sure, it's easy enough to specify by hand. >> >>Is there an easy way to tweak the .iso so that it gets included by default? >>Looking at section 7.10 of the Kickstart guide doesn't suggest that >>there's an option to throw into isolinux/isolinux.cfg to do this. >> >>Thanks, >> >>-Philip >> >> From azahn at insors.com Wed Nov 15 21:09:53 2006 From: azahn at insors.com (Andrew Zahn) Date: Wed, 15 Nov 2006 15:09:53 -0600 Subject: kickstart hangs at "Sending request for IP information for eth0" Message-ID: <455B8221.4030503@insors.com> I have run into a problem with the network installation via pxe as it is getting stuck trying to contact the dhcp server "Sending request for IP information for eth0". I believe it must be some configuration issue because it was previously working until I added a new OS using pxeos. Then I noticed my default file was rewritten loosing some modifications I made. I added back in the "ksdevice=eth0" as you can see here: [root at mahi insors_ucs2]# cat /tftpboot/linux-install/pxelinux.cfg/default default local timeout 100 prompt 1 display msgs/boot.msg F1 msgs/boot.msg F2 msgs/general.msg F3 msgs/expert.msg F4 msgs/param.msg F5 msgs/rescue.msg F7 msgs/snake.msg label local localboot 1 label 0 localboot 1 label 1 kernel rhel4up3es/vmlinuz append initrd=rhel4up3es/initrd.img ksdevice=eth0 ramdisk_size=7000 ks=http://64.157.28.22/ks/ks-rhel4.cfg label 2 kernel host4/vmlinuz append initrd=host4/initrd.img ksdevice=eth0 ramdisk_size=7000 ks=http://mahi.insors.net/ks/ks-host4.cfg label 3 kernel StandardUCS/vmlinuz append initrd=StandardUCS/initrd.img ksdevice=eth0 ramdisk_size=7000 ks=http://64.157.28.22/ks/ks-ucs.cfg label 4 kernel UCSraid1/vmlinuz append initrd=UCSraid1/initrd.img ksdevice=eth0 ramdisk_size=7000 ks=http://64.157.28.22/ks/ks-ucs-swraid.cfg label 5 kernel rhel3up8/vmlinuz append initrd=rhel3up8/initrd.img ksdevice=eth0 ramdisk_size=7000 ks=http://mahi.insors.net/ks/ks-ucs.cfg label 6 kernel rhel4up3/vmlinuz append initrd=rhel4up3/initrd.img ksdevice=eth0 ramdisk_size=7000 ks=http://64.157.28.22/ks/ks-rhel4.cfg From treed at ultraviolet.org Tue Nov 21 02:19:08 2006 From: treed at ultraviolet.org (Tracy R Reed) Date: Mon, 20 Nov 2006 18:19:08 -0800 Subject: kickstart using raw disks as raid Message-ID: <4562621C.2010504@ultraviolet.org> I am setting up a Xen/AoE cluster. Completely diskless cpu nodes which get their root from disk nodes via AoE (an ethernet based SAN) and then fire up Xen domains which also get their disk from AoE. I have all of this working so far with no RAID involved. Now I want to mirror the disk used by the domain over two separate disk nodes. When the kickstart fires up it sees that it has hda and hdb. I want to mirror hda and hdb against each other without creating partitions and then I will create logical volumes inside of the mirror device. But kickstart expects me to create partitions and give them names to be used when setting up the RAID. Any way around this? The reason for doing this is because the machines which export the disk via AoE to the cpu nodes are really just exporting their own local logical volumes which appear as block devices to the xen domain thanks to AoE. I can lvextend the size of the lv on the machine exporting the block device which will become hda to the xen domain and the other machine exporting the block device which will become hdb to the xen domain. Then I do an aoe-revalidate and instantly the xen domain sees a bigger physical volume in which I can expand my logical volumes. If I create one big partition and mirror that I will have a problem because I cannot change the size of a disk partition on the fly when I change the size of the block device under the partition. Any ideas? -- Tracy R Reed http://ultraviolet.org A: Because we read from top to bottom, left to right Q: Why should I start my reply below the quoted text From andre.ruiz at gmail.com Tue Nov 21 03:09:01 2006 From: andre.ruiz at gmail.com (Andre Ruiz) Date: Tue, 21 Nov 2006 01:09:01 -0200 Subject: kickstart using raw disks as raid In-Reply-To: <4562621C.2010504@ultraviolet.org> References: <4562621C.2010504@ultraviolet.org> Message-ID: <68d97fc90611201909s427f9de5i6294905dd56c20d@mail.gmail.com> As I understand, linux raid tools operate on partitions only, not on full disks, as hardware based solutions. You can only mirror partition X on partition Y. They can be on any order on the other disk, they can be of any size (the smaller will dictate max size) and they may not be all mirrored if desired. The closest you will get to a hardware based mirror is: 1) have two similar disks 2) copy the partition table of the first to the second, making it have similar partitioning scheme 3) mirror each partition on each other respective partition, in the same order In the end, you will have a disk that is almost perfectly equal, and is even interchangeable with the first (if partitions were in different order, they would not be). Dot not forget to always copy MBR to the second each time you write it on the first. I've seen a product that is a modified debian distro, that installs everything to the first HD and then, on the first boot, "reconstructs" the raid, copying everything to the second one, and rebooting again. I asked why and they said that was the easier way since debian would not support raid on the installer. I think you can do that easily with redhat/fedora, right inside kickstart, but it would still be based on the mirrored partitions logic. In your case, it seems the raid logic would be inside virtual machines, is this correct? You would have double network traffic. You can create one big partition of PV type, and create more small partitions of PV type and make them join the VG each time you grow your disks. The raid would be on each filesystem of LVM. Still a pain in the arse. Hard to switch to raid on the AoE server? andre On 11/21/06, Tracy R Reed wrote: > > I am setting up a Xen/AoE cluster. Completely diskless cpu nodes which > get their root from disk nodes via AoE (an ethernet based SAN) and then > fire up Xen domains which also get their disk from AoE. I have all of > this working so far with no RAID involved. Now I want to mirror the disk > used by the domain over two separate disk nodes. > > When the kickstart fires up it sees that it has hda and hdb. I want to > mirror hda and hdb against each other without creating partitions and > then I will create logical volumes inside of the mirror device. But > kickstart expects me to create partitions and give them names to be used > when setting up the RAID. Any way around this? > > The reason for doing this is because the machines which export the disk > via AoE to the cpu nodes are really just exporting their own local > logical volumes which appear as block devices to the xen domain thanks > to AoE. I can lvextend the size of the lv on the machine exporting the > block device which will become hda to the xen domain and the other > machine exporting the block device which will become hdb to the xen > domain. Then I do an aoe-revalidate and instantly the xen domain sees a > bigger physical volume in which I can expand my logical volumes. If I > create one big partition and mirror that I will have a problem because I > cannot change the size of a disk partition on the fly when I change the > size of the block device under the partition. > > Any ideas? > > -- > Tracy R Reed http://ultraviolet.org > A: Because we read from top to bottom, left to right > Q: Why should I start my reply below the quoted text > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -- Andre Ruiz Curitiba, PR, Brasil From treed at ultraviolet.org Tue Nov 21 03:28:55 2006 From: treed at ultraviolet.org (Tracy R Reed) Date: Mon, 20 Nov 2006 19:28:55 -0800 Subject: kickstart using raw disks as raid In-Reply-To: <68d97fc90611201909s427f9de5i6294905dd56c20d@mail.gmail.com> References: <4562621C.2010504@ultraviolet.org> <68d97fc90611201909s427f9de5i6294905dd56c20d@mail.gmail.com> Message-ID: <45627277.8030700@ultraviolet.org> Andre Ruiz wrote: > As I understand, linux raid tools operate on partitions only, not on > full disks, as hardware based solutions. That's what I was afraid of. Thanks for the info. I will have to figure out a way to increase the size of the partition in the fly when the time comes that we need to do such a thing. > In your case, it seems the raid logic would be inside virtual > machines, is this correct? You would have double network traffic. You > can create one big partition of PV type, and create more small > partitions of PV type and make them join the VG each time you grow > your disks. The raid would be on each filesystem of LVM. Still a pain > in the arse. Yes, the RAID logic is inside the virtual machines. Double network traffic is no problem as I have two gigabit network interfaces which I can dedicate to the SAN. Yes, creating partitions and adding them to the VG each time is possible but a pain. I'll have to see what else I can work out. > Hard to switch to raid on the AoE server? I already have RAID5 on the AoE server. But what if the CPU/RAM/mobo on the AoE server dies? :) This is why one side of the mirror is on one AoE server and the other side of the mirror is on another. If the cpu node dies I can restart the domain on another one very quickly. The only single point of failure in my cluster is the switch and eventually I might even get another one and put half the disk nodes on one and half on the other and cross connect the cpu nodes. :) -- Tracy R Reed http://ultraviolet.org A: Because we read from top to bottom, left to right Q: Why should I start my reply below the quoted text From redhat at rampaginggeek.com Tue Nov 21 13:38:35 2006 From: redhat at rampaginggeek.com (Jason Edgecombe) Date: Tue, 21 Nov 2006 08:38:35 -0500 Subject: kickstart using raw disks as raid In-Reply-To: <45627277.8030700@ultraviolet.org> References: <4562621C.2010504@ultraviolet.org> <68d97fc90611201909s427f9de5i6294905dd56c20d@mail.gmail.com> <45627277.8030700@ultraviolet.org> Message-ID: <4563015B.7000000@rampaginggeek.com> Tracy R Reed wrote: > Andre Ruiz wrote: >> As I understand, linux raid tools operate on partitions only, not on >> full disks, as hardware based solutions. > > That's what I was afraid of. Thanks for the info. I will have to > figure out a way to increase the size of the partition in the fly when > the time comes that we need to do such a thing. > >> In your case, it seems the raid logic would be inside virtual >> machines, is this correct? You would have double network traffic. You >> can create one big partition of PV type, and create more small >> partitions of PV type and make them join the VG each time you grow >> your disks. The raid would be on each filesystem of LVM. Still a pain >> in the arse. > > Yes, the RAID logic is inside the virtual machines. Double network > traffic is no problem as I have two gigabit network interfaces which I > can dedicate to the SAN. Yes, creating partitions and adding them to > the VG each time is possible but a pain. I'll have to see what else I > can work out. > >> Hard to switch to raid on the AoE server? > > I already have RAID5 on the AoE server. But what if the CPU/RAM/mobo > on the AoE server dies? :) This is why one side of the mirror is on > one AoE server and the other side of the mirror is on another. If the > cpu node dies I can restart the domain on another one very quickly. > The only single point of failure in my cluster is the switch and > eventually I might even get another one and put half the disk nodes on > one and half on the other and cross connect the cpu nodes. :) > Hi There, Even when running a linux box with local drives, you still need /boot as a regular or RAID1 partition. This porbably isn't neccessary since you're running diskless, though. I would recommend a solution like I use with VMware. Pick a convenient size such as 10GB or 20GB, depending on your needs. Allocate new hard drives based on need. The first hard drive contains partitions for /boot if necessary and the physical volume for the root volume group. When you need more space add a new drive, RAID it if neccesary, then add it to the volume group. LVM makes adding and removing devices much easier than resizing the devices. If you still want to resize devices, add a new device with the desired size, RAID it, then remove the old device from the volume group. Sincerely, Jason Edgecombe From treed at ultraviolet.org Wed Nov 22 09:03:52 2006 From: treed at ultraviolet.org (Tracy R Reed) Date: Wed, 22 Nov 2006 01:03:52 -0800 Subject: kickstart using raw disks as raid In-Reply-To: <4563015B.7000000@rampaginggeek.com> References: <4562621C.2010504@ultraviolet.org> <68d97fc90611201909s427f9de5i6294905dd56c20d@mail.gmail.com> <45627277.8030700@ultraviolet.org> <4563015B.7000000@rampaginggeek.com> Message-ID: <45641278.5050603@ultraviolet.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jason Edgecombe wrote: > Hi There, Hi! > Even when running a linux box with local drives, you still need /boot as > a regular or RAID1 partition. This porbably isn't neccessary since > you're running diskless, though. In my case I don't really even need a /boot at all because the kernel and initrd come from the xen domain0. Xen sets up the kernel and starts it running and gives it the initrd. But I have a /boot and it is outside of LVM anyway because RedHat's kickstart insists that it be so. But I am sure in the near future they will have kickstart modified to work more nicely with virtual machines. > Pick a convenient size such as 10GB or 20GB, depending on your needs. > Allocate new hard drives based on need. The first hard drive contains > partitions for /boot if necessary and the physical volume for the root > volume group. When you need more space add a new drive, RAID it if > neccesary, then add it to the volume group. LVM makes adding and > removing devices much easier than resizing the devices. If you still > want to resize devices, add a new device with the desired size, RAID it, > then remove the old device from the volume group. That's not a bad idea. It would still have been nice to be able to resize the devices because I don't want to have a ridiculous number of "drives" (even though they are all virtual provided by AoE) just because it might become a management problem. But I think this will do until some better solution presents itself. Thanks! - -- Tracy R Reed http://ultraviolet.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFFZBJ39PIYKZYVAq0RAoC6AKCHJ4A2SmGZPklRZpXuPOH8b0VfGgCfdA0B Hq9VcRAh7o4hwY97FV1RMaA= =gnYr -----END PGP SIGNATURE----- From anthonyparackel at yahoo.com Thu Nov 23 21:20:44 2006 From: anthonyparackel at yahoo.com (anthony parackel) Date: Thu, 23 Nov 2006 13:20:44 -0800 (PST) Subject: pump told us: No DHCP reply received Message-ID: <20061123212044.49378.qmail@web39815.mail.mud.yahoo.com> Hi, First off, I?d like to thank Chip, Mike and Colin for their help earlier. I was asked to postpone this project for about a week but eventually I experimented with different setups and managed to create a kickstart environment that utilizes PXE boot. Well, now I?m getting this strange error message after the client boots off the PXE/DHCP server: * running dhcp for eth0 * pump told us: No DHCP reply received * eth0 isn?t a wireless adapter It looks like the DHCP server can?t assign an ip. This error is a little confusing because the kickstart client is definitely getting an IP from the DHCP server which allows it to boot into PXE. After initially getting an IP to boot into PXE, anaconda begins to install the driver modules. What I then see is various drivers loading like the megaraid SCSI, megaraid SAS and NIC drivers. The installation just halts when it asks me for the networking info. Here?s what I tried: I tried to do a kick off of a Dell 1950 and 2950. I tried to boot off of both NICs to no avail I connected a crossover cable from the kickstart client directly to the DHCP/PXE server. I get the same results. An initial ip is assigned the first time for a PXE boot but doesn?t subsequently get one during the anaconda install phase. Any suggestions would be VERY helpful. I can?t find any useful info about this error message on google. Thanks in advance, anthony --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: From drkludge at cox.net Sun Nov 26 05:18:41 2006 From: drkludge at cox.net (Greg Morgan) Date: Sat, 25 Nov 2006 22:18:41 -0700 Subject: pump told us: No DHCP reply received In-Reply-To: <20061123212044.49378.qmail@web39815.mail.mud.yahoo.com> References: <20061123212044.49378.qmail@web39815.mail.mud.yahoo.com> Message-ID: <456923B1.7080707@cox.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 anthony parackel wrote: > Hi, > > First off, I?d like to thank Chip, Mike and Colin for > their help earlier. > > I was asked to postpone this project for about a week > but eventually I experimented with different setups > > and managed to create a kickstart environment that > utilizes PXE boot. > > > Well, now I?m getting this strange error message after > the client boots off the PXE/DHCP server: > > > > * running dhcp for eth0 > > * pump told us: No DHCP reply received > > * eth0 isn?t a wireless adapter > > > > It looks like the DHCP server can?t assign an ip. > > > > This error is a little confusing because the kickstart > client is definitely getting an IP from the DHCP > server which allows > > it to boot into PXE. After initially getting an IP > to boot into PXE, anaconda begins to install the > driver modules. > > What I then see is various drivers loading like the > megaraid SCSI, megaraid SAS and NIC drivers. > > > > The installation just halts when it asks me for the > networking info. Here?s what I tried: > > > > I tried to do a kick off of a Dell 1950 and 2950. I > tried to boot off of both NICs to no avail > I connected a crossover cable from the kickstart > client directly to the DHCP/PXE server. > I get the same results. An initial ip is assigned the > first time for a PXE boot but doesn?t subsequently > > get one during the anaconda install phase. Anthony, The first two links below provide you with a check list of things to look at. The second link provides a new spin on the problem. Was your ks file created with an MS Windows editor? If so you need to use a cross-platform editor like vim and :set ff=unix and save the file. The open source notepad2 Ms Windows editor can also correctly format the ks.cfg file as a linux/unix formatted txt file. You haven't told us the release of anaconda or which version of the anaconda related product that you are using: Red Hat, Fedora Core, CentOS. Kernel bugs could be a factor. Since you mention multiple nics being involved, then you may need to supply the desired nic for installation on the boot line. There's notes below on this too. This error appears to be maddening problem because of lack of search results. Please post back with progress or a final resolution. Regards, Greg http://info.ccone.at/INFO/Mail-Archives/redhat/Feb-2004/msg01049.html http://www.themightywizard.com/weblog/archives/000153.html http://www.redhat.com/archives/kickstart-list/2002-July/msg00141.html http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=960683 http://bugzilla.redhat.com/bugzilla/114092 This is from the anaconda 11.0.5 docs/command-line.txt file. ksdevice Takes one of 4 types of argument which tells install what network device to use for kickstart from network: - An argument like 'eth0' naming a specific interface - An argument like 00:12:34:56:78:9a indicating the MAC address of a specific interface - The keyword `link' indicating that the first interface with link up - The keyword `bootif' indicating that the MAC address indicated by the BOOTIF command line option will be used to locate the boot interface. BOOTIF is automagically supplied by pxelinux when you include the option `IPAPPEND 2' in your pxelinux.cfg file -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFFaSOxxyxe5L6mr7IRAhgKAJ9TUJ5DI2qVqjs0VS8im3b3E/uxhQCfREkB 11zwaITHXVeI8boOLqX/IfM= =rQC6 -----END PGP SIGNATURE----- From Chip.Shabazian at bankofamerica.com Mon Nov 27 20:44:58 2006 From: Chip.Shabazian at bankofamerica.com (Shabazian, Chip) Date: Mon, 27 Nov 2006 12:44:58 -0800 Subject: pump told us: No DHCP reply received In-Reply-To: <20061123212044.49378.qmail@web39815.mail.mud.yahoo.com> Message-ID: RHEL 3 or 4? RHEL 4 enumerates the bus in a different order than RHEL 3, so if there are any NIC's on expansion cards, this could cause problems. What happens if you pass the IP information at the boot: prompt? Chip ________________________________ From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of anthony parackel Sent: Thursday, November 23, 2006 1:21 PM To: kickstart-list at redhat.com Subject: pump told us: No DHCP reply received Hi, First off, I'd like to thank Chip, Mike and Colin for their help earlier. I was asked to postpone this project for about a week but eventually I experimented with different setups and managed to create a kickstart environment that utilizes PXE boot. Well, now I'm getting this strange error message after the client boots off the PXE/DHCP server: * running dhcp for eth0 * pump told us: No DHCP reply received * eth0 isn't a wireless adapter It looks like the DHCP server can't assign an ip. This error is a little confusing because the kickstart client is definitely getting an IP from the DHCP server which allows it to boot into PXE. After initially getting an IP to boot into PXE, anaconda begins to install the driver modules. What I then see is various drivers loading like the megaraid SCSI, megaraid SAS and NIC drivers. The installation just halts when it asks me for the networking info. Here's what I tried: I tried to do a kick off of a Dell 1950 and 2950. I tried to boot off of both NICs to no avail I connected a crossover cable from the kickstart client directly to the DHCP/PXE server. I get the same results. An initial ip is assigned the first time for a PXE boot but doesn't subsequently get one during the anaconda install phase. Any suggestions would be VERY helpful. I can't find any useful info about this error message on google. Thanks in advance, anthony ________________________________ Everyone is raving about the all-new Yahoo! Mail beta . -------------- next part -------------- An HTML attachment was scrubbed... URL: From Creig_Smith at adaptec.com Mon Nov 27 20:55:47 2006 From: Creig_Smith at adaptec.com (Smith, Creig) Date: Mon, 27 Nov 2006 15:55:47 -0500 Subject: pump told us: No DHCP reply received Message-ID: Hi, I am new to Linux. However, I am trying to create a kick start that connects to an nfs and builds a distribution base on some flags by the user. I plan to create a generic cd to send to the user. The cd will boot to the ks.cfg file which will create the nfs share. I not to use ISO's I just want to use RPM's. I started by created multiple directories on the nfs server/host machine. I then hack the comps.xml file for each distribution. How do I recreate the hdlist or do I need to since I just want to run with the rpms. Can I just script the ks.cfg file and point it the right directory? Any help is appreciated. ________________________________ From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Shabazian, Chip Sent: Monday, November 27, 2006 3:45 PM To: Discussion list about Kickstart Subject: RE: pump told us: No DHCP reply received RHEL 3 or 4? RHEL 4 enumerates the bus in a different order than RHEL 3, so if there are any NIC's on expansion cards, this could cause problems. What happens if you pass the IP information at the boot: prompt? Chip ________________________________ From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of anthony parackel Sent: Thursday, November 23, 2006 1:21 PM To: kickstart-list at redhat.com Subject: pump told us: No DHCP reply received Hi, First off, I'd like to thank Chip, Mike and Colin for their help earlier. I was asked to postpone this project for about a week but eventually I experimented with different setups and managed to create a kickstart environment that utilizes PXE boot. Well, now I'm getting this strange error message after the client boots off the PXE/DHCP server: * running dhcp for eth0 * pump told us: No DHCP reply received * eth0 isn't a wireless adapter It looks like the DHCP server can't assign an ip. This error is a little confusing because the kickstart client is definitely getting an IP from the DHCP server which allows it to boot into PXE. After initially getting an IP to boot into PXE, anaconda begins to install the driver modules. What I then see is various drivers loading like the megaraid SCSI, megaraid SAS and NIC drivers. The installation just halts when it asks me for the networking info. Here's what I tried: I tried to do a kick off of a Dell 1950 and 2950. I tried to boot off of both NICs to no avail I connected a crossover cable from the kickstart client directly to the DHCP/PXE server. I get the same results. An initial ip is assigned the first time for a PXE boot but doesn't subsequently get one during the anaconda install phase. Any suggestions would be VERY helpful. I can't find any useful info about this error message on google. Thanks in advance, anthony ________________________________ Everyone is raving about the all-new Yahoo! Mail beta . -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus.steden at thomson.net Mon Nov 27 21:08:07 2006 From: klaus.steden at thomson.net (Klaus Steden) Date: Mon, 27 Nov 2006 16:08:07 -0500 Subject: pump told us: No DHCP reply received In-Reply-To: <456923B1.7080707@cox.net> References: <20061123212044.49378.qmail@web39815.mail.mud.yahoo.com> <456923B1.7080707@cox.net> Message-ID: <20061127210807.GD932@thomson.net> Hello everyone, I am having a similar issue that is becoming quite confusing, and I am hoping that by throwing the topic out there, I might gain some insight from the rest of the community. So here goes ... I'm trying to kickstart a node in my render farm. It is connected into an Alcatel 6600 series L2+ switch, connected via LACP aggregate to main switch closet. Everything is on the same VLAN and subnet. If I start the bootstrap install procedure, if I have my machine connected to the 6600 switch, I get no link. Nada. Nothing. Zip. No DHCP broadcast is seen by the server (on the same subnet as the affected machine). I've even tried connecting the DHCP server physically to the same switch, and again, it doesn't even see a request from Kickstart. What makes it weird is that there are 14 other machines on this switch also using DHCP (although not from Kickstart), and they have no problems getting leases and communicating with the DHCP server. If I connect the affected machine to the main switch and try again, it will get an IP properly, but installation always crashes without fail while trying to install one of the OpenOffice RPMs. The RPM itself is fine, mind you, but Kickstart doesn't like it, and fails consistently at the same byte each and every time. If I get the machine to grab a lease by connecting it to the main switch, and then swap it back on to the Alcatel, it continues to communicate without trouble, but again, crashes out during installation of the OpenOffice RPM mentioned previously. I've tried a second NIC, with the same result. I've tried a different HDD with the same result. Even when connected to the Alcatel 6600 switch during the DHCP negotiation phase, I can see the NIC light up, I see it actually activate, and then it gets shut down again immediately after. This is extremely confusing. I have never seen a situation like this before, and I am running out of possible explanations. Has anyone else ever encountered anything like this before? cheers, Klaus From Chip.Shabazian at bankofamerica.com Mon Nov 27 21:21:38 2006 From: Chip.Shabazian at bankofamerica.com (Shabazian, Chip) Date: Mon, 27 Nov 2006 13:21:38 -0800 Subject: pump told us: No DHCP reply received In-Reply-To: <20061127210807.GD932@thomson.net> Message-ID: What version of RHEL are you trying to install? I believe you have two different problems here. The first is DHCP related, the second is with your RPM's. Isolate one problem at a time and life will be much easier. I'm not as familiar with the Alcatel switch, I'm a Cisco guy, but the problem you are describing regarding DHCP sounds like the portfast issue that we always see on this list. Basically, the NIC cycles itself 3 different times during a build. The first time is during pxeboot. After the pxe information is sent, the nic is recycled and must re-negotiate with the switch. If portfast is not enabled, then the request times out before spanning tree allows the NIC to begin communications. Steps you can take include assigning the IP on the boot: line instead of via DHCP, and using ethtool on the boot: line like this: ksdevice=eth0 eth0_ethtool="autoneg=off speed=100 duplex=full" or ksdevice=eth0 eth0_ethtool="speed=1000 autoneg=on duplex=full" Chip -----Original Message----- From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Klaus Steden Sent: Monday, November 27, 2006 1:08 PM To: Discussion list about Kickstart Subject: Re: pump told us: No DHCP reply received Hello everyone, I am having a similar issue that is becoming quite confusing, and I am hoping that by throwing the topic out there, I might gain some insight from the rest of the community. So here goes ... I'm trying to kickstart a node in my render farm. It is connected into an Alcatel 6600 series L2+ switch, connected via LACP aggregate to main switch closet. Everything is on the same VLAN and subnet. If I start the bootstrap install procedure, if I have my machine connected to the 6600 switch, I get no link. Nada. Nothing. Zip. No DHCP broadcast is seen by the server (on the same subnet as the affected machine). I've even tried connecting the DHCP server physically to the same switch, and again, it doesn't even see a request from Kickstart. What makes it weird is that there are 14 other machines on this switch also using DHCP (although not from Kickstart), and they have no problems getting leases and communicating with the DHCP server. If I connect the affected machine to the main switch and try again, it will get an IP properly, but installation always crashes without fail while trying to install one of the OpenOffice RPMs. The RPM itself is fine, mind you, but Kickstart doesn't like it, and fails consistently at the same byte each and every time. If I get the machine to grab a lease by connecting it to the main switch, and then swap it back on to the Alcatel, it continues to communicate without trouble, but again, crashes out during installation of the OpenOffice RPM mentioned previously. I've tried a second NIC, with the same result. I've tried a different HDD with the same result. Even when connected to the Alcatel 6600 switch during the DHCP negotiation phase, I can see the NIC light up, I see it actually activate, and then it gets shut down again immediately after. This is extremely confusing. I have never seen a situation like this before, and I am running out of possible explanations. Has anyone else ever encountered anything like this before? cheers, Klaus _______________________________________________ Kickstart-list mailing list Kickstart-list at redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list From klaus.steden at thomson.net Mon Nov 27 21:25:15 2006 From: klaus.steden at thomson.net (Klaus Steden) Date: Mon, 27 Nov 2006 16:25:15 -0500 Subject: pump told us: No DHCP reply received In-Reply-To: References: <20061127210807.GD932@thomson.net> Message-ID: <20061127212515.GF932@thomson.net> > What version of RHEL are you trying to install? > > I believe you have two different problems here. The first is DHCP > related, the second is with your RPM's. Isolate one problem at a time > and life will be much easier. > > I'm not as familiar with the Alcatel switch, I'm a Cisco guy, but the > problem you are describing regarding DHCP sounds like the portfast issue > that we always see on this list. Basically, the NIC cycles itself 3 > different times during a build. The first time is during pxeboot. > After the pxe information is sent, the nic is recycled and must > re-negotiate with the switch. If portfast is not enabled, then the > request times out before spanning tree allows the NIC to begin > communications. > > Steps you can take include assigning the IP on the boot: line instead of > via DHCP, and using ethtool on the boot: line like this: > > ksdevice=eth0 eth0_ethtool="autoneg=off speed=100 duplex=full" > > or > > ksdevice=eth0 eth0_ethtool="speed=1000 autoneg=on duplex=full" > I'm trying to install RHEL4. I will talk to the network guy about whether or not portfast (or whatever it's called in the non-Cisco world) is switched on (fast flooding, maybe?) ... I am going to have to check that RPM again but I'd swear on something valuable it was still intact. Thanks for the suggestions, Chip ... something to work with, finally. Klaus From redhat-list at xdroop.com Mon Nov 27 21:25:15 2006 From: redhat-list at xdroop.com (David Mackintosh) Date: Mon, 27 Nov 2006 16:25:15 -0500 Subject: pump told us: No DHCP reply received In-Reply-To: <20061127210807.GD932@thomson.net> References: <20061123212044.49378.qmail@web39815.mail.mud.yahoo.com> <456923B1.7080707@cox.net> <20061127210807.GD932@thomson.net> Message-ID: <20061127212515.GC4219@xdroop.com> On Mon, Nov 27, 2006 at 04:08:07PM -0500, Klaus Steden wrote: > If I start the bootstrap install procedure, if I have my machine connected to > the 6600 switch, I get no link. Nada. Nothing. Zip. No DHCP broadcast is seen > by the server (on the same subnet as the affected machine). I've even tried > connecting the DHCP server physically to the same switch, and again, it > doesn't even see a request from Kickstart. Check the spanning-tree settings on the affected port and switch-wide. Spanning-tree negotiation can take a long time, and while the NIC connected to the port thinks that the port is up, it isn't really, so packets sent to it while it is in this state get eaten. -- /\oo/\ / /()\ \ David Mackintosh | dave at xdroop.com | http://www.xdroop.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From johnny at navtek.no Tue Nov 28 12:21:04 2006 From: johnny at navtek.no (Johnny Ljunggren) Date: Tue, 28 Nov 2006 13:21:04 +0100 (CET) Subject: Making both disks bootable in RAID 1 setup Message-ID: <33499.83.110.79.225.1164716464.squirrel@mail.navtek.no> Hello I have a few systems set up with software RAID 1. However only one of them is bootable, so if I disconnect that one the other one will stop with only GRUB written at the top of the screen. Right now my kickstart script saves the boot information to mbr. Is there a way to save boot information to all disks on the system? regards -- Johnny Ljunggren, Navtek AS From kevin.foote at gmail.com Tue Nov 28 16:02:54 2006 From: kevin.foote at gmail.com (Kevin Foote) Date: Tue, 28 Nov 2006 11:02:54 -0500 Subject: Making both disks bootable in RAID 1 setup In-Reply-To: <33499.83.110.79.225.1164716464.squirrel@mail.navtek.no> References: <33499.83.110.79.225.1164716464.squirrel@mail.navtek.no> Message-ID: <5fb0f77b0611280802s3135f8b1r802f82e31abe9d40@mail.gmail.com> Im not sure if you can do this with kickstart. What we do here is after the box comes up (during our final system configuration) we run grub and write the boot stuff to the second disk. Just one final step before the box goes live :-) >grub Grub>device (hd0) /dev/sdX Grub>root (hd0,0) Grub>setup (hd0) Grub>quit -- :wq! kevin.foote On 11/28/06, Johnny Ljunggren wrote: > > > Hello > > I have a few systems set up with software RAID 1. However only one of them > is bootable, so if I disconnect that one the other one will stop with only > GRUB written at the top of the screen. > Right now my kickstart script saves the boot information to mbr. > > Is there a way to save boot information to all disks on the system? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From binand at gmail.com Tue Nov 28 16:35:41 2006 From: binand at gmail.com (Binand Sethumadhavan) Date: Tue, 28 Nov 2006 17:35:41 +0100 Subject: Kickstarting an upgrade from RHEL3 to RHEL4... In-Reply-To: References: Message-ID: Hi, I am assuming my current atftp/dhcp/apache installation is sufficient to upgrade from RHEL3 to RHEL4 over the network. But I still haven't figured out how the kickstart file should look like. I at the moment have this: upgrade lang en_US langsupport --default en_US en_US keyboard us mouse none --device null skipx firewall --disabled url --url http://10.1.5.243/rhel4/ reboot Is that all that is needed? The servers are in a remote datacenter with no chance of getting a console hooked, so I need to get this right the first time I try it. :( Binand From phb at llgc.org.uk Wed Nov 29 10:59:23 2006 From: phb at llgc.org.uk (Phil Bettinson) Date: Wed, 29 Nov 2006 10:59:23 +0000 Subject: Kickstarting an upgrade from RHEL3 to RHEL4... In-Reply-To: References: Message-ID: <456D680B.6090105@llgc.org.uk> Binand Sethumadhavan wrote: > Hi, > > I am assuming my current atftp/dhcp/apache installation is sufficient > to upgrade from RHEL3 to RHEL4 over the network. But I still haven't > figured out how the kickstart file should look like. I at the moment > have this: > > upgrade > lang en_US > langsupport --default en_US en_US > keyboard us > mouse none --device null > skipx > firewall --disabled > url --url http://10.1.5.243/rhel4/ > reboot > > Is that all that is needed? The servers are in a remote datacenter > with no chance of getting a console hooked, so I need to get this > right the first time I try it. :( Rather you than me! Is there not even the chance of a serial console? cause you can kick-start happily over that! I'm not sure if I'd want to do a kickstart upgrade without access to at least one terminal! My advice would be to set one up locally, test it, then change the details and try the ones in the datacenter. Thanks, Phil -- ----------------------------------------------------------------------- Phil Bettinson BEng, RHCT Beng, RHCT Swyddog Gweinyddu Systemau Systems Administrator Isadran Cyfrifiaduron Computer Section Llyfrgell Genedlaethol Cymru National Library of Wales Aberystwyth, Aberystwyth Ceredigion, Ceredigion SY23 3BU SY23 3BU Ff?n / Phone: 01970 632XXX Ffacs / Fax: 01970 615XXX EBost / Email: NOSPAM at llgc.org.uk We / Web: http://www.llgc.org.uk ----------------------------------------------------------------------- Yn siarad drosof fy hun, nid LlGC - Speaking personally, not for NLW This is my opt-out from any marketing messages. I don't want it. From binand at gmail.com Wed Nov 29 11:16:56 2006 From: binand at gmail.com (Binand Sethumadhavan) Date: Wed, 29 Nov 2006 12:16:56 +0100 Subject: Kickstarting an upgrade from RHEL3 to RHEL4... In-Reply-To: <456D680B.6090105@llgc.org.uk> References: <456D680B.6090105@llgc.org.uk> Message-ID: On 29/11/06, Phil Bettinson wrote: > Binand Sethumadhavan wrote: > > upgrade > > lang en_US > > langsupport --default en_US en_US > > keyboard us > > mouse none --device null > > skipx > > firewall --disabled > > url --url http://10.1.5.243/rhel4/ > > reboot > > Rather you than me! > > Is there not even the chance of a serial console? cause you can > kick-start happily over that! > > I'm not sure if I'd want to do a kickstart upgrade without access to at > least one terminal! Call me adventurous - but the fact is that the ILO port of the server was left unpatched :) Well, I have *installed* over the network several times, the console is not usually necessary. It is just that I have never tried an *upgrade* and am not too sure of the required ks file elements. The documentation is pretty detailed for installs, but not for upgrades. Anyway, I did try doing this (in a lab) and figured that in rhel4, the release notes file is mandatory inside the webroot. Quite a big difference from rhel3 (where only the RedHat subdirectory was needed inside the webroot). See this: 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES-en_US.UTF-8.html HTTP/1.0" 404 314 "-" "Python-urllib/ 2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES.en_US.UTF-8 HTTP/1.0" 404 309 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES-en_US.html HTTP/1.0" 404 308 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES.en_US HTTP/1.0" 404 303 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES-en.html HTTP/1.0" 404 305 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES.en HTTP/1.0" 404 300 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES-C.html HTTP/1.0" 404 304 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES.C HTTP/1.0" 404 299 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES-en.html HTTP/1.0" 404 305 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES-en HTTP/1.0" 404 300 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES.html HTTP/1.0" 404 302 "-" "Python-urllib/2.1" 10.80.5.242 - - [28/Nov/2006:12:39:26 -0500] "GET /rhel4/RELEASE-NOTES HTTP/1.0" 404 297 "-" "Python-urllib/2.1" And the install stops. Binand From AjitabhPandey at Gmail.com Wed Nov 29 11:37:27 2006 From: AjitabhPandey at Gmail.com (Ajitabh Pandey) Date: Wed, 29 Nov 2006 11:37:27 +0000 Subject: Kickstarting an upgrade from RHEL3 to RHEL4... In-Reply-To: References: <456D680B.6090105@llgc.org.uk> Message-ID: <1164800247.6447.3.camel@localhost> On Wed, 2006-11-29 at 12:16 +0100, Binand Sethumadhavan wrote: > On 29/11/06, Phil Bettinson wrote: > > Binand Sethumadhavan wrote: > > > upgrade > Call me adventurous - but the fact is that the ILO port of the server > was left unpatched :) I think HP have some command line utilities for configuring ILO without reboot. I did that once, but cant remember. The only required thing is, if the ILO was not configured at all then you need to know the default ILO user and password. If you have configured it once and you cant remember the access details now, one of these utilities can reset the ILO to factory settings. If you have lost the factory settings then its not possible remotely anymore. Regards. Ajitabh Pandey From binand at gmail.com Wed Nov 29 11:40:46 2006 From: binand at gmail.com (Binand Sethumadhavan) Date: Wed, 29 Nov 2006 12:40:46 +0100 Subject: Kickstarting an upgrade from RHEL3 to RHEL4... In-Reply-To: <1164800247.6447.3.camel@localhost> References: <456D680B.6090105@llgc.org.uk> <1164800247.6447.3.camel@localhost> Message-ID: On 29/11/06, Ajitabh Pandey wrote: > I think HP have some command line utilities for configuring ILO without > reboot. I did that once, but cant remember. The only required thing is, ITYM the hponcfg package, available for download from HP's website. Description : hponcfg is an online configuration utility for RILOE II/iLo. Doesn't help me since the ILO port is unpatched :) If it were, I do have IP address allocation, default password etc. stored in my asset register. Binand From termeau at gmail.com Wed Nov 29 16:02:50 2006 From: termeau at gmail.com (termeau sebastien) Date: Wed, 29 Nov 2006 17:02:50 +0100 Subject: clearpart --all Message-ID: <8466e51e0611290802j54880105x83ccb4cfc57c7128@mail.gmail.com> Hello, I am creating a 2 new Linux distribution, one based on RHEL 4 Update 4 and the other one based on CentOS 4.4. I use the same kickstart file for both. In my kickstart file I use "clearpart --all", but during the installation of the RHEL, a message box still ask me if I want to delete all the partitions. In fact it say (it is a translation from french of the message I saw few hours ago .. ) "Your partitions are not usable, do you want to delete everything?" So the same kickstart file does not work exactly the same way with RHEL and CentOS. Do you have an idea to solve this issue? Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From binand at gmail.com Wed Nov 29 16:36:12 2006 From: binand at gmail.com (Binand Sethumadhavan) Date: Wed, 29 Nov 2006 17:36:12 +0100 Subject: clearpart --all In-Reply-To: <8466e51e0611290802j54880105x83ccb4cfc57c7128@mail.gmail.com> References: <8466e51e0611290802j54880105x83ccb4cfc57c7128@mail.gmail.com> Message-ID: On 29/11/06, termeau sebastien wrote: > In my kickstart file I use "clearpart --all", but during the installation of > the RHEL, a message box still ask me if I want to delete all the partitions. > In fact it say (it is a translation from french of the message I saw few > hours ago .. ) "Your partitions are not usable, do you want to delete > everything?" You probably need: clearpart --all --initlabel Binand From andre.ruiz at gmail.com Wed Nov 29 16:53:58 2006 From: andre.ruiz at gmail.com (Andre Ruiz) Date: Wed, 29 Nov 2006 13:53:58 -0300 Subject: clearpart --all In-Reply-To: <8466e51e0611290802j54880105x83ccb4cfc57c7128@mail.gmail.com> References: <8466e51e0611290802j54880105x83ccb4cfc57c7128@mail.gmail.com> Message-ID: <68d97fc90611290853s14f1286bs52d5f423e57a118d@mail.gmail.com> Before the "part" commands in my kickstart file, I have the following: # disk and partitions zerombr yes bootloader --location=mbr clearpart --all --drives=hda --initlabel part... part... part... Please check the meaning of the extra options before using, I did that a long time ago and do not remember what they are anymore. andre On 11/29/06, termeau sebastien wrote: > Hello, > > I am creating a 2 new Linux distribution, one based on RHEL 4 Update 4 and > the other one based on CentOS 4.4. > I use the same kickstart file for both. > In my kickstart file I use "clearpart --all", but during the installation of > the RHEL, a message box still ask me if I want to delete all the partitions. > In fact it say (it is a translation from french of the message I saw few > hours ago .. ) "Your partitions are not usable, do you want to delete > everything?" > So the same kickstart file does not work exactly the same way with RHEL and > CentOS. > Do you have an idea to solve this issue? > Best Regards > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > -- Andre Ruiz Curitiba, PR, Brasil