Windows CCS and Linux dual boo.doc 联系客服

发布时间 : 星期一 文章Windows CCS and Linux dual boo.doc更新完毕开始阅读dbfdf1eab8f67c1cfad6b81c

c. After configuring the installation server, you are now ready to add installation

sources. Click Add to add a new installation source. Enter a Source Name (―SLES10SP1-64‖ was used for this example) and click Next. Choose a source to import the installation source. In this example, the DVDROM was used (you can use the same media that was used to install the OS on the server), but a CDROM or the distribution ISOs could be used just as well. On clicking Next, you'll be prompted to insert the first CD (or DVD). Insert the first DVD of SUSE Linux Enterprise Server 10 SP1 and click Continue (The copy process can take a while).

After the first DVD or DVD ISO image has been copied, you'll be prompted to enter the second DVD (or DVD ISO). This step can be safely skipped

(choose Skip) as the second DVD only contains the source RPMs. You can, however, copy the source RPMs as well if desired. In the case of CDs or CD ISOs, you'll want to copy at least the first four. You should now be back at the Installation Server main screen. Click Finish here to wrap up the configuration.

Dual Boot: Windows Compute Cluster Server 2003 and SUSE Linux Enterprise Server 10 13

d. You have now created an NFS installation server with a SUSE Linux

Enterprise Server 10 SP1 installation source. You can verify that the source was created correctly by mounting the NFS share from another Linux client on the network. Type the following commands (replace 192.168.0.200 with the address of your installation server):

mount 192.168.0.200:/install /mnt ls /mnt End of script

You should see the contents of the installation server under the /mnt directory at this point. Type the following commands to unmount the share:

umount /mnt End of script

3. Configure a PXE (Preboot Execution Environment) server

Note: If you are unable to place a DHCP server on the same subnet as your HPC nodes (maybe there is an existing DHCP infrastructure), consider using custom boot CDs to kickoff network installations. Skip to step 6 for details on how to create a custom boot CD.

a. To set up a PXE server (on the same installation server) you'll need to create

a PXE directory structure and some accompanying configuration files. You will also need to enable and configure DHCP and TFTP services. To start, launch YaST, browse to Software and open Software Management. In the Search field, type “syslinux” and click Search. If the package is not yet installed, check the box. Follow the same steps to install “dhcp-server”, “tftp” and “xinetd”. Click Accept to install all of the packages. Once the installation is complete, issue the following commands in a terminal:

mkdir -p /tftpboot/pxelinux.cfg chmod a+w /tftpboot/pxelinux.cfg cp /usr/share/syslinux/pxelinux.0 /tftpboot cd /install/SLES10SP1-64/CD1 cp boot/x86_64/loader/linux /tftpboot/sle10sp1_64bit_linux cp boot/x86_64/loader/initrd /tftpboot/sle10sp1_64bit_initrd End of script

In the above commands, you first created a two-level directory structure,

/tftpboot/pxelinux.cfg. Second, you gave ―write‖ permissions to all users in the pxelinux.cfg directory. Next, you copied ―pxelinux.0‖ (the network bootstrap program) to the /tftpboot directory. Finally, you copied the Linux kernel and the initrd file (initial ramdisk) from the installation source to the /tftpboot directory.

b. In the /tftpboot/pxelinux.cfg directory, create two files, ―default‖ and

―boot.msg‖. Following are samples of the two files:

Dual Boot: Windows Compute Cluster Server 2003 and SUSE Linux Enterprise Server 10 14

Default

Replace all instances of 192.168.0.200 (highlighted in the script below) with the actual IP address of the Linux deployment server.

label 1 kernel sle10sp1_64bit_linux append initrd=sle10sp1_64bit_initrd splash=verbose install=nfs://192.168.0.200/install/SLES10SP1-64/CD1 autoyast=nfs://192.168.0.200/install/hpcautoyast.xml label 2 kernel sle10sp1_64bit_linux append initrd=sle10sp1_64bit_initrd splash=verbose install=nfs://192.168.0.200/install/SLES10SP1-64/CD1 display pxelinux.cfg/boot.msg prompt 1 timeout 0 End of script

boot.msg

|--------------------------------| | | | PXE Boot Menu List | | | | 1. SLES 10 SP1 (64-bit) + auto | | 2. SLES 10 SP1 (64-bit) | |--------------------------------| End of script

Dual Boot: Windows Compute Cluster Server 2003 and SUSE Linux Enterprise Server 10 15

4. Configure TFTP (Trivial File Transfer Protocol)

a. To set up TFTP, launch YaST, browse to Network Services and open TFTP

Server. If you are prompted to install the tftp RPM, click Continue. At the TFTP Server Configuration, select Enable, enter ―/tftpboot‖ as the Boot Image Directory and click Finish. The TFTP server is now configured and enabled.

Dual Boot: Windows Compute Cluster Server 2003 and SUSE Linux Enterprise Server 10 16