Use SystemImager to install the Linux system-Linux Enterprise Application-Linux server application information. For more information, see. Server Installation
:
Https://sourceforge.net/project/showfiles.php? Group_id = 259
Https://sourceforge.net/project/showfiles.php? Group_id = 24006
Rpm-ivh systemconfigurator -*
Rpm-ivh systemimager-common-* systemimager-server-* systemimager-i386boot-standard -*
Client installation
Rpm-ivh systemconfigurator -*
Rpm-ivh systemimager-common-* systemimager-client-* systemimager-i386initrd_template -*
PS:
Ubuntu uses Debian packages or Apt-get
If you want to transmit data in Bt Mode, you need to install the corresponding package
Procedure
Assume that the Image Server is 192.168.1.1 and the Golden Server is 192.168.1.2.
On the Golden Server:
Si_prepareclient -- server 192.168.1.1
Obtain the Image on the Imager Server:
Si_getimage -- golden-client 192.168.1.2 -- image my_image -- post-install reboot
Start an Rsync Daemon:
/Etc/init. d/systemimager-server-rsyncd start
Start a PXE Server
Si_mkbootserver
Define the client to be installed
Si_clusterconfig-e
Generate a PXE configuration file (for IP addresses)
Si_mkclientnetboot -- netboot -- clients node001-node256
Start the machine and install it from PXE
Update process
Method 1:
Update GoldenServer and run the si_prepareclient command.
Run the si_getimage command
Run si_updateclient on the client
Method 2:
Modify the Image file:/var/lib/systemimager/images
Run si_updateclient on the client
Notes
Partitions such as sdb cannot be properly formatted.
When si_updateclient is used, non-existing files are deleted by default.
Custom excluded files (getimage and updateclient)
Configuration File
/Etc/systemimager contains the file defining updateclient to be excluded
The image file under/var/lib/systemimager/images
/Var/lib/systemimager/overrides are different files on different machines.
/Var/lib/systemimager/scripts stores Script Commands
/Var/lib/systemimager/images/xxx/etc/systemimager/autoinstallscript. conf stores hard disk partition information
/Var/lib/tftpboot/tftp directory
FAQs
No DCHP Server
Because the Image must be copied using Rsync during installation, the network configuration must be correct.
Not set: HOSTNAME
You can set the HOSTNAME in either of the following ways,
Defined in the host file, use: si_clusterconfig and si_addclients
Start with PXE, then modify the configuration/var/lib/tftpboot/pxelinux. cfg/default: APPEND... HOSTNAME = abc
Start with a CD, then: si_mkautoinstallcd -- append "STRING"
Cannot run xxx. sh Script: Check whether there is no corresponding script in/var/lib/systemimager/scripts
To modify the Script, run si_mkautoinstallscript.
The format of/etc/systemimager/cluster. xml is not complex. You can check the annotations carefully. Note that a Node can be in multiple groups.
Unknown
LVM and other partitions
Bt Mode
Use of si_pushinstall and other commands
You cannot place an Image on a CD to install it.
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