分享

openstack 命令行管理十:日志管理、instance novnc 访问管理 命令总结

xioaxu790 发表于 2014-9-1 16:55:38 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 0 12835
本帖最后由 howtodown 于 2014-9-1 23:57 编辑
问题导读
1、如何查看instance 终端日志?
2、如何查询实例访问?





instance 终端以日志方式输出方法
  1. [root@station140 ~(network_admin)]# nova  console-log  --length 80 terry_instance1 | tail  
  2. Starting atd: [  OK  ][  OK  ]  
  3. Starting yum-updatesd: [  OK  ]  
  4. Failed to retrieve hostname from instance metadata.  This is a soft error so we'll continue  
  5. Failed to retrieve user-data from instance metadata.  This is a soft error so we'll continue  
  6. Starting smartd: [  OK  ]  
  7.   
  8. CentOS release 5.8 (Final)  
  9. Kernel 2.6.18-308.el5 on an x86_64  
  10.   
  11. host-10-0-0-50 login:  
复制代码

查询实例访问方法
  1. [root@station140 nova(keystone_admin)]# nova get-vnc-console terry_instance1 novnc  
  2. +-------+-------------------------------------------------------------------------------------+  
  3. | Type  | Url                                                                                 |  
  4. +-------+-------------------------------------------------------------------------------------+  
  5. | novnc | http://192.168.48.140:6080/vnc_auto.html?token=ee1931a2-35ed-4e04-901b-47bf60e7576d |  
  6. +-------+-------------------------------------------------------------------------------------+
复制代码

上述 URL 可通过 chrome 进行访问,  IE 估计有问题

上一篇:
openstack 命令行管理九:宿主主机管理;instance管理 命令总结

没找到任何评论,期待你打破沉寂

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条