Re: Problems with KVM HA & STONITH

2017-10-27 Thread Ivan Kudryavtsev
Hi. If the node losts nfs host it reboots (acs agent behaviour). If you
really have 3 storages, you'll go clusterwide reboot everytime your host is
down.

28 окт. 2017 г. 3:02 пользователь "Simon Weller" 
написал:

> Hi James,
>
>
> Can you elaborate a bit further on the storage? You say you're running NFS
> on all 3 nodes, can you explain how it is setup?
>
> Also, what version of ACS are you running?
>
>
> - Si
>
>
>
>
> 
> From: McClune, James 
> Sent: Friday, October 27, 2017 2:21 PM
> To: users@cloudstack.apache.org
> Subject: Problems with KVM HA & STONITH
>
> Hello Apache CloudStack Community,
>
> My setup consists of the following:
>
> - Three nodes (NODE1, NODE2, and NODE3)
> NODE1 is running Ubuntu 16.04.3, NODE2 is running Ubuntu 16.04.3, and NODE3
> is running Ubuntu 14.04.5.
> - Management Server (running on separate VM, not in cluster)
>
> The three nodes use KVM as the hypervisor. I also configured primary and
> secondary storage on all three of the nodes. I'm using NFS for the primary
> & secondary storage. VM operations work great. Live migration works great.
>
> However, when a host goes down, the HA functionality does not work at all.
> Instead of spinning up the VM on another available host, the down host
> seems to trigger STONITH. When STONITH happens, all hosts in the cluster go
> down. This not only causes no HA, but also downs perfectly good VM's. I
> have read countless articles and documentation related to this issue. I
> still cannot find a viable solution for this issue. I really want to use
> Apache CloudStack, but cannot implement this in production when STONITH
> happens.
>
> I think I have something misconfigured. I thought I would reach out to the
> CloudStack community and ask for some friendly assistance.
>
> If there is anything (system-wise) you request in order to further
> troubleshoot this issue, please let me know and I'll send. I appreciate any
> help in this issue!
>
> --
>
> Thanks,
>
> James
>


RE: VMware 6.0 or 6.5

2017-10-27 Thread Marty Godsey
No, I am just now getting ready to add my VMware cluster to my zone and wanted 
to know if anyone had any bad experiences.

Regards,
Marty Godsey
Principal Engineer
nSource Solutions, LLC

-Original Message-
From: Rafael Weingärtner [mailto:raf...@autonomiccs.com.br] 
Sent: Friday, October 27, 2017 7:20 PM
To: users@cloudstack.apache.org
Subject: Re: VMware 6.0 or 6.5

I have not seen any. Have you experienced something out of the ordinary?


On 10/27/2017 9:19 PM, Marty Godsey wrote:
> Has anyone seen issues when using in the same zone as XenServer? Different 
> clusters of course..
>
> Regards,
> Marty Godsey
> Principal Engineer
> nSource Solutions, LLC
>
> -Original Message-
> From: Dag Sonstebo [mailto:dag.sonst...@shapeblue.com]
> Sent: Friday, October 27, 2017 11:23 AM
> To: users@cloudstack.apache.org
> Subject: Re: VMware 6.0 or 6.5
>
> Hi Marty,
>
> We use vSphere 6.5 with ACS4.9.3, works a treat, no issues.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 27/10/2017, 15:36, "Marty Godsey"  wrote:
>
>  Hello everyone,
>  
>  What has the experience been with ACS an VMware? I have used XenServer 
> primarily with a spackling of KVM but never VMware. I am quite versed with 
> VMware, just not with ACS.
>  
>  Thoughts, experiences, warnings?
>  
>  Regards,
>  Marty Godsey
>  Principal Engineer
>  nSource Solutions, LLC
>  
>  
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
>
>   
>

-- 
Rafael Weingärtner



Re: VMware 6.0 or 6.5

2017-10-27 Thread Rafael Weingärtner

I have not seen any. Have you experienced something out of the ordinary?


On 10/27/2017 9:19 PM, Marty Godsey wrote:

Has anyone seen issues when using in the same zone as XenServer? Different 
clusters of course..

Regards,
Marty Godsey
Principal Engineer
nSource Solutions, LLC

-Original Message-
From: Dag Sonstebo [mailto:dag.sonst...@shapeblue.com]
Sent: Friday, October 27, 2017 11:23 AM
To: users@cloudstack.apache.org
Subject: Re: VMware 6.0 or 6.5

Hi Marty,

We use vSphere 6.5 with ACS4.9.3, works a treat, no issues.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/10/2017, 15:36, "Marty Godsey"  wrote:

 Hello everyone,
 
 What has the experience been with ACS an VMware? I have used XenServer primarily with a spackling of KVM but never VMware. I am quite versed with VMware, just not with ACS.
 
 Thoughts, experiences, warnings?
 
 Regards,

 Marty Godsey
 Principal Engineer
 nSource Solutions, LLC
 
 



dag.sonst...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
   
  



--
Rafael Weingärtner



RE: VMware 6.0 or 6.5

2017-10-27 Thread Marty Godsey
Has anyone seen issues when using in the same zone as XenServer? Different 
clusters of course..

Regards,
Marty Godsey
Principal Engineer
nSource Solutions, LLC

-Original Message-
From: Dag Sonstebo [mailto:dag.sonst...@shapeblue.com] 
Sent: Friday, October 27, 2017 11:23 AM
To: users@cloudstack.apache.org
Subject: Re: VMware 6.0 or 6.5

Hi Marty,

We use vSphere 6.5 with ACS4.9.3, works a treat, no issues.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/10/2017, 15:36, "Marty Godsey"  wrote:

Hello everyone,

What has the experience been with ACS an VMware? I have used XenServer 
primarily with a spackling of KVM but never VMware. I am quite versed with 
VMware, just not with ACS.

Thoughts, experiences, warnings?

Regards,
Marty Godsey
Principal Engineer
nSource Solutions, LLC




dag.sonst...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
  
 



Re: Problems with KVM HA & STONITH

2017-10-27 Thread Simon Weller
Hi James,


Can you elaborate a bit further on the storage? You say you're running NFS on 
all 3 nodes, can you explain how it is setup?

Also, what version of ACS are you running?


- Si





From: McClune, James 
Sent: Friday, October 27, 2017 2:21 PM
To: users@cloudstack.apache.org
Subject: Problems with KVM HA & STONITH

Hello Apache CloudStack Community,

My setup consists of the following:

- Three nodes (NODE1, NODE2, and NODE3)
NODE1 is running Ubuntu 16.04.3, NODE2 is running Ubuntu 16.04.3, and NODE3
is running Ubuntu 14.04.5.
- Management Server (running on separate VM, not in cluster)

The three nodes use KVM as the hypervisor. I also configured primary and
secondary storage on all three of the nodes. I'm using NFS for the primary
& secondary storage. VM operations work great. Live migration works great.

However, when a host goes down, the HA functionality does not work at all.
Instead of spinning up the VM on another available host, the down host
seems to trigger STONITH. When STONITH happens, all hosts in the cluster go
down. This not only causes no HA, but also downs perfectly good VM's. I
have read countless articles and documentation related to this issue. I
still cannot find a viable solution for this issue. I really want to use
Apache CloudStack, but cannot implement this in production when STONITH
happens.

I think I have something misconfigured. I thought I would reach out to the
CloudStack community and ask for some friendly assistance.

If there is anything (system-wise) you request in order to further
troubleshoot this issue, please let me know and I'll send. I appreciate any
help in this issue!

--

Thanks,

James


Problems with KVM HA & STONITH

2017-10-27 Thread McClune, James
Hello Apache CloudStack Community,

My setup consists of the following:

- Three nodes (NODE1, NODE2, and NODE3)
NODE1 is running Ubuntu 16.04.3, NODE2 is running Ubuntu 16.04.3, and NODE3
is running Ubuntu 14.04.5.
- Management Server (running on separate VM, not in cluster)

The three nodes use KVM as the hypervisor. I also configured primary and
secondary storage on all three of the nodes. I'm using NFS for the primary
& secondary storage. VM operations work great. Live migration works great.

However, when a host goes down, the HA functionality does not work at all.
Instead of spinning up the VM on another available host, the down host
seems to trigger STONITH. When STONITH happens, all hosts in the cluster go
down. This not only causes no HA, but also downs perfectly good VM's. I
have read countless articles and documentation related to this issue. I
still cannot find a viable solution for this issue. I really want to use
Apache CloudStack, but cannot implement this in production when STONITH
happens.

I think I have something misconfigured. I thought I would reach out to the
CloudStack community and ask for some friendly assistance.

If there is anything (system-wise) you request in order to further
troubleshoot this issue, please let me know and I'll send. I appreciate any
help in this issue!

-- 

Thanks,

James


Re: VMware 6.0 or 6.5

2017-10-27 Thread Dag Sonstebo
Hi Marty,

We use vSphere 6.5 with ACS4.9.3, works a treat, no issues.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/10/2017, 15:36, "Marty Godsey"  wrote:

Hello everyone,

What has the experience been with ACS an VMware? I have used XenServer 
primarily with a spackling of KVM but never VMware. I am quite versed with 
VMware, just not with ACS.

Thoughts, experiences, warnings?

Regards,
Marty Godsey
Principal Engineer
nSource Solutions, LLC




dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



VMware 6.0 or 6.5

2017-10-27 Thread Marty Godsey
Hello everyone,

What has the experience been with ACS an VMware? I have used XenServer 
primarily with a spackling of KVM but never VMware. I am quite versed with 
VMware, just not with ACS.

Thoughts, experiences, warnings?

Regards,
Marty Godsey
Principal Engineer
nSource Solutions, LLC



Re: need help on Template and Storage issue

2017-10-27 Thread Rafael Weingärtner
If the zone is enabled, probably there is something wrong. You can take a
look at the log files in /var/log/cloudstack/management/

On Fri, Oct 27, 2017 at 1:25 AM, William Alianto  wrote:

> Hi Rafael,
>
> Although the sytem vm template is ready, there is no system vm shown in
> the infrastructure. Is there anything wrong in the installation process or
> there is some other steps needed to enable the system vm in the
> infrastructure?
>
> --
> Regards,
>
> William
>
>
> On 26-Oct-17 22:52:14, Rafael Weingärtner 
> wrote:
> Under infrastructure dashboard there is an option called system vm
>
> On Thu, Oct 26, 2017 at 1:48 PM, William Alianto wrote:
>
> > I’m not sure about that. How can I check about the status of system vms?
> >
> > --
> > Regards,
> >
> > William
> >
> > > On 26 Oct 2017, at 22.18, Rafael Weingärtner
> > rafaelweingart...@gmail.com> wrote:
> > >
> > > And are the system vms running?
> > >
> > >> On Thu, Oct 26, 2017 at 1:17 PM, William Alianto
> > wrote:
> > >>
> > >> The zone, pod and cluster has been configured, and host added. System
> VM
> > >> template is ready as well.
> > >>
> > >> --
> > >> Regards,
> > >>
> > >> William
> > >>
> > >>> On 26 Oct 2017, at 21.30, Rafael Weingärtner
> > >> rafaelweingart...@gmail.com> wrote:
> > >>>
> > >>> Did you configure the logical divisions Zone, Pode, Cluster and then
> > >> added
> > >>> the host?
> > >>> Are the system VMs running?
> > >>>
> >  On Thu, Oct 26, 2017 at 12:13 PM, William Alianto
> > >> wrote:
> > 
> >  I have installed the management server, and have one KVM hypervisor
> > and
> >  one Storage server with NFS capability. On the dashboard I can see
> > that
> > >> all
> >  of them have been added to the system properly, or it might seems to
> > be,
> >  including the networking. I guess that would be the least minimum
> >  requirement for the initial installation.
> > 
> >  --
> >  Regards,
> > 
> >  William
> > 
> > > On 26 Oct 2017, at 18.03, Rafael Weingärtner
> >  rafaelweingart...@gmail.com> wrote:
> > >
> > > You just installed the management server or did you configure
> > >> everything
> > > else? Apache CloudStack (ACS) is not "just" an application that you
> > > install; you need to check the requirements for the deployment
> design
> > >> you
> > > want, and then you need to configure them. By requirements I mean,
> >  storage,
> > > networking and virtualization systems that need to be set up for
> ACS
> > to
> > > manage and create the cloud abstraction.
> > >
> > >
> > >> On Thu, Oct 26, 2017 at 8:36 AM, William Alianto
> > >
> >  wrote:
> > >>
> > >> Hi,
> > >>
> > >> I'm currently trying to create a Cloudstack for POC purpose,
> before
> > >> heading to development and production. I've been using the
> > >> installation
> > >> guide provided at http://docs.cloudstack.apache.org/projects/
> > >> cloudstack-installation/en/4.9/ [http://docs.cloudstack.
> > >> apache.org/projects/cloudstack-installation/en/4.9/]. I'm using
> > >> CentOS
> > >> 6.9 for the base OS.
> > >>
> > >> After I completed the installation, and running the initial
> setup, I
> > >> encounter some problem. I can't create any instances because
> nothing
> >  shown
> > >> at my templates list. I also tried to add my own template, but I
> got
> > >> "unable to find zone or an image store with enough capacity"
> message
> > >> instead. Seems like the system cannot determine any space
> available
> >  from my
> > >> NFS server. Is there any way to solve this problems, so I can move
> >  further
> > >> in the POC progress?
> > >>
> > >> --
> > >> Regards,
> > >>
> > >> William
> > >
> > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> > 
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Rafael Weingärtner
> > >>
> > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> >
>
>
>
> --
> Rafael Weingärtner
>



-- 
Rafael Weingärtner


Re: cloudstack tomcat 404 error

2017-10-27 Thread Dag Sonstebo
Hi Andrew,

Difficult to tell without seeing your logs – what does 
/var/log/cloudstack/management/management-server.log say? You will see the 
startup errors in there.

Also – my guess is you are running tomcat7? If so remember to run the right 
setup switch: cloudstack-setup-management --tomcat7

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/10/2017, 08:41, "andrew yoo"  wrote:

hi all

I have a question to cloudstack deployment

here is my question

tomcat is running now but 404 not found
mysql and tomcat process is running
try to conect my-ip:8080/client/ by browser but empty

please see this

[root@srvr1 my.cnf.d]# ps -aux | grep tomcat
cloud 8033 2.2 9.8 6013528 778512 ? Ssl 15:49 0:43 /usr/bin/java
-Djava.awt.headless=true -Dcom.sun.management.jmxremote=false -Xmx2g
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M
-XX:MaxPermSize=800m -classpath

/etc/cloudstack/management:/usr/share/cloudstack-common:/usr/share/cloudstack-management/setup:/usr/share/cloudstack-management/bin/bootstrap.jar:/usr/share/cloudstack-management/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
-Dcatalina.base=/usr/share/cloudstack-management
-Dcatalina.home=/usr/share/cloudstack-management -Djava.endorsed.dirs=
-Djava.io.tmpdir=/usr/share/cloudstack-management/temp

-Djava.util.logging.config.file=/usr/share/cloudstack-management/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
org.apache.catalina.startup.Bootstrap start
root 9008 0.0 0.0 116824 1036 pts/0 S+ 16:21 0:00 grep --color=auto tomcat

[root@srvr1 my.cnf.d]# curl -v 192.168.1.31:8080/client/
* About to connect() to 192.168.1.31 port 8080 (#0)
* Trying 192.168.1.31...
* Connected to 192.168.1.31 (192.168.1.31) port 8080 (#0)
> GET /client/ HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 192.168.1.31:8080
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: Apache-Coyote/1.1
< Content-Length: 0
< Date: Fri, 27 Oct 2017 07:22:14 GMT
<
* Connection #0 to host 192.168.1.31 left intact


cloudstack 4.9 at centos 7

thanks in advance

yoo



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



cloudstack tomcat 404 error

2017-10-27 Thread andrew yoo
hi all

I have a question to cloudstack deployment

here is my question

tomcat is running now but 404 not found
mysql and tomcat process is running
try to conect my-ip:8080/client/ by browser but empty

please see this

[root@srvr1 my.cnf.d]# ps -aux | grep tomcat
cloud 8033 2.2 9.8 6013528 778512 ? Ssl 15:49 0:43 /usr/bin/java
-Djava.awt.headless=true -Dcom.sun.management.jmxremote=false -Xmx2g
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M
-XX:MaxPermSize=800m -classpath
/etc/cloudstack/management:/usr/share/cloudstack-common:/usr/share/cloudstack-management/setup:/usr/share/cloudstack-management/bin/bootstrap.jar:/usr/share/cloudstack-management/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
-Dcatalina.base=/usr/share/cloudstack-management
-Dcatalina.home=/usr/share/cloudstack-management -Djava.endorsed.dirs=
-Djava.io.tmpdir=/usr/share/cloudstack-management/temp
-Djava.util.logging.config.file=/usr/share/cloudstack-management/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
org.apache.catalina.startup.Bootstrap start
root 9008 0.0 0.0 116824 1036 pts/0 S+ 16:21 0:00 grep --color=auto tomcat

[root@srvr1 my.cnf.d]# curl -v 192.168.1.31:8080/client/
* About to connect() to 192.168.1.31 port 8080 (#0)
* Trying 192.168.1.31...
* Connected to 192.168.1.31 (192.168.1.31) port 8080 (#0)
> GET /client/ HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 192.168.1.31:8080
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: Apache-Coyote/1.1
< Content-Length: 0
< Date: Fri, 27 Oct 2017 07:22:14 GMT
<
* Connection #0 to host 192.168.1.31 left intact


cloudstack 4.9 at centos 7

thanks in advance

yoo