首页 > 代码库 > openStack use
openStack use
<1,project security>
security groyps
Security groups--> are sets of IP filter rules() that ,define networking access,are applied to
all instances within a project
default security group denies all incoming
traffic and allows only outgoing traffic to your instance
common use case is to edit the
default security group to permit SSH access and ICMP access, so that users can log into and
ping instances.
Example,create a security group:
<2,Volumes are the Block Storage devices that you attach to instances to enable persistent
storage.>
<3,cloud disk type>
云硬盘类型定义了云硬盘的规格参数. 通常为云硬盘映射一组后端驱动器的存储容量. 例如:"性能"."SSD"."备份",等.
<4,运行OpenStack 命令行命令时加--debug parameters>
Example:
nova --debug list or keystone --debug user-list;
(关于OpenStack every core project client tools)
Internally, each command uses cURL command-line tools, which embed API requests. Open-
Stack APIs are RESTful APIs, and use the HTTP protocol. They include methods, URIs, media
types, and response codes.
nova console-log server(virtual machine instance)
nova credentials
nova diagnotics
nova endpoints
nova floating-ip-list
nova floating-ip-pool-list
libvirt virsh vncdisplay server_id or instance_id also kown as virtual machine
OpenStack novnc url获取
openStack 查看物理主机的主要资源信息
hypervisor-host
hypervisor-server hypervisor_host_name
nova hypervisor-show hypervisot_host_name (host-list)
nova hypervisor-status
openStack use