Detailed steps for making Windows Server 2003/08 image with OpenStack introduction

Source: Internet
Author: User
Tags cloud computing platforms

Original title: OpenStack makes Windows Server 2003/2008/2008r2 image correct steps in detail with OpenStack introduction, which is suitable for reading the length of this title has been reduced.

Applies to the following search keywords:

Windows Server 2003/2008 image for OpenStack

Windows Server 2003/2008 qcow Download

Windows Server 2003/2008 qcow2 Download

Windows Server 2003/2008 glance image download

OpenStack Introduction

First introduce OpenStack, see the official website of OpenStack such as www.openstack.org, as well as the introduction of OpenStack product on the website of Red Hat, Ubuntu and so on.
OpenStack is an open-source cloud computing platform. It supports multiple cloud environments, including public, private, and hybrid clouds. It is designed for easy implementation and massive scalability of the cloud platform, as well as rich functional features. Currently participating in the project are cloud computing experts from all over the world.
OpenStack is also a very good set of cloud platform processing modes, enough to help users build a multi-tenant shareable infrastructure. OpenStack is the best choice for enterprise users who want to move into the public cloud system and retain their internal plans. Not only can users deploy their own private cloud via OpenStack, but they can also enter the public cloud at a lower threshold.
Build and manage a private cloud with OpenStack with a single, low-cost product. With OpenStack cloud infrastructure, you can build and manage an open private infrastructure as a service (IaaS) cloud based on data center virtualization and management technologies. It also enables you to quickly implement an OpenStack-based, highly scalable, public cloud-like infrastructure.
The open source cloud infrastructure makes it cheaper and more rewarding than other solutions. It leverages existing infrastructure to provide choices rather than relying on a single vendor, giving users complete control of their strategic direction.
With the OpenStack cloud platform, users can easily implement load balancing systems or integrate cloud computing platforms into other systems. The cloud computing platform is based on open source virtualization software KVM and open source IaaS cloud computing platform OpenStack, and has the basic operation and maintenance system of cloud computing platform integrating automatic dispatching and portal management, which has very strong practical application significance.

Making the Windows Server 2003/2008 image

Prerequisites (in Windows Server 2003, for example, 2008 is the same): Divided into software and hardware sections.

platform :CentOS 6 64-bit, because there is less data on creating Windows Server image online with CentOS.

Software section:

    1. windowsserver2003/2008 installation CD, we recommend the original installation of the ISO file, for example, can be downloaded from http://msdn.itellyou.cn/

    2. The Virtio Drive CD (Http://www.linux-kvm.org/page/Virtio, which is used to provide drivers for Windows systems, such as NIC drivers, is also mentioned in the official OpenStack documentation. Current latest version is) Http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers,wget-c http://alt.fedoraproject.org/ Pub/alt/virtio-win/latest/images/virtio-win-0.1-81.iso

    3. TIGERVNC (used to provide a vncviewer program, which is then required to access the QEMU virtual machine), yum install Tigervnc-y

    4. QEMU-KVM Virtualization Tools, Qemu-img image authoring tools (Generate virtual machine disks), yum install QEMU-KVM qemu-img-y

Hardware section:

    1. A physical server that supports CPU virtualization (which needs to be enabled in the BIOS), or a hypervisor hypervisor that supports multilayer hypervisor on an existing server or computer, such as VMware Workstation 10

    2. Memory above 4GB, 2003 requires at least 512MB, 2008 requires at least 1024MB

    3. The faster the disk the better, the first choice of SSD

    4. A laptop or other computer for client operation

Detailed steps:

The first step is to make a disk file (. img), and the disk size is set according to system requirements, such as 20GB. VMware recommended for 20/40GB

Qemu-img create-f Raw Windows2003.img 20G

The second step is to mount the operating system installation CD, to install the operating system (QEMU-KVM program is not like Ubuntu as KVM and in path, need to use absolute path or add into path)

/USR/LIBEXEC/QEMU-KVM-SMP 2-m 1024-cdrom windows\ server\ 2003\ sp2_jcgmj-tc669-kcbg7-hb8x2-fxg7m. Iso-drive file=windows2003.img,index=1-boot d-net nic,model=virtio-net user-nographic-vnc:2

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826503f1cz.png" height= "45"/ >

Explanation: Detailed explanations See/USR/LIBEXEC/QEMU-KVM--help

-SMP 2 SMP means creation of two Vcpus (2core,1socket)

-m 1024, amount of memory 1024MB

-cdrom Virtio-win-0.1-81.iso, CDROM virtual drive mount what file

-drive file=win2008x64.img, what files are used by disk drives

INDEX=1,SCSI index number, to avoid conflicts with the index number of the physical optical drive, more than 1

-boot d uses what disk to boot, here is the boot from the CD drive, if the boot from the hard disk select C, ' Drives ': Floppy (a), HDD (c), CD-ROM (d), network (n)

-net nic,model=virtio-net user Nic module

VNC number

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826503rvj2.png" height= "111"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826504Ho9o.png" height= "119"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826504YAkk.png" height= "102"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826504851R.png" height= "140"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "http://img1.51cto.com/attachment/201408/12/1539422_14078265050Edx.png" height= "149"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_14078265061Ba1.png" height= "344"/ >

The third step is to mount the Virtio disc and install the missing driver

/USR/LIBEXEC/QEMU-KVM-SMP 2-m 1024-cdrom virtio-win-0.1-81.iso-drive file=windows2003.img,index=1-boot c-net nic,mod El=virtio-net User-nographic-vnc:2

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826506wq6C.png" height= "25"/ >

Explanation: Refer to Step 2 for explanation.

Note : Ctrl-alt-delete cannot be entered with the keyboard in Windows Server 2003, because whether or not it is masked (/etc/init/ control-alt-delete.conf) Ctrl-alt-delete, the physical machine restart operation will be triggered as long as the reboot is not done. The correct way is to press the F8 key as the operating system is installed, and then press the F8 again, a shortcut menu pops up, and the Ctrl-alt-delete on the shortcut menu is useful. This menu can be paged two times in a row by F8.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826507m1DD.png" height= "521"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826508m7Qj.png" height= "508"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826508sKgD.png" height= "490"/ >

The mouse in this interface is particularly difficult to use, need to be patient.

Restart the virtual machine, and then perform the mount of the drive installation disk.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826509Q95Q.png" height= "523"/ >

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201408/12/1539422_1407826510UBed.png" height= "521"/ >

After completing the above steps, you can export the virtual machine to glance in the image.

The only disadvantage is that the virtual disk you create is too large to create a dynamic disk (a post-provisioned disk).

Complete steps with 2008 are included:

Qemu-img create-f Raw win2008x64.img 20g/usr/libexec/qemu-kvm-smp 2-m 1024-cdrom win_2008r2_64-bit_chnsimp_x15-5977 7.iso-drive file=win2008x64.img,index=1-boot d-net nic,model=virtio-net user-nographic-vnc:2/usr/libexec/qemu-k VM-SMP 2-m 1024-cdrom virtio-win-0.1-81.iso-drive file=win2008x64.img,index=1-boot c-net nic,model=virtio-net User -nographic-vnc:2


This article is from "Communication, My Favorites" blog, please make sure to keep this source http://dgd2010.blog.51cto.com/1539422/1538997

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.