zoukankan      html  css  js  c++  java
  • keystore glance

      source /etc/keystone/admin-openrc.sh 

    keytstore

    Keystone管理(60分)
    |45使用提供的“al-in-one"虚拟机,创建用户testuser,密码为xiandian, 将testuser用户分配给admin项目 ,赋予用户
    admin的权限。依次将操作命令和查询结果以文本形式提交到答题框。
    考生答案:您未对此题进行作答
    (未做:0分)
    参考答案: [root@xiandian~ ]# source /etc/keystone/admin-openrc.sh
    [root@xiandian~ ]# openstack user create --domain demo --password xiandian testuser
    | Field
    | Value
    domain_ id| 5a486c5 1 bc8e4dffa4a181f6c54e0938
    enabled| True
    |id| ec6d67cdb3ac4b3ca827587c14be0a3e |
    | name| testuser
    [root@xiandian ~]# openstack role add --project admin --user testuser admin
    老师评分: 0分

    nova

    45|通过nova的相关命令 创建名为exam, ID为1234, 内存为1024M,硬盘为20G,虚拟内核数量为2的云主机类型,查
    exam的详细信息。依次将操作命令及返回结果以文本形式提交到答题框。
    考生答案:您未对此题进行作答
    (未做:0分)
    参考答案: [root@xiandian ~]# nova flavor-create exam 1234 1024 20 2
    |ID |Name | Memory_ .MB |Disk |Ephemeral | Swap| VCPUs | RXTX_ Factor | Is_ Public |
    |1234 | exam | 1024| 20|0||2|1.0 | True I
    ---------------------------
    [root@xiandian ~]#nova flavor-show 1234
    | Property | Value |
    | OS-FLV-DISABLED:disabled | False |
    | OS-FLV-EXT-DATA:ephemeral | 0 |
    | disk |20 |
    | extra. specs|{0|
    lid |1234|
    | name | exam
    | os-flavor-access:is. public |True |
    | ram | 1024|
    | xtx. factor| 1.0 |
    | swap |I
    |vcpus|2|

    glanhce

    45| 使用VMWare创建两台CentOS7.2的操作系统, 自行配置网络与IP,使用提供的软件包,安装OpenStack平台。安装完成
    后,使用curl命令 查询http://192.168.100.10/dashboard/auth/login/.将curl命令的查询结果以文本形式提交到答题
    框。
    考生答案:您未对此题进行作答
    (未做:0分)
    参考答案: [root@controller ~]# curl http://192.168. 100.10/dashboard/auth/login/
    Login - XianDian Dashboard
    云计算基础架构服务平台

    46
    登录OpenStack的controller节点,使用crt的传输I具将提供的cirros-0.3.4-x86_ _64-disk.img镜像上传至aas-all节点
    的/root目录下;使用glance命令将镜像上传,并命名为mycirros, 最后使用glance命令查看该镜像的详细信息。将上述
    有操作命令和返回结果以文本形式提交到答题框。
    考生答案:
    您未对此题进行作答
    (未做:0分)
    参考答案:
    [root@xiandian ~]# source /etc/keystone/admin-openrc.sh
    [root@xiandian ~]# glance image-create --name mycirros --disk-format qcow2 --container-format bare
    --progress < cirros-0.3.4-x86_ 64-disk.img
    [=============================>]100%

    网络管理

    案: [SW1]vlan batch 100 101
    [SW1]interface Vlanif 100
    [SW1-Vlanif100]ip address 172.16.100.254 24
    [SW1]interface Vlanif 101
    [SW1-Vlanif101]ip address 172.16.101.254 24
    [SW1]interface GigabitEthernet 0/0/1
    [SW1-GigabitEthernet0/0/1]port link-type trunk
    [SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
    [SW1-GigabitEthernet0/0/1]quit
    [SW1]interface GigabitEthernet 0/0/2
    [SW1-GigabitEthernet0/0/2]port link-type access
    [SW1-GigabitEthernet0/0/2]port default vlan 101
    [SW1-GigabitEthernet0/0/2]quit
    分: 0分

  • 相关阅读:
    Java 基础知识(五)
    Java 基础知识(四)
    Java 基础知识(三)
    Java 基础知识(二)
    python 默认参数潜在的问题
    python中统计计数的几种方法和Counter的介绍
    简单的总结一下到底什么是python
    python中的__solots__方法
    python中生成器和迭代器以及可迭代对象的区别
    游览器访问一个网址的全过程
  • 原文地址:https://www.cnblogs.com/tanbo/p/13685871.html
Copyright © 2011-2022 走看看