vCloudLabs GettingStarted, IT
[ Pobierz całość w formacie PDF ] //-->Getting Started with vCloudLabs (Developer Preview)Table of ContentsWelcome to vCloudLabsInstallationsInstalling the vCloudLabs CLI (vmc)Install Spring Soure Toolsuite (STS) vCloudLabs PluginBuild and Deploy ApplicationsDeploy a Ruby App using vCloudLabs CLIDeploy a Java App using vCloudLabs CLIDeploy a Java App using vCloudLabs STS PluginvCloudLabs built-in servicesAdditional InformationvCloudLabs CLI commandsvCloudLabs GemsView application logsvCloudLabs Developer Preview capacity allocationvCloudLabs supportWelcome to vCloudLabsvCloudLabs is a limited developer preview of VMware's Application Platform as a Service (PaaS) solution.Currently vCloudLabs is an invite-only service. You should have received your vCloudLabs email address (your vCloudLabs user name) andtemporary password.If you don't have cerdentials, please email us atvcloudlabs-reg@vmware.comThis document contains a few basic steps to get you started.InstallationsInstalling the vCloudLabs CLI (vmc)vCloudLabs CLI (vmc), is installed using theRubyGems package manager.Make sure Ruby version 1.8.7 or higher is installed on your system. Most Linux and MacOSX installations have Ruby alreadyinstalled, for Windows see theRuby Installer download pageTo install the CLI, run the following console commandMacOSX$ sudo gem install vmcWindows$ gem install vmcConnect to the vCloudLabs cloud$ vmc target api.vcloudlabs.comLogin using the email and password you provide during the registration process$ vmc loginChange your vCloudLabs password$ vmc passwdStart using the CLIUsage: vmc COMMAND [OPTIONS] 'vmc -h' for more informationInstall Spring Soure Toolsuite (STS) vCloudLabs PluginSpring Java developers can use, in addition to the CLI, STS Eclipse-based IDE to connect to the vCloudLabs cloud.Download and install STS,Version 2.5.2, using the following URL:Navigate to Help->Install New SoftwarePaste the following installation target, click "Add" and "Finish"In the "Servers" pane, right-click and select "New Server"Select the VCloudLabs ServerEnter your vCloudLabs email and passwordClick "Validate Credentials" to make sure you can successfully connect to the cloudBuild and Deploy ApplicationsDeploy a Ruby App using vCloudLabs CLIPackage your ruby app in a single directoryIn your console navigate to the directory where the packaged ruby files reside and type:$ vmc pushfollow the CLI promptsDeploy a Java App using vCloudLabs CLIVMforce CLI allows you to deploy application with one commandPackage your canonical Java app to a WAR fileIn your console navigate to the directory where the *.war file reside and type:vmc pushFollow the promptDeploy a Java App using vCloudLabs STS PluginCreate a Spring MVC Template AppDrag the app from the Project view onto the vCloudLabs server iconRight click to startEnter the deployment URL to access your app from any web browserURL structure: MY_APP_NAME.vcloudlabs.comSelect the size of Heap memory that will be allocated to your appClick "Finish" to deploy your app to the cloudvCloudLabs built-in servicesvCloudLabs currently supports the following built-in services (type $vmc services for more information):1.2.3.4.MySqlrelational database serviceRediskey-value store serviceRabbitMQmessaging serviceMongoDBdocument-oriented database serviceFor example, to create a MySQL service named "MyDB" and bind it to "MyApp" type the following command$ vmc create-service mysql --name MyDB --bind MyAppYou can also create and bind services in two separate operations, using $ vmc create-service and $vmc bind-servicecommands.Additional InformationvCloudLabs CLI commandsThe vCloudLabs CLI allows to perform many operations like increase instance count, view log files for any instance, and more.Usage: vmc COMMAND [OPTIONS] 'vmc -h'The following operations are currently available:versionhelp, -haliasesaliastargetinforegisterloginlogoutpasswduserservicescreate-service<service> [--name, --bind]# version# show usage# lists current aliases# create an alias for a commandreports current target or sets the target siteinformationregister and create an accountloginlogoutchange password for current userdisplay current user<alias>[=]<command>[host[:port]]##[--email, --passwd]#[email] [--email, --passwd] ##### list of services available#####create a service instance. we willauto-generate a name if you leave offthe --name flag, if you add the --bindflag with an app name we will also bindthe service to that appdelete-servicebind-serviceunbind-serviceappspush[service]<service> <appname><service> <appname># delete the service# bind service to appname# unbind service from appname# list your appspushstartstoprestartdeleteupdateinstances<appname> [--instances --exec--noframework --url--mem --path--no-start]<appname><appname><appname><appname><appname || --all> [--force]<appname> [--canary]<appname> [num]#########push and start the applicationpush and start the applicationstart the applicationstop the applicationrestart the applicationdelete the applicationupdate the applicationlist instances, scale up or downthe number of instancesmemapplicationcrashescrashlogslogsfilesstatsmapunmap<appname> [memsize]# update the memory reservation for this<appname><appname> [--instance]<appname> [--instance]<appname> [path] [--instance]<appname><appname> <url><appname> <url>#####list recent application crashesdump all the logs for the crashed instancedump all the logs for the instancedirectory listing or file downloadreport resource usage for the application# register the application with the url# unregister the application from the urlvCloudLabs GemsThe following page contains information on the Gems used by vCloudLabsView application logsDisplay all the logs for a specific application instance
[ Pobierz całość w formacie PDF ]
zanotowane.pldoc.pisz.plpdf.pisz.planette.xlx.pl
|
|
|
Tematy
Startunion.getting.high-vh-prod, DOKUMENTALNEunion.getting.high, Komedie (Ganja)ustawa o podatku od towarow i uslug, Studia, FiR, podatkius-maritime-security-2008, Wikileaks, Compleat Wikileaks Archive, MiscupII w13, 7 semestr, Techniki Mikroprocesorowe II, Wykładyutylizacja ditlenku wegla poprzez mineralna karbonatyzacje,urywki ustawy o zapobieganiu zanieczyszczenia morza przez statki, Akademia morska w Szczecinie, eso, V semestruszkodzenia kończyń górnych, Edukacyjnie, T, Technik bezpieczeństwa i higieny pracy, Ratownictwo MedyczneVarsity, Nuty na orkiestrę dętą, Varsity (głosy)uptodate2 wuss plan 070316, Languages, English, Learning, bbc, BBC Radio Learning, words in the news, keep ypur english up to date
zanotowane.pldoc.pisz.plpdf.pisz.plmarja35.pev.pl
|