Re:[SOLVED] Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Jayapal Reddy Uradi
Added SOLVED tag to subject. -Jayapal On 30-Sep-2013, at 9:24 AM, Karan . wrote: > Ok got it. Thanks Rafael and everyone for your time and help > > Regards > Karan Pugla > On 30-Sep-2013 6:51 AM, "Rafael Weingartner" > wrote: > >> Well, I am also not a CS expert. But I have taken a look at t

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
Ok got it. Thanks Rafael and everyone for your time and help Regards Karan Pugla On 30-Sep-2013 6:51 AM, "Rafael Weingartner" wrote: > Well, I am also not a CS expert. But I have taken a look at the CS source > code. > > It seems that the value on the database "cloud.configuration" is used when

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Rafael Weingartner
Well, I am also not a CS expert. But I have taken a look at the CS source code. It seems that the value on the database "cloud.configuration" is used when you have multiple CS servers. That IP address should be the IP of the "master" node. So, when other node goes up they know where to find the ma

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
Thank you so much Rafael. I changed cluster.node.IP to 127.0.0.1 in db.properties and host in cloud.configuration and MS has started now. Can you please explain when one should use interface ip in cluster.node.IP ? What difference it makes when one use 127.0.0.1 instead of real interface ip ? Re

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
Since I am new to cloudstack I started with a basic installation with MS and agent on my laptop. As I get familiar with it I added more hosts(cloudstack-agents) to it. These hosts are at my office. On Mon, Sep 30, 2013 at 2:17 AM, Karan . wrote: > I mean the hosts on which hypervisors are runni

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Rafael Weingartner
Ok, I got it. Even though the managed hosts are on the 192.162.1.0/24 network, you can still use the localhost as the parameter on CS. Since it is just used on CS for management purpose, specially when you have more than one CS Web server deployment. 2013/9/29 Karan . > I mean the hosts on whic

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
I mean the hosts on which hypervisors are running. The cloudstack agents. On Mon, Sep 30, 2013 at 2:15 AM, Rafael Weingartner < rafaelweingart...@gmail.com> wrote: > what do you mean with "manage the agents in office lab"? > > > 2013/9/29 Karan . > > > Thanks Rafael this is one possible solutio

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Rafael Weingartner
what do you mean with "manage the agents in office lab"? 2013/9/29 Karan . > Thanks Rafael this is one possible solution. But this is the complete > scenario I am facing. > When I am at my office I use my laptop(which has MS and agent on it) to > manage the agents in office lab. Now I want tha

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
Thanks Rafael this is one possible solution. But this is the complete scenario I am facing. When I am at my office I use my laptop(which has MS and agent on it) to manage the agents in office lab. Now I want that when I am back at home I can still start the MS on my laptop and tinker around with

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
192.168.1.4 is my CS server ip and yes I can ping it. Currently, I have only one machine in my setup and I have assigned this ip to it and I am running MS as well as agent over it. I would like to know how I can run CLOUDSTACK in a single node setup without being connected to any network and gate

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Rafael Weingartner
Sorry, I haven't read the bottom of your email. But, I believe that when you setup the cloudstack database with the command: "cloudstack-setup-databases" you could use th -i flag with a value like localhost or 127.0.0.1 then you should not have problems. Or if you do not wantto configure everyt

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Rafael Weingartner
better, what is the CS server ip address? 2013/9/29 Rafael Weingartner > from the server that CS is running can you ping this address: 192.168.1.4? > > > 2013/9/29 Karan . > > Hi Marty, >> >> Interface already has static ip assigned to it. In fact, this is how >> cloudstack has configured my /

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Rafael Weingartner
from the server that CS is running can you ping this address: 192.168.1.4? 2013/9/29 Karan . > Hi Marty, > > Interface already has static ip assigned to it. In fact, this is how > cloudstack has configured my /etc/network/interfaces > > auto lo > iface lo inet loopback > > auto eth0 > iface eth

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
Hi Marty, Interface already has static ip assigned to it. In fact, this is how cloudstack has configured my /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet manual auto cloudbr0 iface cloudbr0 inet static bridge_ports eth0 address 192.168.1.4 netmask 255.25

Re: Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Marty Sweet
Hi Karan, Try assigning a static address to the interface then bring it up using ifup. This should in theory not close down the IP address once link has been lost. Hope this helps, Marty On Sun, Sep 29, 2013 at 7:41 PM, Karan . wrote: > Hi > > I'll be giving a short demo on CLOUDSTACK in my o

Management Server does not start when interface cable is unplugged.

2013-09-29 Thread Karan .
Hi I'll be giving a short demo on CLOUDSTACK in my organization and for this I have a very basic setup of Cloudstack 4.1.1 where I am using one laptop as management server as well as agent . Also, I am using basic networking. >From logs I have observed that whenever my network cable is unplugge

Re: Failed to deserialize json object

2013-09-29 Thread Dean Kamali
in my case, I'm getting the same exception, and I couldn't restart systemVms simply because all of my hypervisors are in disconnected state, and I'm unable to remove or reconnect them. I have downloaded new systemvm and registered it as a template, yet, that didn't make any difference. On Sat, S