Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D24DA10366 for ; Wed, 19 Jun 2013 14:54:10 +0000 (UTC) Received: (qmail 67760 invoked by uid 500); 19 Jun 2013 14:54:07 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 67626 invoked by uid 500); 19 Jun 2013 14:54:07 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 67528 invoked by uid 99); 19 Jun 2013 14:54:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 14:54:06 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of menghan@ufl.edu designates 128.227.74.218 as permitted sender) Received: from [128.227.74.218] (HELO smtp.ufl.edu) (128.227.74.218) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 14:53:59 +0000 X-UFL-GatorLink-Authenticated: authenticated as glwm-service () with LOGIN from 10.241.70.47 Received: from webmail.ufl.edu (webmail-prod05.osg.ufl.edu [10.241.70.47]) (authenticated bits=0) by smtp.ufl.edu (8.13.8/8.13.8/3.0.0) with ESMTP id r5JErbOd018528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 19 Jun 2013 10:53:37 -0400 Received: from [10.244.18.181] by webmail.ufl.edu with HTTP (HTTP/1.1 POST); Wed, 19 Jun 2013 10:53:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 19 Jun 2013 10:53:37 -0400 From: "Han,Meng" To: Subject: Re: [GSOC]CloudStack deployment questions In-Reply-To: <20130619050022.GB2395@cloud-2.local> References: <20130619050022.GB2395@cloud-2.local> Message-ID: X-Sender: menghan@ufl.edu (menghan) User-Agent: Roundcube Webmail/0.5.2 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-06-19_05:2013-06-19,2013-06-19,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1306190117 X-Spam-Level: * X-UFL-Spam-Level: * X-Virus-Checked: Checked by ClamAV on apache.org Thank you very much for your reply! On Wed, 19 Jun 2013 10:30:22 +0530, Prasanna Santhanam wrote: > On Tue, Jun 18, 2013 at 10:45:27PM -0400, Han,Meng wrote: >> Hi all, >> >> I have a few questions about CloudStack deployment. >> >> 1. I am trying to deploy CloudStack, use CloudStack to start a >> cluster and run hadoop on it. Now I have only one computer with >> virtulization extension support in hardware and the OS is ubuntu >> 12.04. > > I'm no hadoop person but if you require large swaths of storage you > are going to use I imagine that will be external to your development > environment. Is this true? Testing the well functionality of hadoop might need large storage as hadoop is designed for big data:) But at this moment I am not quite sure what exactly need to be tailored for hadoop case. I will come back to this as soon as I figured it out. > >> >> what would be a good deployment suit? >> >> Devcloud? It seems like the tiny linux guest VM in devcloud won't be >> sufficient to play with hadoop. > > You can register a VM of your choice in devcloud from the UI. If > devcloud is unsuitable, tell us what is missing and we can see if it > can be tailored to fit your use case. > >> >> Install Xenserver on my desktop, using one VM as the management >> server and other VMs as guest VMs. >> >> Install management server on my ubuntu desktop. Using KVM to >> provision guest VMs. This is the guide I found for this solution: >> >> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Quick_Install_Guide/index.html >> >> Or anything else? >> > > You can run all the management server code from your laptop as a > development environment and add an external hypervisor host (Either > Xen/KVM) to it. The guests, system VMs etc will then be deployed on > your host and not eat up any memory on your laptop. Management server > does require quite a bit of memory to run and having Hypervisor + > Management server + storage + kitchen sink will slow it down (unless > you just need devcloud). I will add another hypervisor host. Is there any network requirement for the management server and hypervisor host? May I know how does the management server know the hypervisor host and include it to its management? > >> >> 2. When I try to deploy management server on my desktop. I >> encountered below error when running the command "mvn -P developer >> -pl developer,tools/devcloud -Ddeploydb" in this tutorial: >> https://cwiki.apache.org/CLOUDSTACK/devcloud.html > > Did mvn -Pdeveloper -Dsystevm clean install succeed for you? Yes, this step works for me. > >> >> >> ========> WARNING: Provided file does not exist: >> /home/meng/cloudstack/developer/../utils/conf/db.properties.override >> ========> Initializing database=cloud with host=localhost port=3306 >> username=cloud password=cloud >> ============> Running query: drop database if exists `cloud` >> SQL exception in trying initDB: java.sql.SQLException: Access denied >> for user 'root'@'localhost' (using password: NO) >> > Does your mysql instance have a root password? If so you'll have to > put that into db.properties.override file under utils/conf. > > I see the wiki(s) are missing this info, so we'll need to edit that > with this step if it works for you. > I create a file named db.properties.override under utils/conf. Put my root password inside it and it works! > let us know. > >> >> I am running the mvn command as root. Mysql is setup locally. >> >> The command "mvn -pl :cloud-client-ui jetty:run" gives me a error:[INFO] Couldn't find specified project dir: /home/meng/cloudstack/:cloud-client-ui I notice that there is no cloud-client-ui directory under cloudstack. So I switched to "mvn -pl client jetty:run", however it told me the maven-jetty-plugin does not exist. [INFO] Searching repository for plugin with prefix: 'jetty'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found Any light on this? Thanks!