Copyright © 2011 Power‐All Networks Limited Aspen Cloud Server Management Console Management of Cloud Server Resources Power‐All Networks Ltd. User Guide June 2011, version 1.1.1
2. Initial Setting (continued) There are three folders need to mounted from CMS. Mounted As Server Name Share Name Login Name Password
/vm/template CMS_IP template nobody cloudadmin
/vm/customer‐template CMS_IP customer‐template nobody cloudadmin
/vm/idc‐template CMS_IP idc‐template nobody cloudadmin
3.4 Fill correct information according to above table and then click “Save and Mount”
2. Initial Setting (continued) DHCP Setup The network configuration of VMs should be managed by DHCP Server. All MAC Address should be specified when creating VM. Below is a procedure of setting up the DHCP Server for assigning network information to VMs with MAC Address.
2. Initial Setting (continued) STEP 3 Edit the following lines based on the network environment and click Save when complete. Remark: Please make sure the server is UP or Re‐start after edit the configure file 1. Edit the DNS IP of network, these values will be assigned to VM
# The following line set your DNS IP address: option domain-name-servers 8.8.8.8, 9.9.9.9; 2. Edit the Dummy configure, the IP / subnet setting will be same as the network of the cserver host. ############################
## Assume eth0 of this server (host server) with IP 192.168.11.1/24, gateway (router) 192.168.11.1
############################
Copyright © 2011 Power‐All Networks Limited
subnet 192.168.11.0 netmask 255.255.255.0 { authoritative;
option routers 192.168.11.1; host 192.168.11.100 {
option host-name "dummy.localdomain"; option routers 192.168.11.1; deny client-updates; deny unknown-clients; hardware ethernet 11:11:11:22:22:22; fixed-address 192.168.11.100; } } 3. Edit the VM IP, subnet, Gateway and MAC address ############################ ## Private IP example
## Assume VM 1 with IP 192.168.0.11/24, gateway (router) 192.168.0.1, MAC address (hardware ethernet): 00:16:3e:6a:6b:22
############################ # VM 1 subnet 192.168.0.0 netmask 255.255.255.0 { authoritative; option routers 192.168.0.1; host 192.168.0.11 {
option host-name "00:16:3e:6a:6b:22-icp.localdomain"; option routers 192.168.0.1;
deny client-updates; deny unknown-clients;
2. Getting Started
Cloud management Console
4.1. Introduction to IDC Operation Console – Host Management (continued) Below are the descriptions for field use in host register. Label Name Descriptions Rack Label Label that paste in the physical server, it should be the same as the server name. City City where the host is located. Server Mode Can by Hybrid or Host mode IDC The idc where the host is located. Zone IDC can have several different zones. Select a zone if users need to assign the host to specific zone. If not select, host will place in default zone API URL The api server's url link. IP Address IP Address for the host. Host Name Host Name for the newly added host Host Description User's description for the host. Max. VM# Maximum number of vm that can be assigned to this host. The number of max vm must be greater than that of used vm. Used VM The number of vm have been used in host. Physical RAM Size The total ram size for the host.
Copyright © 2011 Power‐All Networks Limited 4.1. Introduction to IDC Operation Console – Host Management (continued) STEP 4 Click “SUBMIT” button and confirm the registration. STEP 5 After registration success, it will show message “Add VM Host Success” in the screen. Section 2: Config the new cloud server host ( Xen host ) STEP 1 Open the host config URL, ie: http://[xen ip]/sys_config.php. STEP 2 Configure the "Portal URL" and "Administration Console URL" with the CMS's IP.
Copyright © 2011 Power‐All Networks Limited
4.1. Introduction to IDC Operation Console – Cloud Server Management (continued)
Table summary the available functions for different vm status:
Subscription Status Enabled Available Functions
All YES / NO Edit / Verify
Available YES Assign VM
Subscribed YES/ NO Terminate
Build Template Suspend VM Start Soft Reboot Hard Reboot Soft Shutdown Hard Shutdown VM Suspend ‐‐‐‐ Reactivate VM
Subscribed YES Assign Parts
Remove Parts Available / Terminated YES / NO Refill
Terminated YES / NO Remove
Refill Timeout YES / NO Restart Refill
4.1. Introduction to IDC Operation Console – Template Management (continued) Template Registration STEP 1 To register a template, click “REGISTER” in the browsing page. It will then direct to the register page. STEP 2 Input the template information. Fill in Template Description, Image Filename, Config Filename, etc… (ie: Image Filename: Centos5.4.img; Config Filename: Centos5.4.xml)
4.1. Introduction to IDC Operation Console – IDC Maintenance (continued)
Copyright © 2011 Power‐All Networks Limited
4.1. Introduction to IDC Operation Console – Partner Management (continued)
Copyright © 2011 Power‐All Networks Limited
Copyright © 2011 Power‐All Networks Limited
Copyright © 2011 Power‐All Networks Limited 7. FAQ 7. Password Recovery Script Objective Configure the password recovery program which can change password for new template Supported Platform Windows and Linux Resource location http://www.cloudwww.com/resources.php Procedures [Linux] 1. Depends on what OS you ready to setup and prepare related file. ‐ config.properties ‐ GetPasswordGen.class ‐ PasswordGen.class 2. Copy files to specified folder below.
Copy files to /usr/local/cserver (if not exists, create “cserver”)
3. Use any text editor to open the file, config.properties. Content of the file
apiURL=http://[YOUR_IP]:10007/api/
chkVersionFileName=chkVersion.php getPasswordFileName=getPassword.php You only edit the red area i.e. [YOUR_IP] Following is the sample apiURL= http://192.168.10.1:10007/api/ chkVersionFileName=chkVersion.php getPasswordFileName=getPassword.php
Here, 192.168.10.1 is the IP of CMS. Except the red area ([YOUR_IP]), don’t edit other config.
Caution: End of the URL MUST have a “/” on it. Otherwise, error would occur when the program runs.
7. Password Recovery Script (continued) 4. Create a new file named “password_recovery.sh” Copy and paste the following command into password_recovery.sh cd /usr/local/cserver /usr/bin/java GetPasswordGen Save and exit after modify the file Change the owner of password_recovery.sh chown 755 /usr/local/cserver/password_recovery.sh 5. Edit open text editor and edit file rc.local Add the follow command to rc.local
/usr/local/cserver/*.sh
Save and exit after modify the file
6. Finish all the steps above can make your template enable the password recover function and will use the password from web console on next bootup.
Copyright © 2011 Power‐All Networks Limited 7. Password Recovery Script (continued) Procedures [Windows] 1. Depends on what OS you ready to setup and prepare related file. ‐ config.properties ‐ GetPasswordGen.vbs ‐ PasswordGen.vbs 2. Copy files to specified folder below. Copy files to C:/WINDOWS/system32 3. Use any text editor to open the file, config.properties Content of the file
apiURL=http://[YOUR_IP]:10007/api/
chkVersionFileName=chkVersion.php getPasswordFileName=getPassword.php You only edit the red area i.e. [YOUR_IP] Following is the sample apiURL= http://192.168.10.1:10007/api/ chkVersionFileName=chkVersion.php getPasswordFileName=getPassword.php
Here, 192.168.10.1 is the IP of your IDC portal. Except the red area ([YOUR_IP]), don’t edit other config.