You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Rajani Karuturi <ra...@apache.org> on 2014/09/02 06:03:05 UTC
Re: ACS in a VMware environment
I think you are hitting this defect
https://issues.apache.org/jira/browse/CLOUDSTACK-6892
The fix is in 4.3.1 and 4.4.1 branches.
As workaround, you can manually update catalina.properties as per the
changes in the fix [1]
[1]
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=client/tomcatconf/catalina.properties.in;h=282892bb763a74b3898c9402423245670f69d546;hp=ce03ff6390b19e21d11c87c68adb7bd07a8c95eb;hb=539db08;hpb=cc913cf0bb7e62b7a216e2de793336e61a49b485
~Rajani
On Thu, Aug 28, 2014 at 7:00 PM, Xerex Bueno <xb...@lpsintegration.com>
wrote:
> So I have found the cause of the problem, can someone explain why? The
> issue is happens when I enable DB HA. Below is the log output
>
> 2014-08-28 08:17:03,792 INFO [c.c.u.d.T.Transaction] (main:null) Is Data
> Base High Availiability enabled? Ans : true
> 2014-08-28 08:17:03,824 INFO [c.c.u.d.T.Transaction] (main:null) The
> slaves configured for Cloud Data base is/are : 10.200.5.14
> 2014-08-28 08:17:03,886 ERROR [c.c.u.d.Merovingian2] (main:null) Unable to
> get a new db connection
> java.sql.SQLException: Invalid load balancing strategy
> 'com.cloud.utils.db.StaticStrategy'.
>
>
>
>
>
> On 8/28/14, 8:17 AM, "Xerex Bueno" <xb...@LPSIntegration.COM> wrote:
>
> >I must be missing something. So I am installing this on a CentOS 6.5
> >fully patched server that is configured as a basic server. Here are the
> >steps I take when installing ACS.
> >
> >1. Extract the RPMs and run ‘createrepo’
> >2. Create the .repo, and run yum install cloudstack-management
> >3. Run setenforce 0
> >4. Run cloudstack-setup-databases cloud:password@‘DB Server IP’
> >―deploy-as=root:password -k key -m key
> >5. Run cloudstack-setup-management
> >6. Connect secondary storage and run
> >/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-t
> >m
> >plt -m /mnt/secondary -u
> >
> http://download.cloud.com/templates/4.3/systemvm64template-2014-06-23-mast
> >e
> >r-vmware.ova -h vmware -s key
> >7. Try to connect to http://'ip':8080/client
> >
> >At this point it doesn’t matter how long I wait the management interface
> >never comes up. What am I missing?
> >
> >
> >
> >
> >
> >
> >On 8/28/14, 3:06 AM, "ilya musayev" <il...@gmail.com> wrote:
> >
> >>Xerex
> >>
> >>I've just rebuild cloudstack. I had no issues with this build. no 404s.
> >>
> >>
> http://download.cloudsand.com/cloudsand/rhel/6/x86_64/cloudstack-4.3.0.1-
> >>0
> >>8282014.rpm.tgz
> >>
> >>Regards
> >>ilya
> >>On 8/27/14, 2:31 PM, Xerex Bueno wrote:
> >>> Ilya,
> >>>
> >>> I have installed from the packages you provided. However I am running
> >>> into a 404 error when I try and access the Web UI. Have you
> >>>experienced
> >>> this issue?
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On 8/20/14, 10:23 AM, "Xerex Bueno" <xb...@LPSIntegration.COM> wrote:
> >>>
> >>>> Thanks for the info and the link. I will give it a shot.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On 8/19/14, 3:46 PM, "ilya musayev" <il...@gmail.com>
> >>>>wrote:
> >>>>
> >>>>> Xerex,
> >>>>>
> >>>>> Dont use forward branch, you need to use 4.3 under "heads".
> >>>>>
> >>>>> example: git checkout remotes/origin/4.3
> >>>>>
> >>>>> 16 servers is rather small. I've just completed a rebuild of 4.3.0.1
> >>>> >from source (includes noredist packages).
> >>>>>
> >>>>>
> http://download.cloudsand.com/cloudsand/rhel/6/x86_64/cloudstack-4.3.0
> >>>>>.
> >>>>>1-
> >>>>> 0
> >>>>> 8192014.rpm.tgz
> >>>>>
> >>>>> There are few patches that help with vmware connection pool/threads,
> >>>>> they haven't been committed yet by Citrix dev.
> >>>>>
> >>>>> I have many smaller environments and i would not see any issues there
> >>>>> without the mentioned fix. However, in larger environments where
> >>>>> hypervisor count goes into hundreds, this issue will be more
> >>>>>prominent.
> >>>>>
> >>>>> Regards
> >>>>> ilya
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 8/18/14, 7:36 PM, Xerex Bueno wrote:
> >>>>>> It is going to start with a max of 16 servers and I don¹t see it
> >>>>>> utilizing
> >>>>>> more then four servers to start with. As for the 4.3.1 source code,
> >>>>>>is
> >>>>>> that under Github 4.3.0 forward? Also do I still need to compile it
> >>>>>> with
> >>>>>> -NoRedist and the vmware .jar files?
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On 8/18/14, 3:27 PM, "ilya musayev" <il...@gmail.com>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Xerex
> >>>>>>>
> >>>>>>> You want the latest 4.3.0.1 (aka 4.3.1), build it from source.
> >>>>>>>There
> >>>>>>> are
> >>>>>>> few patches that haven't been committed upstream yet, but they
> >>>>>>>address
> >>>>>>> a
> >>>>>>> specific issue witnessed only on large vmware envs.
> >>>>>>>
> >>>>>>> Depending on how large is your environment, you may want to tweak
> >>>>>>>the
> >>>>>>> java heap size and additional settings limit.conf
> >>>>>>>
> >>>>>>> What size of env do you have in mind?
> >>>>>>>
> >>>>>>> Regards
> >>>>>>> ilya
> >>>>>>>
> >>>>>>> On 8/18/14, 9:40 AM, Xerex Bueno wrote:
> >>>>>>>> My question for the group is I want to deploy a very stable
> >>>>>>>>version
> >>>>>>>> of
> >>>>>>>> ACS into an environment running Vmware with standard vSwitches.
> >>>>>>>>What
> >>>>>>>> version would you recommend?
> >>>>>>>>
> >>>>>>>> ________________________________
> >>>>>>>>
> >>>>>>>> This document is PROPRIETARY and CONFIDENTIAL and may not be
> >>>>>>>> duplicated, redistributed, or displayed to any other party without
> >>>>>>>> the
> >>>>>>>> expressed written permission of LPS Integration, Inc. If you are
> >>>>>>>>not
> >>>>>>>> the
> >>>>>>>> intended recipient and have received this email in error, please
> >>>>>>>> destroy
> >>>>>>>> the email and contact the LPS Integration Security Officer at
> >>>>>>>> 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd.
> >>>>>>>> Suite
> >>>>>>>> 218 Nashville, TN 37228 (US Mail)
> >>>>>>>>
> >>>>>>>>
> >>>>>> ________________________________
> >>>>>>
> >>>>>> This document is PROPRIETARY and CONFIDENTIAL and may not be
> >>>>>> duplicated, redistributed, or displayed to any other party without
> >>>>>>the
> >>>>>> expressed written permission of LPS Integration, Inc. If you are not
> >>>>>>the
> >>>>>> intended recipient and have received this email in error, please
> >>>>>>destroy
> >>>>>> the email and contact the LPS Integration Security Officer at
> >>>>>> 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd.
> >>>>>>Suite
> >>>>>> 218 Nashville, TN 37228 (US Mail)
> >>>>>>
> >>>>
> >>>> ________________________________
> >>>>
> >>>> This document is PROPRIETARY and CONFIDENTIAL and may not be
> >>>>duplicated,
> >>>> redistributed, or displayed to any other party without the expressed
> >>>> written permission of LPS Integration, Inc. If you are not the
> >>>>intended
> >>>> recipient and have received this email in error, please destroy the
> >>>>email
> >>>> and contact the LPS Integration Security Officer at 866-577-2902
> >>>>(Phone),
> >>>> 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN
> >>>>37228
> >>>> (US Mail)
> >>>>
> >>>
> >>> ________________________________
> >>>
> >>> This document is PROPRIETARY and CONFIDENTIAL and may not be
> >>>duplicated, redistributed, or displayed to any other party without the
> >>>expressed written permission of LPS Integration, Inc. If you are not the
> >>>intended recipient and have received this email in error, please destroy
> >>>the email and contact the LPS Integration Security Officer at
> >>>866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite
> >>>218 Nashville, TN 37228 (US Mail)
> >>>
> >>
> >
> >
> >________________________________
> >
> >This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated,
> >redistributed, or displayed to any other party without the expressed
> >written permission of LPS Integration, Inc. If you are not the intended
> >recipient and have received this email in error, please destroy the email
> >and contact the LPS Integration Security Officer at 866-577-2902 (Phone),
> >615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228
> >(US Mail)
> >
>
>
> ________________________________
>
> This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated,
> redistributed, or displayed to any other party without the expressed
> written permission of LPS Integration, Inc. If you are not the intended
> recipient and have received this email in error, please destroy the email
> and contact the LPS Integration Security Officer at 866-577-2902 (Phone),
> 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228
> (US Mail)
>
>
Re: ACS in a VMware environment
Posted by Damoder Reddy <Da...@citrix.com>.
Or simply disable the db ha in "/etc/cloudstack/management/db.properties” if you really not required, till you upgrade to the next version.
On 02-Sep-2014, at 9:33 am, Rajani Karuturi <ra...@apache.org> wrote:
> I think you are hitting this defect
> https://issues.apache.org/jira/browse/CLOUDSTACK-6892
> The fix is in 4.3.1 and 4.4.1 branches.
> As workaround, you can manually update catalina.properties as per the
> changes in the fix [1]
>
> [1]
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=client/tomcatconf/catalina.properties.in;h=282892bb763a74b3898c9402423245670f69d546;hp=ce03ff6390b19e21d11c87c68adb7bd07a8c95eb;hb=539db08;hpb=cc913cf0bb7e62b7a216e2de793336e61a49b485
>
>
> ~Rajani
>
>
> On Thu, Aug 28, 2014 at 7:00 PM, Xerex Bueno <xb...@lpsintegration.com>
> wrote:
>
>> So I have found the cause of the problem, can someone explain why? The
>> issue is happens when I enable DB HA. Below is the log output
>>
>> 2014-08-28 08:17:03,792 INFO [c.c.u.d.T.Transaction] (main:null) Is Data
>> Base High Availiability enabled? Ans : true
>> 2014-08-28 08:17:03,824 INFO [c.c.u.d.T.Transaction] (main:null) The
>> slaves configured for Cloud Data base is/are : 10.200.5.14
>> 2014-08-28 08:17:03,886 ERROR [c.c.u.d.Merovingian2] (main:null) Unable to
>> get a new db connection
>> java.sql.SQLException: Invalid load balancing strategy
>> 'com.cloud.utils.db.StaticStrategy'.
>>
>>
>>
>>
>>
>> On 8/28/14, 8:17 AM, "Xerex Bueno" <xb...@LPSIntegration.COM> wrote:
>>
>>> I must be missing something. So I am installing this on a CentOS 6.5
>>> fully patched server that is configured as a basic server. Here are the
>>> steps I take when installing ACS.
>>>
>>> 1. Extract the RPMs and run ‘createrepo’
>>> 2. Create the .repo, and run yum install cloudstack-management
>>> 3. Run setenforce 0
>>> 4. Run cloudstack-setup-databases cloud:password@‘DB Server IP’
>>> ―deploy-as=root:password -k key -m key
>>> 5. Run cloudstack-setup-management
>>> 6. Connect secondary storage and run
>>> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-t
>>> m
>>> plt -m /mnt/secondary -u
>>>
>> http://download.cloud.com/templates/4.3/systemvm64template-2014-06-23-mast
>>> e
>>> r-vmware.ova -h vmware -s key
>>> 7. Try to connect to http://'ip':8080/client
>>>
>>> At this point it doesn’t matter how long I wait the management interface
>>> never comes up. What am I missing?
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 8/28/14, 3:06 AM, "ilya musayev" <il...@gmail.com> wrote:
>>>
>>>> Xerex
>>>>
>>>> I've just rebuild cloudstack. I had no issues with this build. no 404s.
>>>>
>>>>
>> http://download.cloudsand.com/cloudsand/rhel/6/x86_64/cloudstack-4.3.0.1-
>>>> 0
>>>> 8282014.rpm.tgz
>>>>
>>>> Regards
>>>> ilya
>>>> On 8/27/14, 2:31 PM, Xerex Bueno wrote:
>>>>> Ilya,
>>>>>
>>>>> I have installed from the packages you provided. However I am running
>>>>> into a 404 error when I try and access the Web UI. Have you
>>>>> experienced
>>>>> this issue?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 8/20/14, 10:23 AM, "Xerex Bueno" <xb...@LPSIntegration.COM> wrote:
>>>>>
>>>>>> Thanks for the info and the link. I will give it a shot.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 8/19/14, 3:46 PM, "ilya musayev" <il...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Xerex,
>>>>>>>
>>>>>>> Dont use forward branch, you need to use 4.3 under "heads".
>>>>>>>
>>>>>>> example: git checkout remotes/origin/4.3
>>>>>>>
>>>>>>> 16 servers is rather small. I've just completed a rebuild of 4.3.0.1
>>>>>>> from source (includes noredist packages).
>>>>>>>
>>>>>>>
>> http://download.cloudsand.com/cloudsand/rhel/6/x86_64/cloudstack-4.3.0
>>>>>>> .
>>>>>>> 1-
>>>>>>> 0
>>>>>>> 8192014.rpm.tgz
>>>>>>>
>>>>>>> There are few patches that help with vmware connection pool/threads,
>>>>>>> they haven't been committed yet by Citrix dev.
>>>>>>>
>>>>>>> I have many smaller environments and i would not see any issues there
>>>>>>> without the mentioned fix. However, in larger environments where
>>>>>>> hypervisor count goes into hundreds, this issue will be more
>>>>>>> prominent.
>>>>>>>
>>>>>>> Regards
>>>>>>> ilya
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 8/18/14, 7:36 PM, Xerex Bueno wrote:
>>>>>>>> It is going to start with a max of 16 servers and I don¹t see it
>>>>>>>> utilizing
>>>>>>>> more then four servers to start with. As for the 4.3.1 source code,
>>>>>>>> is
>>>>>>>> that under Github 4.3.0 forward? Also do I still need to compile it
>>>>>>>> with
>>>>>>>> -NoRedist and the vmware .jar files?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 8/18/14, 3:27 PM, "ilya musayev" <il...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Xerex
>>>>>>>>>
>>>>>>>>> You want the latest 4.3.0.1 (aka 4.3.1), build it from source.
>>>>>>>>> There
>>>>>>>>> are
>>>>>>>>> few patches that haven't been committed upstream yet, but they
>>>>>>>>> address
>>>>>>>>> a
>>>>>>>>> specific issue witnessed only on large vmware envs.
>>>>>>>>>
>>>>>>>>> Depending on how large is your environment, you may want to tweak
>>>>>>>>> the
>>>>>>>>> java heap size and additional settings limit.conf
>>>>>>>>>
>>>>>>>>> What size of env do you have in mind?
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> ilya
>>>>>>>>>
>>>>>>>>> On 8/18/14, 9:40 AM, Xerex Bueno wrote:
>>>>>>>>>> My question for the group is I want to deploy a very stable
>>>>>>>>>> version
>>>>>>>>>> of
>>>>>>>>>> ACS into an environment running Vmware with standard vSwitches.
>>>>>>>>>> What
>>>>>>>>>> version would you recommend?
>>>>>>>>>>
>>>>>>>>>> ________________________________
>>>>>>>>>>
>>>>>>>>>> This document is PROPRIETARY and CONFIDENTIAL and may not be
>>>>>>>>>> duplicated, redistributed, or displayed to any other party without
>>>>>>>>>> the
>>>>>>>>>> expressed written permission of LPS Integration, Inc. If you are
>>>>>>>>>> not
>>>>>>>>>> the
>>>>>>>>>> intended recipient and have received this email in error, please
>>>>>>>>>> destroy
>>>>>>>>>> the email and contact the LPS Integration Security Officer at
>>>>>>>>>> 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd.
>>>>>>>>>> Suite
>>>>>>>>>> 218 Nashville, TN 37228 (US Mail)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> ________________________________
>>>>>>>>
>>>>>>>> This document is PROPRIETARY and CONFIDENTIAL and may not be
>>>>>>>> duplicated, redistributed, or displayed to any other party without
>>>>>>>> the
>>>>>>>> expressed written permission of LPS Integration, Inc. If you are not
>>>>>>>> the
>>>>>>>> intended recipient and have received this email in error, please
>>>>>>>> destroy
>>>>>>>> the email and contact the LPS Integration Security Officer at
>>>>>>>> 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd.
>>>>>>>> Suite
>>>>>>>> 218 Nashville, TN 37228 (US Mail)
>>>>>>>>
>>>>>>
>>>>>> ________________________________
>>>>>>
>>>>>> This document is PROPRIETARY and CONFIDENTIAL and may not be
>>>>>> duplicated,
>>>>>> redistributed, or displayed to any other party without the expressed
>>>>>> written permission of LPS Integration, Inc. If you are not the
>>>>>> intended
>>>>>> recipient and have received this email in error, please destroy the
>>>>>> email
>>>>>> and contact the LPS Integration Security Officer at 866-577-2902
>>>>>> (Phone),
>>>>>> 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN
>>>>>> 37228
>>>>>> (US Mail)
>>>>>>
>>>>>
>>>>> ________________________________
>>>>>
>>>>> This document is PROPRIETARY and CONFIDENTIAL and may not be
>>>>> duplicated, redistributed, or displayed to any other party without the
>>>>> expressed written permission of LPS Integration, Inc. If you are not the
>>>>> intended recipient and have received this email in error, please destroy
>>>>> the email and contact the LPS Integration Security Officer at
>>>>> 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite
>>>>> 218 Nashville, TN 37228 (US Mail)
>>>>>
>>>>
>>>
>>>
>>> ________________________________
>>>
>>> This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated,
>>> redistributed, or displayed to any other party without the expressed
>>> written permission of LPS Integration, Inc. If you are not the intended
>>> recipient and have received this email in error, please destroy the email
>>> and contact the LPS Integration Security Officer at 866-577-2902 (Phone),
>>> 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228
>>> (US Mail)
>>>
>>
>>
>> ________________________________
>>
>> This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated,
>> redistributed, or displayed to any other party without the expressed
>> written permission of LPS Integration, Inc. If you are not the intended
>> recipient and have received this email in error, please destroy the email
>> and contact the LPS Integration Security Officer at 866-577-2902 (Phone),
>> 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228
>> (US Mail)
>>
>>