[cobbler] Assigning a system to a profile

Dan White ygor at comcast.net
Tue Mar 19 18:34:56 UTC 2013


I do not believe PXE will work without DHCP. 

It is the DHCP server that points the new machine to the boot server. 

BuildISO's do not need DHCP. 

You can make ONE image with IP's and MAC's for all 12 blades, but I do not know if you can use it on more than one at a time. 


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 

----- Original Message -----
From: "Scot Floess" <sfloess at redhat.com> 
To: "cobbler mailing list" <cobbler at lists.fedorahosted.org> 
Sent: Tuesday, March 19, 2013 2:31:11 PM 
Subject: Re: [cobbler] Assigning a system to a profile 


Sam, 

No that's fine - but are you serving up the tftp stuff correctly? Not sure this will work without that... 

----- Original Message -----


From: "Sam Sen" <ssen at ariasystems.com> 
To: "cobbler mailing list" <cobbler at lists.fedorahosted.org> 
Sent: Tuesday, March 19, 2013 2:28:03 PM 
Subject: Re: [cobbler] Assigning a system to a profile 




I don’t have the luxury of running DHCP (don’t ask). 




Regards, 



Sam 





From: cobbler-bounces at lists.fedorahosted.org [mailto:cobbler-bounces at lists.fedorahosted.org] On Behalf Of Scot Floess 
Sent: Tuesday, March 19, 2013 2:27 PM 
To: cobbler mailing list 
Subject: Re: [cobbler] Assigning a system to a profile 




I don't have any experience with bonding interfaces (so can't guess if there's an issue there)... 

Let me ask a really dumb question - are you able to PXE boot other machines now? Not the blades - but any of your other machines on your network? 
----- Original Message -----

<blockquote>


From: "Sam Sen" < ssen at ariasystems.com > 
To: "cobbler mailing list" < cobbler at lists.fedorahosted.org > 
Sent: Tuesday, March 19, 2013 2:22:43 PM 
Subject: Re: [cobbler] Assigning a system to a profile 

Good catch, I did catch that prior to my initial post and tried again with “—mac” but it still doesn’t work. 










Regards, 



Sam 





From: cobbler-bounces at lists.fedorahosted.org [ mailto:cobbler-bounces at lists.fedorahosted.org ] On Behalf Of Scot Floess 
Sent: Tuesday, March 19, 2013 2:21 PM 
To: cobbler mailing list 
Subject: Re: [cobbler] Assigning a system to a profile 




Sorry - I really didn't read closely... 

I did look at the thread...I notice you have -mac vs --mac in your example... 


<blockquote>


From: "Sam Sen" < ssen at ariasystems.com > 
To: "cobbler mailing list" < cobbler at lists.fedorahosted.org > 
Sent: Tuesday, March 19, 2013 2:14:37 PM 
Subject: Re: [cobbler] Assigning a system to a profile 

Yep, that’s what I did. I tried that along with setting the name to the MAC Address of eth0. 



I should test this w/o the bonding interface set up. See my first post of the command I used to add the system. 






Regards, 



Sam 





From: cobbler-bounces at lists.fedorahosted.org [ mailto:cobbler-bounces at lists.fedorahosted.org ] On Behalf Of Scot Floess 
Sent: Tuesday, March 19, 2013 2:13 PM 
To: cobbler mailing list 
Subject: Re: [cobbler] Assigning a system to a profile 




My apologies as I am walking into this late...but... 

If you know the mac addresses of each blade, you can add that system with --mac="some mac address" and each one when it PXE boots, Cobbler will do the right thing... 


<blockquote>


From: "Sam Sen" < ssen at ariasystems.com > 
To: "cobbler mailing list" < cobbler at lists.fedorahosted.org > 
Sent: Tuesday, March 19, 2013 2:10:09 PM 
Subject: Re: [cobbler] Assigning a system to a profile 

Yes, I mount them via a virtual dvd. 



I really don’t want to have 12 different ISOs. It would be easier to just select the system name from the cobbler menu. 




Regards, 



Sam 





From: cobbler-bounces at lists.fedorahosted.org [ mailto:cobbler-bounces at lists.fedorahosted.org ] On Behalf Of Dan White 
Sent: Tuesday, March 19, 2013 2:09 PM 
To: cobbler mailing list 
Subject: Re: [cobbler] Assigning a system to a profile 




Does each blade have its own optical drive ? 


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 





From: "Sam Sen" < ssen at ariasystems.com > 
To: "cobbler mailing list" < cobbler at lists.fedorahosted.org > 
Sent: Tuesday, March 19, 2013 1:49:12 PM 
Subject: Re: [cobbler] Assigning a system to a profile 

Hmmmm … so if I have 12 blades to build, is there a quicker way to do this? I would like to boot from ISO (the same ISO for all 12 systems) and have cobbler take over. I don’t think this will work without PXE based on what you’re telling me. 






Regards, 



Sam 





From: cobbler-bounces at lists.fedorahosted.org [ mailto:cobbler-bounces at lists.fedorahosted.org ] On Behalf Of Dan White 
Sent: Tuesday, March 19, 2013 1:45 PM 
To: cobbler mailing list 
Subject: Re: [cobbler] Assigning a system to a profile 




The default behavior of the ISO is to boot from local media after a delay 

Look at a file : <iso root>/isolinux/isolinux.cfg 


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 





From: "Sam Sen" < ssen at ariasystems.com > 
To: "cobbler mailing list" < cobbler at lists.fedorahosted.org > 
Sent: Tuesday, March 19, 2013 1:36:07 PM 
Subject: Re: [cobbler] Assigning a system to a profile When the system boots up and loads the ISO, I thought it would automatically force the system to load a profile. In theory since there is no OS installed, it will start the OS installation without having you select from the cobbler menu. Is this feature not available for non-pxe boot? Dan White < ygor at comcast.net > wrote: 



So what is happening that should not happen ? 

Contrarywise, what is not happening that should ? 


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 





From: "Sam Sen" < ssen at ariasystems.com > 
To: "cobbler mailing list" < cobbler at lists.fedorahosted.org > 
Sent: Tuesday, March 19, 2013 1:22:47 PM 
Subject: Re: [cobbler] Assigning a system to a profile 


It’s there … 





[root at phl-00-cobbler iso]# cobbler profile list 

ORACLE 






Regards, 



Sam 





From: cobbler-bounces at lists.fedorahosted.org [ mailto:cobbler-bounces at lists.fedorahosted.org ] On Behalf Of Dan White 
Sent: Tuesday, March 19, 2013 1:12 PM 
To: cobbler mailing list 
Subject: Re: [cobbler] Assigning a system to a profile 




What does the command "cobbler profile list" return ? 

If one of the lines is not "ORACLE", then that is your first problem. 


“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 





From: "Sam Sen" < ssen at ariasystems.com > 
To: cobbler at lists.fedorahosted.org 
Sent: Tuesday, March 19, 2013 1:06:56 PM 
Subject: [cobbler] Assigning a system to a profile 

Not sure what I’m missing but I’m attempting to automatically install the OS with our new blade systems using a cobbler iso (generated by buildiso). The cobbler menu shows up with the list of available systems, but I want it to automatically install when it loads the ISO. I don’t have DHCP hence the use of the buildiso command. 



I added a new system by running the following command. Please note, the install works fine when I select the system but that’s not what I want. Notice I have the “mac” specified and I went as far as using the mac address of eth0 as the name for the system. Both times, I’m greeted with the menu and I’m forced to choose. 



cobbler system add --name=blade1 –mac=XX:XX:XX:XX:XX:XX --profile=ORACLE --interface=bond0 --interface-type=bond --bonding-opts="mode=6 miimon=1000" --ip-address=172.31.20.45 --hostname=blade1.domain.com --ksmeta='server_type=DB disk_layout=BLADES_ORACLE' --subnet=255.255.255.0 --gateway=172.31.20.250 --kopts='ksdevice=eth0 ip=172.31.20.45 netmask=255.255.255.0 dns=172.31.10.220 gateway=172.31.20.250' --static=1 







-- 

Sam Sen 

Sr Systems Administrator 

215.913.4797 



Aria Systems, Inc. 

600 Reed Road, Suite 302 

Broomall, PA 19008 

www.ariasystems.com 




_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 


_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 


_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 


_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 


_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 






-- 


Make It So Number One 


_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 
</blockquote>





-- 


Make It So Number One 


_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 
</blockquote>





-- 


Make It So Number One 
_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 

</blockquote>



-- 

Make It So Number One 

_______________________________________________ 
cobbler mailing list 
cobbler at lists.fedorahosted.org 
https://lists.fedorahosted.org/mailman/listinfo/cobbler 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20130319/7865072b/attachment-0001.html>


More information about the cobbler mailing list