Cobbler remotely installs CentOS and cobbler installs centos

Source: Internet
Author: User

Cobbler remotely installs CentOS and cobbler installs centos

This article explains how to remotely install CentOS through IPMI and PXE.

1. First, use Cobbler to add a system

# Specify the system name and profilesudo cobbler system add -- name = test -- profile = CentOS-6.6-x86_64 # add a NIC and specify the IP address sudo cobbler system edit -- name = test -- interface = eth0 -- mac = 08: 00: 27: 2C: 30: 8C -- ip-address = 192.168.145.155 -- netmask = 255.255.255.0 -- static = 1 # Set the gateway and machine name sudo cobbler system edit -- name = test -- gateway = 192.168.145.1 -- hostname = test # Set IPMI information, here, the ipmi address can be the same or different from the machine IP address sudo cobbler system edit -- name = test -- power-type = ipmilan -- power-user = <ipmi user> -- power-pass = <ipmi pass> -- power-address = <ipmi address>

2. After adding the system, use "sudo cobbler sync" to synchronize the configuration.

3. After setting the machine system information, you can use IPMI and PXE to install the system.

# First set the physical machine to start ipmitool-I lan-U <ipmi user>-P <ipmi pass>-H <ipmi ip> chassis bootdev PXE # restart the server ipmitool-I lan -U <ipmi user>-P <ipmi pass>-H <ipmi ip> power reset

Note:

* Even if pxe is not selected for the bios boot sequence, this command allows the device to start from pxe.
* This pxe boot function takes effect only once. After the device is restarted, It is started in the default boot sequence.
* Do not use linux reboot, but use ipmitoo's power reset. Otherwise, the previously configured pxe boot will not take effect.
* It seems that there is a problem when using the Cobbler Web interface, but there is no problem with the command line. I don't know if there is a problem with the Cobbler Web interface.

4. Wait for the installation, and then you can access the new system using the user name/password specified in the previous article.

Related Article

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.