Closed
Bug 703136
Opened 14 years ago
Closed 14 years ago
Set up kickstart on admin1a.infra.scl1.mozilla.com
Categories
(Infrastructure & Operations :: RelOps: General, task)
Infrastructure & Operations
RelOps: General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: mlarrain)
Details
This machine should be given enough equipment to kickstart new RHEL nodes in vlan6, similar to what we do in mtv1 or sjc1.
| Assignee | ||
Comment 1•14 years ago
|
||
I have started reading up on how to push this out but any internal recommendations would be nice. so far I have run;
yum install tftp-server
yum install syslinux
yum install httpd
Status: NEW → ASSIGNED
| Reporter | ||
Comment 2•14 years ago
|
||
This should probably be done with puppet - there appears to be a kickstart module there. I don't know what it does and doesn't install or set up, though.
| Assignee | ||
Comment 3•14 years ago
|
||
that module isn't done yet so it will have to be done by hand.
| Assignee | ||
Comment 4•14 years ago
|
||
With justdave's help I was able to get this machine almost all finished. It doesn't have a big enough hdd to take all the images so Dustin will select just the ones needed. Also DHCP needs to be updated to be able to hand out IP's for kickstarting.
Assignee: mlarrain → dustin
| Reporter | ||
Comment 5•14 years ago
|
||
So I blew away everything under /var/www/html/kickstart and /var/lib/tftpboot.
I copied in the important stuff from /var/lib/tftpboot on natasha:
pxelinux.cfg/default (edited to use admin1a's IP address, have the right options)
pxelinux.0
msgs/ (edited heavily)
RHEL-6.0-x86_64/
started xinetd for tftp service.
Applied this patch to dhcp:
diff --git a/scl1/vlan48.conf b/scl1/vlan48.conf
index 964465d..8d80424 100644
--- a/scl1/vlan48.conf
+++ b/scl1/vlan48.conf
@@ -886,6 +886,21 @@ subnet 10.12.48.0 netmask 255.255.248.0 {
host autoland-staging02 { hardware ethernet aa:00:00:b9:51:37 ; fixed-address 10.12.51.251 ; option host-name "autoland-staging02"; }
+ group hps {
+ site-option-space "pxelinux";
+ option pxelinux.magic f1:00:00:74:73;
+
+ if exists dhcp-parameter-request-list {
+ # Always send the PXELinux options (specified in hexadecimal)
+ option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,d0,d1,d2,d3);
+ }
+
+ next-server 10.12.75.25; # admin1a.infra.scl1
+ option pxelinux.pathprefix "/linux-install/";
+ option pxelinux.reboottime 30;
+
+ filename "linux-install/pxelinux.0";
+
host dl120g7-r4-4840 { hardware ethernet B4:99:BA:A9:1B:E8 ; fixed-address 10.12.52.3; option host-name "dl120g7-r4-4840"; }
host dl120g7-r4-4839 { hardware ethernet B4:99:BA:A8:8A:90 ; fixed-address 10.12.52.4; option host-name "dl120g7-r4-4839"; }
host dl120g7-r4-4862 { hardware ethernet B4:99:BA:A9:1B:68 ; fixed-address 10.12.52.5; option host-name "dl120g7-r4-4862"; }
@@ -928,6 +943,7 @@ subnet 10.12.48.0 netmask 255.255.248.0 {
host dl120g7-r4-4858 { hardware ethernet B4:99:BA:A6:AA:22 ; fixed-address 10.12.52.42; option host-name "dl120g7-r4-4858"; }
host dl120g7-r4-4859 { hardware ethernet B4:99:BA:A9:1A:44 ; fixed-address 10.12.52.43; option host-name "dl120g7-r4-4859"; }
host dl120g7-r4-4860 { hardware ethernet B4:99:BA:A9:1E:94 ; fixed-address 10.12.52.44; option host-name "dl120g7-r4-4860"; }
+ }
host dl120g7-r4-4840-mgmt { hardware ethernet B4:99:BA:A9:1B:EA ; fixed-address 10.12.52.45; option host-name "dl120g7-r4-4840-mgmt"; }
host dl120g7-r4-4839-mgmt { hardware ethernet B4:99:BA:A8:8A:92 ; fixed-address 10.12.52.46; option host-name "dl120g7-r4-4839-mgmt"; }
host dl120g7-r4-4862-mgmt { hardware ethernet B4:99:BA:A9:1B:6A ; fixed-address 10.12.52.47; option host-name "dl120g7-r4-4862-mgmt"; }
and fired up a DL120G7's iLO to see how it works so far (more will be needed in /var/http/www/kickstart, but I want to get this part right first)
| Reporter | ||
Comment 6•14 years ago
|
||
To get the rest working, I needed to start httpd (and set it to start on boot), and copy the appropriate files there from mvadm01. I've set up CentOS 6.0 so far.
Matt, can you set up and test RHEL-6.0?
Assignee: dustin → mlarrain
| Reporter | ||
Comment 7•14 years ago
|
||
RHEL6 successfully added.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
You need to log in
before you can comment on or make changes to this bug.
Description
•