Cisco Server Provisioner 6.6 User's Guide ("Chuck Berry")

Prepare the ISO media

Hide Navigation Pane

Prepare the ISO media

Previous topic Next topic No expanding text in this topic  

Prepare the ISO media

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Go to the directory where the script is located:

cd /home/tftpboot/bin

 

Note: follow these instructions to provision RHEL 5.10 and CentOS 5.10.

 

For non-RHEL/CentOS 5.10, execute the media loading script

perl loadlinux.pl

 

Select the Linux distribution to copy:

Choose a distribution category (by letter) from the following list:

  a Asianux

  c CentOS

  d Debian

  f Fedora

  n Novell SUSE Linux Enterprise Server

  o OpenSUSE

  r Red Hat Enterprise Linux

  u Ubuntu

Make a selection, press Enter for all, or type 'exit': r

 

 

Note: there is a known issue when loading RHEL/CentOS 6.7 or greater with an easy workaround which is to load the new ISO media into an older media directory.

 

For example, if you want to load the CentOS 6.7 ISO, select CentOS 6.3 (or other unused CentOS release directory) then select the correct ISO (CentOS-6.7-x86_64-bin-DVD1.iso in this case) to be processed. When you then later create a MAC-Specific Provisioning Template (or "payload"), select CentOS 6.3 and rename it (to "CentOS 6.7" or "CentOS 6.7 loaded into 6.3") so you will always assign the intended template to a MAC-Specific Provisioning Role ("machine").

 

In the example below, CentOS 6.4 x86_64 (64-bit) was selected.

 31. CentOS 6.1 i386 (DVD)

 32. CentOS 6.1 x86_64 (DVD)

 33. CentOS 6.2 i386 (DVD)

 34. CentOS 6.2 x86_64 (DVD)

 35. CentOS 6.3 i386 (DVD)

 36. CentOS 6.3 x86_64 (DVD)

 37. CentOS 6.4 i386 (DVD)

 38. CentOS 6.4 x86_64 (DVD)

 39. CentOS 6.5 i386 (DVD)

 40. CentOS 6.5 x86_64 (DVD)

 

Please make a selection, or type 'back' to return to categories:38

 

Processing CentOS 6.4 x86_64 (DVD)

... CD/DVD ISO 1 of 1

... checking directory: /home/tftpboot//pub/centos6_4_x86_64

Creating directory structure for Red Hat-based distribution in /home/tftpboot//pub/centos6_4_x86_64

ISOs available in /home/tftpboot/ISOs/linux:

-rwxrwxrwx 1 root root 4672493568 Oct 22 06:12 CentOS-5.10-x86_64-bin-DVD-1of2.iso

-rwxrwxrwx 1 root root 4684441600 Apr 12  2013 CentOS-5.9-x86_64-bin-DVD-1of2.iso

-rwxrwxrwx 1 root root 4353378304 Apr 12  2013 CentOS-6.4-x86_64-bin-DVD1.iso

-rwxrwxrwx 1 root root 4378114048 Oct 22 05:52 rhel-server-5.10-x86_64-dvd.iso

-rwxrwxrwx 1 root root 4298059776 Feb  1  2013 rhel-server-5.9-x86_64-dvd.iso

-rwxrwxrwx 1 root root 3720347648 Apr 12  2013 rhel-server-6.4-x86_64-dvd.iso

    1  CentOS-5.10-x86_64-bin-DVD-1of2.iso

    2  CentOS-5.9-x86_64-bin-DVD-1of2.iso

    3  CentOS-6.4-x86_64-bin-DVD1.iso

    4  rhel-server-5.10-x86_64-dvd.iso

    5  rhel-server-5.9-x86_64-dvd.iso

    6  rhel-server-6.4-x86_64-dvd.iso

... for: CentOS 6.4 x86_64 (DVD)

Select ISO file number or type 'exit': 3

 

 

Prepare ISO media for RHEL 5.10 and CentOS 5.10

 

This script is included in Provisioner Releases 6.5 and 6.6 "Chuck Berry". For Provisioner 6.5.0 and 6.5.1, we recommend that you upgrade to the current release, otherwise, there is a patch available (install the patch).

 

Note: there is a known issue when loading RHEL/CentOS 5.11 with an easy workaround which is to load the new ISO media into an older media directory (we never expected a 5.11 release!)

 

For example, if you want to load the CentOS 5.11 ISO, select CentOS 5.8 (or other unused CentOS release directory) then select the correct ISO (CentOS-5.11-x86_64-bin-DVD-1of2.iso in this case) to be processed. When you then later create a MAC-Specific Provisioning Template (or "payload"), select CentOS 5.8 and rename it (to "CentOS 5.11" or "CentOS 5.11 loaded into 5.8") so you will always assign the intended template to a MAC-Specific Provisioning Role ("machine").

 

[root@ip-49-1 linmin]# cd /home/tftpboot/bin

[root@ip-49-1 bin]# php load-rhel-centos-5-10.php

................................................................................

/home/tftpboot/bin/load-rhel-centos-5-10.php v5 2013-11-09 (c)2013 LinMin Corp.

2013-12-03_16:08:34_PST

 

Select Release to load media for

0) CentOS 5.10 i386

1) CentOS 5.10 x86_64

2) RHEL 5.10 i386

3) RHEL 5.10 x86_64

----> type response and press enter, "q" will quit the process

Select release option by number: 1

Release selected: CentOS 5.10 x86_64 for media load to pub directory: centos5_10_x86_64

----> type response and press enter, "q" will quit the process

Confirm with y/n selection of: CentOS 5.10 x86_64: y

 

Select ISO to load media from for: CentOS 5.10 x86_64

0) CentOS-5.10-x86_64-bin-DVD-1of2.iso

1) CentOS-5.9-x86_64-bin-DVD-1of2.iso

2) CentOS-6.4-x86_64-bin-DVD1.iso

3) rhel-server-5.10-x86_64-dvd.iso

4) rhel-server-5.9-x86_64-dvd.iso

5) rhel-server-6.4-x86_64-dvd.iso

ls) List ISOs with file attributes

----> type response and press enter, "q" will quit the process

Select ISO by number or "ls" to relist with file attributes: 0

ISO selected: CentOS-5.10-x86_64-bin-DVD-1of2.iso to load media pub directory: centos5_10_x86_64

.. -rwxrwxrwx 1 root root 4672493568 Oct 22 06:12 /home/tftpboot/ISOs/linux/CentOS-5.10-x86_64-bin-DVD-1of2.iso

----> type response and press enter, "q" will quit the process

Confirm with y/n selection of: CentOS-5.10-x86_64-bin-DVD-1of2.iso: y

 

 

Allow the ISO extraction operation to complete

The loadlinux.pl script provides visual feedback, and the operation will take several minutes to complete. Attempting to abort the extraction operation will corrupt files. If this happens, delete the contents of the directory for the distro located in /home/tftpboot/pub/distro_name/disc1 (or /CD1) and run loadlinux.pl again.

 

Note that all ISO-management scripts (including loadlinux.pl) are very resource-intensive, so expect reduced Provisioner PXE Server performance when running the script.

 

Select another Linux distribution ISO to extract, or exit the program