before we created the vlan100 and deployed the instance, today we will continue creating a second VLAN network "vlan101". The subnet IP address is 172.16.101.0/24.what has changed in the underlying networkNeutron automatically creates the vlan101 corresponding bridge Brq1d7040b8-01,vlan interface eth1.101, as well as the DHCP tap device tap5b1a2247-32. Eth1.101 and tap5b1a2247-32 are already connected to Brq1d7040b8-01,vlan 101 's two-layer network ready.Now, the network structure is as follows:
we have been learning Neutron local Network,flat network and DHCP service, from this section will be start discussing VLAN network. VLAN Networks is a network with tag, and is the most widely used type of network in practice.is an example of a vlan100 network.1. Three instance are connected to a Linux bridge named "Brqxxxx" via a TAP device. 2. The eth1.100 VLAN interface,eth1.100 connected to Brqxxxx is created on the physical NIC Eth1. 3. Instance the packet sent to Eth1 via eth1.100 will be t
we have been learning Neutron local Network,flat network and DHCP service, from this section will be start discussing VLAN network. VLAN Networks is a network with tag, and is the most widely used type of network in practice.is an example of a vlan100 network.1. Three instance are connected to a Linux bridge named "Brqxxxx" via a TAP device. 2. The eth1.100 VLAN interface,eth1.100 connected to Brqxxxx is created on the physical NIC Eth1. 3. Instance the packet sent to Eth1 via eth1.100 will be t
In the previous section we created "Flat_net", which will deploy instance and verify connectivity in this network.Launch the new instance "CIRROS-VM1", select Network Falt_net.The IP assigned to the CIRROS-VM1 is 172.16.1.103.The CIRROS-VM1 is schedule to the control node, the corresponding tap device is TAPC1875C7F-CB, and is already connected to bridge.The structure of the current flat_net is as follows:Continue to launch the instance cirros-vm2 in the same way, assigning the IP to 172.16.1.10
=" border:0px;margin:0px;padding:0 px; "/>Neutron automatically creates a new flat_net corresponding to the bridge BRQF153B42F-C3, as well as the DHCP tap device Tap19a0ed3d-fe. In addition, the TAP19A0ED3D-FE and the physical NIC Eth1 are already connected to bridge.At this point the flat_net structure:650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160915-1473894690094083498.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160
Today is the last section of the local network, and we will verify the connectivity of the two local network.Launch new instance "CIRROS-VM3", network selection second_local_net.The IP assigned to the CIRROS-VM3 is 172.16.1.102.The CIRROS-VM3 is schedule to the control node, and the corresponding tap device is tap5395d19b-ed.The console shows that CIRROS-VM3 has successfully received the IP address 172.16.1.102 from DHCP.But CIRROS-VM3 cannot Ping to CIRROS-VM1.This is expected because CIRROS-VM
-ueditor-image-20160929-1475155246496083388.jpg "/>The above configuration defines the label as ldquo;defaultrdquo; The range of VLAN Network,vlan IDs is 3001-4000. This range is for ordinary users to create a network within their own tenants. Because a normal user does not specify a VLAN when creating a network Id,neutron will automatically take the value from this range in order.For admin There is no VLAN ID limit, admin can create VLAN network with ID range 1-4094.Next, you need to indicate t
In the previous section we enable VLAN network in the ML2 configuration, and today we will create vlan100 and discuss the underlying networking changes.Open the menu, Admin, Networks, and click on the "Create Network" button.The Create page is displayed.Provider Network Type Select "VLAN". Physical Network fill in "Default" and must be consistent with Ml2_conf.ini network_vlan_ranges. The segmentation ID, which is the VLAN ID, is set to 100.Click "Create Network" to create a successful vlan100.C
intuitive and friendly, easy to get started. At the same time we can also use the command Virsh to manage the virtual machine, such as viewing the virtual machine on the host[Email protected]:~# virsh listId Name State --------------------------------8 kvm1 Runningat this point, the first virtual machine has run, the default settings are used, we will gradually discuss the details of the virtual machine, such as storage and network card settings. Start the first
;float:none; "/>Cinder-scheduler sending MessagesCinder-scheduler send a message to Cinder-volume, let it create volume source/opt/stack/cinder/cinder/scheduler/filter_scheduler.py, method for Schedule_create_volume.650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160623-1466685098724062746.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160623-1466685216794088544.jpg "style=" border:0px;white-space:normal;float:none; "/>In the
Instance, and the compute node itself is working properly. If the compute node fails, OpenStack cannot communicate with the node's nova-compute, and all instance running on it will be affected. At this point, the Instance can only be rebuilt on other normal nodes through the evacuate operation.EvacuateRebuilds Instance on other compute nodes using the Instance image file on the shared storage. So planning for shared storage ahead of time is key.SectionHere, we've learned about the OpenStack Nov
-space:normal;float:none; "/>There is one more question: volume provider put in there?Generally speaking, volume provider is independent. Cinder-volume uses driver to communicate with volume provider and coordinate work. So you just have to put driver and cinder-volume together. In the Cinder-volume source code directory There are many driver, support different volume provider.650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160610-1465514562334003570.p
://download.cirros-cloud.net/.
Format Selection QCOW2.If checked, the image can be used by other Project if checked, the image is not allowed to be deleted.
Click, upload the file to OpenStack and create a new image
Click the image link to display more information
CLI Create ImageCirros This Linux image is very small and uploads quickly through the Web UI, and the operation will be smooth. But if we want to upload a larger image (such as several G), then the operation of the long time to
. There is a clear distinction between "soft reboot" and "hard reboot" in the Nova-compute log.Lock/unlockTo avoid misoperation, such as accidental restart or removal of instance, instance can be locked. Actions that change state such as instance performed by locking (Lock) are not allowed. Restore normal after performing an unlock (Unlock) operation.Lock/unlock operations are performed in the Nova-api. After the operation succeeds, NOVA-API updates the state of the instance lock. When performin
In the previous section we discussed an important role of snapshot,snapshot as a backup of instance.If the instance is damaged, it can be restored by snapshot, which is Rebuild.Rebuild will replace the instance current image file with snapshot, while maintaining the rest of the instance, such as the network, and the resource-allocation attribute unchanged.Here is the flowchart of Rebuild instance
Send a request to NOVA-API
Nova-api sending messages
Nova-compute Performing action
;float:none; "/>after Rebuild, the GUI shows that instance has used the new image650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160522-1463901457760078312.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160522-1463901713811043680.jpg "style=" border:0px;white-space:normal;float:none; "/>The above is the analysis of Rebuild operation, the next section we discuss the Shelve operation.650) this.width=650; "title=" "src=" http://7
: Normal;background-color:rgb (246,246,246); "/>Each image should have a file in the directory, named after the image ID.In the next section we will actually operate the Glance.650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160412-1460472069315043178.jpg "style=" Border:0px;vertical-align:middle;color:rgb ( 63,63,63); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;background-color: RGB (246,246,246); "/>
/etc/keystone/keystone.conf650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160410-1460244060474022892.jpg "style=" Border:0px;vertical-align:middle;color:rgb ( 63,63,63); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;white-space: Normal;background-color:rgb (246,246,246); "/>In a non-devstack installation, the log may be in the/var/log/keystone/directory.Keystone is here, the next section we begin to lea
clientsNova-consoleauthResponsible for providing Token authentication to the Access virtual machine consoleNova-certProvide X509 certificate supportDatabaseNova will have some data to store in the database, generally using MySQL. The database is installed on the control node. Nova uses a database named "Nova".Message QueueBefore we learned that Nova contains a multitude of sub-services that need to coordinate and communicate with each other. To decouple each sub-service, Nova passes the message
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.