Go to main content
Oracle® VM Server for SPARC OpenStack Nova ドライバおよびユーティリティー 1.0 管理ガイド

印刷ビューの終了

更新: 2016 年 9 月
 
 

デモンストレーションのシングルノード OpenStack クラウドコントローラを構成する方法 (オプション)

  1. /opt/openstack-ldoms/etc/controller_setup.conf.example ファイルのコピーを代替の場所に作成します。

    例:

    cctrl# cp /opt/openstack-ldoms/etc/controller_setup.conf.example /var/tmp/controller_setup.conf
  2. controller_setup.conf ファイルのコピーで、環境に関連する変数に値を割り当てます。

    必ず MY_ADMIN_PASSWORD および MY_SERVICE_PASSWORD 変数にパスワードを割り当てます。

    ###########################################
    # Which NIC for OpenStack management network?
    MNGT_NET=net0
    
    # What is the IP of the OpenStack controller?
    CONTROLLER_IP=`ipadm|grep ${MNGT_NET}/v4|awk '{print $5}'|cut -f1 -d/`
    
    # What is the controller's shortname?
    CONTROLLER_SHORTNAME=`hostname`
    
    # Password for the admin user
    export MY_ADMIN_PASSWORD=password
    
    # Password for the service accounts and mysql
    export MY_SERVICE_PASSWORD=password
    
    # Zpool to be used for iSCSI LUNs
    export CINDER_ZPOOL=rpool
    
    # VLAN range to be allowed
    export VLAN_RANGE="1-4000"
    ###########################################
  3. デモンストレーションクラウドコントローラを作成します。
    cctrl# /opt/openstack-ldoms/bin/create-demo-controller.sh /var/tmp/controller_setup.conf