本帖最后由 howtodown 于 2014-9-1 23:57 编辑
问题导读
1、如何查看instance 终端日志?
2、如何查询实例访问?
instance 终端以日志方式输出方法
- [root@station140 ~(network_admin)]# nova console-log --length 80 terry_instance1 | tail
- Starting atd: [ OK ][ OK ]
- Starting yum-updatesd: [ OK ]
- Failed to retrieve hostname from instance metadata. This is a soft error so we'll continue
- Failed to retrieve user-data from instance metadata. This is a soft error so we'll continue
- Starting smartd: [ OK ]
-
- CentOS release 5.8 (Final)
- Kernel 2.6.18-308.el5 on an x86_64
-
- host-10-0-0-50 login:
复制代码
查询实例访问方法
- [root@station140 nova(keystone_admin)]# nova get-vnc-console terry_instance1 novnc
- +-------+-------------------------------------------------------------------------------------+
- | Type | Url |
- +-------+-------------------------------------------------------------------------------------+
- | novnc | http://192.168.48.140:6080/vnc_auto.html?token=ee1931a2-35ed-4e04-901b-47bf60e7576d |
- +-------+-------------------------------------------------------------------------------------+
复制代码
上述 URL 可通过 chrome 进行访问, IE 估计有问题
上一篇:
openstack 命令行管理九:宿主主机管理;instance管理 命令总结
|