Ask Your Question
0

How to build&config internal proxy

asked 2011-06-27 04:10:22 -0500

Internal proxy has some special purpose

If We suppose that VM Image is stored to Swift Storage.

User create vm instance into Nova from Swift image stored in advance

How to deliver Swift image to Nova using internal network(not sevice traffic)

Can anybody give me a document or article or blog site to reference about that

Is it possible?

as a result, One proxy serve user's request & One proxy(internal) serve internal process(send img to Nova, replicator, auditor)

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-07-02 23:02:10 -0500

Thanks Christophe Le Guern, that solved my question.

edit flag offensive delete link more
0

answered 2011-06-27 13:18:30 -0500

c35sys gravatar image

This is the role of glance ( http://glance.openstack.org/architecture.html (http://glance.openstack.org/architect...) ), part of openstack project.

It is a middleware which can be used between nova and swift, but not only (directory, s3, http).

edit flag offensive delete link more
0

answered 2011-06-27 23:49:21 -0500

Thanks Christophe

I'm not sure glance can do two works? Glance what i know is do the action for VM images to deliver from Swift to Nova but can't do intenal process What i mean is just seperate internal process(replicator,auditor,reaper,updater) from user request because the internal process have an effect on user request.

so, Let me ask some questions First, Glance send a request to proxy server directly? or use another way? How to glance access to Swift? thru proxy or another something?

Second, Someone said to me We can have two proxy(one has public IP, second has private IP) The first one only receive user request The second one do replicate,audit,etc

is it possible configuration or not?

edit flag offensive delete link more
0

answered 2011-06-28 22:34:32 -0500

c35sys gravatar image

As far as I understand it, glance only provides VM images to nova.

You have to configure glance to store VMs images into swift (or another backend).

Nova <-> glance <-> glance backend (swift, S3, filesystem)

In glance, you need to configure it as follow: http://glance.openstack.org/configuring.html (http://glance.openstack.org/configuri...) (see swift section)

Then glance provides tools to upload/download images, and the choosed backend is hide.

As you can configure swift URL, it seems possible to configure one proxy for internal network (ie: images delivery) and another for public request (ie: internet), not sure about this.

Another point, the swift replication process should be on a separate network anyway: http://swift.openstack.org/howto_installmultinode.html?highlight=local#network-setup-notes (http://swift.openstack.org/howto_inst...) It means you will have two networks for swift, one for proxy requests, and another for swift services.

Hope it helps.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-27 04:10:22 -0500

Seen: 22 times

Last updated: Jul 02 '11