【OpenStack】简单实现接收nitification功能
2013-09-10 10:06
169 查看
声明:
本博客欢迎转发,但请保留原作者信息!
新浪微博:@孔令贤HW;
博客地址:http://blog.csdn.net/lynn_kong
内容系本人及本人团队学习、研究和总结,如有雷同,实属荣幸!
问题定位过程中,因计算节点较多,很多时候忙于登录到不同的计算节点,而对于流程相对较为复杂的操作(如resize/migrate),就必须来回在不同节点上切换,有时还会忙中出错。而OpenStack内部提供的notification机制,其实已经能很好的跟踪流程。
Ceilometer项目提供了监控这些notification的能力,但并不是每个部署都会用到Ceilometer,毕竟该项目目前尚不成熟。所以,如果要监控操作流程,就需要自己做一个简单实现完成该功能。效果如下(以migrate操作为例):
本博客欢迎转发,但请保留原作者信息!
新浪微博:@孔令贤HW;
博客地址:http://blog.csdn.net/lynn_kong
内容系本人及本人团队学习、研究和总结,如有雷同,实属荣幸!
问题定位过程中,因计算节点较多,很多时候忙于登录到不同的计算节点,而对于流程相对较为复杂的操作(如resize/migrate),就必须来回在不同节点上切换,有时还会忙中出错。而OpenStack内部提供的notification机制,其实已经能很好的跟踪流程。
Ceilometer项目提供了监控这些notification的能力,但并不是每个部署都会用到Ceilometer,毕竟该项目目前尚不成熟。所以,如果要监控操作流程,就需要自己做一个简单实现完成该功能。效果如下(以migrate操作为例):
>>>> new message:Tue Sep 10 09:38:48 2013 event_type:compute.instance.exists publisher_id:compute.controller instance_id:d7e93ab8-e866-4eef-8b0f-aa4503a55916 >>>> new message:Tue Sep 10 09:38:48 2013 event_type:compute.instance.resize.prep.start publisher_id:compute.compute instance_id:d7e93ab8-e866-4eef-8b0f-aa4503a55916 >>>> new message:Tue Sep 10 09:38:49 2013 event_type:compute.instance.resize.prep.end publisher_id:compute.compute instance_id:d7e93ab8-e866-4eef-8b0f-aa4503a55916 >>>> new message:Tue Sep 10 09:38:50 2013 event_type:compute.instance.resize.start publisher_id:compute.controller instance_id:d7e93ab8-e866-4eef-8b0f-aa4503a55916 >>>> new message:Tue Sep 10 09:38:56 2013 event_type:compute.instance.resize.end publisher_id:compute.controller instance_id:d7e93ab8-e866-4eef-8b0f-aa4503a55916 >>>> new message:Tue Sep 10 09:38:57 2013 event_type:compute.instance.finish_resize.start publisher_id:compute.compute instance_id:d7e93ab8-e866-4eef-8b0f-aa4503a55916 >>>> new message:Tue Sep 10 09:39:01 2013 event_type:compute.instance.finish_resize.end publisher_id:compute.compute instance_id:d7e93ab8-e866-4eef-8b0f-aa4503a55916
相关文章推荐
- 通过Socket实现简单web服务器功能(接收页面请求信息)不使用Tomcat!
- 今天找到一个简单好用的全选按钮功能实现
- Socket 简单实现下载功能
- 使用shell和python分别实现简单菜单功能--打印当前系统状态信息
- 原生PHP实现数据筛选以及简单分页功能
- 用Python实现简单的HTTP服务器(2)--实现一个基本功能的HTTP服务器
- 从此不求人:自主研发一套PHP前端开发框架(30) 实现简单的用户登录功能
- 简单快速开发C\S架构程序用最简单的不分层最快的效率达到功能要求的例子程序FrmCommentAdd 添加评论的功能实现
- struts1学习之--3、实现简单的登录功能
- 简单的实现对话框中文件的拖拽功能
- 简单的spring-data集成mongoDB项目,实现crud的功能
- 简单实现js点击展开二级菜单功能
- nginx+lua实现简单的waf网页防火墙功能
- [Unity]关于UGUI拖拽备份克隆功能的简单实现
- Session简单实现购物功能
- java反射的作用------hibernate插入功能的j简单实现
- php异步操作(实现简单聊天功能)
- jQuery模拟12306城市选择框功能简单实现方法示例
- .net(c#) 简单的软件注册功能的实现:
- HTML5 WebSocket(Client) + JavaWeb(Server) 实现简单的聊天室功能