You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Sunilreddy Kovvuri <su...@gmail.com> on 2013/02/22 07:21:04 UTC

Setting up private cloud

Background:
 - We are using cloudstack 4.0 for our POC activities.
 - Configuration details are as below:
    - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
    - Router/switch:No

 - One of the use-case that we are trying to accomplish is to provision
virtual machines from our private cloud.

Issue:
- As we do not want to use a dedicated router, we would like to use the
same cloudstack server as router (i.e. DHCP server run by cloudstack should
communicate with this router for private IPs).
- We would like to nat the network traffic from public ip on to private ip
such that vm instances will only have ip which is from private network.
- Another reason why we want to go this route is, we have a very limited
number of public IPs.

The issue is, we are unable to get this kind of a setup implemented.

Options we tried so far:

- Setting up a gateway on a different machine which can serve private IPs
- Using the above gateway for cloudstack server and agent
    - Reconfigured the Zones and Guest Network in cloudstack UI to point to
the new gateway
- Restarted the cloudstack server and attempting to launch consoles throws
up the error - "Server not found" and the log shows - "Found 0 routers"

Any inputs on how we can fix this issue?

Will realhostip.com will look for the public network for internet access?

Re: Setting up private cloud

Posted by Sunilreddy Kovvuri <su...@gmail.com>.
Hello,

      Can somebody help on this please

On Fri, Feb 22, 2013 at 11:51 AM, Sunilreddy Kovvuri <sunil570.cse@gmail.com
> wrote:

> Background:
>  - We are using cloudstack 4.0 for our POC activities.
>  - Configuration details are as below:
>     - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
>     - Router/switch:No
>
>  - One of the use-case that we are trying to accomplish is to provision
> virtual machines from our private cloud.
>
> Issue:
> - As we do not want to use a dedicated router, we would like to use the
> same cloudstack server as router (i.e. DHCP server run by cloudstack should
> communicate with this router for private IPs).
> - We would like to nat the network traffic from public ip on to private ip
> such that vm instances will only have ip which is from private network.
> - Another reason why we want to go this route is, we have a very limited
> number of public IPs.
>
> The issue is, we are unable to get this kind of a setup implemented.
>
> Options we tried so far:
>
> - Setting up a gateway on a different machine which can serve private IPs
> - Using the above gateway for cloudstack server and agent
>     - Reconfigured the Zones and Guest Network in cloudstack UI to point
> to the new gateway
> - Restarted the cloudstack server and attempting to launch consoles throws
> up the error - "Server not found" and the log shows - "Found 0 routers"
>
> Any inputs on how we can fix this issue?
>
> Will realhostip.com will look for the public network for internet access?
>

Re: Setting up private cloud

Posted by Ahmad Emneina <ae...@gmail.com>.
better error messages*



On Mon, Mar 4, 2013 at 10:54 AM, Ahmad Emneina <ae...@gmail.com> wrote:

> thats actually one of the better errors, when specifying an ip range you
> had an overlap between your desired gateway and the block you added as a
> range.
>
>
> On Sun, Feb 24, 2013 at 8:19 AM, Sunilreddy Kovvuri <
> sunil570.cse@gmail.com> wrote:
>
>> Hello,
>>
>>         I am able to run management server.But while configuring its
>> saying
>> you cant have the gateway in pool of ip's in zone
>>
>> On Sun, Feb 24, 2013 at 9:33 PM, Sebastien Goasguen <runseb@gmail.com
>> >wrote:
>>
>> > How about my other questions ? can you answer them
>> >
>> > thanks
>> >
>> > On Feb 24, 2013, at 10:15 AM, Sunilreddy Kovvuri <
>> sunil570.cse@gmail.com>
>> > wrote:
>> >
>> > > Hello,
>> > >
>> > > I have one pc and it was not connected to internet
>> > >
>> > > On Sun, Feb 24, 2013 at 7:38 PM, Sebastien Goasguen <runseb@gmail.com
>> > >wrote:
>> > >
>> > >>
>> > >> On Feb 22, 2013, at 1:21 AM, Sunilreddy Kovvuri <
>> sunil570.cse@gmail.com
>> > >
>> > >> wrote:
>> > >>
>> > >>> Background:
>> > >>> - We are using cloudstack 4.0 for our POC activities.
>> > >>> - Configuration details are as below:
>> > >>>   - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
>> > >>>   - Router/switch:No
>> > >>
>> > >> How many machines do you have on your setup ?
>> > >> How are they connected and can they access the internet ?
>> > >>
>> > >>>
>> > >>> - One of the use-case that we are trying to accomplish is to
>> provision
>> > >>> virtual machines from our private cloud.
>> > >>>
>> > >>> Issue:
>> > >>> - As we do not want to use a dedicated router, we would like to use
>> the
>> > >>> same cloudstack server as router (i.e. DHCP server run by cloudstack
>> > >> should
>> > >>> communicate with this router for private IPs).
>> > >>> - We would like to nat the network traffic from public ip on to
>> private
>> > >> ip
>> > >>> such that vm instances will only have ip which is from private
>> network.
>> > >>> - Another reason why we want to go this route is, we have a very
>> > limited
>> > >>> number of public IPs.
>> > >>>
>> > >>> The issue is, we are unable to get this kind of a setup implemented.
>> > >>>
>> > >>> Options we tried so far:
>> > >>>
>> > >>> - Setting up a gateway on a different machine which can serve
>> private
>> > IPs
>> > >>> - Using the above gateway for cloudstack server and agent
>> > >>>   - Reconfigured the Zones and Guest Network in cloudstack UI to
>> point
>> > >> to
>> > >>> the new gateway
>> > >>> - Restarted the cloudstack server and attempting to launch consoles
>> > >> throws
>> > >>> up the error - "Server not found" and the log shows - "Found 0
>> routers"
>> > >>>
>> > >>> Any inputs on how we can fix this issue?
>> > >>
>> > >> I presume you have the mgt server running, and you were able to
>> create a
>> > >> zone ?
>> > >> I also presume you created a basic zone ?
>> > >> Are your systemvms running ?
>> > >> Is the virtual router running ?
>> > >>
>> > >>
>> > >>>
>> > >>> Will realhostip.com will look for the public network for internet
>> > >> access?
>> > >>
>> > >>
>> >
>> >
>>
>
>

Re: Setting up private cloud

Posted by Ahmad Emneina <ae...@gmail.com>.
thats actually one of the better errors, when specifying an ip range you
had an overlap between your desired gateway and the block you added as a
range.


On Sun, Feb 24, 2013 at 8:19 AM, Sunilreddy Kovvuri
<su...@gmail.com>wrote:

> Hello,
>
>         I am able to run management server.But while configuring its saying
> you cant have the gateway in pool of ip's in zone
>
> On Sun, Feb 24, 2013 at 9:33 PM, Sebastien Goasguen <runseb@gmail.com
> >wrote:
>
> > How about my other questions ? can you answer them
> >
> > thanks
> >
> > On Feb 24, 2013, at 10:15 AM, Sunilreddy Kovvuri <sunil570.cse@gmail.com
> >
> > wrote:
> >
> > > Hello,
> > >
> > > I have one pc and it was not connected to internet
> > >
> > > On Sun, Feb 24, 2013 at 7:38 PM, Sebastien Goasguen <runseb@gmail.com
> > >wrote:
> > >
> > >>
> > >> On Feb 22, 2013, at 1:21 AM, Sunilreddy Kovvuri <
> sunil570.cse@gmail.com
> > >
> > >> wrote:
> > >>
> > >>> Background:
> > >>> - We are using cloudstack 4.0 for our POC activities.
> > >>> - Configuration details are as below:
> > >>>   - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
> > >>>   - Router/switch:No
> > >>
> > >> How many machines do you have on your setup ?
> > >> How are they connected and can they access the internet ?
> > >>
> > >>>
> > >>> - One of the use-case that we are trying to accomplish is to
> provision
> > >>> virtual machines from our private cloud.
> > >>>
> > >>> Issue:
> > >>> - As we do not want to use a dedicated router, we would like to use
> the
> > >>> same cloudstack server as router (i.e. DHCP server run by cloudstack
> > >> should
> > >>> communicate with this router for private IPs).
> > >>> - We would like to nat the network traffic from public ip on to
> private
> > >> ip
> > >>> such that vm instances will only have ip which is from private
> network.
> > >>> - Another reason why we want to go this route is, we have a very
> > limited
> > >>> number of public IPs.
> > >>>
> > >>> The issue is, we are unable to get this kind of a setup implemented.
> > >>>
> > >>> Options we tried so far:
> > >>>
> > >>> - Setting up a gateway on a different machine which can serve private
> > IPs
> > >>> - Using the above gateway for cloudstack server and agent
> > >>>   - Reconfigured the Zones and Guest Network in cloudstack UI to
> point
> > >> to
> > >>> the new gateway
> > >>> - Restarted the cloudstack server and attempting to launch consoles
> > >> throws
> > >>> up the error - "Server not found" and the log shows - "Found 0
> routers"
> > >>>
> > >>> Any inputs on how we can fix this issue?
> > >>
> > >> I presume you have the mgt server running, and you were able to
> create a
> > >> zone ?
> > >> I also presume you created a basic zone ?
> > >> Are your systemvms running ?
> > >> Is the virtual router running ?
> > >>
> > >>
> > >>>
> > >>> Will realhostip.com will look for the public network for internet
> > >> access?
> > >>
> > >>
> >
> >
>

Re: Setting up private cloud

Posted by Sunilreddy Kovvuri <su...@gmail.com>.
Hello,

        I am able to run management server.But while configuring its saying
you cant have the gateway in pool of ip's in zone

On Sun, Feb 24, 2013 at 9:33 PM, Sebastien Goasguen <ru...@gmail.com>wrote:

> How about my other questions ? can you answer them
>
> thanks
>
> On Feb 24, 2013, at 10:15 AM, Sunilreddy Kovvuri <su...@gmail.com>
> wrote:
>
> > Hello,
> >
> > I have one pc and it was not connected to internet
> >
> > On Sun, Feb 24, 2013 at 7:38 PM, Sebastien Goasguen <runseb@gmail.com
> >wrote:
> >
> >>
> >> On Feb 22, 2013, at 1:21 AM, Sunilreddy Kovvuri <sunil570.cse@gmail.com
> >
> >> wrote:
> >>
> >>> Background:
> >>> - We are using cloudstack 4.0 for our POC activities.
> >>> - Configuration details are as below:
> >>>   - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
> >>>   - Router/switch:No
> >>
> >> How many machines do you have on your setup ?
> >> How are they connected and can they access the internet ?
> >>
> >>>
> >>> - One of the use-case that we are trying to accomplish is to provision
> >>> virtual machines from our private cloud.
> >>>
> >>> Issue:
> >>> - As we do not want to use a dedicated router, we would like to use the
> >>> same cloudstack server as router (i.e. DHCP server run by cloudstack
> >> should
> >>> communicate with this router for private IPs).
> >>> - We would like to nat the network traffic from public ip on to private
> >> ip
> >>> such that vm instances will only have ip which is from private network.
> >>> - Another reason why we want to go this route is, we have a very
> limited
> >>> number of public IPs.
> >>>
> >>> The issue is, we are unable to get this kind of a setup implemented.
> >>>
> >>> Options we tried so far:
> >>>
> >>> - Setting up a gateway on a different machine which can serve private
> IPs
> >>> - Using the above gateway for cloudstack server and agent
> >>>   - Reconfigured the Zones and Guest Network in cloudstack UI to point
> >> to
> >>> the new gateway
> >>> - Restarted the cloudstack server and attempting to launch consoles
> >> throws
> >>> up the error - "Server not found" and the log shows - "Found 0 routers"
> >>>
> >>> Any inputs on how we can fix this issue?
> >>
> >> I presume you have the mgt server running, and you were able to create a
> >> zone ?
> >> I also presume you created a basic zone ?
> >> Are your systemvms running ?
> >> Is the virtual router running ?
> >>
> >>
> >>>
> >>> Will realhostip.com will look for the public network for internet
> >> access?
> >>
> >>
>
>

Re: Setting up private cloud

Posted by Sebastien Goasguen <ru...@gmail.com>.
How about my other questions ? can you answer them

thanks

On Feb 24, 2013, at 10:15 AM, Sunilreddy Kovvuri <su...@gmail.com> wrote:

> Hello,
> 
> I have one pc and it was not connected to internet
> 
> On Sun, Feb 24, 2013 at 7:38 PM, Sebastien Goasguen <ru...@gmail.com>wrote:
> 
>> 
>> On Feb 22, 2013, at 1:21 AM, Sunilreddy Kovvuri <su...@gmail.com>
>> wrote:
>> 
>>> Background:
>>> - We are using cloudstack 4.0 for our POC activities.
>>> - Configuration details are as below:
>>>   - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
>>>   - Router/switch:No
>> 
>> How many machines do you have on your setup ?
>> How are they connected and can they access the internet ?
>> 
>>> 
>>> - One of the use-case that we are trying to accomplish is to provision
>>> virtual machines from our private cloud.
>>> 
>>> Issue:
>>> - As we do not want to use a dedicated router, we would like to use the
>>> same cloudstack server as router (i.e. DHCP server run by cloudstack
>> should
>>> communicate with this router for private IPs).
>>> - We would like to nat the network traffic from public ip on to private
>> ip
>>> such that vm instances will only have ip which is from private network.
>>> - Another reason why we want to go this route is, we have a very limited
>>> number of public IPs.
>>> 
>>> The issue is, we are unable to get this kind of a setup implemented.
>>> 
>>> Options we tried so far:
>>> 
>>> - Setting up a gateway on a different machine which can serve private IPs
>>> - Using the above gateway for cloudstack server and agent
>>>   - Reconfigured the Zones and Guest Network in cloudstack UI to point
>> to
>>> the new gateway
>>> - Restarted the cloudstack server and attempting to launch consoles
>> throws
>>> up the error - "Server not found" and the log shows - "Found 0 routers"
>>> 
>>> Any inputs on how we can fix this issue?
>> 
>> I presume you have the mgt server running, and you were able to create a
>> zone ?
>> I also presume you created a basic zone ?
>> Are your systemvms running ?
>> Is the virtual router running ?
>> 
>> 
>>> 
>>> Will realhostip.com will look for the public network for internet
>> access?
>> 
>> 


Re: Setting up private cloud

Posted by Sunilreddy Kovvuri <su...@gmail.com>.
Hello,

I have one pc and it was not connected to internet

On Sun, Feb 24, 2013 at 7:38 PM, Sebastien Goasguen <ru...@gmail.com>wrote:

>
> On Feb 22, 2013, at 1:21 AM, Sunilreddy Kovvuri <su...@gmail.com>
> wrote:
>
> > Background:
> > - We are using cloudstack 4.0 for our POC activities.
> > - Configuration details are as below:
> >    - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
> >    - Router/switch:No
>
> How many machines do you have on your setup ?
> How are they connected and can they access the internet ?
>
> >
> > - One of the use-case that we are trying to accomplish is to provision
> > virtual machines from our private cloud.
> >
> > Issue:
> > - As we do not want to use a dedicated router, we would like to use the
> > same cloudstack server as router (i.e. DHCP server run by cloudstack
> should
> > communicate with this router for private IPs).
> > - We would like to nat the network traffic from public ip on to private
> ip
> > such that vm instances will only have ip which is from private network.
> > - Another reason why we want to go this route is, we have a very limited
> > number of public IPs.
> >
> > The issue is, we are unable to get this kind of a setup implemented.
> >
> > Options we tried so far:
> >
> > - Setting up a gateway on a different machine which can serve private IPs
> > - Using the above gateway for cloudstack server and agent
> >    - Reconfigured the Zones and Guest Network in cloudstack UI to point
> to
> > the new gateway
> > - Restarted the cloudstack server and attempting to launch consoles
> throws
> > up the error - "Server not found" and the log shows - "Found 0 routers"
> >
> > Any inputs on how we can fix this issue?
>
> I presume you have the mgt server running, and you were able to create a
> zone ?
> I also presume you created a basic zone ?
> Are your systemvms running ?
> Is the virtual router running ?
>
>
> >
> > Will realhostip.com will look for the public network for internet
> access?
>
>

Re: Setting up private cloud

Posted by Sebastien Goasguen <ru...@gmail.com>.
On Feb 22, 2013, at 1:21 AM, Sunilreddy Kovvuri <su...@gmail.com> wrote:

> Background:
> - We are using cloudstack 4.0 for our POC activities.
> - Configuration details are as below:
>    - Ubuntu 12.04 with 1 NIC card(eth0) and wifi(wlan0)
>    - Router/switch:No

How many machines do you have on your setup ?
How are they connected and can they access the internet ?

> 
> - One of the use-case that we are trying to accomplish is to provision
> virtual machines from our private cloud.
> 
> Issue:
> - As we do not want to use a dedicated router, we would like to use the
> same cloudstack server as router (i.e. DHCP server run by cloudstack should
> communicate with this router for private IPs).
> - We would like to nat the network traffic from public ip on to private ip
> such that vm instances will only have ip which is from private network.
> - Another reason why we want to go this route is, we have a very limited
> number of public IPs.
> 
> The issue is, we are unable to get this kind of a setup implemented.
> 
> Options we tried so far:
> 
> - Setting up a gateway on a different machine which can serve private IPs
> - Using the above gateway for cloudstack server and agent
>    - Reconfigured the Zones and Guest Network in cloudstack UI to point to
> the new gateway
> - Restarted the cloudstack server and attempting to launch consoles throws
> up the error - "Server not found" and the log shows - "Found 0 routers"
> 
> Any inputs on how we can fix this issue?

I presume you have the mgt server running, and you were able to create a zone ?
I also presume you created a basic zone ?
Are your systemvms running ?
Is the virtual router running ?


> 
> Will realhostip.com will look for the public network for internet access?