Cobbler automatic Batch Installation Linux deployment

Source: Internet
Author: User

1, installation Cobbler

Cobbler can be manually compiled or installed based on Yum source, if you install with Yum source, you will need to configure the Epel source Epel source to download the directory of the Epel source on the official website. Because cobbler is written by Python, you also install the Python environment.

Https://fedoraproject.org/wiki/EPEL

# yum-y Install cobbler cobbler-web pykickstart debmirror httpd python

2, check the configuration file, need to start Cobblerd and httpd services under the premise of inspection

#service httpd start#Service Cobblerd start#Cobbler checkthe Following is potential configuration items, you may want to fix:1:the ' server ' field in/etc/cobbler/settings must is set to something other than localhost, or kickstarting features WI ll not work. This should is a resolvable hostname or IP for the boot server as reachable by all machines that'll use it.2:for PXE t o Be functional, the ' next_server ' field in/etc/cobbler/settings must is set to something other than 127.0.0.1, and Shoul D match the IP of the boot server on the PXE network.3:some network boot-loaders is missing From/var/lib/cobbler/loade RS, you could run ' cobbler get-loaders ' to download them, or, if you have want to handle x86/x86_64 netbooting, may Ensu Re so you had installed a *recent* version of the Syslinux package installed and can ignore this message entirely. Files in this directory, should want to support all architectures, should include pxelinux.0, MENU.C32, Elilo.efi, and Yaboot. The ' Cobbler get-loaders ' command is the easiest-to-resolve these requirements.4:change ' disable ' to ' no ' in/etc/xi Netd.d/rsync5:comment out ' dists ' on/etc/debmirror.conf-proper Debian support6:comment out ' arches ' on/etc/debmirror.c Onf for proper Debian support7:the default password used by the sample templates for newly installed machines (default_p Assword_crypted in/etc/cobbler/settings) is still set to ' cobbler ' and should are changed, try: "OpenSSL passwd-1-salt ' Random-phrase-here ' Your-password-here ' to generate new one8:fencing tools were not found, and is required to use the (optional) power management features. Install Cman or fence-agents to use Themrestart cobblerd and then run ' Cobbler Sync ' to apply changes. 

Solutions to the above 8 problems

    1. Modify/etc/cobbler/The value of the server parameter in the settings file corresponds to the IP address server for the host that provides the Cobbler service:192.168.13.82. Modify/etc/cobbler/The value of the Next_server parameter of the settings file is the IP next_server of the host that provides the PXE service:192.168.13.83. If the current node can access the Internet, perform the "Cobbler get-loaders" command to download the Pxelinux.0,menu.c32,elibo.efi,yaboot file, otherwise you will need to install the Syslinux package and copy the Pxelinux in/usr/share/syslinux/.0,MENU.C32 and other documents to/var/lib/cobbler/In the Loaders directory4. Place the/etc/xinetd.d/The Disable in rsync is changed to No, or chkconfig rsync on is executed5. Note the "@dists =" sid ";" One line 6. Note the "@arches =" i386 ";" One line 7. Execute "OpenSSL PASSWD- 1-salt ' PENSSHL rand-hex 4 "generates a password and replaces the password string/etc/cobbler / "$1$6a385fbf$iohgbfj0bjrqh78yama2l1" 8. Installing the cam and fence-agents for power management            

Synchronizing data

Cobbler automatic Batch Installation Linux deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.