diff options
author | Yifei Xue <xueyifei@huawei.com> | 2017-09-01 17:10:44 +0800 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2017-09-15 16:15:34 +0800 |
commit | 074eab95235e35431b0439e42d253d44b139004e (patch) | |
tree | 7f683d6c7c653c138f83171f0e7bb0053be57cc2 /docs/release/userguide | |
parent | b241c1a733e57556a524165c68c9b3cd0f8348b8 (diff) |
Update the documents for compass E release
JIRA: -
1. Rewrite vm and bm deployment docs to satisfy the new release
2. add some images for network architecture
3. Update release name, version, etc.
Change-Id: I1e9d305de5edf60d937868d49966c153d85fd2b5
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'docs/release/userguide')
-rw-r--r-- | docs/release/userguide/FAQ/faq.rst | 44 |
1 files changed, 27 insertions, 17 deletions
diff --git a/docs/release/userguide/FAQ/faq.rst b/docs/release/userguide/FAQ/faq.rst index 177ff0bb..f2500a0d 100644 --- a/docs/release/userguide/FAQ/faq.rst +++ b/docs/release/userguide/FAQ/faq.rst @@ -52,33 +52,38 @@ an additional tagged VLAN is added if uses default network configuration. How to set OpenStack Dashboard login user and password ====================================================== -It uses admin/console as the default user/pass for OpenStack Dashboard, and you can set it in below file: -compass4nfv/deploy/conf/base.conf +It uses admin as the default user for OpenStack Dashboard. The password can be achieved as below: + +.. code-block:: bash + + sudo docker cp compass-tasks:/opt/openrc ./ + sudo cat openrc | grep OS_PASSWORD How to visit OpenStack Dashboard ================================ -You can visit OpenStack Dashboard by URL: http://{puclib_vip}/horizon +For vm deployment, because NAT bridge is used in virtual deployment, horizon can not be access directly +in external IP address. you need to cofigure the related IPtables rule at first. -The public virtual IP is configured in "compass4nfv/deploy/conf/hardware_environment/huawei-pod1/network.yml" -or "compass4nfv_FAQ/deploy/conf/vm_environment/huawei-virtual1/network.yml", defined as below: +.. code-block:: bash -.. code-block:: yaml + iptables -t nat -A PREROUTING -d $EX_IP -p tcp --dport $PORT -j DNAT --to 192.16.1.222:443 - public_vip: - ip: 192.168.50.240 +The $EX_IP here is the server's ip address that can be access from external. +You can use below command to query your external IP address. -How to access controller nodes after deployment -=============================================== +.. code-block:: bash -1. First you should login Compass VM via ssh command on Jumphost by default user/pass root/root. -The default login IP of Compass VM is configured in "compass4nfv/deploy/conf/base.conf", defined as below: + external_nic=`ip route |grep '^default'|awk '{print $5F}' + ip addr show $external_nic +The $PORT here is the one of the port [1- 65535] that does't be used in system. -.. code-block:: bash +After that, you can visit OpenStack Dashboard by URL: http://$EX_IP:$PORT - export MGMT_IP=${MGMT_IP:-192.168.200.2} +How to access controller nodes after deployment +=============================================== -2. Then you can login the controller nodes (host1-3) by default user/pass root/root via the install +You can login the controller nodes (host1-3) by default user/pass root/root via the install network IPs which are configured in "compass4nfv/deploy/conf/base.conf", defined as below: .. code-block:: bash @@ -111,8 +116,13 @@ network IPs which are configured in "compass4nfv/deploy/conf/base.conf", defined Where is OpenStack RC file ========================== -It is located /opt/admin-openrc.sh in each controller node as default. Please source it first if you -want to use OpenStack CLI. +The RC file named openrc is located in /root in utility container on each controller node as default. +Please source it first if you want to use OpenStack CLI. + +.. code-block:: bash + + lxc-attach -n $(lxc-ls | grep utility) + source /root/openrc How to recovery network connection after Jumphost reboot ======================================================== |