随笔分类 - OpenStack
Nova, Swift etc.
摘要:python中的Module是比较重要的概念。常见的情况是,事先写好一个.py文 件,在另一个文件中需要import时,将事先写好的.py文件拷贝 到当前目录,或者是在sys.path中增加事先写好的.py文件所在的目录,然后import。这样的做法,对于少数文件是可行的,但如果程序数目很 多,层级很复杂,就很吃力了。有没有办法,像Java的Package一样,将多个.py文件组织起来,以便在外部统一调用,和在内部互相调用呢?答案是有的。主要是用到python的包的概念,python __init__.py在包里起一个比较重要的作用要弄明白这个问题,首先要知道,python在执行import语
阅读全文
摘要:If you are planning to be CROWBAR DEVELOPER, please follow the Dev Tool Build instructions! It requires that you have a GitHub account.https://github.com/dellcloudedge/crowbar/blob/master/README.buildNotes:Please CORRECT this page if you find errors!Ensure that you are running Bash 4 or greater as y
阅读全文
摘要:For more information, please consult the Crowbar Deployment Guide.If you wish to change the default IP address for crowbar see here first.After you have completed the Build Crowbar.ISO step, you are ready to install Crowbar!Optional: Burn the ISO to a DVD (you can get them from http://crowbar.zehicl
阅读全文
摘要:OpenStack Nova 创建出来的 instance 不是所有的类型都有存储的,比如 m1.tiny: Memory: 512MB, VCPUS: 1, Storage: 0GB, FlavorID: 1, Swap: 0MB, RXTX Quota: 0GB, RXTX Cap: 0MB 的存储就是 0,也就是说关闭 m1.tiny 类型的 instance 后所有数据都会丢失。OpenStack Nova 使用 nova-volume 服务来管理存储,可以把这种服务看成云计算时代的 USB,可以随时 attach 到 instance 上做额外存储,其实现和 Amazon 的 Ela
阅读全文
摘要:Chapter7.Running Virtual Machine InstancesContentsSecurity groups: Enabling SSH and ICMP (ping)Adding a keypairConfirm all services runningStarting an instanceBringing down an instanceSecurity groups: Enabling SSH and ICMP (ping)The Compute service uses the concept of security groups to control what
阅读全文
摘要:You can create, delete, run, stop, and manage your virtual machines graphically. The tool virt-manager allows you to use a graphical interface to interact with KVM.InstallationInstall virt-manager on your desktop:From a Command Linesudo apt-get install virt-managerOr from the Ubuntu Software Center:
阅读全文
摘要:OpenStack DashboardInstall OpenStack Dashboard by executing the following command:sudo apt-get install openstack-dashboardRestart apache with the following command:sudo service apache2 restartOpen a browser and enter IP address of the server1. You should see the OpenStack Dashboard login prompt. Log
阅读全文
摘要:NovaInstall nova using the following commands:sudo apt-get install nova-api nova-cert nova-compute nova-compute-kvm nova-doc nova-network nova-objectstore nova-scheduler nova-volume rabbitmq-server novnc nova-consoleauthNova ConfigurationEdit the /etc/nova/nova.conf file to look like this.--dhcpbrid
阅读全文
摘要:本文链接: http://www.php-oa.com/2010/02/22/ubutnu-kvm-vmware.html听讲XEN很快就要从LINUX内核中去掉,redhat和Ubuntu也大力的在推广KVM,所以在Ubuntu下整了一下KVM,相当容易使用,基本比Vmware还要容易,但性能好上很多倍,因为他是半虚拟的,很大程序上可以直接使用真实的硬件.RedHat 红帽CTO Brian Steven在一次记者招待会说:“我们致力于Xen,RHEL 5有10年的生命周期,因此会有一个较大的交叉过渡.我们将在Red Hat 6中全面使用KVM,但KVM目前已经准备就绪,完全可以正式投入到数
阅读全文
摘要:Glance项目提供虚拟机镜像的发现,注册,取得服务。Glance提供restful API可以查询虚拟机镜像的metadata,并且可以获得镜像。通过Glance,虚拟机镜像可以被存储到多种存储上,比如简单的文件存储或者对象存储(比如OpenStack中swiftx项目)。Glance,像所有的OpenStack项目一样,遵循以下思想:1.基于组件的架构 便于快速增加新特性2.高可用性 支持大负荷3.容错性 独立的进程避免串行错误4.开放标准 对社区驱动的API提供参考实现Glance的几个重要概念:1.Image identifier...
阅读全文
摘要:glance api 的实验(curl)发表于 2012 年 3 月 24 日 由 refactor参考文档:http://docs.openstack.org/api/openstack-image-service/1.0/content/requesting-detailed-metadata-on-public-vm-images.htmlhttp://glance.openstack.org/glanceapi.htmlhttp://glance.openstack.org/formats.html1、登录、获取 tokencurl -X POST -d ‘{“auth”: {“ten
阅读全文
摘要:IntroductionThere are several pre-built images for OpenStack available from various sources. You can download such images and use them to get familiar with OpenStack.For any production deployment, you may like to have the ability to bundle custom images, with a custom set of applications or configur
阅读全文
摘要:[OpenStack] OpenStack Essex - Glance 安装部署与命令行详解
阅读全文
摘要:http://www.pubyun.com/blog/openstack/openstack-keystone-api-%E5%AE%9E%E9%AA%8Ccurl/参考文档:http://keystone.openstack.org/configuration.htmlhttp://keystone.openstack.org/api_curl_examples.html1、重要概念:Admin Token所有服务共享的一个密钥,如果设置不同,哪些依赖keystone的服务将无法正常工作。Tenants做keystone里,Tenants 是一个高层次的组,表示一组用户。一个tenant 是
阅读全文
摘要:OpenStack最新的版本 ESSEX出来了,需要为用户讲清楚,如何使用此系统所以要做实验,要认真分析此系统了,现在对这官方文档一步一步的做下来,实践出真知,肯定会有收获的。
先搞定手动安装,然后再使用Dell Crowbar自动化工具来进行批量安装部署,先手动了解原理,再自动提高生产效率,然后深入了解其工作原理及源代码,最终达到深刻理解的目标。
开始,行动!!!
阅读全文
摘要:http://www.china-cloud.com/yunjishu/yunjiagou/20111209_8570.htmlOpenStack是由Rackspace公司(世界最大的主机托管服务商之一)启动的一个开源项目,它旨在实现“云操作系统”,即一个具有部署和管理公有云、私有云以及混合云基础架构能力的平台。云操作系统在这里“操作系统”的含义很简单,即一个资源的控制、监测和协调的平台。另一方面,云操作系统也提供了一系列完整的API。互联网厂商和云计算提供商是OpenStack的潜在用户,这也同样为准备部署云计算基础架构的企业提供了一种选择。OpenStack的优势1.与开源社区的广泛合作C
阅读全文