Changes between Version 5 and Version 6 of Software/fImages/cBuildingCustomOS
- Timestamp:
- Aug 31, 2011, 7:23:05 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/fImages/cBuildingCustomOS
v5 v6 4 4 = Creating custom OS images = 5 5 6 In order to use an OS other than the one currently supported (Debian Linux kernel 2.6.12), you may do one of the following 7 * 1) provide your own (frisbee) image of the OS of your choice '''or ''' 8 * 2) install the OS of your choice on our nodes from scratch. 6 In order to use an OS other than the ones provided with stock images (Ubuntu based images), you can either provide your own (frisbee) image of the OS of your choice (that was prepared off-site) or use the netboot method on ORBIT infrastructure. 7 install the OS of your choice on our nodes from scratch. Regardless of the method, the resulting image should support: 9 8 10 == For Approach 1) == 11 Here are a few guidelines 12 * when you create your image, it occupies less than 20gb (make that 15 to be safe). 13 * your OS image supports the following: 14 * a serial console @9600,8,n,1 on the first serial port 15 * driver support for 2 Marvell gigabit network card 16 * and dhcp on the 2nd wired interface. 17 * have wireless drivers (Atheros and Intel) support and a set of corresponding utilities installed 9 * a serial console (@115K, 8, n, 1) on the first serial port 10 * driver support for 2 gigabit network card 11 * and dhcp on the 2nd wired gigabit network interface 18 12 19 After you have an image, simply use 20 {{{ 21 saveNode x,y 22 }}} 23 to save the image of the node in our repository for further use 13 == netboot method == 24 14 25 == For Approach 2) == 26 Our nodes support installation of any OS via network installers. 15 OS via network installers. 27 16 28 Please be sure the installer for the OS of your choice provides 29 a serial console on the first serial port @9600,8,n,1 and has network 30 drivers for the Marvell gigabit network cards (I believe they are officially 31 Yukon compatible but I believe Marvell cards are mostly identical). 17 Please be sure the installer for the OS of your choice provides 18 a serial console on the first serial port (@115K,8,n,1) and has 19 appropriate network drivers. 32 20 33 * The PXE service can be queried from any console at http://pxe:5012/pxe/. 21 34 22 * The XML interface is self explanatory. 35 23 * Copy your boot script to /tftpboot on repository2 and control the boot behavior of your node via the PXE service. … … 41 29 will show you all of the available URLs. What you need to use is: 42 30 43 http://pxe:5012/pxe/nodeSetBootImage?img="image_file_name"&nodes="set-of 44 -nodes" 31 http://pxe:5012/pxe/nodeSetBootImage?img="image_file_name"&nodes="set-of-nodes" 45 32 46 33 and: 47 34 48 http://pxe:5012/pxe/nodeSetClearBootImage?img="image_file_name"&nodes="s 49 et-of-nodes" 35 http://pxe:5012/pxe/nodeSetClearBootImage?img="image_file_name"&nodes="set-of-nodes" 50 36 51 You have to come from the grid console to use this. Please let us know if 52 permissions are not working as expected or if you have problems with the 53 service. 37 You have to come from the domain console to use this service (i.e. if you are working with the node in sb1 you have to issue this on console.sb1). 54 38 55 To interact with your node, follow the instructions on our FAQ concerning 56 interaction via serial consoles 39 To interact with your node, follow the instructions on our FAQ concerning interaction via serial consoles 57 40 41 After you have an image, simply use 42 {{{ 43 omf save x,y 44 }}} 45 to save the image of the node in our repository for further use