Re: Reg: Multiple ips server for cloudstack in Basic zone

2013-07-29 Thread prakash
Hi,

  I am running cloudstack 4.1 in my environment and configured basic zone.
we have not identified any new seconadry ips in my instance list page on
cloudstack. I have attached screenshot for your referance.

 Regards,
 Prakash.M




> Hi,
>
> My comments inline.
>
> Thanks,
> Jayapal
>
> On 28-Jul-2013, at 12:02 PM, prak...@assistanz.com wrote:
>
>> Hi,
>>
>> In basic zone one public ip is assigned to vm already. we need another
>> ip
>> for myvm.
>>
> My last reply is solution to your problem.
> Using secondary ip address you can get other ip to nic.
> Get the ip and configure on the VM.
>
>> Regards,
>> Prakash.M
>>
>>>
>>> We have multiple ip address mic feature in cloudstack 4.1
>>> In UI go Instances ->  -> Nics -> view secondary ups ->
>>> Acquire
>>> new secondary ips
>>> Cloudstack reverse the ip address to nic. Take that ip and configure on
>>> the VM
>>>
>>> We don't have option to configure via router dhcp.
>>>
>>> Thanks,
>>> Jayapal
>>>
>>> On 26-Jul-2013, at 2:28 PM, prak...@assistanz.com wrote:
>>>
 Hi,

 Cloudstack is running in basic zone.I have created vm. One nic is
 setup
 in vm as default and public ip is assigned for that Nic. I want more
 ips
 for my vm like ip-alias not another NIC. is it possible to
 re-configure
 virtual router dhcp to serve more than one ip for that vm nic.

 Regards,
 Prakash.M



>>>
>>>
>>
>>
>
>


Re: Big Switch & Floodlight

2013-07-29 Thread Sebastien Goasguen

On Jul 25, 2013, at 11:17 AM, Adrian Lewis  wrote:

> Hi All,
> 
> 
> 
> Just wondering if the Bigswitch integration for CS requires the Big Virtual
> Switch component or whether this is just a complimentary aspect? I ask this
> as I’m wondering if the future holds the possibility of using the
> Floodlight controller in CS with third party Floodlight compatible ‘apps’
> but without having to purchase both the commercial Big Virtual Switch and
> the Big Network Controller.

Adrian, currently the BVS integration is not floodlight compatible. However it 
should not take much to do it.

Therefore it is in the short future, I am hoping we will have it for the 4.3 
release. Note that big switch is extending floodlight and bringing a lot of 
their BVS features within floodlight.


> Does the plugin talk to the controller directly
> or does it have to talk to the BVS for instance? I’m not averse to paying
> for good software but from the prices I’ve seen for BVS and BNC I simply
> can’t justify the investment at the moment.
> 
> 
> 
> I understand that there is on-going work with this from both a GSOC
> participant (“tuna”) as well as Big Switch Networks themselves (Kanzhe
> Jiang) but I can’t for the life of me work out what’s been done,

The BVS integration should be functional in 4.2

> what’s
> going to be done and what might work already. It get the impression that
> the current plugins don’t work with Floodlight but this is only due to the
> fact that the Floodlight API were not finalised in time for the 4.1 code.

I don't believe there has been any testing with floodlight itself.

> Does anyone have an insight into what might be possible in 4.2 or even 4.3
> with regards to Floodlight, in particular the use of Floodlight to create
> non-VLAN/GRE/STT isolation (they call them Virtual Network Segments)


Bottom line, this should be in 4.3 if we get tuna to keep working on it past 
the gsoc project and that we get some collaboration from BigSwitch.

You are welcome to chip in.

-sebastien

> – not
> too sure if this would work for broadcast or multicast isolation though.
> Looking at code is unfortunately quite foreign to me – I’m a networking guy
> at heart.
> 
> 
> 
> Many thanks,
> 
> 
> 
> Adrian



Re: HA in CS 4.1

2013-07-29 Thread Ryan Lei
FYR, I have done some similar tests several weeks ago to test the host HA
functionality.

CS 4.0.2 + XenServer 6.0.2: Works as expected. HA-enabled VMs (including
System VMs) were automatically restarted on HA-dedicated hosts.
CS 4.1.0 + XCP 1.6: No HA thing happened at all much like what you
described. The states of VMs and hosts were just like before, but
inaccessible. CloudStack just couldn't seem to detect the host down!
CS 4.1.1 (git) + XenServer 6.1: Works as expected. Just like the first case.

I didn't have time to try other combinations, and the logs are gone, but I
guess the problem more likely has to to with XCP support than CS 4.1.0.

---
Yu-Heng (Ryan) Lei, Associate Reasearcher
Chunghwa Telecom Laboratories / Cloud Computing Laboratory
ryan...@cht.com.tw
or
ryanlei750...@gmail.com



On Thu, Jul 25, 2013 at 2:07 AM, Kirk Jantzer wrote:

> Can someone "explain like I'm 5" how HA in CS should work? I have 4.1 setup
> with XCP hosts. To simulate a host failure, I've hard powered off a host
> through iDRAC and CS doesn't seem to know about it, at all -- the instances
> still show as running, but I cannot connect to them, and the host shows as
> up in the infrastructure section.
>
> The instances, including the SSVM, that were on there are "gone" and have
> not been restarted on any of the other hosts.
>
> --
> Regards,
>
> Kirk Jantzer
> http://about.met/kirkjantzer
>


RE: Big Switch & Floodlight

2013-07-29 Thread Adrian Lewis
Hi Sebastien,

Many thanks for the info - much appreciated. If I can chip in I will, but
other than about month of Fortran I did at University almost 20 years ago
I've never done any programming so I'd be a bit lost I'm afraid. I'll keep
my eye out for any developments on this front and may be able to assist
with documentation but I doubt I'll be much use with development.

Kind regards,

Adrian

-Original Message-
From: Sebastien Goasguen
Sent: 29 July 2013 08:44
To: users@cloudstack.apache.org
Subject: Re: Big Switch & Floodlight


On Jul 25, 2013, at 11:17 AM, Adrian Lewis wrote:

> Hi All,
>
>
>
> Just wondering if the Bigswitch integration for CS requires the Big
> Virtual Switch component or whether this is just a complimentary
> aspect? I ask this as I'm wondering if the future holds the
> possibility of using the Floodlight controller in CS with third party
Floodlight compatible 'apps'
> but without having to purchase both the commercial Big Virtual Switch
> and the Big Network Controller.

Adrian, currently the BVS integration is not floodlight compatible.
However it should not take much to do it.

Therefore it is in the short future, I am hoping we will have it for the
4.3 release. Note that big switch is extending floodlight and bringing a
lot of their BVS features within floodlight.


> Does the plugin talk to the controller directly or does it have to
> talk to the BVS for instance? I'm not averse to paying for good
> software but from the prices I've seen for BVS and BNC I simply can't
> justify the investment at the moment.
>
>
>
> I understand that there is on-going work with this from both a GSOC
> participant ("tuna") as well as Big Switch Networks themselves (Kanzhe
> Jiang) but I can't for the life of me work out what's been done,

The BVS integration should be functional in 4.2

> what's
> going to be done and what might work already. It get the impression
> that the current plugins don't work with Floodlight but this is only
> due to the fact that the Floodlight API were not finalised in time for
the 4.1 code.

I don't believe there has been any testing with floodlight itself.

> Does anyone have an insight into what might be possible in 4.2 or even
> 4.3 with regards to Floodlight, in particular the use of Floodlight to
> create non-VLAN/GRE/STT isolation (they call them Virtual Network
> Segments)


Bottom line, this should be in 4.3 if we get tuna to keep working on it
past the gsoc project and that we get some collaboration from BigSwitch.

You are welcome to chip in.

-sebastien

> - not
> too sure if this would work for broadcast or multicast isolation though.
> Looking at code is unfortunately quite foreign to me - I'm a
> networking guy at heart.
>
>
>
> Many thanks,
>
>
>
> Adrian


RE: Networking config question

2013-07-29 Thread Sanjeev Neelarapu
Hi Bryce,

The preferred method of assigning traffic is storage and management traffic can 
be assigned with ip ranges from private network 10.1.4.0/23. 
Guest traffic can be with default CIDR what CS gives while deploying zone  and 
public traffic can be with your public network 192.168.56.0/24

Guest and management can't be in the same private network. As you mentioned in 
your previous mail , if you had assigned 10.1.4.0/23 as guest CIDR and eth0 NIC 
was configured with 10.1.4.0/23 there could be a possibility of IP duplication.
CS will select the ip address randomly from guest CIDR while deploying vm . So 
if the CS selected ip address is already assigned to eth0 NIC on the hypervisor 
 then ip duplication will occur. So CS does not allow adding guest and 
management traffic in the same CIDR.

Thanks,
Sanjeev


-Original Message-
From: Nordgren, Bryce L -FS [mailto:bnordg...@fs.fed.us] 
Sent: Saturday, July 27, 2013 3:53 AM
To: users@cloudstack.apache.org
Subject: Networking config question

Hi.

I'm trying to get my head around provisioning a cluster in cloudstack 
4.0.2...specifically issues surrounding networking. I have been looking for a 
good tutorial, but have not googled my way into one yet.

My config is very very simple: one management server and one host. I have two 
physical networks: "public" and "private". Cloudstack "public" traffic is the 
only thing on my public network, all other cloudstack traffic is confined to 
the private network. While I intend to grow this setup, I do not envision that 
the essential networking situation will change.

The system is managed via the StackIQ Rocks+Cloud roll.  The eth0 NICs are 
configured as the private network 10.1.4.0/23, having their own superdumb GigE 
switch. The eth1 NICs form the "public" network 192.168.56.0/24 and are plugged 
into the University managed switches. This isn't really "public", but I can get 
to them from the University network. I've been allocated a block of 50 IPs on 
this University-public network. The management server (10.1.4.1) also serves 
DNS for the private network, and serves as a gateway to the public world.

I'm having problems getting all four cloudstack traffic types to coexist on 
these two networks.

The Zone's Guest CIDR is 10.1.4.0/23. The GUI is returning an error when 
launching my config ("The subnet of the pod you are adding conflicts with the 
subnet of the Guest IP Network"). The pod was given 10.1.4.0/23 also, with the 
reserved system IPs of 10.1.4.10-10.1.4.20. Storage traffic, similarly, has 
been dispatched to the private network with IPs of 10.1.4.40-10.1.4.50. It 
hasn't complained about this yet, but it might be waiting.

My question is either: "What did I do wrong, above?" or "What is the preferred 
method of assigning storage, guest, and management traffic to a private network 
and public traffic to a public network (e.g., what numbers go where in the 
provisioning process?)"

Thanks in advance,
Bryce




This electronic message contains information generated by the USDA solely for 
the intended recipients. Any unauthorized interception of this message or the 
use or disclosure of the information it contains may violate the law and 
subject the violator to civil or criminal penalties. If you believe you have 
received this message in error, please notify the sender and delete the email 
immediately.


Re: Big Switch & Floodlight

2013-07-29 Thread Nguyen Anh Tu
Hi Adrian,

I'm working on GSoC project relevant to cloudstack's sdn controller.
Currently there are some sdn plugins including NiciraNvp and BigswitchVns.
Floodlight haven't been integrated to CS yet. I'm working on two things:
+ integrating Opendaylight controller
+ improving Cloudstack native sdn controller

Hope it'll appear on 4.3. You are welcome.

Cheers,


2013/7/29 Adrian Lewis 

> Hi Sebastien,
>
> Many thanks for the info - much appreciated. If I can chip in I will, but
> other than about month of Fortran I did at University almost 20 years ago
> I've never done any programming so I'd be a bit lost I'm afraid. I'll keep
> my eye out for any developments on this front and may be able to assist
> with documentation but I doubt I'll be much use with development.
>
> Kind regards,
>
> Adrian
>
> -Original Message-
> From: Sebastien Goasguen
> Sent: 29 July 2013 08:44
> To: users@cloudstack.apache.org
> Subject: Re: Big Switch & Floodlight
>
>
> On Jul 25, 2013, at 11:17 AM, Adrian Lewis wrote:
>
> > Hi All,
> >
> >
> >
> > Just wondering if the Bigswitch integration for CS requires the Big
> > Virtual Switch component or whether this is just a complimentary
> > aspect? I ask this as I'm wondering if the future holds the
> > possibility of using the Floodlight controller in CS with third party
> Floodlight compatible 'apps'
> > but without having to purchase both the commercial Big Virtual Switch
> > and the Big Network Controller.
>
> Adrian, currently the BVS integration is not floodlight compatible.
> However it should not take much to do it.
>
> Therefore it is in the short future, I am hoping we will have it for the
> 4.3 release. Note that big switch is extending floodlight and bringing a
> lot of their BVS features within floodlight.
>
>
> > Does the plugin talk to the controller directly or does it have to
> > talk to the BVS for instance? I'm not averse to paying for good
> > software but from the prices I've seen for BVS and BNC I simply can't
> > justify the investment at the moment.
> >
> >
> >
> > I understand that there is on-going work with this from both a GSOC
> > participant ("tuna") as well as Big Switch Networks themselves (Kanzhe
> > Jiang) but I can't for the life of me work out what's been done,
>
> The BVS integration should be functional in 4.2
>
> > what's
> > going to be done and what might work already. It get the impression
> > that the current plugins don't work with Floodlight but this is only
> > due to the fact that the Floodlight API were not finalised in time for
> the 4.1 code.
>
> I don't believe there has been any testing with floodlight itself.
>
> > Does anyone have an insight into what might be possible in 4.2 or even
> > 4.3 with regards to Floodlight, in particular the use of Floodlight to
> > create non-VLAN/GRE/STT isolation (they call them Virtual Network
> > Segments)
>
>
> Bottom line, this should be in 4.3 if we get tuna to keep working on it
> past the gsoc project and that we get some collaboration from BigSwitch.
>
> You are welcome to chip in.
>
> -sebastien
>
> > - not
> > too sure if this would work for broadcast or multicast isolation though.
> > Looking at code is unfortunately quite foreign to me - I'm a
> > networking guy at heart.
> >
> >
> >
> > Many thanks,
> >
> >
> >
> > Adrian
>



-- 

N.g.U.y.e.N.A.n.H.t.U


Re: Reg: Multiple ips server for cloudstack in Basic zone

2013-07-29 Thread Jayapal Reddy Uradi
Multiple ip address per nic is added in 4.2.

https://issues.apache.org/jira/browse/CLOUDSTACK-24

Thanks,
Jayapal

On 29-Jul-2013, at 1:05 PM, 
 wrote:

> Hi,
> 
>  I am running cloudstack 4.1 in my environment and configured basic zone.
> we have not identified any new seconadry ips in my instance list page on
> cloudstack. I have attached screenshot for your referance.
> 
> Regards,
> Prakash.M
> 
> 
> 
> 
>> Hi,
>> 
>> My comments inline.
>> 
>> Thanks,
>> Jayapal
>> 
>> On 28-Jul-2013, at 12:02 PM, prak...@assistanz.com wrote:
>> 
>>> Hi,
>>> 
>>> In basic zone one public ip is assigned to vm already. we need another
>>> ip
>>> for myvm.
>>> 
>> My last reply is solution to your problem.
>> Using secondary ip address you can get other ip to nic.
>> Get the ip and configure on the VM.
>> 
>>> Regards,
>>> Prakash.M
>>> 
 
 We have multiple ip address mic feature in cloudstack 4.1
 In UI go Instances ->  -> Nics -> view secondary ups ->
 Acquire
 new secondary ips
 Cloudstack reverse the ip address to nic. Take that ip and configure on
 the VM
 
 We don't have option to configure via router dhcp.
 
 Thanks,
 Jayapal
 
 On 26-Jul-2013, at 2:28 PM, prak...@assistanz.com wrote:
 
> Hi,
> 
> Cloudstack is running in basic zone.I have created vm. One nic is
> setup
> in vm as default and public ip is assigned for that Nic. I want more
> ips
> for my vm like ip-alias not another NIC. is it possible to
> re-configure
> virtual router dhcp to serve more than one ip for that vm nic.
> 
> Regards,
> Prakash.M
> 
> 
> 
 
 
>>> 
>>> 
>> 
>> 



Re: HA in CS 4.1

2013-07-29 Thread Kirk Jantzer
Great information, thanks so much for sharing!!


On Mon, Jul 29, 2013 at 4:28 AM, Ryan Lei  wrote:

> FYR, I have done some similar tests several weeks ago to test the host HA
> functionality.
>
> CS 4.0.2 + XenServer 6.0.2: Works as expected. HA-enabled VMs (including
> System VMs) were automatically restarted on HA-dedicated hosts.
> CS 4.1.0 + XCP 1.6: No HA thing happened at all much like what you
> described. The states of VMs and hosts were just like before, but
> inaccessible. CloudStack just couldn't seem to detect the host down!
> CS 4.1.1 (git) + XenServer 6.1: Works as expected. Just like the first
> case.
>
> I didn't have time to try other combinations, and the logs are gone, but I
> guess the problem more likely has to to with XCP support than CS 4.1.0.
>
>
> ---
> Yu-Heng (Ryan) Lei, Associate Reasearcher
> Chunghwa Telecom Laboratories / Cloud Computing Laboratory
> ryan...@cht.com.tw<
> https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SWYpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.&URL=mailto%3aryanlei%40cht.com.tw
> >
> or
> ryanlei750...@gmail.com
>
>
>
> On Thu, Jul 25, 2013 at 2:07 AM, Kirk Jantzer  >wrote:
>
> > Can someone "explain like I'm 5" how HA in CS should work? I have 4.1
> setup
> > with XCP hosts. To simulate a host failure, I've hard powered off a host
> > through iDRAC and CS doesn't seem to know about it, at all -- the
> instances
> > still show as running, but I cannot connect to them, and the host shows
> as
> > up in the infrastructure section.
> >
> > The instances, including the SSVM, that were on there are "gone" and have
> > not been restarted on any of the other hosts.
> >
> > --
> > Regards,
> >
> > Kirk Jantzer
> > http://about.met/kirkjantzer
> >
>



-- 
Regards,

Kirk Jantzer
c: (678) 561-5475
http://about.met/kirkjantzer


Re: HA in CS 4.1

2013-07-29 Thread Salvatore Sciacco
I've powered off a host of a KVM cluster to simulate the server failure and
I'm experiencing the "Agent state cannot be determined, do nothing" loop.

How I can tell the manager that the host is died and to start the HA
procedure? There is some field on the db I can update?





2013/7/29 Kirk Jantzer 

> Great information, thanks so much for sharing!!
>
>
> On Mon, Jul 29, 2013 at 4:28 AM, Ryan Lei  wrote:
>
> > FYR, I have done some similar tests several weeks ago to test the host HA
> > functionality.
> >
> > CS 4.0.2 + XenServer 6.0.2: Works as expected. HA-enabled VMs (including
> > System VMs) were automatically restarted on HA-dedicated hosts.
> > CS 4.1.0 + XCP 1.6: No HA thing happened at all much like what you
> > described. The states of VMs and hosts were just like before, but
> > inaccessible. CloudStack just couldn't seem to detect the host down!
> > CS 4.1.1 (git) + XenServer 6.1: Works as expected. Just like the first
> > case.
> >
> > I didn't have time to try other combinations, and the logs are gone, but
> I
> > guess the problem more likely has to to with XCP support than CS 4.1.0.
> >
> >
> >
> ---
> > Yu-Heng (Ryan) Lei, Associate Reasearcher
> > Chunghwa Telecom Laboratories / Cloud Computing Laboratory
> > ryan...@cht.com.tw<
> >
> https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SWYpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.&URL=mailto%3aryanlei%40cht.com.tw
> > >
> > or
> > ryanlei750...@gmail.com
> >
> >
> >
> > On Thu, Jul 25, 2013 at 2:07 AM, Kirk Jantzer  > >wrote:
> >
> > > Can someone "explain like I'm 5" how HA in CS should work? I have 4.1
> > setup
> > > with XCP hosts. To simulate a host failure, I've hard powered off a
> host
> > > through iDRAC and CS doesn't seem to know about it, at all -- the
> > instances
> > > still show as running, but I cannot connect to them, and the host shows
> > as
> > > up in the infrastructure section.
> > >
> > > The instances, including the SSVM, that were on there are "gone" and
> have
> > > not been restarted on any of the other hosts.
> > >
> > > --
> > > Regards,
> > >
> > > Kirk Jantzer
> > > http://about.met/kirkjantzer
> > >
> >
>
>
>
> --
> Regards,
>
> Kirk Jantzer
> c: (678) 561-5475
> http://about.met/kirkjantzer
>


Re: HA not working - CloudStack 4.1.0 and KVM hypervisor hosts

2013-07-29 Thread Salvatore Sciacco
there are workaround / database update to declare a host died so that HA
operations can be triggered?




2013/7/25 Lennert den Teuling 

> Op 25-07-13 07:48, Bryan Whitehead schreef:
>
>  Starting off, there is never going to be a way to "conclusively"
>> decide if a host is down. This is just the nature of complex systems.
>> We can only hope our software does "well" - and if "well" is "wrong" -
>> we have a way to clean up the mess created.
>>
>> That said, I like the old behavior 3.0.x has. As I mentioned in -3535
>> I've had a host lose its network (e1000 oops in kernel) and HA got
>> triggered. The storage (in this case gluster using a sharedmountpount)
>> wouldn't let qemu-kvm start on another host because the underlying
>> qcow2 file was locked by an already running qemu-kvm process (on the
>> machine that lost network). So HA being triggered didn't ruin any VM
>> disks. Gluster was running on Infiniband so the shared storage with
>> working locks prevented HA from screwing things up.
>>
>> Further, even if gluster lost connectivity, gluster itself would
>> split-brain and later I could decide which qcow2/disk image should be
>> "truth". Do I keep the VM that kept on running? Or do I keep the
>> version HA booted and fscked? That's for me - the user - to decide.
>>
>> As a cloudstack admin/user I understand the risks of HA and I choose
>> to live with them - I've even made sure that should such a disaster
>> happen I can recover (gluster will split brain as well). The #1 reason
>> for choosing HA is I want the VM to be available as much as possible.
>>
>> Right now 4.1 DOES NOT have HA... I don't know how "emailing the admin
>> to figure out what to do" is being entertained as an option. That's
>> just nonsense and is NOT HIGH AVAILABILITY. IMHO If one is so
>> terrified of HA screwing up they should probably pass on HA and
>> manually start things up.
>>
>> When a simple reproducible test like pulling the plug on a host can't
>> trigger an HA event - then that feature doesn't exist. It is simple as
>> that.
>>
>
> I would like to add that when testing this on our development cluster,
> something bizar happened:
>
> First, when i killed the VMs _and_ the agent on the host the HA worked
> just fine, after 10 minutes everything was restarted on a working host.
>
> The second time i turned of the host, nothing happened:
>
> 2013-07-25 15:31:41,347 DEBUG [cloud.ha.**AbstractInvestigatorImpl]
> (AgentTaskPool-3:null) host (192.168.122.32) cannot be pinged, returning
> null ('I don't know')
> 2013-07-25 15:31:41,348 DEBUG [cloud.ha.**UserVmDomRInvestigator]
> (AgentTaskPool-3:null) could not reach agent, could not reach agent's host,
> returning that we don't have enough information
> 2013-07-25 15:31:41,348 DEBUG [cloud.ha.**HighAvailabilityManagerImpl]
> (AgentTaskPool-3:null) null unable to determine the state of the host.
> Moving on.
> 2013-07-25 15:31:41,348 DEBUG [cloud.ha.**HighAvailabilityManagerImpl]
> (AgentTaskPool-3:null) null unable to determine the state of the host.
> Moving on.
> 2013-07-25 15:31:41,349 WARN  [agent.manager.**AgentManagerImpl]
> (AgentTaskPool-3:null) Agent state cannot be determined, do nothing
>
> So when the host is still pingable it's "OK" to do a HA, but when it is
> totally unreachable it's not?
>
> My third try was even worse. I killed the agent, forgot to kill the VMs
> and the management server restarted the VMs on another host and it seems
> that all images are corrupted.
>
> 2013-07-25 15:37:31,614 DEBUG [agent.manager.**AgentManagerImpl]
> (HA-Worker-2:work-29) Details from executing class 
> com.cloud.agent.api.**PingTestCommand:
> PING 192.168.122.170 (192.168.122.170): 56 data bytes6
> 4 bytes from 192.168.122.161: Destination Host UnreachableVr HL TOS  Len
>   ID Flg  off TTL Pro  cks  Src  Dst Data 4  5  00 5400  0 0040
>  40  01 0cc4 192.168.122.161  192.168.122.170 --- 192.
> 168.122.170 ping statistics ---1 packets transmitted, 0 packets received,
> 100% packet lossUnable to ping the vm, exiting
> 2013-07-25 15:37:31,614 DEBUG [cloud.ha.**UserVmDomRInvestigator]
> (HA-Worker-2:work-29) VM[User|c88924e9-a8c9-4705-**acc8-3237ffcf009d]
> could not be pinged, returning that it is unknown
>
> Ping is disabled by default if you use security groups, so a ping test is
> not reliable.
>
> Concluding that a VM is down on a simple ping test, is when you use
> security groups for example not the right option. (It's even dangerous)
>
> I will do some more tests, but if it's true that my last HA was based on a
> failed ping i will need to turn ping on on all my production instances asap.
>
> I do agree with Bryan that HA needs to go automatically without
> intervention of a sysadmin.
>
> I think you could base a HA operation on:
> - An unreachable agent
> - Unpingable host
> - A file with a timestamp on the network storage which updates every X
> seconds, when it's not updated, something is wrong.
>
> Ideally the management server would turn of the host

CS 4.1 + vSphere 5.1 - System VMs issue

2013-07-29 Thread Gaspare A Silvestri

Hello everybody,

I'm recently having issues about the ability to manage the system VMs 
(Console Proxy + Secondary Storage VM); I've got the following 
configuration:


 * Cloudstack 4.1
 * VMware vSphere 5.1
 * Standard networking configuration
 * vSwitch0 on the public network (Guest network) - Phyisical network
   connected to a WAN phyisical switch (public addresses).
 * vSwitch1 on the private network (Management + Storage traffic) -
   Phyisical network connected to a LAN phyisical switch.


I'm able to connect to the System VMs, and also to ping them, but I'm 
not able to connect to the console of both two VMs; it looks like 
something wrong in my network configuration. Where am I wrong in my 
activities?


Thanks in advance,

Gaspare




Re: HA in CS 4.1

2013-07-29 Thread Bryan Whitehead
Salvatore, Please go vote for and add details to this bug:
https://issues.apache.org/jira/browse/CLOUDSTACK-3535

-Bryan

On Mon, Jul 29, 2013 at 1:30 PM, Salvatore Sciacco  wrote:
> I've powered off a host of a KVM cluster to simulate the server failure and
> I'm experiencing the "Agent state cannot be determined, do nothing" loop.
>
> How I can tell the manager that the host is died and to start the HA
> procedure? There is some field on the db I can update?
>
>
>
>
>
> 2013/7/29 Kirk Jantzer 
>
>> Great information, thanks so much for sharing!!
>>
>>
>> On Mon, Jul 29, 2013 at 4:28 AM, Ryan Lei  wrote:
>>
>> > FYR, I have done some similar tests several weeks ago to test the host HA
>> > functionality.
>> >
>> > CS 4.0.2 + XenServer 6.0.2: Works as expected. HA-enabled VMs (including
>> > System VMs) were automatically restarted on HA-dedicated hosts.
>> > CS 4.1.0 + XCP 1.6: No HA thing happened at all much like what you
>> > described. The states of VMs and hosts were just like before, but
>> > inaccessible. CloudStack just couldn't seem to detect the host down!
>> > CS 4.1.1 (git) + XenServer 6.1: Works as expected. Just like the first
>> > case.
>> >
>> > I didn't have time to try other combinations, and the logs are gone, but
>> I
>> > guess the problem more likely has to to with XCP support than CS 4.1.0.
>> >
>> >
>> >
>> ---
>> > Yu-Heng (Ryan) Lei, Associate Reasearcher
>> > Chunghwa Telecom Laboratories / Cloud Computing Laboratory
>> > ryan...@cht.com.tw<
>> >
>> https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SWYpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.&URL=mailto%3aryanlei%40cht.com.tw
>> > >
>> > or
>> > ryanlei750...@gmail.com
>> >
>> >
>> >
>> > On Thu, Jul 25, 2013 at 2:07 AM, Kirk Jantzer > > >wrote:
>> >
>> > > Can someone "explain like I'm 5" how HA in CS should work? I have 4.1
>> > setup
>> > > with XCP hosts. To simulate a host failure, I've hard powered off a
>> host
>> > > through iDRAC and CS doesn't seem to know about it, at all -- the
>> > instances
>> > > still show as running, but I cannot connect to them, and the host shows
>> > as
>> > > up in the infrastructure section.
>> > >
>> > > The instances, including the SSVM, that were on there are "gone" and
>> have
>> > > not been restarted on any of the other hosts.
>> > >
>> > > --
>> > > Regards,
>> > >
>> > > Kirk Jantzer
>> > > http://about.met/kirkjantzer
>> > >
>> >
>>
>>
>>
>> --
>> Regards,
>>
>> Kirk Jantzer
>> c: (678) 561-5475
>> http://about.met/kirkjantzer
>>


RE: Networking config question

2013-07-29 Thread Nordgren, Bryce L -FS
Hi Sanjeev,

Thanks for your reply. I had been associating "private network" with the IP 
space allocated to eth0, then trying to divide up that IP space among the 
various types of traffic (...because the wiki told me to [1]) If I understand 
what you are saying correctly, the division between traffic types is not by IP 
range, but by subnet...except for the distinction between "reserved system IPs" 
and all other traffic on the management network, which is by IP range so that 
cloudstack can share not only with a different traffic type, but with IPs 
controlled by some completely external entity (such as whomever assigns IPs to 
hosts). However, this ability to share a subnet should not be considered to 
extend to cloudstack-managed guest traffic. I have a pretty low confidence in 
my understanding of the rules at this point. I tried to apply your advice, so 
if I may summarize what I have now, would you be able to tell me whether I need 
further education?:

Host eth0: IP: 10.1.5.254; gw: 10.1.4.1; netmask: 255.255.254.0
Host eth1: IP: none; gw: none; netmask: none (however, it is plugged into the 
University's switch)
Host bridges "privatebr0" (eth0) and "publicbr0" (eth1) created.
Using KVM.

Guest CIDR: 10.1.1.0/24 (the default provided by cloudstack)
Management network: 10.1.4.30-10.1.4.50 (gw: 10.1.4.1; netmask: 255.255.254.0)
Public traffic: 192.168.56.41-192.168.56.90 (gw:192.168.56.254; netmask: 
255.255.255.0)
Guest and Management traffic have "privatebr0" KVM traffic label.
Public traffic has "publicbr0" KVM traffic label
All VLAN fields have been left blank.

The management server is NFS exporting both primary and secondary storage.

I've started from a freshly re-installed host (compute-0-0), removed everything 
from the NFS exported storage directories, and I've used the provided (by 
StackIQ) cs_wipe.sh and cs_setup.sh to cleanse the database on the management 
server. When I try to launch a new zone (entering the above information in the 
gui), everything goes well until it tries to create the host. Then:

1] It tells me an error has occurred, has a colon, then nothing.
2] Clicking on "Fix Errors" takes you to the add-a-host page. There's nothing 
to fix, so click "Save Changes"
3] Now it tells me that an error has occurred, has a colon, and says "Unable to 
add host"
4] Click "Cancel". Note that the host is added, and the state is listed as "Up".
5] Create primary storage
6] Create secondary storage

So now I have a cloud with one host, but my secondary storage has an "alert" 
state in that there is no System VM for it. Can't create a system VM. BTW, 
numbers 1-4 above have been a constant companion in the bazillion times I wiped 
it, and tried something else.

Two questions, then: 1] Is it normal for the create-a-zone wizard to bomb out, 
or is there something wrong with my config? 2] How do I get to a functional 
system from here?

Thanks in advance,
Bryce

[1] although googling for the page now yields no results, the printout is on my 
desk assuring me I have not yet gone mad.

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
Sent: Monday, July 29, 2013 4:39 AM
To: users@cloudstack.apache.org
Subject: RE: Networking config question

Hi Bryce,

The preferred method of assigning traffic is storage and management traffic can 
be assigned with ip ranges from private network 10.1.4.0/23. 
Guest traffic can be with default CIDR what CS gives while deploying zone  and 
public traffic can be with your public network 192.168.56.0/24

Guest and management can't be in the same private network. As you mentioned in 
your previous mail , if you had assigned 10.1.4.0/23 as guest CIDR and eth0 NIC 
was configured with 10.1.4.0/23 there could be a possibility of IP duplication.
CS will select the ip address randomly from guest CIDR while deploying vm . So 
if the CS selected ip address is already assigned to eth0 NIC on the hypervisor 
 then ip duplication will occur. So CS does not allow adding guest and 
management traffic in the same CIDR.

Thanks,
Sanjeev


-Original Message-
From: Nordgren, Bryce L -FS [mailto:bnordg...@fs.fed.us] 
Sent: Saturday, July 27, 2013 3:53 AM
To: users@cloudstack.apache.org
Subject: Networking config question

Hi.

I'm trying to get my head around provisioning a cluster in cloudstack 
4.0.2...specifically issues surrounding networking. I have been looking for a 
good tutorial, but have not googled my way into one yet.

My config is very very simple: one management server and one host. I have two 
physical networks: "public" and "private". Cloudstack "public" traffic is the 
only thing on my public network, all other cloudstack traffic is confined to 
the private network. While I intend to grow this setup, I do not envision that 
the essential networking situation will change.

The system is managed via the StackIQ Rocks+Cloud roll.  The eth0 NICs are 
configured as the private network 10.1.4.0/23, having their own superdu

Re: Networking config question

2013-07-29 Thread Kirk Kosinski
Hi, are you trying to use a basic zone (one flat network for all guests)
or an advanced zone (one or more guest networks, each with their own
VLAN)?  I'm guessing advanced since I don't think a basic zone will
work.  For an advanced zone, you need to decide if the guest networks
should be on publicbr0 or privatebr0.  If you never plan to add a second
host it doesn't really matter, but if you do plan on adding more hosts
you should choose the bridge that is connected to a switch that supports
VLANs.

When going through the wizard, make sure to configure the traffic labels
to the correct bridge name.  If they are wrong it might be the problem.
 A blank error in the UI is not common but if the host is "Up" then it
can probably be ignored.  Errors in the UI are not usually useful anyway
so check the management-server.log on the CloudStack server for errors
(or upload it to Pastebin and ask on the list for help).  The secondary
storage alert is normal and can be ignored.

Best regards,
Kirk


On 07/29/2013 03:16 PM, Nordgren, Bryce L -FS wrote:
> Hi Sanjeev,
> 
> Thanks for your reply. I had been associating "private network" with the IP 
> space allocated to eth0, then trying to divide up that IP space among the 
> various types of traffic (...because the wiki told me to [1]) If I understand 
> what you are saying correctly, the division between traffic types is not by 
> IP range, but by subnet...except for the distinction between "reserved system 
> IPs" and all other traffic on the management network, which is by IP range so 
> that cloudstack can share not only with a different traffic type, but with 
> IPs controlled by some completely external entity (such as whomever assigns 
> IPs to hosts). However, this ability to share a subnet should not be 
> considered to extend to cloudstack-managed guest traffic. I have a pretty low 
> confidence in my understanding of the rules at this point. I tried to apply 
> your advice, so if I may summarize what I have now, would you be able to tell 
> me whether I need further education?:
> 
> Host eth0: IP: 10.1.5.254; gw: 10.1.4.1; netmask: 255.255.254.0
> Host eth1: IP: none; gw: none; netmask: none (however, it is plugged into the 
> University's switch)
> Host bridges "privatebr0" (eth0) and "publicbr0" (eth1) created.
> Using KVM.
> 
> Guest CIDR: 10.1.1.0/24 (the default provided by cloudstack)
> Management network: 10.1.4.30-10.1.4.50 (gw: 10.1.4.1; netmask: 255.255.254.0)
> Public traffic: 192.168.56.41-192.168.56.90 (gw:192.168.56.254; netmask: 
> 255.255.255.0)
> Guest and Management traffic have "privatebr0" KVM traffic label.
> Public traffic has "publicbr0" KVM traffic label
> All VLAN fields have been left blank.
> 
> The management server is NFS exporting both primary and secondary storage.
> 
> I've started from a freshly re-installed host (compute-0-0), removed 
> everything from the NFS exported storage directories, and I've used the 
> provided (by StackIQ) cs_wipe.sh and cs_setup.sh to cleanse the database on 
> the management server. When I try to launch a new zone (entering the above 
> information in the gui), everything goes well until it tries to create the 
> host. Then:
> 
> 1] It tells me an error has occurred, has a colon, then nothing.
> 2] Clicking on "Fix Errors" takes you to the add-a-host page. There's nothing 
> to fix, so click "Save Changes"
> 3] Now it tells me that an error has occurred, has a colon, and says "Unable 
> to add host"
> 4] Click "Cancel". Note that the host is added, and the state is listed as 
> "Up".
> 5] Create primary storage
> 6] Create secondary storage
> 
> So now I have a cloud with one host, but my secondary storage has an "alert" 
> state in that there is no System VM for it. Can't create a system VM. BTW, 
> numbers 1-4 above have been a constant companion in the bazillion times I 
> wiped it, and tried something else.
> 
> Two questions, then: 1] Is it normal for the create-a-zone wizard to bomb 
> out, or is there something wrong with my config? 2] How do I get to a 
> functional system from here?
> 
> Thanks in advance,
> Bryce
> 
> [1] although googling for the page now yields no results, the printout is on 
> my desk assuring me I have not yet gone mad.
> 
> -Original Message-
> From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
> Sent: Monday, July 29, 2013 4:39 AM
> To: users@cloudstack.apache.org
> Subject: RE: Networking config question
> 
> Hi Bryce,
> 
> The preferred method of assigning traffic is storage and management traffic 
> can be assigned with ip ranges from private network 10.1.4.0/23. 
> Guest traffic can be with default CIDR what CS gives while deploying zone  
> and public traffic can be with your public network 192.168.56.0/24
> 
> Guest and management can't be in the same private network. As you mentioned 
> in your previous mail , if you had assigned 10.1.4.0/23 as guest CIDR and 
> eth0 NIC was configured with 10.1.4.0/23 there could be a possibility of IP 

Re: Setting up networking similar to VirtualBox

2013-07-29 Thread Ahmad Emneina
you'll probably need to have a couple interfaces (or bridges) say for
example Outside and Inside (where the guests will live). You'll need to
setup ip forwarding so that your traffic on inside gets routed out via
Outside. I've dont this a long while back but have since forgotten the
gritty details. You can google masquerading or ip forwarding... This
article rings a vague bell:
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/firewall-examples.html#RC.FIREWALL-IPTABLES.
You might also want to ping the dev list, to see if there are any
useful
tips from the folks there.


On Thu, Jul 25, 2013 at 7:48 AM, Philip Andrews wrote:

> Hello List,
>
> I've managed to get Cloudstack Mgmt and Host services running on my laptop
> and deployed a VM. The only way I could do this was to put all the IP
> addressing on the same 10.x.x.x network that my laptop was connected to for
> the internet.
>
> I'd like to setup the machine so the VM's are on an internal 192.168.x.x
> network for all their IP addressing and NAT'd to the internet through the
> 10.x.x.x IP address.
>
> Is there a way to do this without changing any of the routing/switching
> infrastructure my laptop is connected to? I have found several tutorials
> about doing this with vlan's and IP tables but I was unable to get them
> working.
>
> Any help with documentation or configuration ideas would be greatly
> appreciated. This is for a test environment not production (obviously?).
>
> Thanks,
> -Phil
>
>
> Philip Andrews
> Senior Linux Engineer
>
> T +1 603-625-2280
> F +1 603-641-2280
> M
> mailto:pandr...@thunderhead.com
>
> Thunderhead.com is the trading name of Thunderhead Limited which is
> registered in England under No. 4303041 whose registered office is at
> Catalyst House 720 Centennial Court, Centennial Park, Elstree, Herts. WD6
> 3SY.
> --
> The contents of this e-mail are intended for the named addressee only. It
> contains confidential information. Unless you are the named addressee or an
> authorized designee, you may not copy or use it, or disclose it to anyone
> else. If you received it in error please notify us immediately and then
> destroy it.
> --
>
>
>


Re: Reg: Multiple ips server for cloudstack in Basic zone

2013-07-29 Thread prakash
Hi Jayapal,

  1.In cloudstack 4.2 have new feature per nic have multiple ips address.
That is good.

2.In basic zone, we need multiple PUBLIC ipaddress per nic not private ip
address or static 1:1 Nat per nics. Because few of our
software's/web-hosting control panels are not running with static Nat
environment. so we need acquire multiple public ips per Nic not private
Ips. is this possible in cloudstack 4.2 or feature release.

  3. In both zone Basic and Advance without Nat,Cloudstack will support.
Surly cloud-stack will reach another height and beat other stacks.
Because several industries software not good to run in Nat. If
cloudstack will provide same feature without NAT and with NAT. That is
good for all. Can opensource apache community will work for this.

   My humble suggestion is cloudstack will work on both environment
without Nat and With NAT.

 4. Amazon EC2 is not best for running control panel servers like
cpanel,plesk and directadmin etc Because of Nat environment. so that
we will need cloudstack will support this feature.



 Regards,
 Prakash.M

 >
> We have multiple ip address mic feature in cloudstack 4.1
> In UI go Instances ->  -> Nics -> view secondary ups -> Acquire
> new secondary ips
> Cloudstack reverse the ip address to nic. Take that ip and configure on
> the VM
>
> We don't have option to configure via router dhcp.
>
> Thanks,
> Jayapal
>
> On 26-Jul-2013, at 2:28 PM, prak...@assistanz.com wrote:
>
>> Hi,
>>
>> Cloudstack is running in basic zone.I have created vm. One nic is setup
>> in vm as default and public ip is assigned for that Nic. I want more ips
>> for my vm like ip-alias not another NIC. is it possible to re-configure
>> virtual router dhcp to serve more than one ip for that vm nic.
>>
>> Regards,
>> Prakash.M
>>
>>
>>
>
>




Re: Reg: Multiple ips server for cloudstack in Basic zone

2013-07-29 Thread Jayapal Reddy Uradi
Hi Prakash,

My comments inline.

Thanks
Jayapal
On 30-Jul-2013, at 10:06 AM, 
 wrote:

> Hi Jayapal,
> 
>  1.In cloudstack 4.2 have new feature per nic have multiple ips address.
> That is good.
> 
> 2.In basic zone, we need multiple PUBLIC ipaddress per nic not private ip
> address or static 1:1 Nat per nics. Because few of our
> software's/web-hosting control panels are not running with static Nat
> environment. so we need acquire multiple public ips per Nic not private
> Ips. is this possible in cloudstack 4.2 or feature release.

> 

Multiple ips supports basic zone. You can acquire multiple public ip address 
per nic.
Only thing is the acquired ip you need to configure manually on the VM.

>  3. In both zone Basic and Advance without Nat,Cloudstack will support.
> Surly cloud-stack will reach another height and beat other stacks.
> Because several industries software not good to run in Nat. If
> cloudstack will provide same feature without NAT and with NAT. That is
> good for all. Can opensource apache community will work for this.
> 
Please refer shared networks for advanced zone with nat.

>   My humble suggestion is cloudstack will work on both environment
> without Nat and With NAT.
> 
> 4. Amazon EC2 is not best for running control panel servers like
> cpanel,plesk and directadmin etc Because of Nat environment. so that
> we will need cloudstack will support this feature.
> 
> 
> 
> Regards,
> Prakash.M
> 
>> 
>> We have multiple ip address mic feature in cloudstack 4.1
>> In UI go Instances ->  -> Nics -> view secondary ups -> Acquire
>> new secondary ips
>> Cloudstack reverse the ip address to nic. Take that ip and configure on
>> the VM
>> 
>> We don't have option to configure via router dhcp.
>> 
>> Thanks,
>> Jayapal
>> 
>> On 26-Jul-2013, at 2:28 PM, prak...@assistanz.com wrote:
>> 
>>> Hi,
>>> 
>>> Cloudstack is running in basic zone.I have created vm. One nic is setup
>>> in vm as default and public ip is assigned for that Nic. I want more ips
>>> for my vm like ip-alias not another NIC. is it possible to re-configure
>>> virtual router dhcp to serve more than one ip for that vm nic.
>>> 
>>> Regards,
>>> Prakash.M
>>> 
>>> 
>>> 
>> 
>> 
> 
> 



Re: CS 4.1 + vSphere 5.1 - System VMs issue

2013-07-29 Thread Gaspare A Silvestri

Hello everybody,

I'm recently having issues about the ability to manage the system VMs 
(Console Proxy + Secondary Storage VM); I've got the following 
configuration:


 * Cloudstack 4.1
 * VMware vSphere 5.1
 * Standard networking configuration
 * vSwitch0 on the public network (Guest network) - Phyisical network   
connected to a WAN phyisical switch (public IP addresses - 46.x.x.x).
 * vSwitch1 on the private network (Management + Storage traffic) -
Phyisical network connected to a LAN phyisical switch (Private IP 
addresses - 192.168.x.x).



I'm able to connect to the System VMs from the Cloudstack Management 
server using the private assigned IP, and I'm also able to ping them, 
but I'm not able to connect to the console of both two VMs; it looks 
like something wrong in my network configuration. Where am I wrong in my 
activities?


Thanks in advance,

Gaspare


Re: HA in CS 4.1

2013-07-29 Thread Salvatore Sciacco
Done :-)
Il giorno 29/lug/2013 23:10, "Bryan Whitehead"  ha
scritto:

> Salvatore, Please go vote for and add details to this bug:
> https://issues.apache.org/jira/browse/CLOUDSTACK-3535
>
> -Bryan
>
> On Mon, Jul 29, 2013 at 1:30 PM, Salvatore Sciacco 
> wrote:
> > I've powered off a host of a KVM cluster to simulate the server failure
> and
> > I'm experiencing the "Agent state cannot be determined, do nothing" loop.
> >
> > How I can tell the manager that the host is died and to start the HA
> > procedure? There is some field on the db I can update?
> >
> >
> >
> >
> >
> > 2013/7/29 Kirk Jantzer 
> >
> >> Great information, thanks so much for sharing!!
> >>
> >>
> >> On Mon, Jul 29, 2013 at 4:28 AM, Ryan Lei  wrote:
> >>
> >> > FYR, I have done some similar tests several weeks ago to test the
> host HA
> >> > functionality.
> >> >
> >> > CS 4.0.2 + XenServer 6.0.2: Works as expected. HA-enabled VMs
> (including
> >> > System VMs) were automatically restarted on HA-dedicated hosts.
> >> > CS 4.1.0 + XCP 1.6: No HA thing happened at all much like what you
> >> > described. The states of VMs and hosts were just like before, but
> >> > inaccessible. CloudStack just couldn't seem to detect the host down!
> >> > CS 4.1.1 (git) + XenServer 6.1: Works as expected. Just like the first
> >> > case.
> >> >
> >> > I didn't have time to try other combinations, and the logs are gone,
> but
> >> I
> >> > guess the problem more likely has to to with XCP support than CS
> 4.1.0.
> >> >
> >> >
> >> >
> >>
> ---
> >> > Yu-Heng (Ryan) Lei, Associate Reasearcher
> >> > Chunghwa Telecom Laboratories / Cloud Computing Laboratory
> >> > ryan...@cht.com.tw<
> >> >
> >>
> https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SWYpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.&URL=mailto%3aryanlei%40cht.com.tw
> >> > >
> >> > or
> >> > ryanlei750...@gmail.com
> >> >
> >> >
> >> >
> >> > On Thu, Jul 25, 2013 at 2:07 AM, Kirk Jantzer  >> > >wrote:
> >> >
> >> > > Can someone "explain like I'm 5" how HA in CS should work? I have
> 4.1
> >> > setup
> >> > > with XCP hosts. To simulate a host failure, I've hard powered off a
> >> host
> >> > > through iDRAC and CS doesn't seem to know about it, at all -- the
> >> > instances
> >> > > still show as running, but I cannot connect to them, and the host
> shows
> >> > as
> >> > > up in the infrastructure section.
> >> > >
> >> > > The instances, including the SSVM, that were on there are "gone" and
> >> have
> >> > > not been restarted on any of the other hosts.
> >> > >
> >> > > --
> >> > > Regards,
> >> > >
> >> > > Kirk Jantzer
> >> > > http://about.met/kirkjantzer
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Regards,
> >>
> >> Kirk Jantzer
> >> c: (678) 561-5475
> >> http://about.met/kirkjantzer
> >>
>


Re: Unable to upload ISO for VM installation in

2013-07-29 Thread Ashutosh Narayan
Hi Nitin,

Am facing the same issue. Although I have allowed "secstorage allowed
internal sites"
to download a test CentOS ISO I am unable to download. I have set the
management
server as a http server which serves the ISO images. I am able to SSH to
Secondary
System VMs though. Here is the output of /var/log/cloud/cloud.out on SSVM.
cloud.out -- http://pastebin.com/WqxahiiD

Thank you,

On Mon, Jul 22, 2013 at 12:52 PM, Nitin Mehta wrote:

> See if
> https://cwiki.apache.org/CLOUDSTACK/ssvm-templates-secondary-storage-troubl
> eshooting.html helps
>
> On 19/07/13 8:28 PM, "Dave Dunaway"  wrote:
>
> >I believe this is the setting you are referring to Geoff (I am
> >unfortunately stuck in an office!!! )
> >
> >
> >secstorage.allowed.internal.sites   - comma separated list of CIDRs
> >internal to the datacenter that can host template download servers, please
> >note 0.0.0.0 is not a valid site.
> >
> >That's in Global Settings.
> >secstorage.allowed.internal.sitesComma separated list of cidrs internal to
> >the datacenter that can host template download servers, please note
> >0.0.0.0
> >is not a valid site
> >
> >
> >
> >
> >
> >On Fri, Jul 19, 2013 at 9:23 AM, Geoff Higginbottom <
> >geoff.higginbot...@shapeblue.com> wrote:
> >
> >> Deepak,
> >>
> >> Is the server on an internal network or the public internet?
> >>
> >> SSVM, which is responsible for importing the ISO, will try and use its
> >> pubic interface to fetch the ISO, can the SSVM Ping the IP of the HTTP
> >> Server?
> >>
> >> If the IP is an internal IP, you may need to add it to the global
> >>setting
> >> which from memory is something like secstorage.allowed.internal  but I'm
> >> not 100% sure (not got access to a system as currently on the road)
> >>
> >> Regards
> >>
> >> Geoff Higginbottom
> >>
> >> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> >>
> >> geoff.higginbot...@shapeblue.com
> >>
> >> -Original Message-
> >> From: Deepak Yadav [mailto:deepak@gmail.com]
> >> Sent: 19 July 2013 12:34
> >> To: users@cloudstack.apache.org
> >> Subject: Re: Unable to upload ISO for VM installation in
> >>
> >> yes It is a valid uRL because I am using the same server as a http
> >>server
> >> for Image upload !
> >>
> >>
> >>
> >> On Fri, Jul 19, 2013 at 4:03 PM, Sean Hamilton  >> >wrote:
> >>
> >> > Sounds silly, but have you tried to download the .iso using your
> >> > desktop browser? Just to make sure that it's a valid URL?
> >> >
> >> >
> >> > On 19 July 2013 11:28, Deepak Yadav  wrote:
> >> >
> >> > >  connection refused !
> >> > >
> >> > > Status :   Not Ready
> >> > >
> >> > >
> >> > > On Fri, Jul 19, 2013 at 3:56 PM, Sean Hamilton
> >> > >  >> > > >wrote:
> >> > >
> >> > > > Are you using the UI to upload the iso? What message are you
> >> > > > seeing for
> >> > > the
> >> > > > status?
> >> > > >
> >> > > >
> >> > > > On 19 July 2013 11:23, Deepak Yadav  wrote:
> >> > > >
> >> > > > > Dear Team
> >> > > > >
> >> > > > >
> >> > > > > I am using cloudstack 4.1.
> >> > > > > after cloud basic deployment. I  want to upload an iso image.
> >> > > > > But fail to  upload!
> >> > > > > I feel that is their any limit in cloud stack  for upload size ?
> >> > > > > or what is the problem !
> >> > > > > please help me out !
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > > Thanks & Regards
> >> > > > > Deepak Yadav
> >> > > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Thanks & Regards
> >> > > Deepak Yadav | Linux Admin | MothersonSumi INfotech & Designs
> >> > > Limited |
> >> > > | Noida - 201301 | Uttar Pradesh | India |  T +91 9889284337 |
> >> > 9015150337 |
> >> > > E  deepak.ya...@mind-infotech.com | www.mind-infotech.com |
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Thanks & Regards
> >> Deepak Yadav | Linux Admin | MothersonSumi INfotech & Designs Limited |
> >> | Noida - 201301 | Uttar Pradesh | India |  T +91 9889284337 |
> >> | 9015150337 |
> >> E  deepak.ya...@mind-infotech.com | www.mind-infotech.com |
> >> This email and any attachments to it may be confidential and are
> >>intended
> >> solely for the use of the individual to whom it is addressed. Any views
> >>or
> >> opinions expressed are solely those of the author and do not necessarily
> >> represent those of Shape Blue Ltd or related companies. If you are not
> >>the
> >> intended recipient of this email, you must neither take any action based
> >> upon its contents, nor copy or show it to anyone. Please contact the
> >>sender
> >> if you believe you have received this email in error. Shape Blue Ltd is
> >>a
> >> company incorporated in England & Wales. ShapeBlue Services India LLP is
> >> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> >> trademark.
> >>
>
>


-- 
Ashutosh Narayan

http://ashutoshn.wordpress.com/


NFS Shares

2013-07-29 Thread Chitra Manjunath
Hi All,

I have ESXI 5.1 host. I'm using Management server as NFS server, I created the 
NFS shares(primary and secondary). Now I logged into Hypervisor(VMware) host 
and execute the command "mount -t nfs 
:/export/secondary /secondarymount"  getting mount not 
found error.

Please guide me on how to mount the NFS shares in ESXI 5.1 host.

Thanks & Regards
Chitra.M


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


Re: NFS Shares

2013-07-29 Thread Ashutosh Narayan
Hi,

Please try mounting  via IP address of management server and make sure that
/secondarymount directory exists.

On Tue, Jul 30, 2013 at 11:30 AM, Chitra Manjunath <
chitra_manjun...@infosys.com> wrote:

> Hi All,
>
> I have ESXI 5.1 host. I'm using Management server as NFS server, I created
> the NFS shares(primary and secondary). Now I logged into Hypervisor(VMware)
> host and execute the command "mount -t nfs
> :/export/secondary /secondarymount"  getting mount
> not found error.
>
> Please guide me on how to mount the NFS shares in ESXI 5.1 host.
>
> Thanks & Regards
> Chitra.M
>
>
>  CAUTION - Disclaimer *
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
> for the use of the addressee(s). If you are not the intended recipient,
> please
> notify the sender by e-mail and delete the original message. Further, you
> are not
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken
> every reasonable precaution to minimize this risk, but is not liable for
> any damage
> you may sustain as a result of any virus in this e-mail. You should carry
> out your
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the
> right to monitor and review the content of all messages sent to or from
> this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS End of Disclaimer INFOSYS***
>



-- 
Ashutosh Narayan

http://ashutoshn.wordpress.com/


RE: NFS Shares

2013-07-29 Thread Chitra Manjunath
Hi,



I tried with both IP address and with name. And also host is able to reach the 
NFS server(connection is perfect).

Getting "-sh: mount not found" Error.



-Original Message-
From: Ashutosh Narayan [mailto:aashutoshnara...@gmail.com]
Sent: Tuesday, July 30, 2013 11:38 AM
To: users@cloudstack.apache.org
Subject: Re: NFS Shares



Hi,



Please try mounting  via IP address of management server and make sure that 
/secondarymount directory exists.



On Tue, Jul 30, 2013 at 11:30 AM, Chitra Manjunath < 
chitra_manjun...@infosys.com> wrote:



> Hi All,

>

> I have ESXI 5.1 host. I'm using Management server as NFS server, I

> created the NFS shares(primary and secondary). Now I logged into

> Hypervisor(VMware) host and execute the command "mount -t nfs

> :/export/secondary /secondarymount"  getting

> mount not found error.

>

> Please guide me on how to mount the NFS shares in ESXI 5.1 host.

>

> Thanks & Regards

> Chitra.M

>

>

>  CAUTION - Disclaimer * This e-mail

> contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for

> the use of the addressee(s). If you are not the intended recipient,

> please notify the sender by e-mail and delete the original message.

> Further, you are not to copy, disclose, or distribute this e-mail or

> its contents to any other person and any such actions are unlawful.

> This e-mail may contain viruses. Infosys has taken every reasonable

> precaution to minimize this risk, but is not liable for any damage you

> may sustain as a result of any virus in this e-mail. You should carry

> out your own virus checks before opening the e-mail or attachment.

> Infosys reserves the right to monitor and review the content of all

> messages sent to or from this e-mail address. Messages sent to or from

> this e-mail address may be stored on the Infosys e-mail system.

> ***INFOSYS End of Disclaimer INFOSYS***

>







--

Ashutosh Narayan



http://ashutoshn.wordpress.com/


Re: NFS Shares

2013-07-29 Thread Moovarkku Mudhalvan
Chitra

  Have a Look at
http://communities.vmware.com/thread/418325?start=0&tstart=0




On Tue, Jul 30, 2013 at 11:30 AM, Chitra Manjunath <
chitra_manjun...@infosys.com> wrote:

> Hi All,
>
> I have ESXI 5.1 host. I'm using Management server as NFS server, I created
> the NFS shares(primary and secondary). Now I logged into Hypervisor(VMware)
> host and execute the command "mount -t nfs
> :/export/secondary /secondarymount"  getting mount
> not found error.
>
> Please guide me on how to mount the NFS shares in ESXI 5.1 host.
>
> Thanks & Regards
> Chitra.M
>
>
>  CAUTION - Disclaimer *
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
> for the use of the addressee(s). If you are not the intended recipient,
> please
> notify the sender by e-mail and delete the original message. Further, you
> are not
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken
> every reasonable precaution to minimize this risk, but is not liable for
> any damage
> you may sustain as a result of any virus in this e-mail. You should carry
> out your
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the
> right to monitor and review the content of all messages sent to or from
> this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS End of Disclaimer INFOSYS***
>



-- 
Thank You
Mudhalvan M.M, OCP 8i,9i,10g
Yahoo: oraclemm
MSN: oraclebe...@hotmail.com
http://www.bestremotedba.com