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

Reconfigure the Provisioner PXE Server

Hide Navigation Pane

Reconfigure the Provisioner PXE Server

Previous topic Next topic No expanding text in this topic  

Reconfigure the Provisioner PXE Server

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

This Topic addresses how to reconfigure your Provisioner PXE Server, including:

Provisioner PXE Server networking: change IP address, netmask, gateway, DNS, Bootp/PXE range, etc.

Provisioner PXE Server hostname & domain

Provisioner PXE Server MAC-Independent provisioned client default attributes: hostname, password, domain & time zone

 

Do not attempt to edit individual Linux system or Provisioner configuration files or scripts.  

 

Linux system and Provisioner PXE Server configuration files are heavily interdependent, and if you edit ones you may be familiar with as a Linux system administrator (ifcfg-ethx, dhcpd.conf, etc.) without editing the Provisioner PXE Server configuration files, you will introduce system instability that will be very difficult to troubleshoot.

 

Instead, use the scripts provided with the Provisioner PXE Server as described below.

 

There are 2 scripts you will be using:

linmin-config-check.sh will be used to change any of the values mentioned above

 

setup.pl will be used optionally if you use MAC-Independent provisioning to regenerate the supplied control files to incorporate changes made using linmin-config-check.sh, namely Provisioner PXE Server IP address and client system default attributes

 

Caution: if you change the IP address of your Provisioner PXE Server after it has been put into production use (after you have created MAC-Independent Roles, MAC-Specific Provisioning Roles and/or Imaging Profiles) using the script linmin-config-check.sh, before using the Provisioner PXE Server with the new IP address, using the GUI, you must either:

Delete all MAC-Independent Roles, MAC-Specific Provisioning Roles and Imaging Profiles, or

Toggle the Disable/Enable MAC-Independent Provisioning button, and

Toggle each MAC-Specific Provisioning Role: "Edit" each MAC-Specific Provisioning Role, then click "OK", and

Toggle each MAC-Specific Imaging Role from "Backup" to "Reset" to "Backup" again or from "Restore" to "Reset" to "Restore" again

 

 

Script linmin-config-check.sh

 

This script is built into the product installer and can be also accessed after the Provisioner PXE Server installation to modify the attributes described above.

 

cd /usr/local/linmin

./linmin-config-check.sh

 

In this brief example, we will show how to change the IP address (IPADDR) of the Provisioner PXE Server from 192.168.0.244 to 192.168.0.233.

 

Remember: after changing the Provisioner PXE Server's IP address, toggle each MAC-Specific Provisioning Role, each Imaging Profile and the MAC-Independent Enable/Disable button if you used the GUI prior to changing the Provisioner PXE Server's IP Address.

 

Only relevant excerpts of the script output were copied below. User inputs below are displayed in bold:

 

cfgIPADDR=192.168.0.244

 

Respond: ^^^^^ Select :confirm:change:more:force:quit: [more]: change

 

# ... cfgIPADDR is the LinMin server IP address

... configure: cfgIPADDR=192.168.0.244

 

Respond: enter value for cfgIPADDR  [192.168.0.244]: 192.168.0.233

cfgIPADDR=192.168.0.233 ... after change

 

[d]iscovered (192.168.0.244) [c]onfigure (192.168.0.233) [e]nter new value

 

Respond: select value for cfgIPADDR :c:d:e: [d]: c

cfgIPADDR=192.168.0.233 ... after change

 

LinMin services are stopped and LinMin configuration

may be out of sync with changed ifcfg script network settings: network

services must be restarted.

 

Reply 'restart' to update new values and restart network services.

 

Respond: ^^^^^^^^^^ 'quit' to acknowledge and exit :restart:quit: []: restart

 

 

 

Script setup.pl

 

This script is used only if you use MAC-Independent provisioning and have changed values using linmin-config-check.sh.

 

cd /home/tftpboot/bin

perl setup.pl

 

Select option 5:

5: Create control files for MAC-Independent provisioning

 

Current defaults will be displayed, and you will be prompted to change settings. Even if you are not changing the settings displayed (you are changing the IP address of the Provisioner PXE Server), enter "y":

 

Client host name:     pxeprovisioned

Client domain name:   pxebaremetal

Client time zone:     Etc/GMT

Client root password: unsecure

 

Do you want to change these settings?  [n]:y

 

Now you will be prompted so that any changes you made using linmin-config-check.sh will be incorporated into newly-generated MAC-Independent provisioning control files. You will be given an opportunity to review the changes before they are made, and can review the changes afterwards as indicated below:

 

To add back any desired changes lost, you must revise the new pub files

... the list of files with differences will be in:

/home/tftpboot/pubPrior_20110104-115144//home/tftpboot/upgradePubDiffFiles.txt

... the details of the differences will be in:

/home/tftpboot/pubPrior_20110104-115144//home/tftpboot/upgradePubDiffDetail.txt

Press Enter to continue...

 

When done, select the desired option to exit and restart the Provisioner PXE Server services, or simply exit (and manually start the services later):

 

7: Restart the LinMin services and Exit LinMin Bare Metal Provisioning Setup

8: Do Not restart the LinMin services just Exit

 

 

Remember: after changing the Provisioner PXE Server's IP address, toggle each MAC-Specific Provisioning Role, each Imaging Profile and the MAC-Independent Enable/Disable button if you used the GUI prior to changing the Provisioner PXE Server's IP Address.