Changes between Version 13 and Version 14 of Internal/ImageInstall


Ignore:
Timestamp:
Aug 31, 2006, 11:14:56 PM (18 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/ImageInstall

    v13 v14  
    44Step 1 --
    55
    6 PXE: This is a concerted effort between the dhcp server and the tftp server. In the dhcpd.conf file in the parameter "nextserver" is interpreted by the pxe booting clinet as "where to look" for the boot img (and associated directive files). The booting clinet then initiates a tftp session with the "next-server" and downloads an directive file that tells it what image to copy, uncompress, and boot.
     6PXE net-work booting (on the source machine): -- [[BR]]
     7
     8This is a concerted effort between the dhcp server and the tftp server. In the dhcpd.conf file in the parameter "nextserver" is interpreted by the pxe booting clinet as "where to look" for the boot img (and associated directive files). The booting clinet then initiates a tftp session with the "next-server" and downloads an directive file that tells it what image to copy, uncompress, and boot.
    79
    810{{{
    911Our current setup:
    10 DHCPD runs on dhcp1.orbit-lab.org
     12DHCPD runs on dhcp1.orbit-lab.org (10.0.0.1)
    1113AFTPD runs on repository2.orbit-lab.org (10.0.50.40, this is "next-server")
    1214}}}
     
    3234
    3335{{{
    34 TIP:
    3536Some snags I've run into:
    3637
     
    4344S: Restart TFTPD on the next-server. In our current setup this is repository2 and the server name is AFTPD.
    4445
    45 P: No BIF get loaded by the client, and the machine move to other boot media
     46P: No BIF get loaded by the client, and the machine moves to other boot media
    4647S: Make sure the file is named appropriately. When the pxe clinet searches for the BIF, it list (and displays on screen)
    47 the names it tires. A clever use of the Pause/Break key will help you find what its looking for.
     48the names it tires. If you don't see this list of attempts, the client hasn't found / communicated with the tftp server.
     49If you see the list, a clever use of the Pause/Break key will help you find what its looking for.
    4850
    4951}}}
    50 
    51 
    5252
    5353once at the console, the resting place of the image was mounted.
    5454
    5555step 3 --
     56
     57Finding a place to put your image:
     58
    5659{{{
    5760mount -o nolock repository2:/export/orbit/image/tmp /mnt
     
    6467So now that I have some place to put the image file, I can create it with the imagezip utility (should live in /bin on the image).
    6568
     69{{{
     70Note: NFS is not particularly fourth coming with information. For instance if you type the name of the share point incorrectly,
     71you get a permission denied error. Some what misleading
     72}}}
     73
     74
    6675step 4 --
     76Getting the image:
     77
    6778{{{
    6879imagezip /dev/hda - > /mnt/orbit-pc1...
     
    8192Since frisbee is a client / server type service, I'll need a place for the server to run. This place should have access to my freshly generated image. Mogwai (?!$#@) is our candidate. Once ssh'd to mogwai, I'll scp my file from repository2, and place it in /tmp. (an exercise left to the reader)
    8293
    83 step 5
     94step 5 --
     95Starting up a frisbee server/daemon (frisbeed):
     96
    8497{{{
    8598frisbeed -p 5050 -m 10.0.250.221 /tmp/orbit-pc2...
     
    90103''   /tmp/orbit-pc2 is my image file, freshly copied.''[[BR]]
    91104
    92 step 6
     105step 6 --
     106Pulling down the image to the "client"
     107
     108'''Note: This setup requires that you preform steps 1 and 2 on the target machine. From here you should be at the similar console to the one you had when using the imagezip utility. Since all I'm doing is  using the frisbee client to get the image from the frisbee server I made in step 5, I don't need step 3.'''
     109
    93110{{{
    94111frisbee -p 5050 -m 10.0.101.10 -i 10.0.250.221 /dev/hda