The following examples describe typical application provisioning commands:
app provision VPS_CentOS50_r1 gs_cust12 \ hostname=gs_cust12 primary_ip=209.100.100.12 \ netmask=255.255.255.0 gateway=209.100.100.1 \ dns1=209.101.1.2 dns=209.102.1.2 \ user=user12 user_pw=K2RX9Jx5 root_pw=17bWvuMG \ cpu.dflt=0.10 mem.dflt=256M GSC.boot.size=20G \ .user1=Customer12 .user2=RatePlan2 \ .description="grid server for customer #12"
app provision SugarCRM? _r1 sugar_1 user_ip=209.100.100.11 admin_ip=209.100.100.12 \ netmask=255.255.255.0 gateway=209.100.100.1 \ dns1=209.101.1.2 dns=209.102.1.2 \ mail_server=mail@mycompany.com \ cpu.dflt=4.0 mem.dflt=1G code.size=512M data.size=1G \ config.size=256M logs.size=64M \ .user1=Customer1 .user2=RatePlan5 \ .description="SugarCRM hosing for customer #1"
app provision TWiki_r1 twiki_1 user_ip=209.100.100.11 admin_ip=209.100.100.12 \ netmask=255.255.255.0 gateway=209.100.100.1 \ dns1=209.101.1.2 dns=209.102.1.2 \ mail_server=mail@mycompany.com \ cpu.dflt=1.0 mem.dflt=256M data.size=512M twiki.size=512M \ .user1=Customer1 .user2=RatePlan5 \ .description="TWiki hosing for customer #1"
Note: The app provision command starts the application. If you want to provision the application without starting it for example, to prepare ready instances but not start them), add the --skipstart option at the end of the app provision command line. See the Command Line Shell Reference guide for all options of this command.
|
Copyright © 2011 CA.
All rights reserved.
|
|