Wednesday, September 26, 2007

create xen VM via xenguest-install.pyi

FC5Zimbra - Xen Wiki

Create And Boot The Initial Xen Guest

The initial Xen guest domain will be named xen0, and will be built on a logical volume. First, run a couple of checks to verify the Xen kernel booted and that xend is running OK.

  • uname -r
    2.6.15-1.2054_FC5xen0
  • xm list
    Name ID Mem(MiB) VCPUs State Time(s)
    Domain-0 0 2487 2 r----- 467.5

Next, remount the install disc, start the vsftpd server, and create a 2 GB logical volume named xen0 (for the first guest).

  • mount -o loop /dev/hda /var/ftp/pub
    service vsftpd start
    lvcreate -L 2G -n xen0 xen

Use the xenguest-install.py tool to create the first Xen guest image. If all goes well, a text-based install script will start. The various options to xenguest-install.py are shown

  • -n xen0 Name Of Xen Guest

  • -f xen0 Pathname To Logical Volume To Use For Guest

  • -r 256 Memory To Allocate For Guest

  • -l ftp://192.168.151.6/pub/ Location Of FC5 Install Disk. The IP address is to the vsftpd server. Since the guest won't know the DNS domain, use the raw IP address. The guest is connecting over a virtual IP network, so 127.0.0.1 won't work either.

    xenguest-install.py -n xen0 -f /dev/xen/xen0 -r 256 -l ftp://192.168.151.6/pub/

The xenguest-install.py script will start a text-based installation script almost identical to what you would see with a default FC5 installation. Early in the installation, the option to switch to a VNC-based GUI will be presented. Text-based is quicker, but VNC does a better job of package selection (and it's kind of cool), so take your pick.

  • To use the VNC method, connect to the provided IP address from a VNC client from elsewhere on the network. A GUI install script will appear in the VNC client window. Proceed through install process, setting parameters as necessary. The script creates a virtual hard disk, /dev/xvda. Unless you have specific needs, you should probably let the install script automatically partition the virtual disk. Do a custom package selection, deselecting everything but Yum and OpenSSH server/client packages. Complete the installation.
  • To use the text-based install process, everything will be functionally the same as the VNC method above, except for deselecting software packages. You won't be able to drill down into package groups, so just deselect everything. This will install a few unnecessary packages and services, which can be removed later if necessary.

After the guest installation script complete, control is returned to the xenguest-install.py script, which will hopefully indicate success and then exit. It is now (way past) time to start the first Xen guest. To start the guest, use the xm command. The xm command is used to manage all Xen clients. For a synopsis of availabe options, simply enter xm.

  • xm create -c xen0

The console window of the guest will appear, including a text-based GRUB screen, followed by normal boot/init messages, concluding with a login screen. To break from the console and return to the host, enter CTRL-] (control key plus the right-bracket key). To list the running Xen guests from the host (Dom0), use the "xm list" command as shown below.

  • xm list
    Name ID Mem(MiB) VCPUs State Time(s)
    Domain-0 0 2487 2 r----- 755.5
    xen0 18 256 1 -b---- 14.4

To return to the Xen guest's console, enter the following command from the host.

  • xm console xen0 


49 comments:

Anonymous said...

Ich denke, dass Sie betrogen haben. viagra online rezeptfrei viagra ohne rezept [url=http//t7-isis.org]viagra wirkung[/url]

Anonymous said...

はじめまして!/お会いできてうれしいです! [url=http://japanese-garden.org]シアリス[/url] シアリス 個人輸入 バイアグラ

Anonymous said...

I am sorry, it does not approach me. Perhaps there are still variants?

Anonymous said...

So simply does not happen

Anonymous said...

majong free on line

http://majong.socialgo.com

Anonymous said...

2 comparison levitra viagra [url=http://buy.comeze.com/viagra-soft/online-viagra-soft.html ]information drug viagra [/url] free womens viagra
do generic viagra work yahoo sexual performance with viagra viagra prescription uk

Anonymous said...

composite keys [url=http://aries-films.net/files-category-4.php ]magic visual effects download [/url] movies making software
movie editors movies editor halloween special effects

Anonymous said...

cheap auto insurance michigan car insurance

Anonymous said...

Hey, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, anyway cool blog, I bookmarked you.

Anonymous said...

hi all
http://www.tor.com/community/users/quinutlira1980
http://www.tor.com/community/users/glucenumal1986
http://www.tor.com/community/users/ransgalifi1989
http://www.tor.com/community/users/lingpozabel1988
http://www.tor.com/community/users/rensperfzareal1977

Anonymous said...

life insurance quotes michigan car insurance

Anonymous said...

auto insurance quotes mi

Anonymous said...

Hi all. How are you?

Anonymous said...

What a great web log. I spend hours on the net reading blogs, about tons of various subjects. I have to first of all give praise to whoever created your theme and second of all to you for writing what i can only describe as an fabulous article. I honestly believe there is a skill to writing articles that only very few posses and honestly you got it. The combining of demonstrative and upper-class content is by all odds super rare with the astronomic amount of blogs on the cyberspace.

Anonymous said...

Delete shis text plz. Sorry

Anonymous said...

buy valium valium illegal usa - valium effects and dosage

Anonymous said...

Great article! We are linking to this particularly great post on our
website. Keep up the good writing.

Here is my web page: michael kors

Anonymous said...

Hi there, this weekend is good designed for me, since
this time i am reading this great educational paragraph
here at my home.

My webpage tv shows

Anonymous said...

Greetings I am so thrilled I found your blog, I really found you by error, while I was
looking on Yahoo for something else, Nonetheless I am here now
and would just like to say thanks a lot for a remarkable post and a
all round thrilling blog (I also love the theme/design), I don't have time to read it all at the minute but I have saved it and also added in your RSS feeds, so when I have time I will be back to read more, Please do keep up the excellent job.

My web site ... michael kors perfumes
my website > michael kors

Anonymous said...

I think what you posted was very logical. But, think about this,
what if you wrote a catchier post title? I mean, I
don't wish to tell you how to run your website, but what if you added a title that grabbed a person's attention?
I mean "create xen VM via xenguest-install.pyi" is
a little vanilla. You ought to glance at Yahoo's home page and note how they write article titles to grab people to open the links. You might add a related video or a pic or two to get readers interested about what you've got to say.
Just my opinion, it might bring your posts a little livelier.



Also visit my web blog - michael kors mens watches

Anonymous said...

Hello! I just wanted to ask if you ever have any problems with hackers?
My last blog (wordpress) was hacked and I ended up losing months
of hard work due to no back up. Do you have any solutions to prevent
hackers?

Feel free to surf to my weblog michael kors womens watches

Anonymous said...

When I originally commented I clicked the "Notify me when new comments are added" checkbox and
now each time a comment is added I get four e-mails with the same comment.
Is there any way you can remove people from that service?
Cheers!

Here is my page :: tv shows

Anonymous said...

Greate article. Keep posting such kind of information on your blog.
Im really impressed by your blog.
Hello there, You've performed an excellent job. I will certainly digg it and individually recommend to my friends. I'm sure they'll be benefited from this website.

Feel free to visit my homepage http://requestcinemas.blogspot.com

Anonymous said...

Very good information. Lucky me I recently found your
site by accident (stumbleupon). I have book marked it for later!


my web site ロレックスコピー

Anonymous said...

There is definately a great deal to find out about this subject.
I love all the points you made.

My web blog :: ロレックススーパーコピー

Anonymous said...

I think this is among the most significant information for me.

And i am glad reading your article. But should remark on few general things,
The site style is wonderful, the articles is really nice : D.
Good job, cheers

My blog post :: cheap mac cosmetics

Anonymous said...

Howdy just wanted to give you a quick heads up.
The text in your article seem to be running off the screen in Chrome.

I'm not sure if this is a formatting issue or something to do with web browser compatibility but I thought I'd post to let you know.
The style and design look great though! Hope you get the issue resolved
soon. Many thanks

Check out my website; Ray Ban Outlet

Anonymous said...

Hi, Neat post. There's a problem together with your site in internet explorer, would check this? IE still is the market chief and a huge element of people will pass over your excellent writing due to this problem.

Also visit my web page ... louboutin shoes

Anonymous said...

you are really a excellent webmaster. The web site loading pace is incredible.
It sort of feels that you're doing any distinctive trick. In addition, The contents are masterpiece. you've done a magnificent task in this topic!


Feel free to surf to my site fake ray bans

Anonymous said...

No matter if some one searches for his required
thing, thus he/she needs to be available that in detail, so that thing is maintained over here.


Review my webpage ... cheap mac makeup

Anonymous said...

I read this piece of writing fully regarding the resemblance of most
up-to-date and earlier technologies, it's remarkable article.

Review my page; chi flat iron

Anonymous said...

Right now it appears like Expression Engine is the best blogging
platform available right now. (from what I've read) Is that what you're using
on your blog?

Here is my homepage ... nike free run sale

Anonymous said...

I have been browsing online more than three hours today,
yet I never found any interesting article like yours.
It is pretty worth enough for me. In my view, if all site owners and bloggers made good content as you did, the web will be a lot more useful than ever
before.

Feel free to visit my weblog: クロエバッグ

Anonymous said...

あなたは今まで目的やデザイナーハンドバッグを夢見ています

Also visit my website: バーバリー バッグ

Anonymous said...

Paragraph writing is also a excitement, if you be familiar with afterward you can write or else it is complex to write.


My site; Cheap Ray Ban Sunglasses

Anonymous said...

Their professionally designed custom logo design carries its own
weight in diverse acts of communication. Jessica Simpson, Kate Hudson, Cameron Diaz, in order
to name a incredibly few. Simultaneously season, new appealing styles are
given. Despite the fact that iTunes is not easy to beat, the Amazon kindle fire has a couple of tricks up his sleeve.
http://dev.bubbledaddy.com/HildegardH

Anonymous said...

They refer to the cut, clarity, carat additionally color.
This article gives you information on tips on how to size various jogging sneakers in the correct way.
An EKG routine provides non marking extender. You can many times have the classic template designed golf
courses shoe i.e. http://www.jaffalegions.com/phpBB2/profile.
php?mode=viewprofile&u=24914

Feel free to surf to my web page; nike air max 95

Anonymous said...

賞品は1つが肩に表示される場合がありますステータスシンボルです

Also visit my blog post ... メンズ バーバリー

Anonymous said...

Hi there, its nice article about media print, we all understand media is a impressive source
of facts.

Feel free to visit my web-site Christian Louboutin Pumps

Anonymous said...

You've made some good points there. I looked on the internet to learn more about the issue and found most people will go along with your views on this website.

Also visit my webpage :: ルブタン

Anonymous said...

Hey! Do you use Twitter? I'd like to follow you if that would be okay. I'm definitely enjoying your blog and look forward
to new updates.

Feel free to visit my site; コーチバッグ コーチバッグ コーチバッグ

Anonymous said...

We are a group of volunteers and opening a new scheme in our community.
Your website offered us with valuable information to work on.
You have done a formidable task and our entire neighborhood will likely be grateful to
you.

Feel free to visit my site - クリスチャンルブタン靴

Anonymous said...

Usually I do not learn post on blogs, however I would like to say that
this write-up very forced me to try and do so! Your writing
taste has been surprised me. Thank you, quite nice article.



Also visit my web page: canadiannaturenetwork.ca

Anonymous said...

Hi to all, how is all, I think every one is getting more from this web site,
and your views are fastidious designed for new people.


My web page ... cheap nike air max shoes

Anonymous said...

Fantastic goods from you, man. I've understand your stuff previous to and you are just extremely wonderful. I actually like what you've acquired here, certainly like what you're saying and the way in which you say it. You make it entertaining and you still take care of to keep it wise. I cant wait to read far more from you. This is actually a tremendous site.

My web blog cheap nike air max free shipping

Anonymous said...

I know this web page presents quality depending content and additional stuff,
is there any other website which provides
these information in quality?

my site ... http://nge-server.com/wiki/index.php?title=Metallic_Silver_Nike_Hyperfuse_Shoes_For_Golf

Anonymous said...

That is really interesting, You are an excessively skilled blogger.

I have joined your rss feed and sit up for in quest of extra of your magnificent post.
Also, I have shared your site in my social networks

My website; cheap nike air max shoes

Anonymous said...

Hi, I log on to your blog on a regular basis. Your humoristic style is awesome,
keep doing what you're doing!

Also visit my homepage: cheap nike air max bw

Anonymous said...

It's going to be end of mine day, but before end I am reading this wonderful post to increase my know-how.

Feel free to visit my blog post - ルイヴィトン財布アウトレット