Promise Technology

VSkyCube - NAS Promise Technology - Free user manual and instructions

Find the device manual for free VSkyCube Promise Technology in PDF.

📄 181 pages English EN Download 💬 AI Question 10 questions ⚙️ Specs
Notice Promise Technology VSkyCube - page 6
Pick your language and provide your email: we'll send you a specifically translated version.
Product Type Hyper-converged infrastructure (NAS, compute, storage, networking)
Management Web-based VSkyView management portal (HTTPS, port 443); default credentials admin/admin
Virtualization KVM-based; supports launching instances (VMs) from images, volumes, or ISO; live migration supported
Storage Software-defined storage; RAIN datastores for fault tolerance; supports volume and snapshot management
Networking Built-in virtual switch; supports internal/external networks, routers, load balancers, floating IPs
High Availability Cluster HA with VIP arbiter; automatic instance migration; node roles: VIP Controller, Controller, Worker
Security User management; security groups (firewall rules); SSH key pairs; HTTPS access
Scalability Scale out by adding nodes one at a time; supports up to multiple nodes in a cluster
Monitoring Node, instance, and datastore monitoring; event logs and email alerts
Upgrade Cluster (VSkyCube) and portal (VSkyView) upgrades via web interface; minor upgrades live
Orchestration Heat-compatible; supports AWS CloudFormation and HOT templates for stack deployment
Dimensions (estimated) Standard 1U rackmount form factor (approx. 44.5 x 43.5 x 4.3 cm)
Weight (estimated) Approximately 10-15 kg depending on configuration
Power Supply (estimated) Dual redundant hot-swappable; typical 300-500W per unit

Frequently Asked Questions - VSkyCube Promise Technology

What is the default login for VSkyView?
The default username is admin and password is admin. Change immediately after first login.
How do I find the IP address of a VSkyCube host?
Connect a keyboard and monitor to the host, log in with username promise and password promisepromise, then run the ifconfig command. The IP is shown after 'inet addr:' on the 10GbE LAN port.
Can I add more nodes to an existing cluster?
Yes, you can add nodes one at a time using the 'Add Hosts to Cluster' option in VSkyView. The new node must be on the same subnet and have the OS installed.
How does high availability work?
HA requires at least two controller nodes. A VIP (Virtual IP) is used. If the VIP controller fails, VIP is transferred to another controller. Instances on failed nodes are automatically migrated.
What disk formats are supported for VM images?
Supported formats include QCOW2, VDI, VHD, VMDK, ISO, AMI, AKI, and ARI. For AMI, also upload the corresponding kernel (AKI) and ramdisk (ARI) images.
How to troubleshoot a node deployment timeout?
Check network connectivity between the node and VSkyView. Wait for disk formatting to complete, then use 'Retry Failed Hosts' in VSkyView.
Can I migrate a running VM to another node?
Yes, live migration is supported for instances booted from a volume. Use the 'Live Migrate' action. For image-booted instances, use 'Migrate' (non-live).
How to collect cluster logs for support?
Log in to a controller node via SSH (promise/promisepromise) and run the collect_log command. Plug in a USB disk to save the logs.
What is the purpose of an application in VSkyCube?
An application is a service project with its own resource quota. It groups VMs, networks, and storage for a specific service like file sharing or mail server.
How to reset a node to factory defaults?
Use the 'Delete Node' action in VSkyView with the 'Force Delete' option. The node will reboot and reset to manufacturer settings. All data on that node will be erased.

User questions about VSkyCube Promise Technology

0 question about this device. Answer the ones you know or ask your own.

Ask a new question about this device

The email remains private: it is only used to notify you if someone responds to your question.

No questions yet. Be the first to ask one.

Download the instructions for your NAS in PDF format for free! Find your manual VSkyCube - Promise Technology and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. VSkyCube by Promise Technology.

USER MANUAL VSkyCube Promise Technology

VSkyCube & VSkyView User Guide

Document Revision: v1.1

Nov 2nd, 2016

Contents

  1. Chapter 1. Overview ...... 1
  2. Chapter 2. VSkyView User Interface Introducon .... 2

2.1. Start Using the VSkyView Management Portal 2
2.2. Physical View.... 3
2.3. VSkyView System Setngs.... 3

2.3.1. User Management 4
2.3.2. Email Server (SMTP) Conguraon 4
2.3.3. Alert Email Conguraon 4
2.3.4. VSkyView Logs 5
2.3.5. VSkyView System Informaon....6

2.4. Personal Sengs....6
2.5. Cluster View 8

  1. Chapter 3. Host Management.... 13

3.1. Host Acons.... 13
3.2. Obtain the IP Address of the VSkyCube Host.... 15

  1. Chapter 4. Cluster Management.... 18

4.1. Create a Cluster 18
4.2. Trouble Shoong.... 22
4.3. Two Network Segment Interface Seng.... 23
4.4. Cluster Management....24

4.4.1. Register Cluster 24
4.4.2. Unregister Cluster 25
4.4.3. Add Hosts to the Selected Cluster 25
4.4.4. Retry Failed Hosts....26
4.4.5. Edit Cluster 27
4.4.6. Change Cluster Password....27
4.4.7. Delete Cluster 27
4.4.8. Reboot All Nodes....28
4.4.9. Shut Down All Nodes 28

4.5. Node Management.... 28

4.5.1. Node Details....29
4.5.2. Edit Node 29
4.5.3. Retry Failed Host 29
4.5.4. Delete Node 29
4.5.5. Network Sengs....30

4.5.6. Reboot Node 31
4.5.7. Shut Down Node 31
4.5.8. Change Node to Controller/Change Node to Worker 31
4.5.9. Node Deploy Logs 32

4.6. Cluster Node CLI Tool.... 34

4.6.1. Warning for Changing Node Network Sengs....37
4.6.2. Transfer VIP via Node CLI 37
4.6.3. Remove from Isolaon.... 38

4.7. Cluster Services.... 38

4.7.1. Cluster Service Sengs....39

4.8. Cluster High Availability 40

4.8.1. Cluster High Availability Requirements 40
4.8.2. Cluster High Availability Scenarios 40
4.8.3. Workow of High Availability and Recovery (VIP Controller) 41
4.8.4. Workow of High Availability and Recovery (Controller and Worker) 44

4.9. Event and Log.... 45

4.9.1. Email Nocaon....46

5. Chapter 5. Application Management.... 47

5.1. Create an Applicaon 47
5.2. Applicaon Wizard....48
5.3. Applicaon Acons....49

6. Chapter 6. Virtual Machine Management .... 52

6.1. Launch an Instance 52
6.2. Instance Boot Source.... 55

6.2.1. Boot from image 56
6.2.2. Boot from instance snapshot 56
6.2.3. Boot from volume 57
6.2.4. Boot from ISO (Linux)....57
6.2.5. Boot from ISO (Windows)....61

6.3. Instance Acons....71
6.4. Accessing Instances 74
6.5. Images 76

6.5.1. Create Image 76
6.5.2. Creang an Amazon Machine Image (AMI) 78
6.5.3. Image Acons....81
6.5.4. Image Life Cycle....81

6.6. Flavors 82
6.7. Key Pairs 83
6.8. Security Groups.... 86

6.8.1. Manage Security Group 86
6.8.2. Set Up Security Group Rules for accessing Instances....87

6.9. Resource Rao 91

6.10. Floang IPs 92

6.10.1. Associate Floang IP to Instance 92
6.10.2. Manage Floang IP 94

7. Chapter 7. Networking....95

7.1. Network Topology....95

7.2. Build a Basic Network Environment....96

7.3. Network Wizard 105

7.4. Manage External Network 107

7.5. Manage Internal Networks....108

7.5.1. Share Internal Network with Other Applicaons 109

7.6. Manage Subnets 111

7.7. Ports 112

7.8. Manage Routers and Interfaces....112

7.8.1. Routers.... 113
7.8.2. Use Ping on the Router to Verify the Network Connecon 113
7.8.3. Interfaces....114

7.9. Stac Routes 118

7.10. Load Balancer 121

7.10.1. Build a Basic Load Balancer for a Website 122
7.10.2. Load Balancer Pool....134
7.10.3. VIP 135
7.10.4. Member....136
7.10.5. Health Monitor....136

8. Chapter 8. Storage ...... 138

8.1. Physical Pool.... 138

8.2. Cluster Storage....139

8.2.1. Image Storage 139
8.2.1.1. Create a Datastore for Image Storage....141
8.2.1.2. Create a RAIN Datastore for Image Storage (Cluster HA)....141
8.2.2. Compute Storage 142

8.3. Applicaon Pool 143

8.4. Datastores 144

8.4.1. Datastore Properes and Hardware Requirements 144
8.4.2. Check Hardware Disk Resources 147
8.4.3. Create Datastore 148
8.4.4. Troubleshoong 149

8.5. Volume 150

8.5.1. Create Volume....150
8.5.2. Attach a Volume to an Instance....151
8.5.3. Volume Source 153
8.5.4. How to Check Volume Source aer Creaon 155
8.5.5. Volume Acons 157
8.5.6. Volume Snapshot 158
8.5.7. Troubleshoong 158

9. Chapter 9. Monitoring.... 160

9.1. Nodes Monitoring.... 160
9.2. Instance Monitoring 160
9.3. Datastores Monitoring 161

10. Chapter 10. Stack (Orchestraon).... 162

10.1. Wring a Template 162

10.1.1. Basic Template....162
10.1.2. Template Input Parameters 163
10.1.3. Template Environment....166

10.2. Launching and Previewing a Stack 166

10.2.1. Template without Parameters 166
10.2.2. Template with Parameters.... 166

10.3. Stack Acons.... 170
10.4. Stack Resources 171
10.5. Stack Snapshots 172
10.6. Stack Events ...... 173
10.7. Resource Types ...... 174

11. Chapter 11. Upgrade.... 175

11.1. Cluster (VSkyCube) Upgrade 175
11.2. Portal (VSkyView) Upgrade 175

1. Chapter 1. Overview

This VSkyCube/View User Guide provides informaon on how to conjure and use the VSkyCube plaorm with the VSkyView management portal. Before you can begin using the VSkyCube plaorm, you need to install both VSkyView and VSkyCube. For details on how to install the portal, please refer to the VSkyView & VSkyCube Quick Start Guide.

VSkyCube, a hyper-converged system, integrates compute, networking, and storage in a box that is capable of providing a cost-eeceve and exible infrastructure for IT in deploying a variety of applicaons.

In its simplest form, a VSkyCube box can be used as a small data center that runs one or more applicaons with storage allocated to each applicaon, as illustrated below.

Promise Technology VSkyCube - Chapter 1. Overview - 1

flowchart
graph TD
    subgraph_ComputePool["Compute Pool"]
        CPUPool1["CPU pool"] --> VM1["VM"]
        CPUPool2["CPU pool"] --> VM2["VM"]
        CPUPool3["CPU pool"] --> VM3["VM"]
        CPUPool4["CPU pool"] --> VM4["VM"]
        CPUPool5["CPU pool"] --> VM5["VM"]
        CPUPool6["CPU pool"] --> VM6["VM"]
        CPUPool7["CPU pool"] --> VM7["VM"]
        CPUPool8["CPU pool"] --> VM8["VM"]
        CPUPool9["CPU pool"] --> VM9["VM"]
    end

    subgraph_StoragePool["Storage Pool"]
        StoragePool1["Storage Pools"] --> StoragePool2["Storage Pools"]
        StoragePool3["Storage Pools"] --> StoragePool4["Storage Pools"]
    end

    subgraph_Node1["Node 1"]
        Node1 --> CPUPool1
        Node1 --> CPUPool2
        Node1 --> CPUPool3
    end

    subgraph_NodeN["Node N"]
        NodeN --> CPUPool4
        NodeN --> CPUPool5
        NodeN --> CPUPool6
    end

    subgraph_PhysicalNetwork["Physical Network"]
        PhysicalNetwork --> VirtualSwitch["Virtual Switch"]
    end

    subgraph_StoragePool["Storage Pool"]
        StoragePool1 --> VolVol
        StoragePool2 --> VolVol
        StoragePool3 --> VolVol
        StoragePool4 --> VolVol
        StoragePool5 --> VolVol
    end

    style PhysicalNetwork fill:#000,stroke:#fff,color:#fff
    style StoragePool fill:#f00,stroke:#000,color:#fff

In a single node case (Node 1), CPU cores and memory form the compute pool and all disks form the storage pool. Applicaons, in the form of VM, can then be launched aer they are provisioned with compute and storage resources. Other more complex deployments with mul-er applicaons are also possible.

The VSkyCube can be scaled-out by adding nodes to the cluster, one node at a me. Adding a node to a cluster is easy and non-disruptive. Aer new nodes join a cluster, the cluster is managed and used in the same way as the single node system. All resources; compute, storage, and network, are pooled for best usage according to demand.

2. Chapter 2. VSkyView User Interface Introducon

This chapter is a VSkyView UI introducon. Aer installaon, the VSkyView service will automatically run in the background. Follow the steps in Chapter 2.1 to log in to VSkyView. There are four major components in VSkyView: Physical view, VSkyView system sengs, Personal sengs, and Cluster view. These components will be introduced in Chapter 2.2 to 2.5.

2.1. Start Using the VSkyView Management Portal

Aer nishing the VSkyView installaon, log in to the VSkyView portal through the URL.

The URL would be https:// (for example, if the IP address of the VSkyView host was 10.90.7.33, then the URL of VSkyView would be hps://10.90.7.33). The portal uses the HTTPS port 443 for secure communicaon. The default account/password of the portal is admin/admin.

VSkyView https://10.90.7.33 vsgView VSky Hyperconverged Systems Account Password Sign in Copyright © 2014.2016 PROMISE Technology, Inc. All rights reserved.

2.2. Physical View

VSGView Physical View Admin ✓ Physical View Cluster View

Physical View is one of the two perspectives of the VSkyView interface; the other is Cluster View. Physical View shows the resources of the physical machines, which we call hosts. Aer cluster deployment, all selected hosts will be virtualized and transferred into nodes. Nodes are controlled by their clusters. Physical View displays two tabs: Topology and Hosts. For informaon about the Hosts tab, refer to Chapter 3. Host Management. For details on Cluster View, refer to 2.5 Cluster View.

2.3. VSkyView System Sengs

VSGView Physical View admin Topology Hosts VSKyView System Settings Personal Settings

The gear icon 🧙 shown in the above picture, allows you to conjure the VSkyView System Sengs.

vSxyView Physical View admin Topology Hosts User Management Email Server Configuration Alert Email Configuration VSkyView Logs VSkyView System Information

By clicking the gear icon ⚙ drop-down menu will appear allowing you to conjure VSkyView.

2.3.1. User Management

The User Management opon is where you can add, edit, or delete user accounts.

vsmView Physical View admin Users + ✓ Account Status First Name Last Name Email Roles admin Enabled admin@mail.com Cluster Admin User Admin View 1 - 1 of 1 10 ^ per page

  • To add a new user, click the plus icon.
  • To edit user informaon, click the pencil icon.
  • To delete a user, click the trashcan icon.

Promise Technology VSkyCube - User Management - 2

Promise Technology VSkyCube - User Management - 3

2.3.2. Email Server (SMTP) Conguraon

The Email Server (SMTP) Conguraon opon allows you to specify an email address for sending alert nocaons. When the window opens, type the following informaon.

  • Hostname/IP Address: Enter the hostname or IP address of your SMTP server.
  • Port: Type in the port number.

Email Server (SMTP) Configuration Hostname / IP Address Port Security Connection N/A Sender Email Address (Use default) Email Server Authentication No Edit

2.3.3. Alert Email Conguraon

The Alert Email Conguraon opon allows you to select the severity level (Crical, Error, Warning, or Info) for sending alert nocaons. By default, the alert nocaon is disabled. You will need to setup the 2.3.2 Email Server (SMTP) Conguraon to make alert email able to be sent.

Alert Email Configuration Alert Email disabled Edit

If you wish to enable the nocaons, click Edit buon. When the window opens, type the following informaon.

  • Alert Email: Choose enable or disable.
  • Nocaon Level: Select the severity level for the alert nocaons.
  • Email Receivers: Enter the email addresses that will receive the alert nocaons.
    • Frequency: Select the frequency of nocaon.

Edit Alert Email Configuration Alert Email Enable Disable Notification Level Info Warning Error Critical Email Receivers Email Address Frequency Every 1 hour(s) Every 6 hour(s) Every 12 hour(s) Every day Every 3 days Every 1 week Cancel Submit

Aer verifying the informaon, click Submit to apply the new sengs.

2.3.4. VSkyView Logs

This window lists all the VSkyView logs. Click on a row to select a log, and then click an acon buon at the upper le of the table to view, download, or delete the selected log.

Portal Logging Files File Name Size Last Modified Time portal.log.7 10 MB 05/03 19:16 portal.log.6 10 MB 05/04 12:45 portal.log 7.19 MB 05/06 17:58 portal.log.2 10 MB 05/05 23:45 portal.log.1 10 MB 05/06 11:28

2.3.5. VSkyView System Informaon

The VSkyView System Informaon opon shows the current version of VSkyView and allows you to upload released VSkyView packages to apply an upgrade.

System Info Current Version 0.1,19.1 Binary Source Binary File Binary Location Binary File * Browse... No file selected. MD5 Checksum Upgrade Portal will restart after upgrade.

2.4. Personal Sengs

VSKView Physical View admin Topology Hosts VSkyView System Settings Personal Settings

In the above picture, the icon 🙏 on the right is for Personal Sengs. These allow you to edit personal proles and to log out. By clicking the down-arrow icon ,a drop-down menu will appear allowing you to edit the Personal Sengs.

VSView Physical View Admin Topology Hosts Edit Profile Change Password Sign Out

Edit Prole

The Edit Prole opon allows you to alter your basic informaon.

Edit Profile Account * admin First Name Last Name E-mail Language English Cancel Submit

Change Password

The Change Password opon is for changing the password.

Change Password Account admin Old Password * New Password * Confirm Password * Cancel Submit

Sign Out

This opon allows you to sign out of the system. You are logged out immediately aer selecng the opon (no prompt or message).

2.5. Cluster View

Click to switch to Physical View/Cluster View Cluster Alerts Cluster Tasks vSxyView = vSxyCube dev#12 DemoApp HdApp KarenApp Cluster View Physical View ✓ Cluster View 71 0 admin VSKyView System Settings dev#12 2 Nodes Online Failed Warning Personal Settings

When switching to Cluster View, there will be 5 items on the top bar. From le to right, they are View Switcher, Cluster Alerts, Cluster Tasks, VSkyView System Sengs, and Personal Sengs.

• View Switcher: Click to switch between Physical View and Cluster View.
- Cluster Alerts: a pop-up panel displays an alert summary for all clusters.
- Cluster Tasks: a pop-up panel displays a brief task summary for all clusters.
• VSkyView System Sengs and Personal Sengs were explained previously.

Click the VSkyCube logo to see two tabs on the right dashboard, Summary and Cluster Deployment.

vsoView Cluster View vsCube Summary Cluster Deployment dev#12 dev#12 2 Nodes 2 Online 0 Failed 0 Warning 3 Disks 3 Normal 0 Failed 0 Standby

Summary

Summary shows the basic informaon for deployed clusters, such as the numbers of nodes, the hard drives in the cluster, and the nodes and drive health status.

vsgView Cluster View = vsgCube Summary Cluster Deployment Cluster Dashboard PTT PTU_QCT QA_VSKYSTOR 3 3 0 0 15 15 0 0 Nodes Online Chips Normal Crest X-ray DemoHost1 DemoHost2 DemoHost3

Cluster Deployment

The Cluster Deployment tab contains two seconds, Clusters and Nodes. The Clusters secon allows you to deploy the cluster and cluster-related acons. The Nodes secon lets you perform node-related acons. Refer to Chapter 4. Cluster Management for more informaon.

VSKyView vskoCube VSKyStor_Cluster VSKyStor_Abby VSKyStor_Garry VSKyStor_Sandy userapp userapp2 Cluster View Summary Cluster Deployment Name Status Connected VIP VSKyStor_Cluster Active Connected 172.16.0.77 View 1 - 1 of 1 10 - per page Nodes of VSKyStor_Cluster Hostname Status Alias Name Controller Core RAM.IP Gateway DNS hh42305a4 Online ystor1 True 32 62.81 GB 172.16.0.45 172.16.0.1 8.8.8.8 View 1 - 1 of 1 10 - per page Copyright © 2014-2016 PROMISE Technology, Inc. All rights reserved.

Cluster Directory

The le panel has the list of clusters and applicaons displayed in tree-view. Click on a cluster to display its informaon on the middle panel. You will see a variety of cluster informaon like hardware, instances, and resources (vCPU, RAM, and storage). In addition, it shows the hypervisor and applicaon summaries.

The rightmost panel presents the operaons and acons for the cluster. The next secon is an introducon to these operaons.

vSCOView = vSCO Cube dav163 app1 dav20/Procimie1270 FairPM Chfs Viser Vskyfor 100921-1741 Cluster Tree Hardware Summary N/A Nodes N/A Dkis Instance Summary N/A instances vCPU Summary Reserved New 0 RAM Summary GB Reserved New 0 GB Storage Summary Used New Hypervisor Summary Cluster Dashboard Application Summary Page Standard Instance VCPUs vCPU Mount RAM BASE MIE Hours Used Print Type Total Print Size Page of Page of Cluster-Related Menu Configurations Property Physical Pod Cluster Storage Flowers Events Logs

The funcons in this menu will let us display important informaon, perform operaons, and make adjustments to the selected cluster.

Applicaon

• Conguraons: Lets you create and manage applicaons.

Storage

  • Physical Pool: Displays a summary of physical storage, including the drive type, size, model, and serial number.
  • Cluster Storage: Cluster storage includes two parts, image storage and compute storage. Image storage is for saving image les. The dashboard displays the image storage use/capacity summary. Compute storage is allocated for vDisk (VM-used disk) use. The dashboard displays the compute storage use/capacity summary.

Compute

  • Flavors: VM resource templates, allows you to create customized avors besides the default avors.
  • Images: An image is a collecon of les for a specific operang system (OS) that you use to create or rebuild a server. You can upload and manage images of the cluster.
  • Key Pairs: Allows you to manage key pairs, which are secure shell (SSH) credenals injected into an instance when launched.
  • Resource Rao: Allows you to set the resource rao of physical resources (CPU and RAM) to overprovision.

Networking

• Network Topology: Exhibits the whole cluster network architecture and topology diagram.
- External Network: A network segment typically used for instance Internet access. The buon allows you to create an external network for the cluster.

Monitoring

- Nodes: Displays the monitoring gures for physical nodes, including the CPU, load, memory, and network interface trac.

Event & Log

• Events: Shows the cluster events, alerts, and task records.
- Logs: Allows you to query or download the cluster logs.

Conguraon

• Service Seng: Allows you to manage the cluster-related service sengs.

- Cluster Upgrade: Allows you to upgrade the cluster version through this interface. It also shows the cluster upgrade history.

Applicaon Directory

Applicaons are listed below the cluster to which they belong. You can click an applicaon name to select it. The Informaon Dashboard of the selected applicaon will be shown on the right, including a variety of Applicaon Usage summaries, like Applicaon Pool, Volumes and Snapshots Capacity, Instances, vCPUs, RAM, and Floang IPs. If you want to change the applicaon resource quota, please refer to 5.3 Applicaon Acons. The rightmost panel contains the operaons related to applicaons.

V80View Cluster View dwt286Promise123v / ForPM_Chrs_Vater Application Usage Application Port 29 GB of 100 GB Volumes and Snapshots Capacity 0 of 1000 GB Number of Volumes 0 of 10 Number of Volume Snapshots 0 of 10 Application Pots Images Instances Volumes Security Groups Floating Jobs Internal Networks Routers Load Balancers Cluster Tree Application Dashboard 1 of 10 2 of 16 4 GB of 15.6 GB 1 of 50 Instances Usage Instances State #CHS# R#ST Options status S& Active 2 40% MB 2 hours, 52 min View 1 - 1 of 1 10 = per page Application-Related Menu SoftwareConfig

Here is an introducon to applicaon-related operaons. These commands will be listed on the right side panel whenever an applicaon is selected.

Storage

• Applicaon Pool: Allows you to create an applicaon pool.

Compute

  • Images: The same denion as a cluster image, however this one allows you to create and manage images that are exclusive to speci applicaons.
  • Instances: Allows you to launch and manage virtual machines.
    • Volumes: Allows you to create and manage persistent data volumes.
  • Security Groups: A set of network trac ltering rules that are applied to an instance. It can be regarded as a rewall. You can create a security group appropriate for each VM.
  • Floang IPs: An IP address that can be associated with a VM so that the instance has the same public IP address each me that it boots. Allows you to manage oang IPs, such as to allocate/release and associate/disassociate oang IPs.

Networking

- Internal Networks: A network segment that is generally not accessible to end users or the public Internet, and is used for management of the instance. Allows you to create internal networks.

- Load Balancers: A load balancer is for distribution workloads based on conguraon. Load balancers can be created and managed here.

Monitoring

  • Instances: Displays the monitoring data for instances, including the CPU, disk, memory, and network interface trac.
  • Datastores: Displays the monitoring data of the datastores.

Orchestraon

  • Stacks: Organizes the resources with templates.
    • Resource Types: Aributes and properes of all supported resources.

For more informaon about the cluster/applicaon operaons, please refer to Chapter 4. Cluster Management and Chapter 5. Applicaon Management.

3. Chapter 3. Host Management

Use the informaon in this secon for host management.

3.1. Host Acons

Add Host

  1. In Physical View, switch to the Hosts tab. Click the + icon to create or add a new VSkyCube host.

v50View Physical View admin Topology Hosts Remove Host Hosts Edit Host Add Host Add Host Hostname Status Alias IP Site Core RAM Description Up Time hhff3ef95a Online HOST163 10.90.6.163 N/A 8 31.38 GB Linux hhff3ef95a 12 days, 3.19.8-031908- generic 9:53:55.33

  1. The Create Host window appears. Enter the following informaon.

  2. Alias Name: A name for the VSkyCube host.

  3. IP address: Enter the IP address of the VSkyCube host. See 3.2 Obtain the IP Address of the VSkyCube Host to obtain the IP address of host.
  4. Site: The locaon of the host (for example, Taipei). This eld is oponal. Site is a tag for you to classify hosts and can be changed in the future.

Create Host Alias Name Host1 IP * 10.90.6.161 Site Taipei Cancel Submit

  1. Click Submit, the new host will be registered in VSkyView.
  2. The new host will also appear on the Topology page.

Promise Technology VSkyCube - Add Host - 3

flowchart
graph TD
    A["Host1"] --> B["Taipei"]
    B --> C["Global"]
  1. Repeat Steps 1 to 4 to add other VSkyCube hosts.

Edit Hosts

vsgView Physical View admin Topology Hosts Remove Host Hosts Edit Host Add Host + Hostname Status Alias IP Site Core RAM Description Up Time hhff3ef95a Online HOST163 10.90.6.163 N/A 8 31.38 Linux hhff3ef95a 12 days, GB 3.19.8-031908- generic 9:53:55.33

Switch to Physical View and select the Hosts tab. All the hosts will be shown in the table. Click the row to select a host, and then click the pencil buon to edit the selected host. If the selected host is a node in a cluster, you are not allowed to edit the alias name and IP here. See 4.5 Node Management.

Edit Host This host is a node in cluster. You can change alias name & IP in cluster view, not here. Alias Name vstor1 IP * 172.16.0.45 Site Taipei Cancel Submit

Delete Hosts

v5View Physical View admin Topology Hosts Remove Host Hosts Edit Host Add Host + Hostname Status Alias IP Site Core RAM Description Up Time hhff3ef95a Online HOST163 10.90.6.163 N/A 8 31.38 Linux hhff3ef95a 12 days, 3.19.8-031908- generic 9:53:55.33

Switch to Physical View and select the Hosts tab. All the hosts will be shown in the table. Click a row to select a host, and then click the trashcan icon 📄to delete a host. If the host is already a node in a cluster, you have to remove the node from the cluster rst. See 4.5 Node Management. If the host does not belong to any cluster, the host can be deleted.

Remove Host You cannot delete host HOST163 because it is already a node in a cluster. Remove node from cluster, then you are allowed to delete it. Cancel Submit

3.2. Obtain the IP Address of the VSkyCube Host

Follow these steps to get the IP address of each VSkyCube host.

  1. Connect a keyboard and a monitor to the VSkyCube host. The following login window appears.

Ubuntu 14.04.1 LTS hhbc37523c tty2 hhbc37523c login:

  1. Log in to the VSkyCube host.

Username: promise

Password: promisepromise

Note

The password can be changed aer deployment. See 4.6 Cluster Node CLI for more informaon.

Ubuntu 14.04.1 LTS hhe2f27608 tty1
hhe2f27608 login: promise
Password:
Last login: Wed Mar 23 16:53:21 CST 2016 on tty1
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.19.8-031908-generic x86_64)
* Documentation: https://help.ubuntu.com/
promise@hhe2f27608:~$ _ 
  1. Aer logging in, type ifcong to list the IP address of the 10GbE LAN port.

Noce

The IP address here is temporarily assigned by DHCP. It will be congured to a xed IP when deploying VSkyCube.

  1. The IP address is shown aer "inet addr:" In the following example, the IP address is 172.16.0.75.
Ubuntu 14.04.1 LTS hhe2f27608 tty1
hhe2f27608 login: promise
Password:
Last login: Wed Mar 23 16:53:21 CST 2016 on tty1
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.19.8-031908-generic x86_64)
* Documentation: https://help.ubuntu.com/
promise@hhe2f27608:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:8c:fa:ef:f9:74
inet addr:172.16.0.75 Bcast:172.16.0.255 Mask:255.255.255.0
inet6 addr: fe80::28c:faff:feef:f974/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1163 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73559 (73.5 KB) TX bytes:10280 (10.2 KB)
Memory:c7000000-c73ffffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1589 (1.5 KB) TX bytes:1589 (1.5 KB) 
  1. Repeat steps 2 to 4 for each VSkyCube host.
  2. Record the IP address of each VSkyCube host for later use.

4. Chapter 4. Cluster Management

Use the informaon in this secon for cluster management.

4.1. Create a Cluster

  1. Switch to Cluster View. The Cluster View window shows all deployed clusters. When signing in for the rst me, this page is empty.

vsmView ≡ vsmCube Cluster View Physical View ✓ Cluster View Cluster Deployment Clusters Name Status Connected VIP No Data

  1. Switch to the Cluster Deployment tab and click the + icon to deploy a new cluster.

vsView vsCube Summary Cluster Deployment Clusters + Name Status Connected VIP No Data

Step 1: Cluster Sengs

Enter the following informaon in the Create Cluster-Cluster Setngs window.

  • Cluster Name: A name for the cluster. In this example, it is "demoCluster".
  • Virtual IP: Assign an IP to this cluster. This Virtual IP (VIP) represents the cluster and all nodes in the cluster. It will be used for HA (High Availability) sengs in the future.
  • Password: Assign a password for the cluster. Keep the password safe, it will be used when 4.4.1 Register Cluster.
  • Time Zone: The region and city where the cluster is located (for example, Region: Asia; City: Taipei).

  • Default Gateway: The IP address of the gateway in the physical network.
    • NTP Address: The IP address of the NTP server. This is used for me synchronizaon.
    • DNS Servers: The IP address of the DNS server in the physical network.

Create Cluster - Cluster Settings Step 1 Cluster Settings Select Hosts Step 2 Preview Cluster Name * demoCluster Virtual IP * 10.90.6.167 Password * .......... Confirm Password * .......... Time Zone Region * Asia City * Taipei Default Gateway * 10.90.6.254 NTP Address * 10.90.0.93 DNS Servers * Either IP address or domain name is acceptable. Cancel Next >

Step 2: Select Hosts

Select the hosts to be added to the cluster from the drop-down menu. Hosts added in previous steps will be shown here. You can select one host, mulple hosts, or Select All hosts from dierent sites.

Aer selecng the hosts, enter the following informaon for each host, and click Next to connue.

- Management Network Interface: The IP address shown here is the one originally auto-assigned by DHCP. In this step, VSkyCube will automatically turn it into a stac IP. It's highly recommended to change it to a dierent stac IP that is not within the dynamic IP range denied by the DHCP server to the node, otherwise you can modify the dynamic IP range on the DHCP server to avoid IP conicts.

Create Cluster - Select Hosts Step 1 Cluster Settings Step 2 Select Hosts Step 3 Preview Site (site_undefined) ▼ Host --- Select Host --- Selected Hosts ✓ Format disks for all hosts ? Name Network Interfaces IP Mask 1 HOST166 Management Network Interface * 10.90.6.166 255.255.255.0 (10.90.6.166) × Cancel < Previous Next >

Step 3: Preview and Start Deploying the Cluster

Preview the settings of the cluster. Click Previous to go back to edit or Submit to start deploying the cluster.

Create Cluster - Preview Step 1 Cluster Settings Select Hosts Step 2 Preview Step 3 Name Virtual IP password Time Zone demoCluster 10.90.6.167 ***************** Asia / Taipei Default Gateway NTP Address DNS Servers 10.90.6.254 10.90.0.93 ["8.8.8.8"] Selected Hosts Network IP Mask Format Disks 1 Management Network Interfaces 10.90.6.166 255.255.255.0 True Cancel < Previous ✓ Submit

Aer clicking Submit, it will take 30 minutes to an hour to deploy the hosts as the new cluster. It depends on the number of nodes and the hardware performance. During the deployment process, you can check the status in the 4.5.9 Node Deploy Logs. Aer the deployment is complete, the newly deployed cluster appears in the sidebar.

vS@View ≡ vS@Cube demoCluster Hardware Summary 1 Nodes 2 Disks Instance Summary 0 Instances vCPU Summary 0 Reserved Total: 40 0% Hypervisor Summary Hostname IP State Status Instance Used vCPUs hhbe46dcba 10.90.6.161 Up Enabled 0 0 View 1 - 1 of 1 10^ per page

4.2. Trouble Shoong

Q1. The node status shows Timeout during deployment.

The Timeout may have been caused by:

(1) Poor or unstable network communicaons.
(2) A hardware error with too many retries.
(3) Slower than expected disk formang.

To solve this, please follow these steps.

(1) Log in to the node and check the network conneccon between the nodes and VSkyView. (Note: The IP of the node may change during the deployment process. Make sure you use the correct IP address for remote log-in.)
(2) Wait unl the node completes the boot up or disk formang process.
(3) Go back to VSkyView and retry the cluster/node. See 4.4.4 Retry Failed Hosts or 4.5.3 Retry Failed Host.

Q2. A warning message shows up at boong me; what should I do?

This is what you should do if the aached error message shows up at boong me aer a VSkyCube appliance power outage.

The battery hardware is missing or malfunctioning, or the battery is unplugged, or the battery could be fully discharged. If you continue to boot the system, the battery-backed cache will not function.
If battery is connected and has been allowed to charge for 30 minutes
And this message continues to appear, then contact technical support for assistance.
Press 'D' to disable this warning message (If you controller does not have a battery).
FW package: 23.33.0-0025
Memory/battery problems were detected.
The adapter has recovered, but cached data was lost.
Press any key to continue, or 'C' to load the configuration utility.
- 

This warning message indicates the VSkyCube appliance was not shutdown properly or there was a power outage before the system nished reboong. So, please just press the 'D' key on the keyboard to disable this warning message and the system will connue reboong.

4.3. Two Network Segment Interface Setng

If you want to gain more eciency by separating management from service, then both management and service network interface sengs are required.

  • Management Network Interface: Network for VSkyCube management purposes, primarily through the administrator portal, VSkyView. On the physical interface, make sure to select the eth0 for the management network interface.
  • Service Network Interface: Network for VSkyCube provided services accessed by clients outside of the data center.

The management network is for VSkyView portal management, the network trac is lower than the service network interface. Using a 1 Gbps interface card is normally sucient.

The service network provides services access, the network loading is higher, and normally a 10 Gbps interface card is used.

The procedure for creang clusters for two network segments is similar to 4.1 Create a Cluster, except the service network interface should be set.

Create Cluster - Preview Step 1 Cluster Settings Select Nodes Step 2 Preview Step 3 Cluster Settings Name Virtual IP Default Gateway Time Zone NTP Address DNS Servers Sample 172.16.0.205 172.16.0.1 Asia / Taipei time1.google.com ["8.8.8.8"] Selected Nodes Network IP Mask 1 Management Network Interface 172.16.0.205 255.255.255.0 Sevice Network Interface 172.16.1.205 255.255.255.0 Cancel < Previous ✓ Submit

In addition, here are two reminders for seng the network conguraon.

  • The Virtual IP should be lled out with the same network segment as the service network interface.
  • The Default Gateway should be lled out with the same network segment as the service network interface.

Create Cluster - Cluster Settings Step 1 Cluster Settings Select Hosts Preview Step 2 Cluster Name * DemoCluster Virtual IP * 172.16.1.100 Time Zone Region * Asia City * Taipei Default Gateway * 172.16.1.1 NTP Address * time1.google.com DNS Servers * 8.8.8.8 The same network section as the service network section. IP address or domain name Cancel Next >

4.4. Cluster Management

Switch to Cluster View and click the VSkyCube logo on the le sidebar. Select Cluster Deployment tab and the table of clusters will be shown.

The acon buons of cluster are listed above the table of the clusters. Buons from le to right are: (A) Create Cluster, (B) Register Cluster, (C) Unregister Cluster, (D) Add Hosts to the Cluster, (E) Retry Failed Hosts, (F) Edit Cluster, (G) Change Cluster Password, (H) Delete Cluster, (J) Reboot All Nodes and (K) Shut Down All Nodes as shown in the picture below. The details of the acons are introduced in this chapter.

= vsoCube Summary Cluster Deployment Clusters A B C D E F G H I Name Status Connected Reboot All Nodes J dev#28(Promise123) Active Connected Shutdown All Nodes K dev#163(A123456a) Active Connected 10.90.6.169 View 1 - 2 of 2 10 - per page

4.4.1. Register Cluster

The Register Cluster opon allows you to register a cluster which is already deployed into VSkyView. Virtual IP and Cluster Password are set when the cluster is deployed. If you forget the VIP or password, see 4.6 Cluster Node CLI for more informaon.

Register Cluster Cluster Name * Cluster Name Virtual IP * Virtual IP Cluster Password * Cluster Password Show Password Cancel Submit

4.4.2. Unregister Cluster

The Unregister Cluster opon allows you to unregister a deployed cluster from VSkyView. Aer the unregistraon, VSkyView and the cluster are disconnected and you are no longer able to access the cluster from the VSkyView. However, all the conguraons and instances running on the cluster will not be eected by the unregistraon. None of the services running on the instance will be interrupted.

Memorize the VIP of the cluster before unregistraon. Then, you can register the cluster back into the same VSkyView or another VSkyView later with the same VIP.

Unregister Cluster Do you really want to unregister cluster VSkyStor_Cluster? Cancel Submit

4.4.3. Add Hosts to the Selected Cluster

The Add Hosts to the Cluster opon allows you to add a host which is not yet deployed to an exisng cluster. Follow these steps.

  1. When you click the Add Hosts to the Cluster buon, there are 3 steps listed in the panel. The rst step is to review the cluster sengs. Make sure the cluster informaon is correct, and then click Next.

Add Hosts to the Cluster - Cluster Settings Step 1 Cluster Settings Step 2 Select Hosts Step 3 Preview Cluster Name dev#12 Virtual IP 10.90.6.169 Cancel Next >

  1. Step 2. Select Hosts. Select hosts from the dropdown lists Site and Host. Fill in the IP sengs of the hosts to be added. See 4.1 Create a Cluster for more informaon.

Create Cluster - Select Hosts Step 1 Cluster Settings Step 2 Select Hosts Step 3 Preview Site Taipei Host — Select Host — Selected hosts Format disks for all hosts Name Network interfaces IP Mask 1 Host1 (10.90.6.161) Management Network Interface * 10.90.6.161 255.255.255.0 Cancel < Previous Next > Copyright © 2014-2014-PROMADE Technology, Inc. All rights reserved.

  1. Step 3. Preview. Check if the informaon you entered is correct. If yes, click Submit and the process will start immediately.

Note

New nodes can be added to a cluster any me aer the OS has been installed and connected to the network on the same subnet as the cluster. You can expand the scale of the cluster on demand.

4.4.4. Retry Failed Hosts

The Retry Failed Hosts opon allows you to retry adding hosts to the cluster aer there is a failure in deployment. However, the system will use the same sengs to retry. If the failure is caused by incorrect cluster or network sengs, the retry won't work. In this case, delete the failed cluster or hosts and try to deploy the cluster or add the hosts again.

Retry Failed Hosts Do you want to retry failed hosts again? Cancel Submit

4.4.5. Edit Cluster

The Edit Cluster opon allows you to edit the exisng cluster informaon: cluster name and virtual IP.

NOTICE

Changing the virtual IP will cause the cluster to reboot immediately and all the services will be stopped during the process.

Edit Cluster Cluster Name * VSkyStor_Cluster Virtual IP * 172.16.0.77 Cancel Submit

4.4.6. Change Cluster Password

This opon allows you to change the password of the cluster. If you forget the old password, see 4.6 Cluster Node CLI for more informaon.

4.4.7. Delete Cluster

This command allows you to delete the exisng cluster. All the nodes will be reset to the manufacturing default sengs.

Delete Cluster Do you really want to delete cluster ptu_demo? WARNING: All Data in cluster will be reset. This action can not be reversed. Cancel Submit

4.4.8. Reboot All Nodes

It is recommended to use this if the whole cluster needs to be rebooted and there are Controllers and Workers in the cluster. This opon will automatically reboot the nodes in the proper order.

4.4.9. Shut Down All Nodes

It is recommended to use this if the whole cluster needs to be shut down and there are Controllers and Workers in the cluster. This opon will automatically shut down the nodes in the proper order.

4.5. Node Management

Follow the steps outlined in the picture below. Aer the selecon of the cluster, all nodes of the selected cluster will be shown in the table. Select a node to perform acons.

The node acon buons are listed above the table of nodes. Buons from le to right are: Detail, Edit Node, Retry Failed Host, Delete Node, Network Sengs, Reboot Node, Shut Down Node, Change Node to Controller/Worker, and Node Deploy Logs. The details of the acons are introduced in this chapter.

vscCube 2 Summary Cluster Deployment Clusters 4 Name Status Connected VIP dev#12 Active Connected 10.90.6.169 qa#17 Active Connected 172.16.1.155 dev#16 Active Connected 10.90.6.167 View 1 - 3 of 3 10 - per page Nodes of dev#12 Cluster Node Actions Hostname Status Allus Name Role Core RAM IP hha30a1f02 Online HOST16S Worker 8 31.38 GB 10.90.6.169 hhb254c69c Online HOST164 Controller 8 31.38 GB 10.90.6.169 View 1 - 2 of 2 10 - per page Reboot Node Shut Down Node Network Settings Change Node to Worker Node Deploy Logs

4.5.1. Node Details

The Node Details panel will display the node informaon like hardware conguraon, OS, and network sengs.

4.5.2. Edit Node

The Edit Node opon allows you to edit the Alias Name of the selected node.

Edit Node Alias Name vstor1 Cancel Submit

4.5.3. Retry Failed Host

The Retry Failed Hosts opon allows you to retry adding hosts to the cluster aer there is a failure in deployment. However, the system will use the same sengs to retry. If the failure is caused by incorrect cluster or network sengs, the retry won't work. In this case, delete the cluster or failed hosts and try to deploy the cluster or add the hosts again.

Retry Failed Hosts Do you want to retry failed hosts again? Cancel Submit

4.5.4. Delete Node

The Delete Node opon allows you to get rid of an exisng node. All the data in the node will be erased. The node will automatically reboot a few mes in the process. When it is nished, all the sengs of the node are reset to the status it was when shipped.

NOTICE

The instances running on the node and the volume stores on the node will all be deleted aer the deleon. To avoid lost data and instance failure, it is recommended to migrate or stop the instances before deleon.

Delete Node Do you really want to delete node DemoHost1? Cancel Submit

4.5.5. Network Sengs

The Network Sengs opon allows you to reset the network sengs for the node. For instance, you can edit the gateway IP address, DNS sengs, management and service network interrelated sengs. All the changes will be applied immediately. The node will reboot a few mes during the process.

NOTICE

Make sure the changes are correct before saving. Incorrect network sengs may cause a failure of the node and the cluster may lose control of the node.

Network Settings Gateway DNS 172.16.1.1 8.8.8.8 Management Network Service Network IP 172.16.1.44 Link True Mask 255.255.255.0 Bond Mode balance-slb MAC Address 00:8c:fa:f7:d6:08 Bond Name bond1 Gateway Bridge Name br-srv NIC Name MAC Address Link Type eth3 00:8c:fa:f7:d6:09 false 10G eth2 00:8c:fa:f7:d6:08 true 10G Close

4.5.6. Reboot Node

The Reboot Node opon allows you to restart the node. All the services and instances related to this node will be interrupted during the process of reboot. The services and instances will be started automatically aer the reboot is nished.

Reboot Node Do you really want to reboot node vstor1? Cancel Submit

4.5.7. Shut Down Node

Click to shut down the node. All the instances running on the node will be stopped together with the node. Migrate the instances before shung down if you want them to connue to operate.

4.5.8. Change Node to Controller/Change Node to Worker

There are 3 possible roles for nodes: Controller, VIP Controller and Worker.

A Controller is the node that receives requests from users and dispatches jobs to each node of the cluster. There should be at least one controller in the cluster. If the cluster has only 1 node, then the node will be a controller.

A VIP Controller is the controller who owns the VIP. VIP Controller is the major of the controllers in the scenario of mulple controllers.

A Worker is the node that receives jobs assigned from the controller. If the cluster contains 2 nodes, then there would be 1 controller node and 1 worker node. If the cluster contains more than three nodes, you can assign two or more nodes as controllers to enable the high availability (HA) mechanism of the cluster. In this case, you need to assign an extra IP as an arbiter IP.

Arbiter IP is a special IP and will be used for the HA mechanism. You will be asked to assign the address of arbiter IP the rst me you change a node to controller. Once an arbiter IP has been assigned, the system will use it as the default arbiter IP sengs even when HA is disabled. Therefore, you don't have to designate an arbiter IP again when re-enabling HA. To change arbiter IP, see the Cluster HA secon in 4.7 Cluster Services.

ScenarioHA supportedVIP RequiredArbiter IP Required
1 Node1 Controller NodeNoYesNo
2 Nodes1 Controller Node, 1 Worker NodeNoYesNo
3 Nodes1 Controller Node,2 Worker NodesNoYesNo
3 Nodes2 Controller Nodes,1 Worker NodeYesYesYes

Change Node to Controller To support multiple Controllers, the arbiter IP is required. Please set a free IP addresses of external network for arbiter IP. Arbiter IP * 10.90.6.169 Cancel Submit

Troubleshoong

Q3. Image Storage cannot tolerance node failure? When changing a worker node to a controller, an error message popped up. What does this mean?

Change Node to Controller Do you want to change node to a controller? Image Storage can not tolerance node failure. Cluster may not function properly and your data is still unprotected when the controller fails. I understand the risks, proceed anyway. Cancel Submit

This is about protecon for the system data. By default, Image Storage (image related system data) uses a local disk for storing. This means the data will be lost if the controller fails. Therefore, fault tolerance is required to protect the system data. See 8.2.1.1 Create a RAIN Datastore for Image Storage (Cluster HA) for more informaon. You can sll change the node to a controller, however the probability exists that the cluster may not funcon properly if the controller fails.

4.5.9. Node Deploy Logs

This feature oers the conguraon and status of the deployment process.

Note

The conguraon is updated only when deploying the cluster. All changes aer deployment will not be recorded in the deployment log. Therefore, the conguraon log may be dierent from the current status.

There are 3 steps for the deployment process.

• Install Packages: Install the required libraries.
• Format Disks: Format disks for virtualizaon.
- Deploy Node: Congure and deploy the node.

Node Deploy Logs Node Deploy Configurations Cluster Name HOST166 Role Impower_node Virtual IP N/A Time Zone Africa / Abidjan Controller 10.90.6.169 Default Gateway 10.90.6.254 NTP Address 10.90.0.93 DNS Servers 8.8.8.8 Management Network IP 10.90.6.166 Management Network Mask 255.255.255.0 Step1: Install Packages Step2: Format Disks Step3: Deploy Node Node IP 10.90.6.166 Status SUCCESS Description FINISH Close

Troubleshoong

Q4. The deploy process failed at the deploy_service_cong step.

The default mulcast address assigned to each VSkyCube controller is 226.94.1.1 and the port is 50021. If there is another service using the same mulcast address and port, the deployment will fail and stop at the deploy_service_cong step. Also, another VSkyCube cluster in the same subnet will cause the same error. Please check your network environment and then click Retry Failed Cluster/Node to try again.

Step1: Install Packages Step2: Format Disks Step3: Deploy Node 6 host_file_sync FINISH 2016/09/13 15:39:21 2016/09/13 15:39:22 7 init_database FINISH 2016/09/13 15:39:22 2016/09/13 15:39:35 8 service_folder_init FINISH 2016/09/13 15:39:35 2016/09/13 15:39:35 9 deploy_service_config FINISH 2016/09/13 15:39:35 2016/09/13 15:39:42 10 deploy_service_instart_file FINISH 2016/09/13 15:39:42 2016/09/13 15:39:43 Close

4.6. Cluster Node CLI Tool

Aer deployment, a Cluster Node CLI is oered when you login to the physical machines. Cluster Node CLI is a command line tool for users and it oers limited commands for safety. For root authorizaon of the node, please contact your VSkyCube/VSkyView administrator.

Note

  1. It is recommended to use VSkyView to perform acons including shutdown, reboot, and changing network sengs. Acons not performed via VSkyView will be regarded as an unplanned acon and the cluster HA mechanism will be triggered.
  2. Use the CLI tool only when the node is in failure or abnormal status and cannot be controlled from VSkyView.
  3. Changing hostname aer cluster deployment is not allowed.

The default account/password for the node is promise / promisepromise Aer login, type 'help' to get the commands list.

login as: promise promise@10.55.66.133's password: ********** VSkyCube(controller): help
CommandUsageDescription
helphelpHelp menu
versionversionShow VSkyCube version
rebootrebootReboot this VSkyCube appliance
shutdownshutdownShutdown this VSkyCube appliance
reset_nodereset_nodeReset this VSkyCube appliance back to manufacturer default
passwordpassword <New PW>Change default "promise" user password
cluster_passwordcluster_password <New PW>Change VSkyCube admin cluster password
ifconfigifconfigCollect network information
show_brshow_brShow network bridge information
set_ipset_ip <BRIDGE> <IP> <MASK>Set network bridge IP
set_dnsset_dns <DNS1,DNS2,...>Set DNS IPs. Ex: 8.8.8.8,192.168.202.112
set_gwset_gw <IP>Set network default gateway
vip_transfervip_transferForce to transfer Virtual IP to current node
reboot_statusreboot_statusShow reboot status
collect_logcollect_logCollect VSkyCube logs
toptopShow top information
htophtopShow htop information
dfdfShow df information
exitexitExit VSkyCube console

All the commands are listed below:

helphelp
Help menu. Show command list.
versionversion
Show VSkyCube version.
rebootreboot
Reboot current node.
shutdownshutdown
Shut down current node.
reset_nodereset_node
Reset the current node back to manufacturer default.
passwordPassword
Change account promise password.
cluster_passwordcluster_password
Change password of the cluster. The password is set when deploying the cluster. VSkyView uses the password to access VSkyCube.
Note
Changing the cluster password with CLI will cause VSkyView to lose the authencaon of the cluster. Please unregister the cluster before
changing the cluster password in case of failure, and then register the cluster again with the new cluster password. It is recommended to perform the acon from VSkyView. (See 4.4.6 Change Cluster Password)
ifcongifconfigShow network informaon of the node.
show_brshow_brShow network bridge informaon of the node, and the VIP informaon of the cluster.
set_ipset_ip
Set network bridge IP of the node. Read 4.6.1 Warning for Changing Node Network Sengs before execung this command.
set_dnsset_dnsSet DNS of the node. Read 4.6.1 Warning for Changing Node Network Sengs before execute the command.
set_gwset_gwSet the gateway IP of the node. Read 4.6.1 Warning for Changing Node Network Sengs before execung this command.
vip_transfervip_transferForce transfer Virtual IP to current node. Read 4.6.2 Transfer VIP via Node CLI before execung this command.
reboot_statusreboot_statusShow reboot status. Aer the machine booted up, it needs some me for the node to set up and synchronize the conguraons with other nodes.
collect_logset_dnsCollect the VSkyCube cluster logs and store them on the aached device.
NoteThe node should be a Controller node. (See 4.5.8 Change Node to Controller/Change Node to Worker)An USB disk should be plugged into the node.The USB disk should at least contain 1 paron and the logs will be
saved to the rst paron.
toptop
Show top informaon.
htophtop
Show htop informaon.
dfdf
Show df informaon.
remove_isolateremove_isolate
This command appears only when the node is in aQuaranne status. Execute the command to remove the node from theQuarannestatus. The node will be rebooted aer execung the command. See 4.6.3 Remove from Isolaon for more informaon.
exitexit
Exit the VSkyCube console.

4.6.1. Warning for Changing Node Network Setngs

These are commands that change node network settings: set_ip, set_dns, and set_gw.

The expected situaon to use these commands is when the cluster loses control of the node due to incorrect network sengs. You can manually set the network conguraon of the node to make the node rejoin the cluster. If the cluster is sll in control of the node, it is recommended to use VSkyView to perform the acon instead of using the CLI tool.

4.6.2. Transfer VIP via Node CLI

The VIP of the cluster will be transferred to the current node once the command is executed. Execute the command only when an error occurs on the VIP controller and VSkyView fails to connect to the cluster. It is one of the steps of the cluster HA, therefore please follow the correct order of steps in case of failure. See 4.8 Cluster High Availability for more informaon.

4.6.3. Remove from Isolaon

Remove the node from Quaranne. This command only appears when the node is in the Quaranne status. It is one of the steps of the cluster HA recovery, therefore please follow the correct order of the recovery steps in case of failure. See 4.8 Cluster High Availability for more informaon.

Nodes of TOFT Hostname Alias Name Status Role IP VIP hh1dfde350 Server1 Quarantine Controller 172.16.8.101 False hhef53b7be Server2 Online Controller 172.16.8.102 True

FAQ

Q5. What command should I use to see the cluster VIP informaon?

Use command show_br to get VIP informaon.

VSkyCube(controller): show_br +----+----+----+ | Bridge | IP | Default Gateway | VIP | +----+----+----+ | br-mg | 10.55.66.133 | 10.55.66.1 | 10.55.66.153 | +----+----+----+ | DNS | +----+----+ | 8.8.8.8 | +----+----+ | 192.168.202.108 | +----+----+ | 192.168.202.112 | +----+----+ VSkyCube(controller):

4.7. Cluster Services

The informaon in this secon explains the cluster service funcons. Select a cluster from the le sidebar and select Service Sengs under Conguraon in the Cluster-Related menu.

vsCube dev#12 KarenApp PTJ-Storage Expo (WebServer) VSTOR forPTUdemo timApp dev#12 VIP Cluster HA NTP Cluster - Virtual IP Virtual IP 10.90.6.169 Edit Event & Log Events Logs Configurations Service Settings Cluster Upgrade

4.7.1. Cluster Service Sengs

The Service Sengs opon provides cluster-related sengs. You will be required to provide informaon regarding the VIP (virtual IP), Cluster HA, NTP, Time Zone, and Data Expiraon.

  • Virtual IP: Allows you to edit the virtual IP. The network service will restart automacally aer eding.
  • Cluster HA: Allows you to change the arbiter IP of cluster HA. See 4.5.8 Change Node to Controller/Change Node to Worker.
    • NTP: Allows you to edit the NTP server.
    • Time Zone: Allows you to edit the Time Zone sengs.
    • Data Expiraon: Allows you to change the monitor and log data expiraon.

demoCluster VIP Cluster HA NTP Time Zone Data Expiration Cluster - Virtual IP Virtual IP 172.16.0.24 Edit Cluster HA Cluster HA is not enabled now. Cluster HA requires 2 or more controllers. Arbiter IP Edit demoCluster VIP Cluster HA NTP Time Zone Data Expiration Cluster - NTP Address NTP Address 216.239.32.15 Edit demoCluster VIP Cluster HA NTP Time Zone Data Expiration Cluster - Time Zone Time Zone Asia / Talpel Edit

demoCluster VIP Cluster HA NTP Time Zone Data Expiration Cluster - Data Expiration Monitor Data 45 Days Log Data 90 Days Edit

4.8. Cluster High Availability

The possible roles for nodes are: VIP Controller, Controller, and Worker. (See 4.5.8 Change Node to Controller/Change Node to Worker for more informaon.) The cluster HA has dierent behavior for each role. In this chapter we will introduce the behavior of the roles respectively when the cluster High Availability is enabled. Also, the behavior of virtual machines (instances) running on the nodes while cluster HA happens will be introduced.

4.8.1. Cluster High Availability Requirements

  1. Two or more acve Controllers.

  2. The performance of the datastore for Image Storage should be higher than regular, or the RAIN mechanism should be enabled.

4.8.2. Cluster High Availability Scenarios

Note

Please perform shutdown/reboot node with VSkyView. Acons not through VSkyView will be regarded as unplanned acons and the cluster HA mechanism will be triggered.

Node Role: VIP Controller

  • Planned Shutdown/Reboot (Shutdown/Reboot VIP Controller with VSkyView)
    VIP is automacally transferred to another controller. If there is no other controller, then the cluster funcon won't work. Instances auto migraon will be triggered aer VIP is transferred. Instances running on other nodes won't be aected.
  • Unplanned Shutdown/Reboot (Shutdown/Reboot VIP Controller not with VSkyView, network disconnected, or unexpected errors)

The cluster funcon won't work until the VIP is successfully transferred. The VIP transfer needs to be triggered manually by the user. Instances running on the other node won't be acted.

Node Role: Controller, Worker

  • Planned Shutdown/Reboot (Shutdown/Reboot the node with VSkyView)
    Instance auto migraon will be triggered. Instances running on other nodes won't be aected.
  • Unplanned Shutdown/Reboot (Shutdown/Reboot the node not with VSkyView, network disconnected, or unexpected errors)

Instances auto migraon will be triggered. Instances running on other nodes won't be elected.

4.8.3. Workow of High Availability and Recovery (VIP Controller)

The table below describes the Controller HA workow and the steps for recovery from an unexpected error. Some acons need to be performed with the CLI tool. See 4.6 Cluster Node CLI Tool for more informaon.

Step 0↓When an error occurs on a VIP Controller (Controller and the VIP owner), the cluster status will bedisconnectedon VSkyView and you are unable to perform any acons on VSkyView.Promise Technology VSkyCube - Workow of High Availability and Recovery (VIP Controller) - 1
Step 1↓Shutdown and isolate the abnormal node from the cluster if possible.
Step 2↓All of the other acve controllers will reboot automacally and try to transfer VIP while the cluster lost the VIP Controller. Login to one of the controller and use CLI toolreboot_statusto check the reboot status. The reboot status will stooped atget_node_info_from_controller. All acve controllers will stop at the same step.Promise Technology VSkyCube - Workow of High Availability and Recovery (VIP Controller) - 2
Step 3↓↓Execute command vip_transfer via node CLI tool. VIP of the cluster will be transferred to the node where the command vip_transfer is executed and the node will reboot immediately.
Step 4↓↓Aer VIP transfer, the reboot status of all the controllers should successfully complete. You can execute reboot_status to check. The cluster funcons are working properly and the instance auto migraon for the VIP Controller is triggered automacally in this step.
Step 5↓↓The cluster status back to acve on VSkyView. The status of the abnormal node is marked asQuaranneon the table of cluster nodes.Promise Technology VSkyCube - Workow of High Availability and Recovery (VIP Controller) - 3
Step 6↓↓Fix the errors of the abnormal node. If error xed, go next step to re-join the node into the cluster. Or go to step 9 to force delete and reset the node.
Step 7↓↓Login to the xed node, and execute command remove_isolate via node CLI tool. The node will be reboot aer execute the command.

login as: promise promise@10.55.66.122's password: ***** VSKyCube(isolate):help Command Usage help help version .version reboot ,reboot shutdown shutdown reset_node reset_node ifconfig ifconfig show_br (show_br collect_log collect_log top ,top htop htop df df remove_isolate remove_isolate exit exit VSKyCube(isolate): remove_isolate

Step 8The node status should back to acve aer reboot. Now the recovery process is completed.
Step 9↓Execute Delete Node acon via VSkyView. A warning message pops up to nofy user the abnormal status. Check ‘Force Delete’ to force delete the node. The node will reboot and reset back to manufacturer default aer execute the delete. The host informaon of the node will also be removed from VSkyView.Promise Technology VSkyCube - Workow of High Availability and Recovery (VIP Controller) - 5NoteAer delete, all the instances and data stores on the node will also be deleted. This acon cannot be reversed. It is recommended to back up the data and the instances running on the selected node before delete.
Step 10Wait unl the node boot up. The default IP address of the node will be fetched from DHCP aer reboot. Login to the node with default account and get the new IP address of the node. Then add the host into VSkyView as a new. See Chapter 3. Host Management for more informaon.

4.8.4. Workow of High Availability and Recovery (Controller and Worker)

The table below describes the Controller HA workow and the steps for recovery from an unexpected error. Some acons need to be performed with CLI tool. See 4.6 Cluster Node CLI Tool for more informaon.

Step 0↓↓When an error occurs on a Controller (not VIP owner) or Worker node, the cluster funcon will not be eected and the status of the cluster will remainAcve. The instance auto migraon for the error node is triggered automacally.
Step 1↓↓The status of the abnormal node will beOineon the table of cluster nodes.
Step 2↓↓Fix the errors of the abnormal node and follow the next step to re-join the node into the cluster, or go step 5 to force deleon and reset.
Step 3↓↓Reboot the node aer the error is xed, and then the node will try to join the cluster again automacally. It takes about 5~10 minutes to synchronize the data. During the synchronizaon process, the status of the node will remainOfineeven if the node has power-on.
Step 4The status of the node will be back toOnlineaer the synchronizaon process. Now the recovery process is complete.
Step 5↓↓ExecuteDelete Nodeacon through VSkyView. A warning message pops up to nofy user the abnormal status. Check ‘Force Delete’ to forcibly delete the node. The node will reboot and reset to the manufacturer defaults aer execute the deleng. The host informaon of the node will also be removed from VSkyView.Promise Technology VSkyCube - Workow of High Availability and Recovery (Controller and Worker) - 1NoteAer deleng, all the instances and data stores on the node will also be deleted. This acon cannot be reversed. It is recommended to back up the data and the instances running on the selected node before deleng.
Step 6Wait unl the node boot up. The default IP address of the node will be fetched from the DHCP server aer reboot. Login to the node with the default account and get the new IP address of the node. Then add the host into VSkyView as new. See Chapter 3. Host Management for more informaon.

4.9. Event and Log

Select a cluster from le sidebar and select Events or Logs under Event & Log on the Cluster-Related menu.

= vsCube dev#12 KarenApp PTJ-Storage Expo (WebServer) VSTOR forPTUdemo timApp Events Alerts Tasks Created Level Type Code Organisation 06/16 Info tiles 2015 Update node 14:14 HOST165 resourcera ratio success 06/15 info tiles 4002 Delete App Volume 21:27 e6ce0c5c-dfa1-4803- Event & Log Events Logs Configurations Service Settings Cluster Upgrade

The Events opon provides informaon regarding the plaorm. The event records are categorized in three different levels: Events, Alerts, and Tasks. You can audit the cluster progress or situation with these event records.

vss:View = vss:Cube demoCluster use:AppT Event Alerts Tasks Created Level Type Code Message 03/31 18:24 Info task 2008 Transfer arbiter node success 03/31 18:05 Info task 2008 Transfer arbiter node success 03/31 17:46 Info task 4019 Add disk to System done. 03/31 17:44 info task 2008 Transfer arbiter node success View 1 - 4 of 4 10 x per page

The Log opon provides log-related informaon. You can query or download specic log informaon by ltering given criteria. For example, seng a given host, me interval, log level, or log number limit.

vsgView = vsgCube demoCluster userApp1 Cluster View demoCluster Log Host * hhbbe6be8 Start Time * 2016/04/04 Limit 100 Level 00 : 00 End Time * 2016/04/04 17 : 00 map:5000 Query Download

4.9.1. Email Nocaon

To get the email nocaon of events and alerts, please set up the conguraon of SMTP mail server and enable the nocaon. See 2.3 VSkyView System Sengs for more informaon.

5. Chapter 5. Applicaon Management

Use the informaon in this secon for applicaon management.

5.1. Create an Applicaon

An applicaon is a service project, for example, a le sharing applicaon or a mail server applicaon. Each applicaon has a given quota of resources in the VSkyCube cluster. This is the way VSkyCube manages the resource allocaon and usage by dierent services.

This secon will show you how to create an applicaon in VSkyCube.

  1. To create an applicaon, select a cluster from the le sidebar, click Conguraons under Applicaon on the right side menu, and click the icon.

vsCube 1 demoCluster Applications 3 Create Application Name Status Connected Type Created Time No Data 2 Application Configurations Storage Physical Pool Cluster Storage Compute Flavors

  1. The Create Applicaon window appears. Enter the applicaon name and select the applicaon type. Applicaon type names starng with VSky, such as VSkyStor, VSkyBox, and VSkyPoint, are provided by Promise and especially designed and optimized to run on VSkyCube. In general, select User dened app.

Create Application Name * myApp Type * User defined app User defined app VSkyBox VSkyMotion VSkyPoint VSkyStor

  1. Click Submit. The newly created applicaon will appear under the cluster on the le sidebar.

demoCluster myWebServer Applications Name Status Connected App Type myWebServer Active Connected User define app Application Configurations Storage Physical Pool Cluster Storage Compute Flavors Images

5.2. Applicaon Wizard

Applicaon wizard will guide you to build VSky series services. Go to Applicaons and click the magic wand buon to open the wizard and then follow the steps.

dev#163(A123456a) dev#163(A123456a) Applications Name Status Connected App Type Created Time aaa Active Connected VSkyBox 2016/09/26 11:49:26 test Active Connected User defined app 2016/09/22 18:13:20 2 Configurations Storage Physical Pool Cluster Storage Compute Flavors

Application Wizard 1. Environment Validation > 2. Set Up Image and Flavor 3. Create Application 4. Build Network 5. Set Up Application Pool 6. Set Up System Datastore 7. Launch Instances 8. Associate Floating IPs 9. Summary Step 1: Environment Validation This wizard will guide you to build the VSky series services. 1. Execute the wizard with the VSky series user guide at hand. Check the user guide for help if encountering any problem. 2. Upload the image of the VSky service before executing the wizard. 3. Everytime you execute wizard is a brand new start. This means you need to start again from first step if you exit the wizard without completing the process. Quick link: Click to go to image. Application Type VSkyStor Environment Validation Show Log Quit Wizard Start

Exing the Applicaon Wizard

There are two ways to exit the Applicaon Wizard. Quit Wizard and Force Quit.

Root Disk 160 GB Ephemeral Disk 0 Show Log Quit Wizard Force Quit Next

If you click the Quit Wizard button, a warning message will prompt you to make sure that is what you want to do.

10.90.7.33:8443 says: You are going to leave the wizard, All unfinished jobs will be deleted. Are you sure you want to leave? OK Cancel

Every me you run the applicaon wizard, an applicaon will be created. Quing the wizard and conming the message will delete the applicaon. If you are an advanced user, you can click the Force Quit buon to leave the wizard without deleng the applicaon. A warning message will again prompt you to conrm your decision and save the unnished jobs. Then, you can connue the unnished jobs manually.

10.90.7.33:8443 says: There are unfinished jobs. Are you sure you want to quit without deleting unfinished jobs? OK Cancel

Note

The delete applicaon process takes about 10 minutes. The resources are blocked during this me. Therefore, it is recommended to wait unl the applicaon is completely deleted to avoid resource shortages.

5.3. Applicaon Acons

There are 4 applicaon acons that can be performed: Create Applicaon, Edit Applicaon, Edit Applicaon Quotas, and Delete Applicaon.

dev#12 DemoApp HdApp KarenApp PTJ-Storage Expo (WebServer) timApp dev#16 deinoApp qa-stack Applications A B C D Application Actions → + + ✓ ✓ ✓ Name Status ConnectedApple Type Created Time DemoApp Active Connected User defined app 2016/04/19 10:56:21 HdApp Active Connected User defined app 2016/05/12 18:09:15 KarenApp Active Connected User defined app 2016/04/11 18:57:34 PTJ-Storage Expo (WebServer) Active Connected User defined app 2016/05/12 19:08:07 timApp Active Connected User defined app 2016/04/12 15:00:45 Application 2 Configurations Storage Physical Pool Cluster Storage Compute Flavors Images Key Pairs

  1. Select the cluster listed in the le side bar.
  2. Click Conguraons on the right menu.
  3. Click on the row to select an applicaon.

The applicaon acons are listed on top of the table:

- Click the plus buon to create a new applicaon.

Create Application Name * userApp1 Type * User defined app Cancel Submit

- Click the pencil icon 🔍 to edit the name of the selected applicaon.

Edit Application Name * userApp1 Cancel Submit

- Click the pie chart icon ⬆ to edit the resource quotas of the selected applicaon.

Application Quotas userApp1 From here you can update the default quotas (max limits) of application. Instances Number of Instances * 10 1 of 10 used Number of vCPUs * 16 1 of 16 used . 344 free RAM (MB) * 16000 512 of 16000 MB used , 273453 MB free Floating IPs Number of Floating IPs * 50 1 of 50 used Volumes Number of Volumes * 10 0 of 10 used Number of Snapshots * 10 0 of 10 used Volumes and Snapshots Capacity (GB) * 1000 0 of 1000 GB used Show Advanced Settings ... Cancel Submit

- Click the trashcan icon tdelete the selected applicaon.

Delete Application Do you really want to delete application userApp1? Cancel Submit

6. Chapter 6. Virtual Machine Management

An instance is another name for a virtual machine. You can create your own instances under certain applicaons.

6.1. Launch an Instance

Below are the minimum steps to launch an instance.

  • Instance Detail: Dene basic specicaons including name, CPU, and memory for the instance.
  • Access & Security: Specify the SSH key pair to access the instance, and select Security Group, the rewall sengs of the instance.
    • Networking: Specify the internal network subnet for the instance.

Promise Technology VSkyCube - Launch an Instance - 1

flowchart
graph LR
    A["Launch Instance"] --> B["Instance Detail"]
    B --> C["Access & Security"]
    C --> D["Networking"]
    D --> E["Submit!"]
    B --> F["Select Flavor"]
    B --> G["Select Image"]
    C --> H["Set Key Pair"]
    C --> I["Add Security Groups"]
    D --> J["Select Networks"]

Before you can launch an instance, you need to:

  • Set up the internal network for the instance.
    See 7.2 Build a Basic Network Environment for more informaon.
  • Set up the instance boot source.
    It can be an image, snapshot, or block storage volume that contains an image or snapshot. For beginners, the use of an image as the boot source is recommended. See 6.5 Images to create an image, and 6.2 Instance Boot Source for more informaon.
    • The avor for your instance.
    A avor is an available hardware conguraon for an instance. It denes the size of a virtual machine that can be launched. There are ve default avor templates: ny, small, medium, large, and xlarge. To dene your own avor, see 6.6 Flavors.
    • (Oponal) A key pair for your instance.
    Key pair is SSH credenals injected into images when they are launched. For the key pair to work, the image must contain the cloud-init package. See 6.7 Key Pairs.

- A security group that denies which incoming network trac is forwarded to instances. Security groups hold a set of rewall policies, known as security group rules. See 6.8 Security Groups.

Follow this example to launch an instance.

  1. To create an instance, select the applicaon on the le sidebar, click Instances under Compute on the right menu, and click the +con in the main window.

vsgView Cluster View demo_Cluster / userapp demo_Cluster VSKyStor_Abby VSKyStor_Garry VSKyStor_Sandy userapp userApp1 Instances Name Status asset Task Image Size IP Key TPEQA_AD Shutoff N/A 2012R2_x64 for_AD int-net ke 192.168.0.43 172.16.0.125 ubuntu Active N/A ubuntu m1.medium int-net ke 192.168.0.12 172.16.0.119 Instances Volumes Security Groups Floating IPs Servicetling Internal Networks Routers Load Balancers

  1. The Launch Instance window appears. Enter the following informaon.

  2. Instance Name: A name for the instance, in this example, myUbuntu.

  3. Flavor: Flavor is an instance template with predened virtual resources. Select one from the drop-down menu, and the avor details will be shown on the right side, the Flavor Details secon.
    • Instance Count: The number of instances to create.
  4. Launch Instance on node: If you want to create the instance on a specific node in the cluster, select the node from the drop-down menu, otherwise use the default seng, Any available node.
  5. Instance Boot Source: Select where to boot the instance. Boot from image is the open most oen used. If you want to create an instance that supports live migraon, you need to create a bootable volume and launch it from a bootable volume. See 6.2 Instance Boot Source for more informaon.
    • Image Name: Select an image from the list.

Launch Instance Detail Access & Security Networking Post-Creation Advanced Options Instance Name * myUbuntu Flavor ? m1.small Instance Count ? 1 Launch instance on node (Any available node) Instance Boot Source ? Boot from image Image Name * ubuntu-need-key Specify the details for launching an instance. The chart below shows the resources used by this application in relation to the application's quotas. Flavor Detail Name m1.small vCPUs 1 RAM 2048 MB Total Disk 20 GB Root Disk 20 GB Ephemeral Disk 0 Application Limits Number of instances 2 of 10 used 2 1 Number of vCPUs 2 of 4 used 2 1 Total RAM 1024 of 16000 MB used 102 2048 Cancel Submit

  1. Switch to the Access & Security tab. Select a key pair from the drop-down menu, in this example, my_key, or select none to disable key pair if the image does not support it. Select the default Security Groups.

Launch Instance Detail Access & Security Networking Post-Creation Advanced Opti Control access to your instance via key pairs, security groups, and other mechanisms. Key Pair ? my_key Security Groups ? default Cancel Submit

  1. Switch to the Networking tab. Pull down the Available Networks menu and select the subnet of the internal network.

Launch Instance Detail Access & Security Networking Post-Creation Advanced Options Choose network from "Available networks" to Selected networks, you may change NIC order by add/delete networks. Available Networks --- Select Network --- Selected Networks * Fixed IP NIC:1 Int-netA Leave it empty for auto assign Int-subA11, CIDR(192.168.11.0/24) Cancel Submit

  1. The next two tabs Post-Creaon and Advanced Opons are oponal advanced sengs. Click Submit to launch the instance.

It takes a few minutes to create the instance. When the instance is ready for use, it will be displayed in the main window with a Status of Acve.

dev#12 / DemoApp dev#12 DemoApp KarenApp timApp vstor-demo dev#16 demoApp Instances Name Status asset Task Image Size IP Key Pair Power State myUbuntu Active N/A ubuntu- m1.small Int-netA my_key Running need-key 192.168.11.107 Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs

6.2. Instance Boot Source

There are ve different Instance Boot Source opons provide to you to launch instances and will be introduced in this chapter. For beginner, it is recommended to use Boot from Image as the boot source opon. For other opons, you have to be familiar about create image and volume. See 6.5.1 Create Image and 8.5.1 Create Volume.

Instance Boot Source ? Boot from image Boot from image Boot from instance snapshot Boot from volume Boot from ISO (Linux) Boot from ISO (Windows)

6.2.1. Boot from image

Select the image le for a specific operang system used to create a server. You have to create images rst, and then the images will be listed in the dropdown list. See 6.5.1 Create Image.

NOTICE

An instance launched from an image can do migraon, however the services running on the instance will be paused while migrang. To avoid service interrupon, it is recommended to do live migraon. An instance launched from a volume will be able to do live migraon. See 6.2.3 Boot from volume for more informaon.

Instance Boot Source ? Boot from image Image Name * cirros --- Select Image --- cirros ubuntu-need-key ubuntu-without-key vstor 17 vstor-34

6.2.2. Boot from instance snapshot

An instance snapshot is a point-in-me copy of an image. You can take an instance snapshot to back up a currently running instance. Instance snapshots that have been created will be included in the dropdown list. See 6.3 Instance Acons for more informaon.

Instance Boot Source ? Boot from instance snapshot Instance Snapshot * webServer1-160624-1445 --- Select Instance Snapshot --- webServer1-160624-1445

6.2.3. Boot from volume

You can select a bootable volume as the instance boot source. You have to create a bootable volume. It will be added to the dropdown list. See 8.5 Volume to create a bootable volume.

NOTICE

An instance launched from a bootable volume will be able to do live migraon.

Instance Boot Source ? Boot from volume Volume (Bootable and Available) * new --- Select Volume --- new source test

6.2.4. Boot from ISO (Linux)

To launch an instance from a Linux ISO le, please follow these steps.

  1. Create the ISO image le. The disk format of the image should be ISO-Opcal Disk Image.

Create Image Name * test-iso Description Image Source Image File Image Location Image File Choose File test.iso Disk Format * ISO - Optical Disk Image Minimum Disk (GB) Minimum RAM (MB) Public True False Protected Cancel Submit

  1. Create a bootable volume and use the Linux ISO image as the volume source. The size of the volume doesn't maer but needs to be larger than the image.

Create Volume Name * linux-iso Description Datastore * ds_test Size (GB) * 1 Volume Source Image Use Image as a Source * test-iso (996 MB) Application Limits Total Gigabytes 11 of 1000 used 11 1 Number of Volumes 6 of 10 used 6 1 Datastore Details Name ds_test Allocated/Capacity 9 GB / 50 GB Performance Regular Raid Type None Thin Provision False Tiering False Cache False Cancel Submit

  1. Aer then create, the volume will be listed in the table of volumes. Wait until the status of the volume become Acve. Select the volume, and click Launch as Instance buon on top of the table.

Launch as Instance Linux-ISO Available 1 GB N/A True ds_test bootVolume Available 1 GB N/A True ds_test

  1. In Launch Instance panel, select the Boot from ISO (Linux) as the boot source, and for OS Volume, choose the volume you created in step 2. Fill out other elds, and submit.

Launch Instance Details Access & Security Networking Post-Creation Advanced Options Instance Name * Flavor ❄ * Specify the details for launching an instance. The chart below shows the resources used by this application in relation to the application quotas. Instance Count ❄ * 1 Launch Instance on Node (Any available node.) Instance Boot Source ❄ * Boot from ISO (Linux) OS Volume ❄ * linux-iso Delete on Termination Flavor Details Name vCPUs RAM N/A Total Disk N/A Root Disk N/A Ephemeral Disk N/A Application Limits Number of Instances 2 of 10 used 2 1 Number of vCPUs 2 of 4 used 2 Total RAM 4096 of 16000 MB used 4096

  1. The instance will be created. Go to Instances service, and wait until the status of the instance becomes Acve.

Instances Name Status asset Image Size IP Key Pair Power State linux Active N/A N/A m1.small Int-netA N/A Running 192.168.11.122 Storage Application Pool Compute Images Instances Volumes Security Groups

  1. Login to the instance, you will see the OS installaon message. Proceed with the installaon process of the OS.

Install Welcome Banasa indonesia Bosanski Català Čeština Cymraeg Dansk Deutsch Eesti English Español Esperanto Euskara Français Gaeilge Galego Hrvatski Islenska Try Ubuntu Install Ubuntu You can try Ubuntu without making any changes to your computer, directly from this CD. Or if you're ready, you can install Ubuntu alongside (or instead of) your current operating system. This shouldn't take too long. You may wish to read the release notes.

  1. Aer installing the OS, you can detach the ISO volume. Shut down the instance and wait until the status of the instance becomes Shuto.

Instances Name Status asset Image Size Linux Active N/A N/A m1.small webServer1 Active N/A ubuntu- m1.small without-key Soft Reboot Hard Reboot Stop Pause Suspend Lock Rescue Storage Application Pool Compuis Images Instances Volumes Security Groups Floating IPs Networking Internal Networks

  1. Go to Volumes service, select the ISO volume and click Manage Aachments.

Volumes Volume Snapshots 3 Manage Attachments Name Status Size Attached To Bootable Datastore linux-iso In-Use 1 linux on /dev/vdb True ds_test GB bootVolume In-Use 1 from-bootable-volume on True ds_test /dev/vda Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs

  1. Click Detach Volume. Then the ISO volume will be detached from the instance. Wait unl the status of the volume becomes Available.

Manage Attachments Attach to Instance linux on /dev/vdb Cancel Detach Volume

  1. Aer detaching, the instance and the ISO volume are separated. You can repeat the steps to launch another instance or delete the ISO volume.

6.2.5. Boot from ISO (Windows)

  1. You need to prepare 2 les in your local folder, one is the ISO le of Windows OS and another is the VirtIO driver that supports windows virtual machine to boot up.

NOTICE

VirtIO is the drivers for Windows virtual machines running on KVM. For more informaon, see hps://fedoraproject.org/wiki/Windows_Viro_Drivers

  1. Create 2 images, one is for the windows ISO le, and another is for the VirtIO drivers. The disk format of the images should be ISO - Opcal Disk Image.

Create Image Name * Iso_win Description Image Source Image File Image Location Image File * Choose File win.iso Disk Format * ISO - Optical Disk Image Minimum Disk (GB) Minimum RAM (MB) Public True False Protected Cancel Submit Create Image Name * virtio Description Image Source Image File Image Location Image File * Choose File virtio.iso Disk Format * ISO - Optical Disk Image Minimum Disk (GB) Minimum RAM (MB) Public True False Protected Cancel Submit

  1. Create 2 volumes for the images you created in the previous step. Select the images as the Volume Source respectively. The Size of the volumes should be larger than the size of images.

Create Volume Volumes are block devices that can be attached to instances. Name * windows_volume Description Application Limits Total Gigabytes 20 of 1000 used 20 8 Number of volumes 3 of 10 used 3 1 Datastore * data Size (GB) * 8 Volume Source Image Use image as a source * Iso_win (4358 MB) Cancel Submit Create Volume Volumes are block devices that can be attached to instances. Name * virio_volume Application Limits Total Gigabytes 20 of 1000 used 20 5 Description Number of volumes 3 of 10 used 3 1 Datastore * data Size (GB) * 5 Volume Source Image Use image as a source * virtio (66.7 MB) Datastore Detail Name data Allocated/Capacity 20 GB / 100 GB Performance Regular Raid Type None Thin Provision False Tiering False Cache False Cancel Submit Cancel Submit

  1. Go back to the instance boot source menu, select the Boot from ISO (Windows) opon, and there are two opons that need to be chosen. Under OS Volume choose the windows volume and under VirtIO Volume select the VirtIO volume that you just created. Make sure the size of the Root Disk displayed in Flavor Detail is larger enough for the OS of the ISO, or the instance may not be able to be booted. Fill out other elds, and click Submit.

Detail Access & Security Networking Post-Creation Advanced Options Instance Name * windows_server Flavor ? m1.large Instance Count ? 1 Launch instance on node (Any available node) Instance Boot Source ? Boot from ISO (Windows) OS Volume ? windows_volume Delete on Terminate Virtio Volume ? virio_volume Delete on Terminate Specify the details for launching an instance. The chart below shows the resources used by this application in relation to the application's quotas. Flavor Detail Name m1.large vCPUs 4 RAM 8192 MB Total Disk 80 GB Root Disk 80 GB Ephemeral Disk 0 Application Limits Number of Instances 1 of 10 used 1 1 Number of vCPUs 2 of 16 used 2 4 Total RAM 4096 of 16000 MB used 4096 8192

  1. Wait unl the instance status becomes Acve. Select the instance and click the eye buon on top of the table to see the detail of the instance. There should be two volumes aached to the instance. One is the volume of the windows ISO and the other is the volume of VirtIO driver. At the secon of Spice, the Spice Server IP and Spice Port are listed. Use the IP and port to access the instance with the VSkyConsole. See 6.4 Accessing Instances for more informaon.

Instances Name Status_TaskImage Size IP_KEY Power State Nanode Times since creat windows_server ✓ Active N/A N/A m1.large net- N/A Running HOST164 3 ho 20161014114209 (hh95db5856) 13 192.168.88.8 View 1 - 1 of 1 10 ~ per page

Instance Details : windows_server Information Instance Name windows_server ID b2bae1ea-0ffe-4336-997c-f3decd6cb191 Status ✓ Active Node Instance is running on node HOST164 (hh95db5856) Created 10/18/2016, 12:03:28 PM Time Since Creation 2 hours, 36 minutes Volumes Attached 1 volume windows_volume attached on /dev/hda 2 volume virtio_volume attached on /dev/hdb Spice Spice Server IP Spice Port Spice TLS Port 10.90.6.164 6841 N/A Close

  1. Login the instance via VSkyConsole, you will see the installaon UI of Windows.

Windows Setup Windows Server 2012 R2 Language to install: English (United States) Time and currency format: English (United States) Keyboard or input method: US Enter your language and other preferences and click "Next" to continue. © 2013 Microsoft Corporation. All rights reserved. Next

  1. Follow the installaon steps. For Windows Server, choose the Server with a GUI opon.

Select the operating system you want to install Operating system Architecture Data modified Windows Server 2012 R2 Standard (Server Core Installation) x64 8/22/2013 Windows Server 2012 R2 Standard (Server with a GUI) x64 8/22/2013 Description: This option is useful when a GUI is required—for example, to provide backward compatibility for an application that cannot be run on a Server Core installation. All server roles and features are supported. You can switch to a different installation option later. See "Windows Server Installation Options." Next

  1. Follow the installaon steps, unl the "Where do you want to install Windows?" message opens. The table is supposed to be empty. Click the Load driver opon.

Windows Setup Where do you want to install Windows? Name Total size Free space Type Refresh Delete Format New Load driver Extend We couldn't find any drives. To get a storage driver, click Load driver. Next

  1. Conrm the warning message.

Windows Setup Select the driver to install Load driver To install the device driver for your drive, insert the installation media containing the driver files, and then click OK. Note: The installation media can be a CD, DVD, or USB flash drive. Browse OK Cancel Hide drivers that aren't compatible with this computer's hardware. Browse Rescan Next

  1. Click the CD Drive (E:) CD ROM item to expand the tree menu. Select the driver compatible to the OS version of the instance and click OK.

Windows Setup Select the driver to install Red Hat VirtIO Ethe Red Hat VirtIO SCS VirtIO Balloon Drive VirtIO-Serial Driver Browse for Folder Browse to the driver, and then click OK. Downloads Videos CD Drive (D:) IRM_SSS_X64FRE_EN-US_DV5 CD Drive (E:) CDROM VISTA WIN7 AMD64 X86 WIN8 WLH WNET OK Cancel Hide drivers that Browse Next

  1. Select all drivers listed and click Next.

Windows Setup Select the driver to install Red Hat VirtIO Ethernet Adapter (E:\WIN7\AMD64\NETKVM.INF) Red Hat VirtIO SCSI controller (E:\WIN7\AMD64\VIOSTOR.INF) VirtIO Balloon Driver (E:\WIN7\AMD64\BALLOON.INF) VirtIO-Serial Driver (E:\WIN7\AMD64\VIOSER.INF) Hide drivers that aren't compatible with this computer's hardware. Browse Rescan Next

  1. The root disk will be listed as unallocated disk space. The size of the root disk is specified when launched.

Where do you want to install Windows? Name Total size Free space Type Drive 0 Unallocated Space 80.0 GB 80.0 GB Refresh Delete Format New Load driver Extend Next

  1. The root disk will be listed as unallocated disk space. The size of the root disk is specified when launched. Set up the disk size and click Apply.

Where do you want to install Windows? Name Total size Free space Type Drive 0 Unallocated Space 80.0 GB 80.0 GB Refresh Delete Format New Load driver Extend Size: 81920 MB Apply Cancel Next

  1. Conrm the warning message.

Where do you want to install Windows? Name Total size Free space Type Drive 0 Unallocated Space 80.0 GB 80.0 GB Windows Setup To ensure that all Windows features work correctly, Windows might create additional partitions for system files. OK Cancel Next

  1. Select the primary drive and click Format. All the data in the disk drive will be erased aer format.

Where do you want to install Windows? Name Total size Free space Type Drive 0 Partition 1: System Reserved 350.0 MB 320.0 MB System Drive 0 Partition 2 79.7 GB 79.7 GB Primary Refresh Delete Format New Load driver Extend Next

  1. Conrm the warning message.

Where do you want to install Windows? Name Total size Free space Type Drive 0 Partition 1: System Reserved 350.0 MB 320.0 MB System Windows Setup This partition might contain important files or applications from your computer manufacturer. If you format this partition, any data stored on it will be lost. OK Cancel Next

  1. Aer formang, select the primary disk and click Next to proceed with the installaon.

Where do you want to install Windows? Name Total size Free space Type Drive 0 Partition 1: System Reserved 350.0 MB 320.0 MB System Drive 0 Partition 2 79.7 GB 79.7 GB Primary Refresh Delete Format New Load driver Extend Next

  1. Wizard started to set up the OS. Wait unl the installaon nish.

Windows Setup Installing Windows Your computer will restart several times. This might take a while. ✓ Copying Windows files Getting files ready for installation (0%) Installing features Installing updates Finishing up

  1. Now your OS installaon has nished.

Press Ctrl+Alt+Delete to sign in. 10:47 Tuesday, October 18

  1. To detach the ISO volumes, shut down the instance. Wait unl the instance status become Shuto.

Instances Name Status asset Image Size IP Key Pair Power State Node Ti si windows_server Shutoff N/A N/A m1.large net-20161014114209 N/A Shutdown HOST164 6 192.168.88.8 (hh95db5856) 5 10.90.6.172 View 1 - 1 of 1 10 ~ per page

  1. Go to Volumes, select the volume and click the Manage Aachments buon . Click the Detach buon on the pop-up screen. The ISO volumes can be reused or deleted aer detach.

Volumes Volume Snapshots 3 Name Status Size Attached To Bootable Datastore windows_volume In-Use 5 windows_server True ds vb GB,on /dev/hda virtio_volume In-Use 5 windows_server True ds vb GB,on /dev/hdb View 1 - 2 of 2 10 ~ per page Storage Application Pool Compute Images Instances 1 Volumes Security Groups Floating IPs Networking Internal Networks

Manage Attachments Detach may not take effect if device or resource is busy. Attach to instance windows_server on /dev/hda Cancel Detach Volume

6.3. Instance Acons

Instances A B C D E F G + ✓ + - = = = = = Name Status Task Image Size IP Key Pair Power State public- demo- vskyview3 Active N/A qa- ubuntu m1.medium- large-disk netB 192.168.21.103 N/A Running 10.90.6.173

The funcons for instances are listed on top of the table of instances. As shown in the picture above. They are introduced below.

• + Launch Instance: Launch and create an instance.
• Instance Details: View details of the selected instance.
• Edit Instance: Edit the name of the selected instance.
• Edit Metadata: Edit metadata of the selected instance.

Metadata contains the properes of an instance. You can create your own metadata, but metadata created by system cannot be edited.

Edit Metadata Please add a key-value data into table. Key of metadata should be lowercase. Medatada created by system is not allowed to edit. Metadata Key Metadata Value New Metadata Key New Metadata Value Close

• Create Instance Snapshot: Take a snapshot of the selected instance.

The snapshot mechanism allows you to create new images from running instances. This is very convenient for upgrading base images or for taking a published image and customizing it for local use.

NOTICE

The snapshot created from an instance booted from an image will be in qcow2 format and will be listed in the table of images. While a snapshot created from an instance booted from a volume will be a volume-snapshot and will be listed in the table of volume snapshots.

A mestamp format posix will be added automacally as the name of the snapshot. You can change it to a meaningful name.

Create Instance Snapshot A snapshot is an image which preserves the disk state of a running instance. The snapshot created from instance which booted from a volume will be a volume-snapshot. Snapshot Name * vstor2-160422-1820 Cancel Submit

  • Delete Instance: Click to delete the instance, this acon will clear all the data of the instance and cannot be undone.
  • More: More acons for instances are listed in the table below.

Instance Acons

So RebootA so reboot aempts a graceful shut down and restart of theinstance.
Hard RebootA hard reboot power cycles the instance.
StopThe instance powers-o and transions to shuto.
Pause/UnpauseThis command stores the state of the instance in RAM. A paused instance connues to run in a frozen state. Unpause: resume the state of the paused instance.
Suspend/ResumeSuspend funcon stores the state of VM on disk.Resume instance from the suspend state.
Rescue/UnrescueIf an instance le system becomes corrupted, Rescue mode provides a mechanism for access even when the VM image renders the instance inaccessible.Unrescue: Resume instance from the rescued state.
RebuildRebuild an instance from a fresh image while maintaining the same xed and oang IP addresses, amongst other metadata.
ResizeThe Resize funcon is the ability to change the avor of the instance, thus allowing it to upscale according to your needs. Aer resizing, you need to conrm the change.
MigrateThe Migrate funcon allows you to move an instance from one compute node to another. You can assign a specic host to migrate or allow the system to migrate automacally. Aer migrang, you need to conrm the migraon.
Live MigrateLive migraon is the movement of a live instance from one compute node to another. Only used for instances booted from a volume.
Associate Fixed IPAssign a xed IP to the instance. The xed IP is allocated from the internal network of the instance.
Disassociate Fixed IPRemove one of the xed IPs from the instance.
Associate Floang IP to InstanceAssign a oang IP to the instance. A oang IP is allocated from the external network of the cluster. You need to create the router connecng the external network and internal network of the instance rst. See 7.2 Build a Basic Network Environment.
Disassociate Floang IP to InstanceRemove the oang IP from the instance.
Edit Security GroupChange the security group sengs of the instance. Security group is the collecon of rewall policies for the instance.
Console LogPrint the console logs of the instance.

Behaviors

For resizing and migraon acons, you need to conrm in order to apply the changes. Click the down arrow buon and select Conrm Resize/Migrate to conrm and select Revert Resize/Migrate to revert the instance back to previous state.

Instances Name Status Task instance1 Verify Resize/Migrate Resized, awa Confirm Resize/Migrate Revert Resize/Migrate

6.4. Accessing Instances

There are two ways to access instances: with SSH or with VSkyConsole.

Note

VSkyConsole is a VSkyCube ulity. It is used to access instances.

Select the instance and click the eye buon on top of the table to see the detail of the instance.

Instances Name Status_TaskImage Size IP(Key Pair Power State Node Time since creat windows_server Active N/A N/A m1.large nag- net- 20161014114209 N/A Running HOST164 3 ho (hh95db5856) 13 min 192.168.88.8 View 1 - 1 of 1 10^ per page

As shown in the picture below, the networks of the instance are listed in the IP Addresses secon. Networks of the instance are specied when launching the instance and are not allowed to be changed.

IP Addresses Network MAC Address IP net-20161014114209 FA:16:3E:CC:E8:B8 FIXED IP 192.168.88.8 - FLOATING IP 10.90.6.172 Security Groups default

There are two types of IP: Fixed IP and Floang IP. A xed IP is an IP allocated from the internal network and a oang IP is allocated from the external network. Instances get a xed IP address for each internal network by default. A oang IP is associated to a xed IP. You can add or remove xed IPs and oang IPs aer launching. See 6.3 Instance Acons for more informaon.

One way to access the instance is with SSH and the floang IP. Check the Key eld in the Specicaon secon and the Security Groups secon. Make sure you use the correct SSH key and allow the incoming network packages of SSH to access the instance. See 6.8.2 Set Up Security Group Rules for accessing Instances for more informaon about security group.

Specifications Image N/A Flavor m1.large RAM 8192 MB vCPUs 4 Disk 80 GB Key N/A IP Addresses Network MAC Address IP net-20161014114209 FA:16:3E:CC:E8:B8 FIXED IP 192.168.88.8 - FLOATING IP 10.90.6.172 Security Groups default

Another way to access an instance is through VSkyConsole. At the Spice secon, the Spice Server IP and Spice Port are listed. Use the IP and port to access the instance through VSkyConsole. The Spice server IP and port changed every me the instance boots up.

Volumes Attached 1 volume windows_volume attached on /dev/hda 2 volume virtio_volume attached on /dev/hdb Spice Spice Server IP Spice Port Spice TLS Port 10.90.6.164 6841 N/A Close

6.5. Images

An image is a single le containing a virtual disk that includes a bootable operang system. You can create an image for an individual applicaon, or you can create one for a cluster, which will be available to each of its applicaons.

vsoCube DEMO / myWebServer Images Name Status Type Disk Format Size Public Protected Owner cirros Active XiImage QCOW2 12.6 MB True False Cluster vskystor-17 Active XiImage QCOW2 1251.3 MB True False karen-demo- App ubuntu- need-key Active XiImage QCOW2 245.2 MB True False myWebServer Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks

6.5.1. Create Image

Images come in dierent formats. Below are disk formats supported by VSkyCube.

Disk Format * QCOW2 - QEMU Emulator AKI - Amazon Kernel Image AMI - Amazon Machine Image ARI - Amazon Ramdisk Image ISO - Optical Disk Image QCOW2 - QEMU Emulator Raw VDI - Virtual Disk Image VHD - Virtual Hard Disk VMDK - Virtual Machine Disk

For a quick start, we can use an image with QCOW2, VDI, VHD or VMDK format. Images in these formats follow the steps below. Images with Amazon or ISO formats have dierent steps.

Some images contain a cloud-init package to support SSH key pair, while some images use SSH password authencaon instead. If the image supports SSH key pair, go to the next step to create key pairs aer the image is uploaded.

Prepare the image rst and then follow these steps to upload.

  1. Select a cluster or applicaon from the le sidebar. If uploading an image to a cluster, then all applicaons in this cluster can ulize the image.

  2. Click Images under Compute on the right menu, and click the + icon.

dev#12 / DemoApp dev#12 DemoApp 1 KarenApp timApp vstor-demo dev#16 demoApp test Images 3 + Name Status Type Disk Format Size Public Protected Cow cirros Active Image QCOW2 12.6 MB True False De vstor 17 Active Image QCOW2 1251.3 MB True True Clu View 1 - 2 of 2 10 - per page Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers

  1. The Create Image panel appears. Enter the following informaon and then click Submit to upload the image.

• Name: A name for the image.
- Image Source: Select the image locaon, Image File locally and Image Locaon from the Internet.
• Image File: Select the local image le or enter the HTTP URL.
- Disk Format: Choose the disk format of the image. Here we use QCOW2-QEMU Emulator as example. You need to choose the correct format of the image, or the image may not be able to launch.
• Minimum Disk (GB): The minimum disk size required to boot the image.
• Minimum RAM (MB): The minimum memory size required to boot the image.

Create Image Currently only images available via an HTTP URL are supported. The image location must be accessible to the Image Service. Compressed image binaries are supported (zip and .tar.gz.) Please note: The Image Location field MUST be a valid and direct URL to the image binary. URLs that redirect or serve error pages will result in unusable images. Name * ubuntu-need-key Description Image Source • Image File • Image Location Image File ? * Choose File trusty-server...64-disk1.img Disk Format * QCOW2 - QEMU Emulator Minimum Disk (GB) ? Minimum RAM (MB) ? Public • True • False □ Protected Cancel Submit

6.5.2. Creang an Amazon Machine Image (AMI)

AMI (Amazon Machine Image)

An AMI provides the informaon required to launch an instance, which is a virtual server in the cloud.

AKI (Amazon Kernel Image)

The AKI represents the vmlinuz poron of the kernel. It is basically the compiled kernel that gets loaded on boot.

ARI (Amazon RAMDisk Image)

The ARI represents the initrd/initramfs. This is the RAMDisk that gets loaded with the kernel and has the initial driver modules for the kernel to nd the root lesystem.

With tradional AKIs and ARIs you will also need the corresponding kernel modules installed on the le system. Without these the system will normally not be able to boot. Follow the steps to create an AMI image and the corresponding AKI/ARI images.

  1. Go to Images, and click the Create buon to open Create Image dialog box.
  2. Create the AKI image, and make sure the AKI-Amazon Kernel Image opon in Disk Format is selected.

Create Image Name * ubuntu-aki Description Image Source • Image File • Image Location Image File ? * Choose File trusty-server...z-generic-aki Disk Format * AKI - Amazon Kernel Image Minimum Disk (GB) ? Minimum RAM (MB) ?

  1. Create the ARI image, and make sure opon ARI-Amazon Ramdisk Image in Disk Format is selected. If there is no related ARI le for your AMI image, skip this step.

Create Image Name* ubuntu-ari Description Image Source • Image File • Image Location Image File ? * Choose File trusty-server...d-virtual-ari Disk Format* ARI - Amazon Ramdisk Image Minimum Disk (GB) ? Minimum RAM (MB) ?

  1. Create the AMI image, make sure the AMI-Amazon Machine Image opon in Disk Format is selected, and select the appropriate AKI and ARI images in the drop-down menu.

Create Image Name* ubuntu-ami Description Image Source Image File Image Location Image File Choose File trusty-serve...d64-ami.img Disk Format* AMI - Amazon Machine Image Kernel Image* ubuntu-aki RAMDisk Image ubuntu-ari Minimum Disk (GB) ? Minimum RAM (MB)

  1. Now the images are ready The AMI image is able to be launched.

Launch Instance Details Access & Security Networking Post-Creation Advanced Options Instance Name * ubuntu-from-amazon Flavor m1.medium Instance Count 1 Launch Instance on Node (Any available node.) Instance Boot Source Boot from image Image Name *ubuntu-ami Flavor Details Name m1.medium vCPUs 2 RAM 4096 MB Total Disk 40 GB Root Disk 40 GB Ephemeral Disk 0 Application Limits Number of instances 2 of 10 used 2 1 Number of vCPUs 5 of 16 used 5 2 Total RAM 10240 of 16000 MB used 40%6 Cancel Submit

6.5.3. Image Acons

vsCube DEMO / myWebServer Images A B C D E F G H + + Public Protected Owner Name Status Type Disk Formar Size Public Protected Owner cirros Active XiImage QCOW2 12.6 MB True False_Cluster Storage Application Pool Compute Images Instances Volumes Security Groups

The acons of images are listed on top of the table. As shown in the above picture, acons are introduced below from le to right.

• create Image: Create an image.
• Image Details: View the details of the selected image.
• Edit Image: Edit the properes of selected image.
- Launch as Instance: Launch an instance and use the selected image as the boot source.
• ↑ Create Volume: Create a volume and use the selected image as the volume source.
- Image Tags: Edit the tags of selected image. Tags are the metadata of an image. You can also create your own tags.
• Download Image: Download the selected image.
- Delete Image: Delete the selected image.

Noce

Make sure there are not any instances of other applicaons launched with the image before deleng it.

6.5.4. Image Life Cycle

The picture below describes the image life cycle and the relationship between Image, Instance, and Snapshots. See 6.5.3 Image Acons, 6.3 Instance Acons, and 8.5.5 Volume Acons for more informaon.

Promise Technology VSkyCube - Image Life Cycle - 1

flowchart
graph TD
    A["Image"] --> B["Image (Type: Snapshot)"]
    B --> C["Instance (Boot from Image)"]
    C --> D["Volume Snapshot"]
    D --> E["Volume"]
    E --> F["Volume"]

    subgraph Image
        G["(M1) Download Image<br>Download Image File<br>to Client"]
        H["(U1) Upload Image<br>Upload Image File<br>from Client"]
        I["(M2) Create Volume<br>Create Volume from Image"]
        J["(V5) Upload to Image<br>Create Image from Volume"]
        K["(V4) Launch Instance<br>Launch Instance from Volume"]
        L["(I1) Create Snapshot<br>Create a Snapshot of Instance boot from Volume"]
        M["(S1) Upload to Image<br>Create Image from Volume Snapshot"]
        N["(S2) Create Volume<br>Create Volume from Volume Snapshot"]
        O["(V3) Create Snapshot<br>Create Volume Snapshot from Volume"]
        P["(V2) Attach/Detach Volume<br>Attach/Detach Volume to instance as a Virtual Disk"]
        Q["(V1) Create Volume<br>Create a New Volume from an Existing Volume"]
    end

    subgraph Instance
        R["(M2) Create Volume<br>Create Volume from Image"]
        S["(M2)"]
        T["(V5)"]
        U["(V4)"]
        V["(I1)"]
        W["(S1)"]
        X["(S2)"]
        Y["(V3)"]
        Z["(V2)"]
        AA["(I2)"]
        AB["(I1)"]
        AC["(I3)"]
        AD["(I4)"]
        AE["(M4)"]
        AF["(M3)"]
        AG["(I2)"]
    end

    subgraph Volume
        AH["(V1) Create Volume<br>Create a New Volume from an Existing Volume"]
        AI["(V1)"]
        AJ["V1"]
    end

    B -->|M1| B
    B -->|U1| B
    B -->|(M4) Launch Instance
Launch Instance
from Instance Snapshot|
    B -->|M4| B
    B -->|(I2) Create Instance Snapshot
Create a Snapshot of Instance boot from Image|
    B -->|I2| B
    B -->|(I1) Create Snapshot
Create a Snapshot of Instance boot from Volume|
    B -->|S1| B
    B -->|(I3) Launch Instance
Launch Instance from Image|
    B -->|S2| B
    B -->|(I4) Launch Instance
Launch Instance from Image|
    B -->|S3| B
    B -->|(I5) Launch Instance
Launch Instance from Image|
    B -->|V4| B
    B -->|(V5) Upload to Image
Create Image from Volume|
    B -->|(V6) Upload to Image
Create Image from Volume|

6.6. Flavors

Flavor is an alternate term for a VM instance type, which is the virtual resource allocaon for each instance. There are ve default avor templates supplied. You can create your own avor as well.

vscView vscCube demo_Cluster 1 VSKyStor_Abby VSKyStor_Garry VSKyStor_Sandy userapp userApp1 Flavors Name vCPUs RAM Rout Disk Ephemeral Disk Swap Disk Public m1.tiny 1 512 MB 1 GB 0 N/A True m1.small 1 2048 MB 20 GB 0 N/A True m1.medium 2 4096 MB 40 GB 0 N/A True m1.large 4 8192 MB 80 GB 0 N/A True m1.xlarge 8 16384 MB 160 GB 0 N/A True for_AD 8 16384 MB 400 GB 0 N/A True vstor 4 4096 MB 80 GB 0 N/A True View 1 -7 of 7 10 = per page Applications Configurations Storage Physical Pool Cluster Storage Flavors Images Keypairs Resource Ratio Networks Network Topology External Network Networks

Create Flavor

To create a new customized avor, click the plus icon you will be asked to type the following informaon.

+When the Create Flavor window opens,

• Name: Specify the avor name.
• vCPUs: Specify the number of virtual CPUs.
• RAM: Specify the virtual memory size in megabytes.
- Root Disk: Specify the virtual root disk size in gigabytes. This is an ephemeral disk the base image is copied into. You don't use it when you boot from a persistent volume.
- Ephemeral Disk: Specify the size of a secondary ephemeral data disk. This is an empty, unformed disk and exists only for the life of the instance.
- Swap Disk: Specify oponal swap space allocaon for the instance.

Create Flavor Name * vCPUs * RAM * Root Disk * Ephemeral Disk Swap Disk Cancel Submit

Delete Flavor

To delete a avor, select the avor and click the trashcan icon o@top of the table of avors.

6.7. Key Pairs

If the uploaded image contains a cloud-init package that supports SSH key pairs, create the key pair in this secon. You can either generate a key pair or import an exisng public key.

cloud-init

A package commonly installed in VM images that performs initializaon of an instance aer boot using informaon that it retrieves from the metadata service, such as the SSH public key and user data.

Create Key Pair

To generate a key pair, follow these steps.

  1. Select a cluster from the le sidebar, click Key Pairs under Compute on the right menu, and click the +con.

vsCube dev#12 1 DemoApp KarenApp timApp vstor-demo dev#16 demoApp test dev#12 Key Pairs 3 + Flavors Images Keypairs Resource Ratio Networking Network Topology External Network Monitoring Nodes

  1. The Create Key Pair window appears. Enter a name for the key pair and click Submit.

Create Key Pair Name * my_key Key pair names may only contain letters, numbers, underscores and hyphens. Cancel Submit

The newly created key pair will be displayed in the main window, and the private key of the key pair will be downloaded automacally by the browser.

dev#12 dev#16 demoApp DemoApp KarenApp timApp vstor-demo dev#12 Key Pairs Name Fingerprint my_key 5f:d2:0a:f2:c7:d0:f2:e2:8d:c2:2f:35:a8:77:2b:42 View 1 - 1 of 1 10^ per page Flavors Images Keypairs Resource Ratio Networking Network Topology External Network Monitoring

  1. Find the private key named ".pem" in the local folder. In this example, the le name is "my_key.pem". Don't lose the private key, you will not be able to regenerate it and you won't be able to log in to the instance.

  2. Execute the following command to the "my_key.pem" le. This is to set permissions to this private key and to ensure only you can read and write it.

chmod 600 my_key.pem

karen Downloads $ ls my_key.pem karen Downloads $ chmod 600 my_key.pem karen Downloads $

Import Key Pair

If you have already generated a key pair and the public key is located at \~/.ssh/id_rsa.pub, use the following steps to upload the public key.

  1. Select the cluster on the le sidebar, click Key Pairs under Compute on the right menu, and click the arrow icon ↗

vs#Cube dev#12 DemoApp KarenApp timApp vstor-demo dev#16 demoApp test dev#12 Key Pairs 3 + 2 Flavors Images Keypairs Resource Ratio Networking Network Topology External Network Monitoring Nodes

  1. The Import Key Pair window appears. Specify a name for the key pair, paste the full content of your public key in Public Key, and click Submit.

Import Key Pair Name * my_key Key pair names may only contain letters, numbers, underscores and hyphens. Public Key * Cancel Submit

  1. The newly created key pair will be displayed in the main window.

dev#12 Key Pairs Name Fingerprint my_key 5f:d2:0a:f2:c7:d0:f2:e2:8d:c2:2f:35:a8:77:2b:42 View 1 - 1 of 1 10^ per page Flavors Images Keypairs Resource Ratio Networking Network Topology External Network Monitoring

Delete Key Pair

To delete the key pair, select it and click the trashcan icon 📄

dev#12 1 DemoApp KarenApp timApp vstor-demo dev#16 demoApp dev#12 Key Pairs 4 Name Fingerprint 3 my_key 5f:d2:0a:f2:c7:d0:f2:e2:8d:c2:2f:35:a8:77:2b:42 View 1 - 1 of 1 10 ~ per page Flavors Images 2 Keypairs Resource Ratio Networking Network Topology External Network Monitoring

Delete Key Pair Do you really want to delete key pair keypair1? Cancel Submit

6.8. Security Groups

A Security Group is a set of rewall policies. Security Group Rules dene which trac is allowed into an instance. You can apply the most appropriate security group for each parcular instance.

6.8.1. Manage Security Group

All applicaons have a default Security Group which denies all incoming trac. The default security group cannot be deleted. You can add or delete security group rules to the default security group to change the rewall policies, or create your own security group.

vsCube Cluster 1 MyWebServer Tony nick Jason VDI_Performance Security Groups A B C + default Default security group View 1 - 1 of 1 10^ per page 3 2 Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Rules of default D E Direction Ether IP Protocol Port Remote Type Protocol Range Egress IPv4 Any Any 0.0.0.0/0 (CIDR)

See the above picture to locate Security Groups. There are 2 tables in the main window, on top is the Security Groups table and below is the table of rules for the selected security group.

Acons of security groups and rules are introduced below.

• + Create Security Group: Click to create a security group.
• Edit Security Group: Click the pencil buon to edit the selected security group.
- Delete Security Group: Click the trashcan buon to delete the selected security group.
• + Create Rule: Create a rule for the selected security group.
- Delete Rule: Delete selected rule.

6.8.2. Set Up Security Group Rules for accessing Instances

Security Group Rules dene which trac is allowed to get to the instance. A Security Group Rule consists of three main parts.

  • Rule: You can select from the rule templates such as SSH, HTTP, or MYSQL, or use custom rules such as TCP, UDP, and ICMP.
  • Open Port/Port Range: Choose either a single port or a range of ports.
  • Remote: Specify the source of the trac to be allowed via this rule. Select either CIDR or Security Group. Selecng Security Group as the source will allow any instance in that Security Group to access any other instance.

Promise Technology VSkyCube - Set Up Security Group Rules for accessing Instances - 1

flowchart
graph TD
    A["Add Rule"] --> B["Rule: Select rule template or use custom rules, such as TCP, UDP and ICMP."]
    B --> C["Security Group"]
    C --> D["default"]
    D --> E["Rule *"]
    E --> F["Custom TCP Rule"]
    F --> G["Direction *"]
    G --> H["Ingress Egress"]
    G --> I["Open Port *"]
    I --> J["Port Port Range"]
    J --> K["Port ? *"]
    K --> L["Example: 80"]
    M["Remote"] --> N["CIDR Security Group"]
    O["Port/Port Range"] --> P["Choose either a single port or a range of ports."]
    Q["Remote"] --> R["CIDR Security Group"]
    S["0.0.0.0/0"] --> T["End"]

To allow incoming network trac into an instance we need to add at least 2 rules.

  • Rule-for-SSH: To access an instance by SSH, you need to create a rule to allow SSH packages into the instance.
  • Rule-for-PING: If you want to use the "ping" command to validate the instance IP address, you need to create a rule to allow ICMP packages to access the instance.
Rule-for-SSH
Allow SSH port 22 to open for requests from any IP address.
RuleSSH
DireconN/A
RemoteCIDR
CIDR0.0.0.0/0
Rule-for-PING
Allow instances to receive all incoming ICMP packets.
RuleAll ICMP
DireconIngress
RemoteCIDR
CIDR0.0.0.0/0

Follow these steps to add rules to the default security group.

  1. Select the applicaon on the le sidebar.
  2. Select Security Groups under Compute on the right menu.
  3. Click the row to select a security group in the main window.
  4. Click the + icon in the Rules of default secon to open the Create Rule panel.

vsCube Cluster MyWebServer 1 Tony nick Jason VDI_Performance Cluster / MyWebServer Security Groups Name Description default Default security group View 1 - 1 of 1 10 ~ per page Storage Application Pool Compute Images Instances Volumes Security Groups Rules of default 4 Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Direction Ether Type IP Protocol Port Range Remote Egress IPv4 Any Any 0.0.0.0/0 (CIDR)

  1. Enter the value of Rule-for-SSH in the form, and click Submit.

Add Rule Security Group default Rule * SSH Remote CIDR Security Group CIDR ? * 0.0.0.0/0 Rules define which traffic is allowed to instances assigned to the security group. A security group rule consists of three main parts: Rule: You can specify the desired rule template or use custom rules, the options are Custom TCP Rule, Custom UDP Rule, or Custom ICMP Rule. Cancel Submit

  1. Enter the value of Rule-for-PING in the form, and click Submit.

Add Rule Security Group default Rule * ALL ICMP Direction * Ingress Egress Remote CIDR Security Group CIDR * 0.0.0.0/0 Rules define which traffic is allowed to instances assigned to the security group. A security group rule consists of three main parts: Rule: You can specify the desired rule template or use custom rules, the options are Custom TCP Rule, Custom UDP Rule, or Custom ICMP Rule. Cancel Submit

The two added rules will be displayed in the main window, Rules of default secon.

Cluster / MyWebServer 1 MyWebServer Tony nick Jason VDI_Performance Security Groups Name Description default Default security group View 1 - 1 of 1 10^ per page Rules of default Direction Ether Type IP Protocol Port Range Remote Egress IPv4 Any Any 0.0.0.0/0 (CIDR) Egress IPv6 Any Any ::/0 (CIDR) Ingress IPv4 Any AnyITCH default Ingress IPv6 Any Any default Ingress IPv4 ICMP Any 0.0.0.0/0 (CIDR) Ingress IPv4 TCP 22 (SSH) 0.0.0.0/0 (CIDR) Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchestration Stacks Resource Types

6.9. Resource Rao

The Resource Rao opon shows the resource rao seng of each node in the cluster, which means the resources, CPU and RAM, can be used to overprovision.

dev#12 Set Resource Ratio for Selected Nodes Resource Ratio - Nodes Set Resource Ratio for All Nodes Hostname Status Alias Name.IP Controller vCPUs vCPU Overpn Ratio hha30a1f02 Online HOST165 10.90.6.165 False 8 6 hhb254c69c Online HOST164 10.90.6.164 True 8 5 View 1 - 2 of 2 10 > per page application Configurations Storage Physical Pool Cluster Storage Compute Flavors Images Key Pairs Resource Ratio Networking

To set the resource rao of a specic node, click the single gear icon . Ifeseng all of the nodes, then click the tree gear icon .You will be asked to specify the resource provision sengs.

Overprovision with 1 rao, meaning the resource cannot be over-provisioned. Overprovision with 2 rao, meaning the resource can be over-provisioned 2 mes the available physical resources. When you nished, click Submit. The new sengs will be applied immediately.

In general, there are three scenarios.

No Overprovisioning

  • Set up resource rao with 1 for both vCPU and memory.
  • Once physical vCPU/vMemory is used up, no VM can be launched.
  • Running VM's maintain constant performance level.
  • Generally good for compute-intensive workloads and when performance degradaon is not desirable.

Medium Level of Overprovision

• Overprovision with 5 to 1 rao for vCPU and 1.5 to 1 rao for memory.
- It is good to obtain a balance of allowing more workload and it can tolerate certain performance degradaons.

High Level of Overprovision

- Overprovision with 16 rao, meaning vCPU can be over-provisioned 16 mes the available physical resources.

- Has a bias toward allowing a lot of the workload to be provisioned and a high tolerance for performance degradaon under occasional overloaded conditions.

6.10. Floang IPs

6.10.1. Associate Floang IP to Instance

To access an instance from an external network, you need to associate a oang IP to the instance. Follow these steps:

dev#12 DemoApp 1 KarenApp timApp vstor-demo dev#16 demoApp test Instances Name Status asset Task Image Size IP myUbuntu Active N/A ubuntu-need-key m1.small cirrosB Active N/A cirros m1 Belgium cirrosA Active N/A cirros m1 Belgium Resize Migrate Live Migrate Associate Fixed IP Disassociate Fixed IP Associate Floating IP to Instance Disassociate floating IP from Instance Edit Security Group Console Log Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances

  1. Select the applicaon on the le sidebar.
  2. Click Instances under Compute on the right menu.
  3. Select the target instance, in this example, myUbuntu, and make sure the Status of the instance is Acve.
  4. Click the down-arrow icon ▼ to open the drop-down menu and select Associate Floang IP to Instance.
  5. The Associate Floang IP to Instance window appears. Click the +icon.

Associate Floating IP to Instance Floating IP Address * --- Select Floating IP --- Instance * myUbuntu If fails to associate, make sure you have extra IP address in external network. (Associate floating-IP needs extra IP address to create floating-IP agent gateway on each node.) Cancel Submit Allocate Floating IP Floating IP pool (external network) * ext Cancel Submit Create IP success. Associate Floating IP to instance Floating IP Address * 10.90.6.180 Instance * myUbuntu If fails to associate, make sure you have extra IP address in external network. (Associate floating-IP needs extra IP address to create floating-IP agent gateway on each node.) Cancel Submit

  1. The Allocate Floang IP window appears. Select the external network just created as the Floang IP pool.
  2. Click Submit to allocate a oang IP.
  3. Go back to the Associate Floang IP to Instance window. In the Instance eld, select the instance just created. In this example, select "myUbuntu". Click Submit.
  4. Wait 5 to 10 seconds. The oang IP will be displayed in the IP eld of the instance. Save the IP address for later use.

Instances Name Status asset Image Size IP Key Pair Power State myUbuntu Active N/A ubuntu- m1.small Int-netA my_key Running cirrosB Active N/A cirros m1.tiny Int-netB N/A Running Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks

6.10.2. Manage Floang IP

dev#12 / KarenApp dev#12 KarenApp PTJ-Storage Expo (WebServer) VSTOR forPTUdemo timApp dev#16 TestApp Floating IPs A B C D + + - Device Mapped Fixed IP Address Floating IP Pool 10.90.6.189 Instance: webServer1 192.168.11.101 ext 10.90.6.187 Load Balancer 192.168.11.112 ext View 1 - 2 of 2 10^ per page Storage Application Pool Compute Images Instances Volumes Security Groups 2 Floating IPs Networking

Floang IP is an applicaon resource. Floang IPs are independent in each applicaon. Therefore, don't forget to delete (release) surplus oang IPs in the applicaon, so that the oang IP resources could be used by other applicaons. To manage oang IPs, please follow these steps.

  1. Select an applicaon on the right sidebar.
  2. Select Floang IPs on the right menu. Then the table of oang IPs will be shown on the main window.

There are 4 buons on top of the table.

A. + Click the plus buon to allocate a oang IP from the IP pool of the external network.
B. Click the buon to associate the selected oang IP to an instance or disassociate the selected oang IP from an instance.
C. Click the buon to associate the selected oang IP to a port of load balancer or disassociate the selected oang IP from a port of load balancer. See 7.10 Load Balancer for more informaon.
D. 📋 Click the trashcan buon to delete (release) the selected oang IP.

There are 2 dierent devices that a oang IP could be associated to: instance and load balancer. To associate a oang IP to an instance, check the network of the instance rst. Make sure the subnet of the instance network is able to access the external network through the router. See 7.2 Build a Basic Network Environment for more informaon. To associate a oang IP to a port of load balancer, you need to conjure the load balancer rst. See 7.10 Load Balancer for more informaon.

7. Chapter 7. Networking

In this chapter you will learn how to build the network conguraons of the cluster.

Glossary

External Network

  • A set of network conguraons of a cluster. Here, external means outside of VSkyCube.
  • An external network may be the same as the public network, or it may be a private OA (Oce Automaon) network. It depends on the network environment.
  • You can only create one external network conguration in one cluster.

Internal Network

  • A set of private network conguraons of a cluster that is not public.
    • Each applicaon has its own internal network sengs.
  • Internal networks are isolated from each other by default.

Subnet

- A network (both external and internal) contains one or more subnets. If you need mulple subnets, you should create one internal network conguraon and then add mulple subnets under the internal network.

Router

- A virtual router connects the internal and external networks.

7.1. Network Topology

Network Topology is the network structure of a cluster. You can easily see how your network is constructed and spot problem areas. You can drag objects to rearrange them and then click the Save buon to preserve the organizaon.

vSCOView Cluster View vSCOcube demoCluster userApp1 vskystar OA_VSKYSTOR VSKyStor_Abby VSKyStor_Garry VSKyStor_Sandy userapp Physical View ✓ Cluster View 1 go to cluster view Select a cluster ext-sub vstar-rout router1 Vskyster1 vstor-int sur... inst.subA clmos clmos, from... Exchange CRM Click Network Topology Network Topology Cluster Storage Compute Flavors Images Keypairs Resource Ratio Reputing External Network Monitoring Nodes Event & Log Events Log Configuration Service Setting Cluster Upgrade © 2014-2015 PROMISE Technology, Inc. All rights reserved. Copyright © 2014-2015 PROMISE Technology, Inc. All rights reserved.

Promise Technology VSkyCube - Network Topology - 2

flowchart
graph TD
    A["Subnet of external network"] --> B["ext_sub"]
    C["Router"] --> D["router"]
    E["Subnet of internal network"] --> F["int_sub"]
    B --> G["Hold and drag elements to move. Click the Save button to store the current position."]
    F --> G
    G --> H["Service Setting"]

7.2. Build a Basic Network Environment

In this secon you will learn how to build a basic network environment for an instance. For the quick starter please refer to 7.3 Network Wizard.

Preparaon

- Create the applicaon before seng up the network environment. See 5.1 Create an Applicaon.

  • Check the physical network sengs of the cluster. If the Service Network is congured, use the Service Network for the external network sengs. Otherwise, use the Management Network.
    • You need to know the IP of the physical switch (gateway IP) for the external network.
  • You need to know the network address ^2 (CIDR) of the subnet for the external network.
  • (Oponal) You need to know the available IP range ^3 for the cluster to use.
  • (Oponal) You need to know the DNS IP/FQDN ^4 of the cluster.

Step Outline

Promise Technology VSkyCube - Step Outline - 1

flowchart
graph TD
    A["Network switch"] --> B["external_sub"]
    B --> C["to-ext subnet"]
    C --> D["internal_sub"]
    D --> E["dev-18"]
    D --> F["dev00"]
    G["The IP of physical switch Gateway: 172.16.0.1"] --> H["1. External Network Configuration Gateway: 172.16.0.1 CIDR: 172.16.16.0/24"]
    G --> I["2. Create Internal Network Gateway: 192.168.20.1 CIDR: 192.168.20.0/24 Enable DHCP"]
    G --> J["3. Create Router and Interface Connecting external and internal network"]
    J --> K["Dev-18"]
    J --> L["Dev00"]
    M["4. Launch Instance (other chapter) Get IP from DHCP Gateway: 192.168.20.1"] --> N["Dev-18"]

Part 1. External Network Conguraon

  1. To create an external network for the cluster, select the cluster on the le sidebar, in this example, demoCluster, and then select External Network under Networking on the menu at the right. Click the +con to create an external network.

demoCluster demoCluster 1 userApp1 vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp External Network 3 + Name Status Sk# Admin State ext-net Active Yes Up View 1 - 1 of 1 10 ~ per page Subnets of ext-net 2 External Network Monitoring Nodes Name CIDR IP Version Gateway IP ext-sub 172.16.0.0/24 IPv4 172.16.0.1

  1. Enter the following informaon in the Create External Network window.

• Name: What to call this external network.
- Provider Network Type: The physical mechanism for the virtual network to be implemented. Please do not change the default sengs.
- Admin State: The state of this external network. Please do not change the default settings.

Create External Network Network Subnet Subnet Detail Name ext_net Provider Network Type VXLAN Admin State * UP Cancel Submit

  1. Switch to the Subnet tab on the top menu to congregate the subnet. Enter the following informaon.

• Name: A name for the subnet.
• Network address: Network address assigned to this subnet in CIDR format.
• IP version: The Internet Protocol version.
• Gateway IP: IP address of the gateway in the physical network.
- Disable Gateway: If there is no gateway in the physical network, check this box to disable the gateway.

Create External Network Network Subnet Subnet Detail Create a subnet associated with the network. Advanced configuration is available by clicking on the 'Subnet Detail' tab. Name ext-sub Network Address ? * 172.16.0.0/24 IP Version * IPv4 Gateway IP ? * 172.16.0.1 Disable Gateway Cancel Submit

  1. (Oponal) Switch to the Subnet Detail tab for advanced subnet sengs. Enter the following informaon.

  2. Allocaon Pools: VSkyCube automacally allocates the IP to the virtual device in the virtual network. If you want to limit your IP to a specific range, assign it in Allocaon Pools.

  3. DNS Name Servers: IP address of the DNS or FQDN (Fully Qualified Domain Name) server in the physical network.
    • Stac Routes: Stac routes allow you to manually conjure the round entry.

Create External Network Network Subnet Subnet Detail Allocation Pools 172.16.0.180 ~ 172.16.0.189 + DNS Name Servers 8.8.8.8 Static Routes : Cancel Submit

Aer clicking Submit, the new external network will be displayed in the main window.

VECView = vscCube DEMO lumen-demo App myWebserver vitor Cluster View demo External Network Name Status Shared Application Admin Save ext-net Active Yes Up View 1 - 1 of 1 10 - per page Subnets of ext-net Name COR IP Version Gateway IP extSub 16.90.6.6/24 IPv4 10.90.6.254 View 1 - 1 of 1 10 - per page Applications Configurations Storage Physical Pool Cluster Storage Compute Rators Images Keypairs Resource Ratio Networking Network Topology External Network Monitoring

Part 2. Create an Internal Network

  1. To create an internal network for the applicaon, select the applicaon on the le sidebar, click Internal Networks under Networking on the right menu, and click the + icon.

vsoCube demoCluster / userApp1 userApp1 1 vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp userapp2 Internal Network 3 + Name Status Shared Admin State int-netA Active No Up View 1 - 1 of 1 10 ~ per page Subnets Name CIDR IP Version Gateway IP Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers

  1. The Create Internal Network window appears. Enter the following informaon.

• Name: A name for the internal network.
• Admin state: The state of the network.
- Shared: Enable the Shared opon if you want to share this network with other applicaons.

Create Internal Network Network Subnet Subnet Detail Name * Admin State UP Shared Cancel Submit

  1. Switch to the Subnet tab. Enter the following informaon.

• Name: A name for the subnet of the internal network.
- Network Address: This is the network address assigned to this subnet in CIDR format. Unlike the external network subnet, you have to assign the network address of the internal network yourself.
• IP Version: Specify the Internet Protocol version.
• Gateway IP: Specify the default gateway IP address of the subnet.
- Disable Gateway: Select the checkbox to disable the default gateway.

Create Internal Network Network Subnet Subnet Detail Create a subnet associated with the network. Advanced configuration is available by clicking on the 'Subnet Detail' tab. Name network_test2 Network Address ? * 192.168.0.0/24 IP Version * IPv4 Gateway IP ? * 192.168.0.254 Disable Gateway Cancel Submit

  1. (Oponal) Switch to the Subnet Detail tab on the top menu for advanced subnet sengs. Enter the following informaon.

- Allocaon Pools: VSkyCube automacally allocates an IP to the virtual device in the virtual network. If you want to limit your IP within a specific range, assign it in Allocaon Pools.

  • DNS Name Servers: IP address of the DNS server in the physical network. If the subnet needs to connect to the external network, specify the DNS server.
    • Stac Routes: Stac Routes are for manually configuring the round entry.
  • Enable DHCP: Enable DHCP service of the subnet. If you want to congregate IP addresses for instances manually, disable it.

Create Internal Network Network Subnet Subnet Detail Allocation Pools 192.168.22.100 ~ 192.168.22.150 + DNS Name Servers 8.8.8.8 Static Routes Enable DHCP Cancel Submit

Part 3. Create a Router and Interface

Create a virtual router connecng the external and internal networks.

  1. To create a router, select the applicaon on the le sidebar, click Routers under Networking on the right menu, and click the +con in the Routers secon.

vscCube demoCluster userApp1 vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp userapp2 demoCluster / userApp1 Routers 3 + Name Status Gateway to External Network Admin State View 1 - 1 of 1 10^ per page Interfaces Fixed IP Subnet Network Status Type No Data Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks 2 Routers Load Balancers

  1. The Create Router window appears. Enter the following informaon.

• Name: A name for the router.
- Admin State: State of the router. Please do not change the default seng.
• Gateway to External Network: Select the external network just created.

External Network Router Internal Network Create Router Name test_router Admin State UP Gateway to External Network --- Select External Network --- --- Select External Network --- ext_net Cancel Submit

  1. Click Submit. The new router will appear in the Routers secon. Select it and click the +icon in the Interfaces secon.

vssCube demoCluster / userApp1 userApp1 1 vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp userapp2 Routers Name Status Gateway to External Network Admin State test_router Active Network:ext-net Up IP Address:172.16.0.180 Subnet:ext-sub 3 Select the router you just created. (Click the row to select) Interfaces of test_router Fixed IP Subnet Network Status Create 192.168.11.101 inst-subA int-netA Active Snat Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs NetworkMfg Internal Networks Routers Load Balancers Monitoring Instances

  1. The Create Interface window appears. Enter the following informaon, and then click Submit.

  2. Subnet: Select the subnet of the internal network to connect it to the router.

  3. IP Address: Assign an IP address to the interface or leave it empty for auto assigning by VSkyCube.

External Network Router Internal Network Create Interface Router test_router Subnet * network_test2 (CIDR: 192.168.55.0/24) IP Address ? Cancel Submit

The newly created interface appears in the Interfaces secon. Now the internal network is able to access the external network. You can go to Network Topology under Networking on the right to make sure the devices are connected.

Promise Technology VSkyCube - Part 3. Create a Router and Interface - 5

flowchart
graph TD
    A["Subnet of external network"] --> B["ext_sub"]
    C["Router"] --> D["router"]
    E["subnet of internal network"] --> F["int_sub"]
    B --> G["Service Setting"]
    D --> H["Keypairs"]
    D --> I["Resource Ratio"]
    D --> J["Networking"]
    D --> K["Network Topology"]
    D --> L["External Network"]
    D --> M["Monitoring"]
    D --> N["Nodes"]
    D --> O["Event & Log"]
    D --> P["Events"]
    D --> Q["Log"]
    D --> R["Configuration"]

FAQ

Q6. There are multiple NICs in my cluster, which sengs should I use to congregate the external network?

Check the network sengs of your cluster. Follow the steps described in the pictures below to open the Network Sengs panel.

V80Cube Summary Cluster Deployment 15_nodes Jason Milestone Tony Clusters Name Status Connected VIP 15_nodes Active Connected 172.16.1.40 3. Click the row to select cluster. Nodes of 15_nodes 4. Click the row to select node. (Select any online node) Hostname Status Alias Name Controller Core RAM IP hh2d24cce0 Online Asrock-1 True 32 62.82 GB 172.16 hh4c5723ce Online Asus-2 False 8 31.38 GB 172.16 hh8c75852 Online Asrock-3 False 32 62.82 GB 172.16.1.43 172.16.1.1 8.8.8.8 Network Settings 6 Reboot Node Shutdown Node

- Case A. There are Management Network and Service Network sengs in the panel. In this case, use the Service Network sengs to congregate the external network.

Network Settings Gateway 172.16.1.1 DNS 8.8.8.8 Management Network Service Network IP 172.16.1.41 Link True Mask 255.255.255.0 Bond Mode MAC Address 00:1b:21:d7:52:95 Bond Name Gateway Bridge Name hr-srv

- Case B. As shown in the picture below. If there are only Management Network sengs in the panel, then use the Management Network sengs to conjure the external network.

Network Settings Gateway 172.16.0.1 DNS 8.8.8.8 Management Network IP 172.16.0.75 Link True Mask 255.255.255.0 Bond Mode balance-slb MAC Address 00:8c:fa:f8:07:30 Bond Name bond0 Gateway Bridge Name b-mg

7.3. Network Wizard

Network Wizard lets you create a most basic network environment. Aer making an applicaon, open the wizard to complete your network conguraon.

dev / test dev test Internal Network Network Wizard 3. + Name Status Shared Admin State Application No Data Instances Volumes Security Groups Floating IPs Networking 2 Internal Networks Routers

As shown in picture below, the network wizard is basically a form to ll in.

  • Internal Network CIDR: the CIDR for the internal network. Internal network is a private network for virtual machines/devices to communicate.
    • DNS Name Servers: the DNS name servers for the internal network.
  • Connect to external network: Check to make the internal network able to access the external network. A router will be created if selected.
  • External network CIDR: If the external network has not been congured, you are asked to ll-in the conguraon of the external network.
    • Gateway IP: the gateway IP address of the external network.
  • Allocaon IP Pools: The IP ranges of the external network for the system to automacally assign to virtual machines and devices.

Network Wizard Internal Network Internal Network CIDR ❄ * 192.168.1.0/24 DNS Name Servers ❄ 8.8.8.8 Connect to external network External Network External Network CIDR ❄ * 10.90.6.0/24 Gateway IP ❄ * 10.90.6.254 Disable Gateway Allocation IP Pools ❄ 10.90.6.100 ~ 10.90.6.150 + Cancel Submit

Aer creaon, the network topology will look like the picture below. During the process:

  • An external network conguraon and the related subnet are set up.
  • An internal network conguraon and the related subnet are set up.
  • A router connecng the external subnet and the internal subnet is set up.

Now the basic network is built, and you are able to deploy the instances.

Promise Technology VSkyCube - Network Wizard - 3

flowchart
graph TD
    A["ext_subnet"] --> B["route-201609 ..."]
    C["Router"] --> B
    D["subnet of external network"] --> A
    E["subnet of internal network"] --> C

Troubleshoong

Q7. Errors during the process of the network wizard.

The most common error is caused by the wrong conguraon. Follow these steps to clean up the conguraons and then try again.

  1. Go to Router and delete the router and all the related interfaces just created. See 7.8 Manage Routers and Interfaces

  2. Go to Internal Network and delete the network conguraon and the related subnet. See 7.5 Manage Internal Networks

  3. (Oponal) Go to External Network and delete the network conguraon and the related subnet. See 7.4 Manage External Network. Note the external network is a shared resource of the applicaons, make sure that no other applicaon is using the external network before deleng it.

  4. Now try run the Network Wizard again.

7.4. Manage External Network

Manage the external conguraon of the cluster.

PTT Software Engineer vskystor PTU_QCT karen-application vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp userapp? External Network B. View detail C. Edit D. Delete A. Create an external network configuration + Name Status Shared Admin State ext-net ✓ Active Yes ✓ Up 3. Click the row to select the network Subnets of ext-net Name CIDR IP Version Gateway IP ext-sub 172.16.0.0/24 IPv4 172.16.0.1 Application Configurations Storage Physical Pool Cluster Storage Compute Flavors Images Keypairs Resource Ratio Networking Network Topology External Network Monitoring

Follow the steps described in the above picture to locate the External Network table. There are 4 buons on top of the table to manage the external network.

A. + Click this icon to create an external network conguraon. See 7.2 Build a Basic Network Environment for more informaon.

Noce

A cluster can only create an external network and one subnet conguraon.

B. View details of the selected network.
C. Edit the conguraon of the selected network.
D. Delete the selected network conguraon.

Noce

You need to delete all routers and subnets connected with the selected network before deleon. Otherwise the deleon might not work.

7.5. Manage Internal Networks

Manage the internal network conguraon of the applicaon.

vskyCube PTT Software Engineer 1 vskystor PTU_QCT karen-application vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp userapp? Internal Network B. View Detail C. Edit D. Delete A. Create an internal network Name Status Shared Admin State int-netA Active No Up View 1 - 1 of 1 10 × per page Subnets of int-netA Name CIDR IP Version Gateway IP inst-subA 192.168.11.0/24 IPv4 192.168.11.1

Follow the descripon in above picture to locate the Internal Network table.

  1. Select the applicaon in the side bar.
  2. Click Internal Network from the menu.
  3. Click a row to select an internal network.

There are 4 buons on top of the table to manage internal network.

A. + Create an internal network conguraon. See 7.2 Build a Basic Network Environment for more informaon.
B. View details of the selected network.
C. Edit the conguraon of the selected network.
D. Click the trashcan icon to delete the network.

Noce

You will rst need to delete all routers and subnets connected with the selected network. Otherwise the deleon might not work.

7.5.1. Share Internal Network with Other Applicaons

An external network is open to all applicaons; however, internal networks are independent. To share an internal network with other applicaons, enable the network Share opon.

Create Internal Network

Create Internal Network Network Subnet Subnet Detail Name * Admin State UP Shared Cancel Submit

Edit Internal Network:
Edit Internal Network Name * netB Admin State UP Shared Cancel Submit

Noce

To disable the Share opon, you need to remove all the related devices connected with the shared network.

Shared internal networks can be accessed by all applicaons. The Applicaon column shows the owner of the network.

Internal Network Name Status Shared Admin State Application netB ✓ Active No ✓ Up karen-demo-App View 1 - 1 of 1 10 ^ per page

7.6. Manage Subnets

Manage the subnets in the external and internal network.

Locate Subnets the in External Network

The Subnets for each external network will be listed whenever you select the network.

PTT Software Engineer vskystor PTU_QCT karen-application vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp userapp2 External Network Name Status Shared Admin State ext-net Active Yes Up 3 Click the row to select network Subnets of ext-net B. View Detail C. Edit D. Delete A. Create a subnet → + Name CIDR IP Version Gateway IP ext-sub 172.16.0.0/24 IPv4 172.16.0.1 Application Configurations Storage Physical Pool Cluster Storage Compute Flavors Images Keypairs Resource Ratio Networking Network Topology External Network Monitoring

Locate Subnets in the Internal Network

The Subnets for each internal network will be listed whenever you select the network.

vscCube PTT Software Engineer 1 vskystor PTU_QCT karen-application vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp userapp? Internal Network Name Status Shared Admin State int-netA Active No Up View 1 - 1 of 1 10 > per page Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchestration Stacks Resource Types Subnets of int-netA B. View Detail D. Delete A. Create a subnet Name CIDR IP Version Gateway IP inst-subA 192.168.11.0/24 IPv4 192.168.11.1

There are 4 buons on top of the table to manage subnet:

A. + Create a subnet in the selected network. See 7.2 Build a Basic Network Environment for more informaon.
B. View details of the selected subnet.

C. Edit the conguraon of the selected subnet.
D. 📄 click the trashcan icon to delete the subnet.

7.7. Ports

Select a network and ports for the selected network will be listed in a table. Click a row to select the port, and then click the icon to view details.

vsoCube PTT Software Engineer vskystor PTU_QCT karen-application vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy External Network Click the row to select network Name Status Shared Admin State ext-net Active Yes Up View 1 - 1 of 1 10 ~ per page Subnets of selected network Subnets of ext-net Subnet Actions Name CIDR IP Version Gateway IP ext-sub 172.16.0.0/24 IPv4 172.16.0.1 View 1 - 1 of 1 10 ~ per page Ports of selected networks Ports of ext-net Port action Name Status Fixed IPs Attached Device (8cc031e8) Down 172.16.0.182 network:floatingip_agent_ga (3a5670d3) N/A 172.16.0.184 network:floatingip (0ce05367) N/A 172.16.0.181 network:floatingip

7.8. Manage Routers and Interfaces

The Routers are used to connect the instances to the external network.

7.8.1. Routers

VSGCube PTT / Software Engineer Routers B. View Detail C. Edit D. Ping E. Delete Software Engineer 1 A. Create a router Name Status Gateway to External Network Admin State test_router Active Network:ext-net Up IP Address:172.16.0.180 Subnet:ext-sub View 1 - 1 of 1 10 ~ per page Interfaces of test_router Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchestration Stacks Resource Types

Select the applicaon and click Router on the right menu to locate the Routers table. There are 5 buons used for managing routers.

A. + create a router.
B. View details of the selected router
C. Edit the conguraon of selected router.
D. Use the ping command to verify the network conncon between the router and the target IP address.

Ping Ping 8.8.8.8 success. IP 8.8.8.8 Cancel Submit

E. Delete the selected router.

7.8.2. Use Ping on the Router to Verify the Network Connecon

You can use ping on the router to verify the network conneccon between the router and the target IP address.

Ping Ping 8.8.8.8 success. IP 8.8.8.8 Cancel Submit

Noce

To make ping available, there should be at least one internal interface connected with the router. If there's no internal interface connected to the router, the ping funcon may not work properly.

7.8.3. Interfaces

Interfaces of r4 Fixed IP Subnet Network Status Type 10.10.0.4 NNET_SUB NNET ✓ Active Snat 10.10.0.1 NNET_SUB NNET ✓ Active Internal Interface 10.90.6.176 extSub ext-net ✓ Active External Gateway View 1 - 3 of 3 10^ per page

As shown in the picture above, there are 3 dierent types of interfaces:

External Gateway

Interface to external network.

Internal Interface

Interface to internal network.

SNAT

SNAT stands for Source Network Address Translaon. SNAT is commonly used to enable hosts with private addresses to communicate with servers over the Internet. When the router connects to an external network, one SNAT interface is automacally created for each connected internal network. It will be automacally deleted aer disconnectng.

Aer seng up the router, the interfaces corresponding to the router are listed in the table below the routers. There are 3 management acons for interfaces: Add Interface, View Details, and Delete Interface.

vscCube PTT / Software Engineer PTT Software Engineer vskystor PTU_QCT karen-application vskystor QA_VSKYSTOR VSkyStor_Abby VSkyStor_Garry VSkyStor_Sandy userapp 1 Routers 3 Name Status Gateway to External Network Admin State test_router ✓ Active Network:ext-net ✓ Up IP Address:172.16.0.180 Subnet:ext-sub View 1 - 1 of 1 10 > per page Interfaces of test_router B.View detail C.Delete A. Add an interface → + 4 Fixed IP Subnet Network Status Type 192.168.11.101 inst- subA int- netA ✓ Active Snat 172.16.0.180 ext-sub ext-net ✓ Down External Gateway 192.168.11.1 inst- subA int- netA ✓ Active Internal Interface View 1 - 3 of 3 10 > per page Routers 2 Load Balancers Monitoring Instances Datastores Orchestration Stacks Resource Types

Create and Remove External Gateway

In the Create Router panel, select the external network in Gateway to External Network. You can add or remove it from Edit Router panel after the creation of router.

Note

For External Gateway, an IP address of an external network is needed. If you are running out of IP addresses in the external network, the acon may not work.

Create Router Name * router Admin State UP Gateway to External Network ext-net -- Select External Network -- ext-net Cancel Submit

Create Internal Interface and SNAT

Open the Create Interface panel, the subnets will be listed in the Subnet drop-down list.

Noce

To add an internal network interface in another applicaon, you need to Share the network. See 7.5.1 Share Internal Network with Other Applicaons.

Create Interface Router r4 Subnet * NNET_SUB (CIDR: 10.10.0.0/24) NNET_SUB (CIDR: 10.10.0.0/24) IP Address ? NNET_SUB2 (CIDR: 192.168.88.0/24) Cancel Submit

Click Submit; the new interfaces will be listed in the table. As shown below, interface (A) and (B) in the right picture are mapping to the corresponding interfaces on the le picture. If the router is connected to an external network, the SNAT will be created at the same me. Wait for few seconds unl the status of interfaces become Acve then proceed with the next acon.

Promise Technology VSkyCube - Noce - 2

flowchart
graph TD
    A["extSub"] -->|A| B["IR"]
    A -->|A| C["IR"]
    B -->|B| D["NNET_SUB"]
    C -->|C| E["NNET_SUB2"]
    D --> F["instance1"]
    E --> F
    B -->|r4| G["Cloud"]
    C -->|r5| H["Cloud"]

Routers Name Status Gateway to External Network Admin State r4 ✓ Active Network:ext-net IP Address:10.90.6.176 Subnet:extSub ✓ Up Interfaces of r4 External Network Interface (A) Internal Network Interfaces (B) Fixed IP Subnet Network Status Type 10.10.0.4 NNET_SUB NNET ✓ Active Snat 10.10.0.1 NNET_SUB NNET ✓ Active Internal Interface 10.90.6.176 extSub ext-net ✓ Active External Gateway

If the router is not connected to an external network, only an internal interface will exist. As shown in the pictures below, interfaces (C) and (D) in the right picture are mapping to the corresponding interfaces on the le picture.

Promise Technology VSkyCube - Noce - 4

flowchart
graph TD
    A["extSub"] -->|A| B["IR"]
    A -->|B| C["NNET_SUB"]
    A -->|C| D["NNET_SUB2"]
    B --> E["instance1"]
    D --> F["instance1"]
    B -->|r4| G["Cloud"]
    D -->|r5| H["Cloud"]

Routers Name ▲ Status Gateway to External Network Admin State r5 ✓ Active ✓ Up Interfaces of r5 Fixed IP Subnet Network Status Type 10.10.0.6 NNET_SUB NNET ✓ Active Internal Interface (C) 192.168.88.1 NNET_SUB2 NNET ✓ Active Internal Interface (D) View 1 - 2 of 2 10 ∧ per page

7.9. Stac Routes

In 7.2 Build a Basic Network Environment, we learned how to build a basic network environment for an instance. In this second you will learn how to build a network environment with stac routes.

  1. First you create a subnet, you are asked to assign an IP for the Gateway. See 7.2 Build a Basic Network Environment.
  2. Second, connect the subnet and the routers with interfaces.
  3. Third, check the IP addresses of the interfaces in the router. All network trac of the subnet will be sent to the router by the gateway interface. To make network trac get sent to another router, you need to set stac routes to make the rules apply. Stac routes allow you to manually congregate the round entries and they are xed and do not change if the network is changed or reconfigured.

For example, as shown in the picture below, there are 2 interfaces of subnet Int-subA11 connected to 2 dierent routers R1 and R2.

Promise Technology VSkyCube - Stac Routes - 1

flowchart
graph TD
    A["ext-snet"] -->|192.168.11.1| B["Int-subA11"]
    C["R1"] -->|192.168.11.05| D["R2"]
    B -->|Gateway: 192.168.11.1| E["cirrosA"]
    D -->|Gateway: 192.168.22.1| F["cirrosB"]
    B --> G["192.168.22.1"]
    F --> H["192.168.22.102"]

The gateway of Inu-subA11 is 192.168.11.1, and the IP of the red interface is also 192.168.11.1. Therefore, R1 is the default router. All the network traffic of Int-subA11 will be sent to R1 by default. Therefore, the network traffic from instance cirrosA to cirrsB will fail because R1 will not connect to subnet Int-subB22. As shown in the picture below.

inet6 addr: fe80::f816:3eff:fe89:ca77/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7167 (6.9 KiB) TX bytes:9936 (9.7 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

$ traceroute 192.168.22.102
traceroute to 192.168.22.102 (192.168.22.102), 30 hops max, 46 byte packets
1 192.168.11.1 (192.168.11.1) 0.246 ms 0.094 ms 0.056 ms
2 192.168.11.102 (192.168.11.102) 0.064 ms 0.107 ms 0.121 ms
3 10.90.6.254 (10.90.6.254) 0.488 ms 0.573 ms 0.511 ms
4 211-20-73-65.HINET-IP.hinet.net (211.20.73.65) 2.068 ms 2.352 ms 1.784 ms
5 * * *
6 

The way to access instance cirrosB from cirrosA is to have network traffic sent to router R2, because R2 is able to access both subnets. In this case, you need to set the stac route of Int-subA11. To make the network trac from source Int-subA11 to desnaon Int-subB22 get sent via the interface 192.168.11.106 (marked in green), you need to add a stac route.

:

For example: 192.168.22.0/24: 192.168.11.106

Follow these steps.

  1. Go to Internal Network, and select the subnet. The subnet should be the source of the network package. For example, select the subnet Int-subA11 in the above scenario, and then click the Update buon to open the panel.

dev#12 / DemoApp dev#12 DemoApp KarenApp timApp vstor-demo dev#16 demoApp test Internal Network Name Status Shared Admin State Int-netA ✓ Active No ✓ Up Int-netB ✓ Active No ✓ Up inet-36 ✓ Active Yes ✓ Up View 1 - 3 of 3 10 ~ per page Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchestration Subnets of Int-netA Update Name CIDR IP Version Edit Int-subA11 192.168.11.0/24 IPv4 192.168.11.1

  1. Switch to the Subnet Detail tab. Add a set of stac routes in Stac Routes. For example: 192.168.22.0/24: 192.168.11.106. And then submit.

Edit Subnet 1 Subnet Subnet Detail Allocation Pools ? 192.168.11.100 ~ 192.168.11.150 DNS Name Servers ? 8.8.8.8 Static Routes ? 192.168.22.0/24 : 192.168.11.106 + Enable DHCP Cancel Submit

  1. The stac route seng will take eect immediately. However, the network service of the running instances should be restarted to get the new sengs. Go back to your instance, and reboot/restart the network.
  2. Try accessing the target IP address again. The rule of stac routes has been applied.
[ 0.361864] Registering the dns_resolver key type
[ 0.362397] registered taskstats version 1
[ 0.364259] Magic number: 0:300:533
[ 0.364656] bdi 1:11: hash matches
[ 0.365093] tty ttyS13: hash matches
[ 0.365642] rtc_cmos 00:01: setting system clock to 2016-05-06 13:30:21 UTC (
1462541421)
[ 0.366714] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.367253] EDD information not available.
[ 0.501415] Freeing unused kernel memory: 924k freed
[ 0.501999] Write protecting the kernel read-only data: 12288k
[ 0.505796] Freeing unused kernel memory: 1600k freed
[ 0.508363] Freeing unused kernel memory: 1188k freed

further output written to /dev/ttyS0

login as 'cirros' user. default password: 'cubswin):'. use 'sudo' for root.
cirrosa login: cirros

Password:
$ traceroute 192.168.22.102
traceroute to 192.168.22.102 (192.168.22.102), 30 hops max, 46 byte packets
1 192.168.11.106 (192.168.11.106) 0.598 ms 0.164 ms 0.070 ms
2 192.168.22.102 (192.168.22.102) 0.585 ms 0.227 ms 0.132 ms 

7.10. Load Balancer

A load balancer is an advanced networking service that provides load balancing for virtual machines. It spreads incoming requests across mulple instances to reduce the load. It is widely used on large websites and network services.

A load balancer includes the following components – Load Balancer Pool, VIPs, Members, and Health Monitors. The following table describes their funcons.

ComponentDescripon
Load Balancer PoolA pool holds a list of members that serve content through the load balancer.
VIPsVirtual IP sengs of the load balancer.A VIP owns an IP address assigned from a subnet of an internal network. You need to associate a oang IP on the VIP to make it accessible from an external network.
MembersMembers are instances that handle trac behind a load balancer. Each member is specied by the IP address and port that it uses to serve trac.The incoming network requests will be balanced between the various members.
Health MonitorsMembers may go oine from me to me and health monitors divert trac away from members that are not responding properly. VSkyCube provides availability monitoring with the ping, TCP, HTTP, and HTTPS GET methods. Health monitors are implemented to determine whether pool members are available to handle requests. Health monitors must be associated with pools to take eect.

7.10.1. Build a Basic Load Balancer for a Website

Step Outline:

  • Step 1. Create a Load Balancer Pool
  • Step 2. Create a VIP for the Pool
  • Step 3. Launch Instances
  • Step 4. Congure Security Group
  • Step 5. Add the Members to the Pool
  • Step 6. Setup a Sample Web Server
  • Step 7. Associate a Floang IP Address to the VIP Port
  • Step 8. Create a Health Monitor and Associate it with the Pool
  • Step 9. Validate the Results

Below is the step-by-step descripon of how to build a basic load balancer for a website.

Step 1. Create a Load Balancer Pool

  1. From the Load Balancers' Pool tab, click the + icon to open the Create Pool dialog box.

vsOCube dev#12 / KarenApp Load Balancers' Pools VIPs Members Health Monitors Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers 3 4 Name Status Description Subnet Protocol VIP No Data 2

  1. Fill in the following informaon and click Submit.

  2. Subnet: The subnet that the instances are attached to and will be used to load balance against.

  3. Protocol: Choose the appropriate protocol (such as http for web requests).
  4. Load Balancing Method: Choose the appropriate method. See 7.10.2 Load Balancer Pool for more informaon.
  5. Admin State: Select UP to allow network trac.

Create Pool Name * LBaaS-website Description Provider haproxy Subnet * Int-subA11 (CIDR: 192.168.11.0/24) Protocol HTTP Load Balancing Method ROUND_ROBIN Admin State UP Cancel Submit

The new load balancer will be listed in the table.

vscCube dev#12 / KarenApp Load Balancers' Pools VIPs Members Health Monitors Name Status Description Subnet Protocol VIP LBaaS Active 192.168.11.0/24 (Int-subA11) HTTP View 1 - 1 of 1 10 - per page Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores

Step 2. Create a VIP for the Pool

  1. Open the Create VIP dialog box by clicking the + icon.

vscCube dev#12 / KarenApp 3 Load Balancers' Pools VIPs Members Health Monitors 4 + 2 Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Name Pool Subnet Address Protocol Port No Data

  1. Fill-in the informaon and click Submit.

  2. Pool: A pool can have one VIP. Select the pool to which the VIP should belong.

  3. Subnet: Choose the target subnet of the VIP.

  4. Specify a free IP address from the selected subnet: This is an available IP address out of the same subnet range that the instances are located. This IP address will be used as the virtual IP and will be listed in VIP.

  5. Protocol Port: This is the port that the VIP will be listening on. It must match that of the incoming requests.
  6. Protocol: Should be the same as the protocol of the selected pool.
  7. Session persistence: Session persistence ensures incoming requests are routed to the same instance within a pool of mulple instances. The load balance mechanism supports round decisions based on cookies and source IP address.
  8. Connecon Limit: Maximum numbers of connecons allowed for the VIP. Leave this eld empty or enter '-1' to cancel the limitaon.

Create VIP Name * website-VIP Pool * LBaaS Description Subnet * Int-subA11 (CIDR: 192.168.11.0/24) Specify a free IP address from the selected subnet 192.168.11.7 Protocol Port ? * 80 Protocol HTTP Session Persistence No session persistence Connection Limit ? Admin State UP Cancel Submit

  1. Aer subming the form, the newly create VIP will be listed in the table.

vsoCube dev#12 / KarenApp Load Balancers' Pools VIPs Members Health Monitors Name Pool Subnet Address Protocol Port website-VIP LBaaS Int-subA11 192.168.11.112 80 View 1 - 1 of 1 10^ per page Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring

Step 3. Launch Instances

Launch the instances to be controlled by the load balancer. You can either use your own instances or launch two Fedora or Ubuntu images for pracce. In this scenario, we will launch two Ubuntu instances and execute the Python module installed that will act as a basic web server.

dev#12 / KarenApp dev#12 DemoApp HdApp KarenApp PTJ-Storage Expo (WebServer) timApp dev#16 demoApp qa-stack Instances Name Status asset Image Size IP Key Pair webServer2 Active N/A ubuntu-without-key m1.small Int-netA 192.168.11.111 N/A webServer1 Active N/A ubuntu-without-key m1.small Int-netA 192.168.11.101 N/A Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers

Step 4. Congure Security Group

To allow for ping, SSH, and HTTP access to the two instances that were launched in Step 3, open up the Security Group Rules and add the relevant rules. Switch to the Security Groups table and add the rule. You can either choose the default security group or create a new one. Make sure the security group is applied to the instances. See 6.8 Security Groups for more informaon.

dev#12 / KarenApp dev#12 DemoApp HdApp KarenApp PTJ-Storage Expo (WebServer) timApp dev#16 demoApp qa-stack Security Groups Name Description default Default security group View 1 - 1 of 1 10 > per page Rules of default Direction Ether Type ▲ IP Protocol Port Range Remote Egress IPv6 Any Any =0 (CIDR) Ingress IPv6 Any AnyITCHEN default Application Pool Compute Images Instances Volumes 2 Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores

In this example, we added 2 rules.

  • Allow incoming network packages with protocol TCP and port 22. (SSH)
  • Allow incoming network packages with protocol TCP and port 80. (HTTP)

Rules of default Direction Ether Type ^ IP Protocol Port Range Remote Egress IPv6 Any Any ::/0 (CIDR) Ingress IPv6 Any AnyITCH default Egress IPv4 Any Any 0.0.0.0/0 (CIDR) Ingress IPv4 TCP 22 (SSH) 0.0.0.0/0 (CIDR) Ingress IPv4 TCP 80 (HTTP) 0.0.0.0/0 (CIDR) Ingress IPv4 Any Any default

Step 5. Add the Members to the Pool

Once the instances are launched they will show up in the Create Members panel. Follow these steps to open the panel.

vsc Cube dev#12 / KarenApp 3 Load Balancers' Pools VIPs Members Health Monitors Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring 4 + IP Address Status Protocol Port Weight Pool No Data dev#16

Fill-in the form in the Create Member panel and click Submit.

• Pool: Select the pool to which the member belongs.
• Member Source: Select members either from acve instances or from IP addresses.
- Weight: Relave part of requests this pool member serves compared to others. The same weight will be applied to all the selected members and can be modified later. Weight must be in the range 1 to 256.
- Protocol Port: This is the back-end port between the VIP and the member servers. The same port will be used for all the selected members and can be modified later. The port should match the sengs in Step 4, security groups, so that the network packages will be allowed access to the instances.
- Admin State: Select UP to allow incoming network packages.

Create Member Pool * LBaaS Member Source Select from active instances Members ? * 2 item(s) selected Weight ? Protocol Port ? * 80 Admin State UP Cancel Submit

Aer subming, the members of the pool will be listed in the table.

vsOCube dev#12 / KarenApp Load Balancers' Pools VIPs Members Health Monitors IP Address Status Protocol Port Weight Pool 192.168.11.101 Active 80 1 LBaaS 192.168.11.111 Active 80 1 LBaaS View 1 - 2 of 2 10 > per page Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances

Step 6. Setup a Sample Web Server

Congure a basic index.html le on each node and run the Python module that will act as the basic web server.

Follow these steps.

  1. Associate a oang IP to one of the members.

dev#12 / KarenApp dev#12 DemoApp HdApp KarenApp 1 PTJ-Storage Expo (WebServer) timApp dev#16 demoApp qa-stack Instances Name Status asset Task image size webServer2 Active N/A cirros m1.tiny webServer1 Active N/A cirros m1.tiny Resize Migrate Live Migrate Associate Fixed IP Disassociate Fixed IP 5 Associate Floating IP to Instar Disassociate floating IP from Ir Edit Security Group Console Log View 1 - 2 of 2 10 > per page Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Copyright © 2014-2016 PROMISE Technology, Inc. All right

dev#12 / KarenApp dev#12 DemoApp HdApp KarenApp PTJ-Storage Expo (WebServer) timApp dev#16 demoApp qa-stack Instances Name Status Проck Task Image Size IP(Key Power WebServer2 Active N/A cirros m1.tiny Int-netA N/A Running 192.168.11.111 webServer1 Active N/A cirros m1.tiny Int-netA N/A Running 192.168.11.101 10.90.6.187 Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers

  1. Use SSH to log-in to the instance.

PieTTY Configuration It's Easy To Create Your Connection. Host Name (or IP address) Port 10.90.6.187 22 Telnet (BBS) SSH User Interface ✓ Menubar □ PuTTY mode ✓ English UI PieTTY Information PieTTY Version 0.4.00 (beta 14) by Hung-Te Lin About Open Cancel

administrator@host-192-168-11-101: ~ [80x24] 連線(C) 編輯(E) 檢視(V) 視窗(W) 選項(O) 說明(H) login as: administrator administrator@10.90.6.187's password: ***** Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ System information as of Wed May 25 18:22:05 CST 2016 System load: 0.04 Processes: 80 Usage of /: 29.3% of 3.61GB Users logged in: 0 Memory usage: 3% IP address for eth0: 192.168.11.101 Swap usage: 0% Graph this data and manage this system at: https://landscape.canonical.com/ 106 packages can be updated. 61 updates are security updates. Last login: Wed May 25 18:22:05 2016 from 10.90.7.33

  1. Aer logging in, create an index.html in the local folder and execute this command:
$ vi index.html 
administrator@host-192-168-11-101:~$ vi index.html
administrator@host-192-168-11-101:~$ ls
index.html 
  1. Type some content for the website in the le, and save it. Then start an HTTP server with the python command and make it run in the background. For more informaon about SimpleHTTPServer, please refer to hps://docs.python.org/2/library/simplehpserver.html
$ sudo su
$ nohup python -m SimpleHTTPServer <port_number> & 
  1. The port number should match the sengs from the previous step. For example.
$ nohup python -m SimpleHTTPServer 80 & 
administrator@host-192-168-11-113:~$
administrator@host-192-168-11-113:~$ sudo su
sudo: unable to resolve host host-192-168-11-113
root@host-192-168-11-113:/home/administrator# nohup python -m SimpleHTTPServer 80 &
[1] 1065
root@host-192-168-11-113:/home/administrator# 
  1. Test the web server with the browser. Open the browser and enter URL:
http://<instance_floating_IP>:<port> 

10.90.6.187 10.90.6.187 this is test server 1

  1. Close the SSH conncon and disassociate the oang IP.

dev#12 / KarenApp dev#12 DemoApp HdApp KarenApp PTJ-Storage Expo (WebServer) timApp dev#16 demoApp qa-stack Instances Rescue Rebuild Resize Migrate Live Migrate webServer2 Active N/A ubuntu- without- key 3 webServer1 Active N/A ubuntu- without- key View 1 - 2 of 2 10 > per page 5 Disassociate floating IP from Storage Application Pool Compute Images 2 Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances

  1. Repeat 1\~7 with another instance to set up all the web servers.

Step 7. Associate a Floang IP Address to the VIP Port

Associate a oang IP to the VIP port, so that the VIP will be accessible from an external network.

Follow these steps to open the Associate Floang IP to Port panel.

vsoCube dev#12 / KarenApp Floating IPs 4 Associate Floating IP to Port IP Address Device Mapped Fixed IP Address 3 10.90.6.187 N/A N/A ext View 1 - 1 of 1 10 ~ per page Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking

Select the networks to which the VIP belongs and then select the VIP port in the Ports drop-down list. The networks should be the same as in Step 2, Create a VIP.

Associate Floating IP to Port Networks * Int-netA Ports * 192.168.11.112 - (vip-b7176338-8731-4c...) Port Detail Name vip-b7176338-8731-4cd8-96c7-79e4592c9f37 Network Int-netA Fixed IP Subnet: Int-subA11 Fixed IP Address: 192.168.11.112 Attached Device Device ID: aecaeb93-d974-5b66-b6ec-257523ec6762 Device Owner: neutron:LOADBALANCER Cancel Submit

Aer subming, the oang IP will be associated to the VIP.

vsCube dev#12 / KarenApp Floating IPs IP Address Device Mapped Fixed IP Address Floating IP Pool 10.90.6.187 Load Balancer 192.168.11.112 ext View 1 - 1 of 1 10 > per page Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking

Step 8. Create a Health Monitor and Associate it with the Pool

To create a health monitor to track the health status of the members, open the Create Health Monitor panel.

vscCube dev#12 / KarenApp 3 Load Balancers' Pools VIPs Members Health Monitors 4 + Monitor Type Delay Timeout Max Retries Details No Data Instances Volumes Security Groups Floating iPs Networking Internal Networks Routers 2 Load Balancers

Fill-in the form in the panel, and submit.

  • Type: The protocol to monitor the member.
  • Delay: The minimum me in seconds between regular checks of a member.
  • Timeout: The maximum me in seconds for a monitor to wait for a reply.
  • Max Retries: Number of permissible failures before changing the status of a member to inacve.
  • URL: The URL for health monitoring. Here we use the root path of the web server.
    • Expected HTTP Status Codes: Expected status code of the reply from the web server.

Create Monitor Type HTTP Delay ? * 60 Timeout ? * 30 Max Retries ? * 3 Admin State UP HTTP Method GET URL / Expected HTTP Status Codes 200 Cancel Submit

Aer subming, the health monitor will be listed in the table.

dev#12 / KarenApp Load Balancers' Pools VIPs Members Health Monitors Monitor Type Delay Timeout Max Retries Details HTTP 60 30 3 GET / => 200 View 1 - 1 of 1 10 ~ per page Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring

Associate the health monitor to the pool.

dev#12 / KarenApp 3 Load Balancers' Pools VIPs Members Health Monitors 5 Name Status Description Subnet LBaaS Active 192.168.11.0/2 subA11) Edit VIP Delete VIP Associate Health Monitor Disassociate Health Monitor View 1 - 1 of 1 10 > per page 2 Load Balancers Monitoring Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers demoApp

Associate Health Monitor Health monitor to be associated * HTTP delay:60 retries:3 timeout:30 Cancel Submit

Step 9. Validate the Results

Access the oang IP, and refresh the pages to validate the results.

10.90.6.187 10.90.6.187 this is test server 1

10.90.6.187 10.90.6.187 this is test server 2

7.10.2. Load Balancer Pool

For load balancers, incoming requests are distributed using one of these load balancing methods. These methods can be dened when creang the Load Balancer Pool.

Round robin

Rotates requests evenly between mulple instances.

Source IP

Requests from a unique source IP address are consistently directed to the same instance.

Least connecons

Allocates requests to the instance with the least number of acve connecons

To manage the load balancer pool, please follow these steps.

vsoCube dev#12 / KarenApp Load Balancers' Pools VIPs Members Health Monitors Pool Actions Name Status Description Subnet LBaaS- Active LBaaS for 192.168. website website(subA11) Create VIP Associate Health Monitor Disassociate Health Monitor Security Groups Floating IPs Networking Internal Networks Routers 2 Load Balancers Monitoring Instances Datastores 3 View 1 - 1 of 1 10^ per page

  1. Select the applicaon listed on the le sidebar.

  2. Click Load Balancers on the right menu.

  3. Click on a row to select a pool.

  4. Click the arrow icon to open the drop-down menu.

As shown in above picture, there are acon buons to manage Load Balancer Pool.

• A. + Create a load balancer pool. See 7.10.1 Build a Basic Load Balancer for a Website.

B. View the detailed informaon for the selected load balancers pool.

• C. Edit the sengs of the selected pool.

• D. Delete the selected pool.

• E. Click to open the drop-down menu.

- F. Create VIP: Same as the create acon in the VIP component. See 7.10.1 Build a Basic Load Balancer for a Website.

• G. Associate Health Monitor: Associate an exisng health monitor to the selected pool.

Associate Health Monitor Health monitor to be associated * --- Select Health Monitor --- Cancel Submit

• H. Disassociate Health Monitor: Disassociate a health monitor from the selected pool.

Disassociate Health Monitor Health monitor to be disassociated * PING delay:500 retries:3 timeout:10 Cancel Submit

7.10.3. VIP

One load balancer pool can have one VIP.

Session Persistence

Load Balancer supports session persistence by ensuring incoming requests are routed to the same instance within a pool of mulple instances. Load Balancer supports round decisions based on cookies and the source IP address. Session persistence can be dened when creang a VIP.

To manage the VIPs, please follow these steps.

vsCube dev#12 / KarenApp 3 Load Balancers' Pools VIPs Members Health Monitors Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring 1 KarenApp PTJ-Storage Expo (WebServer) timApp dev#16 4 VIP actions → + website-VIP LBaaS Int-subA11 192.168.11.112 80 View 1 - 1 of 1 10^ per page

  1. Select the applicaon listed on the le sidebar.
  2. Click Load Balancers on the right menu.
  3. Switch to the VIPs tab.
  4. Click on a row to select an exisng VIP.

As shown in above picture, there are acon buons to manage VIPs:

- A. + Create a virtual IP for the load balancer. See 7.10.1 Build a Basic Load Balancer for a Website.

• B. View the detailed informaon for the selected VIP.
• C. Edit the sengs of the selected VIP.
• D. Delete the selected VIP.

7.10.4. Member

To manage members, please follow these steps.

vscCube dev#12 / KarenApp 3 Load Balancers' Pools VIPs Members Health Monitors Volumes DemoApp HdApp KarenApp PTJ-Storage Expo (WebServer) timApp dev#16 Member Actions A B C D IP Address Status Protocol Port Weight Pool 192.168.11.101 Active 80 1 LBaaS 192.168.11.113 Active 80 1 LBaaS View 1 - 2 of 2 10 per page 2 Load Balancers Monitoring

  1. Select the applicaon listed on the le sidebar.
  2. Click Load Balancers on the right menu.
  3. Switch to the Members tab.
  4. Click on a row to select a member.

As shown in above picture, there are acon buons to manage members:

• A. + Create members. See 7.10.1 Build a Basic Load Balancer for a Website.
• B. View the detailed informaon for the selected member.
C. Edit the properes of the selected member.
• D. Delete the selected member.

7.10.5. Health Monitor

A health monitor must be associated to a load balancer pool for the monitor to take eect. A health monitor can be applied to mulple pools.

To manage the health monitor, please follow these steps.

dev#12 / KarenApp Load Balancers' Pools VIPs Members Health Monitors Health Monitor Actions A B C D Monitor Type Delay Timeout Max Retries Details HTTP 60 30 3 GET => 200 View 1 - 1 of 1 10 ~ per page Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring

  1. Select the applicaon listed on the le sidebar.
  2. Click Load Balancers on the right menu.
  3. Switch to the Health Monitors tab.
  4. Click on a row to select a member.

As shown in above picture, there are acon buons to manage health monitors:

• A. + Create a health monitor. See 7.10.1 Build a Basic Load Balancer for a Website for more informaon.
• B. View the detailed informaon for the selected health monitor.
• C. Edit the properes of the selected health monitor.
• D. Delete the selected health monitor.

8. Chapter 8. Storage

Use the informaon in this secon for storage management including physical and virtual storage.

8.1. Physical Pool

Select the cluster from the le sidebar, and select Physical Pool on the right menu. The physical storage use is shown at the top of the page, and below is a list of physical disks.

vSVCube demoCluster user PTJ-demo 1 SATA 0 Used Total Size: 0 Number of Disks: 0 c Physical Pool Cluster Storage Compute Flavors Images Keypairs Resource Ratio Networking Network Topology External Network Disks 3 + + Hostname Status Used Total CLS Model Seri hh452932a0 Normal 25 GB 1.82 SAS SMC3108 360 TB hhe262720a Normal 25 GB 1.82 SAS SMC3108 360

Add Physical Disks

Disks 1. Scan disk 3. Add "Standby" disk into cluster Hostname Status Used Size Total Size CLS Model Ser hhe262720a Standby 25 GB 1.82 SAS SMC3108 36 TB hh452932a0 2. Click the row to select the newly inserted disk. TB hhbbbbe6be8 Normal 40 GB 1.82 SAS SMC3108 36 TB Application Configurations Storage Physical Pool Cluster Storage Compute Images Keypairs

Follow these steps to add a physical disk.

  1. Insert the new physical disks into the node.
  2. Go to Physical Pool, and click the Scan Disk buon to search for new disks.

  3. The table of disks will be refreshed, and a row of newly inserted disks will be listed in the table.

The status of the newly inserted disk will be Standby. Click the row to select a new disk.

  1. Click the +con to add the selected disk into the cluster.

8.2. Cluster Storage

The Cluster Storage opon shows the usage of the virtual storage reserved for systems in the cluster.

8.2.1. Image Storage

vsoCube dev#163(A123456a) testApp dev#163(A123456a) Image Storage Compute Storage 3 Image Storage Summary 4.3 GB Used 0.04% Cluster Storage Compute Flavors Images Key Pairs Resource Ratio Networking Network Topology External Network Monitoring Nodes Events & Log Events Logs Configurations Applications Configurations Storage Physical Pool Information Application (Default Cluster Storage) Datastore (Default Cluster Storage) Status Active Used/Capacity 4.29 GB / 797 GB Updated 2016/10/06 17:47:02 Created 2016/09/30 16:06:32

This is the system storage stores all the images in the cluster. One of the system disk will be used by default. Therefore, the value of Applicaon and Datastore will be (Default Cluster Storage)

Information Migrate Data Application (Default Cluster Storage) Datastore (Default Cluster Storage) Status Active Used/Capacity 4.29 GB / 797 GB

You can extend the capacity or improve the data protecon by migrate data to a larger/high protecon datastore. Click buon Migrate Data, and select a target datastore from the dropdown list. Aer submit, the data will be migrate to the new datastore. The migraton procedure takes a while according to the size of the data.

Migrate Data Migrate all data in image storage to another datastore. Data can only migrate to a File Level Datastore. This action may takes few minutes according to the storage size. The image related services will be stopped while migrating. Current Datastore (Default Cluster Storage) Used/Capacity 4.29 GB / 797 GB Migrate all data to another datastore Application * testApp Datastore * datastore-for-image-storage Datastore Details Name datastore-for-image-storage Status ✓ Active Used/Capacity 32.63 MB / 30 GB Cancel Migrate Data

Note

The image related services will be stopped while migrang.

When the migraon nishes, the datastore informaon will be listed in the table.

Information Application demoApp Datastore datastore-for-image-storage Status ✓ Active Used/Capacity 5.23 GB / 100 GB Updated 2016/10/19 14:08:13 Created 2016/10/19 14:03:16

8.2.1.1. Create a Datastore for Image Storage

The requirement for image storage is a File Level datastore. As shown in the picture below, remember to choose File Level for Datastore Type when creang datastore. See 8.4.1 Datastore Properes and Hardware Requirements for more informaon.

Create Datastore Name * datastore-for-image-storage Description Datastore Type File Level Block Level Capacity * 30 GB General mode Advanced mode Lazy mode Performance Super High High Regular Regular: Requires enough SATA disk space.

8.2.1.2. Create a RAIN Datastore for Image Storage (Cluster HA)

To support cluster HA, a fault tolerance datastore of Image Storage is required to ensure the image service works properly if the node fails. Therefore, the requirements for the storage are (1) a File Level and (2) RAIN mechanism supported datastore.

As shown in the picture below, remember to choose File Level for Datastore Type and the RAIN enabled for Redundancy when creang the datastore. See 8.4.1 Datastore Properes and Hardware Requirements for more informaon.

Create Datastore Name * Image-storage-rain-protect Description Datastore Type ● File Level ● Block Level Capacity * 100 GB ● General mode 🔒 Advanced mode ● Lazy mode Performance ○ Super High: SSD ○ High: SAS ○ Regular: SATA Regular: Requires enough SATA disk space. Redundancy (RAIN) ? ☑ Enable Redundancy (RAID) ○ RAID 1 ○ RAID 5 ○ None Utilization □ Thin-Provision □ Tiering Cache □ Enable Cancel Submit

Note

If the datastore does not full the requirements, a warning message will appear when changing a worker to a controller. See 4.5.8 Change Node to Controller/Change Node to Worker for more informaon. Migrate the data to a fault tolerance datastore to pass the validaon.

8.2.2. Compute Storage

This is the system storage for all the instance images in the cluster.

vsoCube dev#163(A123456a) testApp dev#163(A123456a) 3 Image Storage Compute Storage Compute Storage Summary 0.1 GB Used Total Box 5180 GB 0% Cluster Storage Compute Flavors Images Key Pairs Resource Ratio Networking Network Topology External Network Monitoring Nodes Event & Log Events Lops Information Hostname Alias Name Status Used Size Total Size hh9f61f20a HOST166 Active 32.27 MB 1.69 TB hha0bd4df2 HOST164 Active 32.27 MB 1.69 TB hh975eee78 HOST163 Active 32.27 MB 1.69 TB View 1-3 of 3 10 ~ per page

8.3. Applicaon Pool

Applicaon Pool (App Pool)

Applicaon Pool is the storage capacity of an applicaon. You can only create one per applicaon.

Create an Applicaon Pool

  1. As shown in the image below, select an applicaon

cluster-build-12 / KarenApp cluster-build-12 KarenApp 1 test timApp vstor-dev sdsc-test test Application Pool 3 + Name Status Allocated Capacity Total Capacity Description No Data Datastores Name Status Lock Used Capacity Total Capacity Datastore Type No Data Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring

  1. Select Applicaon Pool on the right menu
  2. Click the plus buon to open the Create Applicaon Pool panel.

  3. Assign the capacity, and then click submit. Then the creation of application pool is done.

Create Application Pool Name * storage-pool Description Capacity * 1000 GB Cancel Submit

8.4. Datastores

Datastores represent dierent types of virtual storage. You can specify the properes of the virtual storage.

Volume

Volume is the data volume for an instance (VM) to use. You must specify a type of datastore when you create a volume. The properes of the volume depend on the datastore it belongs to.

8.4.1. Datastore Properes and Hardware Requirements

Here are properes of a datastore; each of them has dierent hardware requirements.

Create Datastore Name * regular-performance Datastore Type File Level Block Level Capacity * 10 GB Performance ? Super High High Regular Redundancy ? High Regular None Utilization Thin-Provision Tiering Cache Enable

Disk Type

- System

This opon is usually hidden. Only if the selected applicaon is a VSky series applicaon will this opon be visible. When this opon is selected, a datastore for system use is created.

- File Level

With this opon selected, a GlusterFS volume will be created. The volume can be accessed with a GlusterFS nave interface.

- Block Level

Create a block level datastore for instance use.

Performance

Performance indicates the physical drive type and speed. If there are not enough physical drives corresponding to the selected opon, the creaon will fail.

• Super High: generally SSD drives.
• High: generally SAS drives.
• Regular: generally SATA drives.

Redundancy (Fault Tolerance)

This property indicates the data protecon mechanism. High redundancy oers high protecon. However, it requires more disk space. To create a RAID datastore, make sure you have at least 3 available physical drives corresponding to the selected opon in the Performance eld.

- High

With RAIN ^5 and RAID 5 properes.

3 or more online nodes are needed in a cluster to create a high redundancy datastore.

- Regular

With RAIN or RAID 5 properes.

Noce

If there are 3 or more online nodes in a cluster, create a datastore with RAIN. If there are less than 3 online nodes in a cluster, create a datastore with RAID.

- None

Create a datastore without a data protecon mechanism.

Ulizaon

- Thin-Provision

Create a datastore with the thin-provision property. There are no further hardware requirements.

- Tiering

Create a datastore with ering property. The Performance selecon needs to be High or Super High. Regular will not support ering.

Cache

To create a datastore with the cache property, please make sure there is an SSD drive in the cluster.

8.4.2. Check Hardware Disk Resources

1. Select the cluster Physical Pool Summary 8.01 TB Used 29.5%8 SAS 7.69 TB Used 2%8 SATA 0 Used 0 Disks 3. Check the status and CLS of disks Addition Configurations Storage Physical Pool Cluster Storage Compute Flavors Images Keypairs Resource Ratio Networks Network Topology External Network Methods Nodes Events & Log Log Services Service Setting Hostname Status Used Total Size CLS Model Serial Description hhe262720a Normal 25 GB 1.82 TB SAS SMC3108 3600304801b1078001e902227d6002544 hh45293240 Normal 15 GB 1.82 TB SAS SMC3108 3600304801bb2a9001e901c43b7dc3165

  1. Select the cluster listed in the sidebar.
  2. Select Physical Pool in the Cluster-Related menu.
  3. Check the Status and CLS of the disks.

The status should be Normal. If the disk is in another state, the disk is not available to create a datastore. The CLS type should match the selecon of Performance when you create a datastore. For example, if there are only SAS drives listed in the table, you should select High performance. If there are only SATA drives listed in the table, you should select Regular performance.

8.4.3. Create Datastore

PTT / Software Enginner Application Pool 1 Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Name Status Allocated Capacity Total Capacity Description 2/test ✓ Active 34.96 GB 100 GB test Datastores of test 3 +

  1. Select an applicaon and then click Applicaon Pool on the Applicaon-Related menu.
  2. Make sure there is an applicaon pool listed in the table. If not, see 8.3 Applicaon Pool to create one.
  3. Click the plus icon + to open the Create Datastore panel.
  4. Fill out the form in the panel. For Datastore Type, select Block Level in general. For other elds please refer to 8.4.1 Datastore Properes and Hardware Requirements.

Create Datastore Name * regular-performance Datastore Type ● File Level ● Block Level Capacity * 10 GB Performance ? ● Super High ● High ● Regular Redundancy ? ● High ● Regular ● None It needs 3 or more online nodes in a cluster to create high redundancy datastore. Current online nodes: 1 Utilization □ Thin-Provision □ Tiering Cache □ Enable

  1. Click Submit to start creang the datastore. It takes about 1 minute to create a 10 Gigabytes datastore. If cream fails, check the 8.4.4 Troubleshoong secon.

8.4.4. Troubleshoong

Q8. Creaon failed and a Re-Create dialog box popped up.

Create Datastore failed! Code: 403 Message: { "fault": { "details": "Out of disk resource", "service": "neo-api-server" } }

Create Datastore Re-Create Resource not enough! Do you want to create datastore with lower redundancy/performance? In cluster, You could do creating/deleting data operation. Name No Yes Descrip Datastore Type File Level Block Level

Recreate the datastore with lower performance.

This happens when you do not have enough resources to create a datastore which matches your requirements. Follow the steps below to recreate a datastore with lower performance.

  1. Click Yes to recreate with lower performance.
  2. Click No to close the dialog box, and check if your physical resources sasfy the hardware requirements. Then, create a datastore again with the correct sengs.

8.5. Volume

Volumes

A volume is a block device that can be aached to an instance. You must specify a type of datastore when you create a volume. The properes of the volume depend on the datastore it belongs to. A bootable volume can be launched as an instance.

Volume Snapshots

A volume snapshot is a point-in-me copy of a volume. Use Volume Snapshots to back up volumes.

8.5.1. Create Volume

A datastore is required when creang a volume. Create a datastore and make sure the status is Acve. See 8.4 Datastores.

  1. Follow the steps marked in the picture below to open the Create Volume panel.

VSCO Cube PTT / Software Engineer PTT Software Enginner 1 vskystor PTU_QCT karen-application vskystor QA_VSKYSTOR VSkyStor_Abby Volumes Volume Snapshots 3 + Name Status Size Attached To Bootable Datastore cirros_vol In-Use 1 cirros_from_vol True BigStor Vol1 Available 2 GB N/A False BigStor Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs Networking

  1. Fill-in the form.

  2. Datastore: The properes of the volume such as disk performance and data protecon mechanism are depend on the datastore it belongs to. The details of the selected datastore will be shown on the right table.
    • Size: Specify the disk size.

  3. Volume Source indicates the source data of the volume. If you want to create a general virtual disk to store data, select No source, empty volume.

Create Volume Volumes are block devices that can be attached to instances. Name * vol1 Description Application Limits Total Gigabytes 0 of 1000 used 0 1 Number of volumes 0 of 10 used 0 1 Datastore * regular-performance Size (GB) * 1 Volume Source No source, empty volume Datastore Detail Name regular- performance Allocated/Capacity 0 / 50 GB Performance Regular Raid Type None Thin Provision False Tiering False Cache False Cancel Submit

  1. Click Submit. The new volume will be listed in the table, and the status of the volume should be Available within few seconds. Now you can start to use the volume.

Name Status Size Attached To Bootable Datastore vol1 ✓ Available 1 GB N/A False regular- performance

8.5.2. Aach a Volume to an Instance

Before aaching the volume, make sure you have an instance and the status of the instance is Acve. Follow these steps to each volume to an instance.

  1. Click a row to select a volume.

Volumes 2. Click button Name Status Size Attached To Bootable Datastore Vol1 ✓ Available 1 GB N/A False(regular- performance 1. Click row to select the volume

  1. Click the paperclip icon 📋 to open the Manage Aachments panel.
  2. Select the target instance from the drop-down menu, and click the Aach Volume buon.

Manage Attachments Attach To Instance ? cirros Cancel Attach Volume

  1. Wait 10 to 30 seconds. The status of the volume will be In-Use and the mount path will be listed under Aached To. For example: cirros on /dev/vdb. This means that the volume is aached to instance cirros and the mount path is /dev/vdb.

Name Status Size Attached To Bootable Datastore cirros_vol In-Use 1 cirros_from_vol True BigStor GB,on /dev/vda Vol1 In-Use 2 cirros on False BigStor GB /dev/vdb

  1. Log in to the target instance via SSH and you will see a new device mounted on path /dev/vdb.

$ sudo fdisk -l Disk /dev/vda: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/vda1 * 16065 2088449 1036192+ 83 Linux Disk /dev/vdb: 2147 MB, 2147483648 bytes 16 heads, 63 sectors/track, 4161 cylinders, total 4194304 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/vdb doesn't contain a valid partition table

8.5.3. Volume Source

No source, empty volume.

This is the most common opon. The created volume will be enrely empty with no paron table and no le system with this opon selected. It can be aached to an instance and store your data. Remember to format it the rst me it is opened.

Snapshot

Create a volume from a volume snapshot. You're asked to select a volume snapshot when creang a volume. The snapshot will be a copy of the selected volume snapshot.

Volume Source Snapshot Use Volume Snapshot as a Source * source-160624-1942 (1 GB) --- Select Volume Snapshot --- source-160624-1942 (1 GB)

Image

Create a volume from an image. You're asked to select an image when creang a volume. It will be a copy of the image and able to be launched as an instance. The volume created from an image is also called a bootable volume. A bootable volume can only be launched one instance at a me.

Noce

The bootable volume will be the system volume of the instance aer it is launched. Therefore, the size of the volume will be the size of the instance. Choose the proper size for your instance.

Create Volume Name * bootVolume Description Datastore * ds_test Size (GB) * 30 Volume Source Image Use Image as a Source * cirros (12.6 MB) Application Limits Total Gigabytes 11 of 1000 used 11 30 Number of Volumes 6 of 10 used 6 1 Datastore Details Name ds_test Allocated/Capacity 9 GB / 50 GB Performance Regular Raid Type None Thin Provision False Tiering False Cache False Cancel Submit

Aer creaon, the Bootable column in the table of volumes will be labeled True.

NameStatusSizeAttached ToBootableDatastore
bootVolume✓ Available30GBN/ATrueds_test

Aer launching an instance from a volume, the status of the volume will be In-Use.

Volumes Volume Snapshots Name Status Size Attached To Bootable Datastore bootVolume In-Use 1 from-bootable-volume on True ds_test GB /dev/vda Security Groups Storage Application Pool Compute Images Instances Volumes

Volume

Create a volume from an exisng volume. You're asked to select a volume when creang a volume. It will be a copy of the selected volume.

Volume Source Volume Use a Volume as Source * bootVolume (1 GB) --- Select Volume --- bootVolume (1 GB) new (1 GB) source (1 GB)

Noce

Some acons are blocked for a volume created from another volume such as: Extend Volume, Take Snapshot, Aach to Instance, and Upload to Image.

8.5.4. How to Check Volume Source aer Creaon

Use Volume Details to check volume source aer cream. See 8.5.5 Volume Acons.

In the Volume Details panel, Volume Source is displayed in the Specicaons table as shown in the following picture.

Volume Details Information Name vol-from-snapshot-bootable ID 6abd6354-b8b9-4024-a982-9ee2f46bf825 Description N/A Status Available Host hhb254c69c@ds_test_1460432113934#ds_test_1460432113934 Specifications Datastore ds_test Size 1 GB Volume Source Volume Snapshot source-160624-1942 Image cirros

In some situaons, a volume may contain mulple sources, as shown in the following picture.

Promise Technology VSkyCube - How to Check Volume Source aer Creaon - 2

flowchart
graph TD
    A["Image A"] --> B["Volume B\nVolume Source: Image A"]
    B --> C["Volume Snapshot C\nVolume Source: Volume B"]
    C --> D["Volume D\nVolume Source: Image A and Volume Snapshot C"]

    E["Image A"] --> F["Volume B\nVolume Source: Image A"]
    F --> G["Volume C\nVolume Source: Image A and Volume B"]

8.5.5. Volume Acons

Volumes Volume Snapshots A B C D E F G H I Name Status Size Attached To linux-iso Available 1 N/A new Available 1 N/A Extend Volume Upload to Image Set Volume to Read-Only Storage Application Pool Compute Images Instances Volumes Security Groups Floating IPs

As shown in the above picture, the acon buons of volume are listed on top of the volume table and introduced in below from le to right:

A+Create a volume. See 8.5.1 Create Volume.
BView details of the selected volume.
CEdit the selected volume.
DTo launch the selected volume as an instance. Only a bootable volume can be launched. See 8.5.3 Volume Source.
ETo each and detach the selected volume to an instance. See 8.5.2 Aach a Volume to an Instance.
FCreate a volume snapshot selected volume. See 8.5.6 Volume Snapshot.
GEdit the metadata of volumes. You can create your own metadata. Metadata created by system is not allowed to edit.
HDelete selected volume.
IClick to open the drop down menu.
JExtend Volume: Extend the size of the selected volume.
KUpload to Image: Upload the volume to the Image Service as an image.
LSet Volume to Read-Only/Cancel Read-Only for Volume: Set and cancel volume to read-only.

8.5.6. Volume Snapshot

vSvCube dev#12 / KarenApp dev#12 1 KarenApp PTJ-Storage Expo (WebServer) VSTOR forPTUdemo timApp dev#16 Volume Snapshots 3 A B C D E Name Status Size Description Bootable Volume Created source-160624-1942 Available 1 GB N/A True source 06/24 19:42 View 1 - 1 of 1 10 × per page Storage Application Pool Compute Images Instances 2 Volumes Security Groups Floating IPs

Go to Volumes service and click tab Volume Snapshots. All the snapshots are listed in the table. The Volume column shows the source volume for the snapshot. As shown in the above picture, the acon buons of volume snapshots are listed on top of the volume table and introduced below from le to right:

• A. View details of the selected snapshot.
• B. Edit the selected snapshot.
C. ↑ Create a volume with this snapshot as the volume source. See 8.5.3 Volume Source.

Noce

Volume snapshots are not allowed to be used directly. You need to create a volume from the volume snapshot, and then use the volume instead of the snapshot.

• D. Edit the metadata of the selected snapshot.
• E. Delete the selected snapshot.

8.5.7. Troubleshoong

Q9. What does the warning message that pops up, selected volume has referenced to another volume, means?

Selected volume has referenced to another volume means the selected volume is created with another volume as a volume source. Some acons such as extending and taking a snapshot are not allowed. See 8.5.3 Volume Source for more informaon. The warning message may look like the picture below.

Extend Volume Extend the size of a volume. Selected volume has referenced to another volume, and is not able to extend. Cancel Extend Volume

Q10. What does the warning message that pops up, selected volume has independent snapshots, means?

Selected volume has independent snapshots means there exists volume snapshots related to the selected volume. Delete the related snapshots rst, and then you can perform the acons. The warning message may look like the picture below.

Extend Volume Extend the size of a volume. Volume has 1 dependent snapshots. Volume is not able to extend if snapshot exists. Cancel Extend Volume

9. Chapter 9. Monitoring

Use the informaon in this secon for relevant monitoring.

9.1. Nodes Monitoring

The Nodes Monitoring opon allows you to monitor the status of the physical nodes. The hardware-related informaon can allow you to audit. For instance, Monitor Class can see the CPU, load, memory, and interface status. You also can apply Iters to decide node, me interval, and hardware variables to monitor.

dev(A123456a) devA123456a Node Monitoring Nodes HOST163 (hh6871fe14) Start Time * 2016/10/19 08 00 Monitor Class cpu Time Period 8 hours Submit Images Key Pairs Resource Ratio Networking Network Topology External Network Monitoring Nodes Event & Log

9.2. Instance Monitoring

The Instances Monitoring opon allows you to keep track of the instance status. Instance-related informaon can allow you to audit. For example, the Monitor Class can see the CPU, disk, memory, and interface status. You can also apply Iters to decide the instance, me interval, and instance-related variable to monitor.

vsCube dev(A123456a) demoApp dev2 Instance Monitoring Instances (All instances) Monitor Class cpu Start Time * 2016/10/19 08 : 00 Time Period 8 hours Submit Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores

9.3. Datastores Monitoring

The Datastores Monitoring opon allows you to see the condion of the datastores. The datastore-related informaon is supplied so you can audit. You can apply Iters to decide on the datastore and me interval you want to monitor.

vsCube dev(A123456a) demoApp dev2 Datastores Monitoring Datastores datastore-for-i Start Time * 2016/10/19 07 : 00 Monitor Class brick Time Period 8 hours Submit Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances 2 Datastores Orchestration Stacks

10. Chapter 10. Stack (Orchestraon)

You can orchestrate cloud applicaons by using templates in the Amazon Web Services (AWS) CloudFormaon template format or the nave OpenStack Heat Orchestraon Template (HOT) format. The templates enable the ecient creation of instances, oang IP addresses, volumes, security groups, and other resources. The resources are known as stacks.

These exible template languages enable applicaon developers to describe and automate the deployment of infrastructure, services, and applicaons. The templates enable createon of most OpenStack resource types, such as instances, oang IP addresses, volumes, security groups, and users. The resources, once created, are referred to as stacks.

Stack

A set of OpenStack resources created and managed by the Orchestraon service according to a given template (either an AWS CloudFormaon template or a Heat Orchestraon Template (HOT)).

Heat

This is an integrated project that aims to orchestrate mulple cloud applicaons for OpenStack.

Heat Orchestraon Template (HOT)

Heat input in the format nave to OpenStack.

10.1. Wring a Template

The template languages are described in the Template Guide in the Heat developer documentaon. The material in this secon was derived from the open-sourced documentaon for the OpenState website and modified slightly to suit our needs.

OpenStack template guide:

http://docs.openstack.org/developer/heat/template_guide/index.html

OpenStack Heat developer documentaon:

hp://docs.openstack.org/developer/heat/

Noce

Currently only templates in JSON format are supported in VSkyCube. Transfer the template to JSON format if it is in YAML format.

10.1.1. Basic Template

The basic template contains only a single resource denion using predened properes (along with the mandatory Heat template version tag). The example template below could be used to simply deploy a single compute instance. (See CODE C1)

{
    "heat_template_version": "2015-04-30",
    "description": "Simple template to deploy a single compute instance",
    "resources": {
    "my_instance": {
    "type": "OS::Nova::Server",
    "properties": {
    "key_name": "my_key",
    "image": "cirros",
    "flavor": "m1.tiny",
    "networks": [
    {
    "network": "int-netE"
    }
    ]
    }
    }
    }
} 

Each HOT template has to include the heat_template_version key with a valid version of HOT, e.g. 2015-10-15 (see Heat template version for a list of all versions). While the descripon is oponal, it is good pracce to include some useful text that describes what you can do with the template.

Noce

About Heat template version, see

hp://docs.openstack.org/developer/heat/template_guide/hot_spec.html

The resources secon is required and must contain at least one resource denion. In the example above, a compute instance is dened with xed values for the 'key_name', 'image' and 'avor' parameters.

Note that all those elements, i.e. a key pair with the given name, the image and the avor have to exist in the VSkyCube environment where the template is used. Typically a template is made more easily reusable, though, by dening a set of input parameters instead of hard-coding such values.

10.1.2. Template Input Parameters

Input parameters dened in the parameters secon of a HOT template allow you to customize a template during deployment. For example, this allows for providing custom key pair names or image IDs to be used for a deployment. From a template author's perspective, this helps to make a template more easily reusable by avoiding hardcoded assumpons.

Noce

More informaon about parameters, see

hp://docs.openstack.org/developer/heat/template_guide/hot_spec.html

Scking to the example used above, it makes sense to allow you to provide their custom key pairs, provide their own image, and to select a avor and networks for the compute instance. This can be achieved by extending the initial template as follows: (see CODE C2)

{
    "heat_template_version": "2015-04-30",
    "description": "Simple template to deploy a single compute instance",
    "parameters": {
    "key_name": {
    "type": "string",
    "label": "Key Name",
    "description": "Name of keypair to inject into the server."
    },
    "image": {
    "type": "string",
    "label": "Image Name",
    "description": "Name of image to be used."
    },
    "flavor": {
    "type": "string",
    "label": "Instance Type",
    "description": "Type of instance (flavor) to be used."
    },
    "network": {
    "type": "string",
    "label": "Network Name",
    "description": "Name of network to create a port on."
    }
},
"resources": {
    "my_instance": {
    "type": "OS::Nova::Server",
    "properties": {
    "key_name": {"get_param": "key_name"},
    "image": {"get_param": "image"},
    "flavor": {"get_param": "flavor"},
    "networks": [
    {"network": {"get_param": "network"}
    ]
    }
    }
} 

In the example above, four input parameters have been dened that have to be provided by the user upon deployment. The xed values for the respective resource properes have been replaced by references to the corresponding input parameters by means of the get_param funcon.

Noce

About get_param funcon, see secon intrinsic funcons in
hp://docs.openstack.org/developer/heat/template_guide/hot_spec.html 

10.1.3. Template Environment

The environment aects the runme behavior of a template. It provides a way to override the resource implementaons and a mechanism to place parameters that the service needs. The environment is a JSON text le. You can dene values for the template arguments in an environment le: (see CODE C3)

{
    "parameters": {
    "key_name": "my_key",
    "image": "cirros",
    "flavor": "m1.tiny",
    "network": "int-netE"
    }
} 

10.2. Launching and Previewing a Stack

There are 2 types of templates: templates with parameters and without parameters.

10.2.1. Template without Parameters

There are no parameters in the template. The value of resources is dened in the template. For example: CODE C1 in the previous chapter is a template without parameters.

10.2.2. Template with Parameters

The value of resources is in the template parameters and you need to specify the parameter values when using the template. The parameter values should be dened in the Environment.

For example, CODE C2 in previous chapter is a template with parameters and CODE C3 is the Environment.

Note

You can use CODE C1, C2 and C3 as sample code to launch or preview a stack.

However, remember to replace the values of resources and parameters with the real environment of your cluster.

The only dierence between launching and previewing is that Preview Stack will only simulate the execution of the stack according to the template you oered and will not take effect. Preview Stack is a good way to verify the template and parameters. The steps of launching and previewing stacks are the same.

Open the Launch Stack panel:

dev#16 / demoApp dev#12 dev#16 demoApp test Stacks 3 + Launch Stack Stack Name Created Updated No Data Stack Resources Stack Snapshots Events Stack Resource Status Stack Resource Type Updated No Data Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orthemation Stacks

Open the Preview Stack panel:

vsoView Cluster View dev#16 / demoApp Stacks 3 Preview Stack Stack Name Status Created Updated No Data Stack Resources Stack Snapshots Events Stack Resource Status Stack Resource Type Updated No Data Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchestration 2 Stacks Resource Types

Aer opening the panel, follow the steps below to launch or preview a stack.

  1. In the panel, you will see 2 parts as shown in the picture below.

A. Template Source/Template File
B. Environment Source/Environment File

Preview Stack Step 1 Select Template Step 2 Stack Settings Step 3 Preview Stack Use one of the available template source options to specify the template to be used. Template Source File Direct Input URL Template File ? 選擇檔案 未選擇任何檔案 A Environment Source File Direct Input Environment File ? 選擇檔案 未選擇任何檔案 B Cancel Validate Template >

  1. Choose the source of your input, you can either upload a le or type your input directly into the text area. Check the content of the template before proceeding to the next step. If there are parameters in the Template File/Data, the relevant Environment File/Data should also be submied.
  2. In Stack Sengs, you have to specify: Stack Name, Creaon Timeout, and Rollback.

Creaon Time: Stack creaon meout in minutes.

Rollback: Enable/Disable rollback on create/update failure.

Stack Parameters: If there are parameters in the template, the value of parameters which the user input in the previous step will be displayed. Make sure all values are correct before proceeding to the next step.

Preview Stack Step 1 Select Template Step 2 Stack Settings Step 3 Preview Stack Preview a new stack with the provided values. Stack Name ? * my5ack Creation Timeout ? * 60 Minute(s) Rollback ? ○ Rollback on Failure ● Disable Rollback Stack Parameters String Key Name * my_key String Image Name * cirros String Instance Type * m1.tiny String Network * int-netE Cancel Submit

  1. (For Preview Stack) Aer subming, the simulated data will be shown. The data will be cleared aer clicking the Close buon.

Preview Stack Step 1 Select Template Step 2 Stack Settings Step 3 Preview Stack { "parameters": { "OS::project_id": "26a6f2065271435f894b7bafad7e9347", "OS::stack_id": "None", "OS::stack_name": "myStackWithoutParam" }, "id": "None", "description": "Simple template to deploy a single compute instance", "links": [ { "href": "http://angelaops:8004/v1/26a6f2065271435f894b7bafad7e9347/stack" "rel": "self" } ], "capabilities": [], "resources": [ {

  1. (For Launch Stack) Aer subming, the stack will be listed in the table.

Stacks Stack Name Status Created Updated myStack1 ✓ Create complete 2016/05/06 11:17:08 Never View 1 - 1 of 1 10^ per page Stack Resources ✓ Stack Snapshots Events

10.3. Stack Acons

In this secon you will learn how to manage and control the stack with dierent acons.

dev#12 / DemoApp dev#12 DemoApp 1 KarenApp timApp vstar-demo dev#16 demoApp test Stacks Stack Actions + A B C D E F G Stack Name Status Crei myStack1 Create complete 201 View 1 - 1 of 1 10+ per page Check Stack H Suspend Stack I Resume Stack J Abandon Stack K Stacks 2 Resource Types Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Onshrestation Stacks

To locate Stacks service, follow the steps described in the above picture.

  1. Select the applicaon on the le sidebar.
  2. Click Stacks on the right menu.
  3. Click the row to select a stack.

Stack acon buons are listed on top of the table and introduced below from le to right.

    • Launch Stack: To launch a stack, please refer to 10.2 Launching and Previewing a Stack.
  1. 🔒 Preview Stack: See buon A. Launch Stack.
  2. Stack Details: View the details of selected stacks.
  3. Change Stack Template: To change stack with dierent template. All the resources in the stack will be replaced, this acon cannot be reversed.

  4. Take Snapshot: Take a snapshot of current status for the selected stack. To manage the snapshot of the stack, please refer to 10.5 Stack Snapshots.

Create Stack Snapshot: myStack1 Stack Snapshot Name * myStack1-160506-1141 Cancel Submit

  1. Delete Snapshot: Delete the selected snapshot.

  2. ▼ More: Click the down arrow icon to open the drop-down menu.

  3. ☑ Check Status: Click to check the status of stack.

  4. III Suspend Stack: Suspend the execuon of a stack. All the resources of the stack will be suspended.

  5. ▶ Resume Stack: Resume the execuon of a stack.

  6. ✗ Abandon Stack: Stop and delete the stack conguraon but keep all the resources of the stack.

10.4. Stack Resources

dev#12 / DemoApp dev#12 DemoApp 1 KarenApp timApp vstor-demo dev#16 demoApp test Stacks 4 Stack Name Status Created Updated myStack1 Create complete 2016/05/06 11:17:08 Never View 1 - 1 of 1 10~ per page 3 Stack Resources Stack Snapshots Events 6 5 Stack Resource Status Stack Resource Type Updated my_instance Create complete OS::Nova::Server 2016/05/06 11:17:08 View 1 - 1 of 1 10~ per page Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchustration Stacks 2 Resource Types

Follow these steps numbered in the above picture.

  1. Select the applicaon on the le sidebar.

  2. Click Stacks on the right menu.

  3. Click the Stack Resources tab.

  4. Click the row to select a stack and the resources of the stack will be listed in the table below.

  5. Click a row to select a resource.

  6. Click the eye icon to view the details of the selected resource.

Noce

All the resources are controlled by the stack. Manually managing or operating the resources may cause unexpected errors and the stack may not work properly.

10.5. Stack Snapshots

dev#12 / DemoApp dev#12 DemoApp KarenApp timApp vstor-demo dev#16 demoApp test Stacks 5 4 Stack Name Status Created Updated myStack1 Snapshot complete 2016/05/06 11:17:08 Never View 1 - 1 of 1 10 > per page 3 Stack Resources Stack Snapshots Events A B C 6 Name Status Created myStack1-160506-1141 Complete 2016/05/06 11:41:23 View 1 - 1 of 1 10 > per page Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchestration Stacks 2 Resource Types

Follow these steps numbered in the above picture.

  1. Select the applicaon on the le sidebar.
  2. Click Stacks on the right menu.
  3. Click the Stack Snapshots tab.
  4. Click a row to select a stack and the snapshots of the stack will be listed in the table below.
  5. Click the camera icon to take a snapshot of the selected stack. The stack name and a mestamp format posix will be used as the snapshot name. You can change the snapshot name.

Create Stack Snapshot: myStack1 Stack Snapshot Name * myStack1-160506-1141 Cancel Submit

  1. Click the row to select the snapshot. There are 3 buons on top of the table for snapshot management.

A. View Detail: View the details of the selected snapshot.
B. ☑ Restore Stack: Restore the stack with the selected snapshot.
C. Delete Stack Snapshot: Delete the selected snapshot.

10.6. Stack Events

dev#12 / DemoApp dev#12 DemoApp 1 KarenApp timApp vstor-demo dev#16 demoApp test Stacks 4 Stack Name Status Created Updated myStack1 Create complete 2016/05/06 11:17:08 Never View 1 - 1 of 1 10 ~ per page Stack Resources Stack Snapshots Events 3 6 Time Stack Resource Message 2016/05/06 11:17:13 myStack1 CREATE_COMPLETE 2016/05/06 11:17:13 my_instance CREATE_COMPLETE Instances Volumes Security Groups Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchestration Stacks 2 Resource Types

Follow the steps described in the above picture.

  1. Select the applicaon on the le sidebar.
  2. Click Stacks on the right menu.
  3. Click the Events tab.
  4. Click a row to select a stack and the events of the stack will be listed in the table below.
  5. Click a row to select an event.
  6. Click the eye icon to view the details of the selected event.

10.7. Resource Types

dev#12 / DemoApp Resource Type Resource Type Implementation Component Resource 3 AWS:EC2:Instance AWS EC2 instance OS::Heat::AccessPolicy OS Heat AccessPol OS::Heat::ScalingPolicy OS Heat ScalingPo AWS::CloudFormation::Stack AWS CloudFormation Stack OS::Keystone::Group OS Keystone Group OS::Glance::Image OS Glance Image AWS:EC2::Volume AWS EC2 Volume Floating IPs Networking Internal Networks Routers Load Balancers Monitoring Instances Datastores Orchustration Stacks 2 Resource Types

Follow the steps described in the above picture. All the supported resource types are listed in the table. Click the eye icon to see the aributes and properes of the selected resource type.

11. Chapter 11. Upgrade

Use the informaon in this secon for cluster (VSkyCube) or portal (VSkyView) upgrades.

11.1. Cluster (VSkyCube) Upgrade

To upgrade a cluster, select the Cluster Upgrade opon in the Cluster-Related menu. You can upgrade a cluster when a new release is available through VSkyView. When you want to upgrade the cluster, every node must be upgraded to the same version. Therefore, if you want to perform the upgrade, make sure every node in the cluster is online.

There are two types of cluster upgrade, a major upgrade and a minor upgrade. Major upgrades will influence the cluster operaons, and all services will stop until the upgrade is nished. Yet a minor upgrade is done live. Services stay online. Please always wait for an upgrade to complete before aempng to perform any additional procedures or operaons, including another upgrade. The upgrade history will be recorded so you can check the details on the History tab.

vsmView vsmCube demoCluster Info History Cluster Information Version 1.00.0000.14 Upgrade File Choose File No file chosen MDS Upload Networking Network Topology External Network Munitouris Nodes Event & Lot Events Log Configuration Service Setting Cluster Upgrade Copyright © 2014-2016 PROMISE Technology, Inc. All rights reserved.

11.2. Portal (VSkyView) Upgrade

The Portal Info opon allows you to upload les for portal upgrade. You can update the portal version when a new release is available on the interface. The upgrade le is in the jar le format. You can also check the md5 checksum of the le before doing the upgrade.

VSView Physical View System Info Current Version 0.1.21 Binary Source Binary File Binary Location Binary File Choose File No file chosen MDS Checksum Upgrade Portal will restart after upgrade. User Management Email Server Configuration Alert Notification Configuration Portal Logging Files Portal Info 2

Table of contents Click a title to access it
Manual assistant
Powered by Anthropic
Waiting for your message
Product information

Brand : Promise Technology

Model : VSkyCube

Category : NAS