1. Preface
Elastic utility computing architecture for linking your programs to useful systems (Eucalyptus) is an open-source software infrastructure for elastic and practical cloud computing through computing clusters or workstation clusters. It was initially a research project at the University of California's Santa Barbara Institute of Computer Science and has now been commercialized and developed into eucalyptus Systems Inc. However, eucalyptus is still maintained and developed in the way of open-source projects.
The image we want to create here is the template for the startup of the eucalyptus instance. We need to configure the eucalyptus management tool and related software in advance in the image template, and then register it for use in the eucalyptus. We recommend that you create an image on the NC node. You must stop all instances and node services on the node before creating the image.
2. Preparations
Eucalyptus Environment
(1) version: 4.0.0
(2) node usage
Note: We recommend that you create an NC node and disable the NC node service, which permanently disappears the instance on the node (PS: The instance is not persistent, ). Therefore, the production instance here uses the 63 servers with no allocated nodes.
Tool Software
We provide two solutions for using related tools. You can decide which one to use based on your preferences. Create an eucalyptus centos6.5 image. We use the second solution for demonstration.
Solution 1: mobaxterm
Mobaxterm official: http://mobaxterm.mobatek.net/download-home-edition.html Green Edition download
Note: mobaxterm is an X server and a group of Unix Commands (GNU/cygwin) encapsulated in a single enhanced terminal for portable EXE files. Mobaxterm includes a huge Native Windows terminal for multitab. It is easy to operate, powerful, and easy to use. We recommend this time. The subsequent process is based on the mobaxterm operation.
Solution 2: TightVNC + xshell + xftp
TightVNC official download support: http://www.tightvnc.com/download-old.php green Version Download
Note: TightVNC is a free VNC software that allows you to easily control remote computers, just like sitting in front of your own computer, so that you can leave without worry!
Xshell official: http://www.netsarang.com/download/down_xsh4.html
Note: xshell is an excellent free SSH client. It can be used as a security terminal simulation software for telnet, rlogin, ssh, SFTP, and serial protocols, allowing you to easily manage remote hosts.
Xftp official: http://www.netsarang.com/download/down_xfp4.html
Note: It is a powerful SFTP, FTP file transmission software based on MS Windows platform. With xftp, MS Windows users can securely transfer files between Unix/Linux and Windows PCs. Xftp can meet the needs of both novice and advanced users. It adopts a standard Windows-style wizard, and its simple interface can work closely with other Windows applications. In addition, it also provides many powerful features for advanced users.
Here we provide xshell & xftp integrated Green Edition: http://pan.baidu.com/s/1bnngdXH
Related packages and files
(1) centos 6.5 64-bit installation package (please refer to Baidu)
3. Production Process
3.1 collect related files, specify the working directory and initialize
3.1.1 set a workspace
Log on to the 63-node server and create a new working directory named makelinuximages under the Home Directory, which serves as a unified storage directory for the ISO and configuration files used to create virtual machines.
Use xftp to upload the centos installation file to the/home/makelinuximages folder. Note that SFTP is used for logon.
Centos Installation File Uploaded
3.1.2 create a disk file
3.1.3 set disk labels
3.2 install virtual machines
Use the VNC client tool to connect to the virtual machine and install the operating system.
3.3. Edit the virtual machine configuration (Log On with the root account)
3.3.1 modify Network startup information
3.3.2 edit the menu. LST file
3.3.3 edit the Network File
3.3.4 edit the 70-persistent-net.rules File
3.3.5. Complete image creation
3.4 upload a Linux image Template
3.4.1 create an IMG folder under the VaR directory of the CLC Node
Copy imgfile from NC Node
Upload the image to Eucalyptus
4. Reference Links
Https://www.eucalyptus.com/docs/eucalyptus/4.0/index.html#image-guide/img_task_install_ OS _to_image.html
Use KVM to create an eucalyptus image (centos 6.5 is used as an example)