From 9f7562df3da3bf3d667b917f76c8400d758a7e9a Mon Sep 17 00:00:00 2001 From: Weezer Su Date: Thu, 12 Jan 2017 00:45:34 -0600 Subject: [PATCH] Add Test new compute node part add Test new compute node to the doc, change Test new nodes into Test new infra nodes. Change-Id: I112d17e4423410440baa616eb020c3bb25634fa8 --- .../maintenance-tasks/scale-environment.rst | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/doc/source/draft-operations-guide/maintenance-tasks/scale-environment.rst b/doc/source/draft-operations-guide/maintenance-tasks/scale-environment.rst index 35877538fb..e440ef84db 100644 --- a/doc/source/draft-operations-guide/maintenance-tasks/scale-environment.rst +++ b/doc/source/draft-operations-guide/maintenance-tasks/scale-environment.rst @@ -67,10 +67,10 @@ needed in an environment, it is possible to create additional nodes. # openstack-ansible --tags=openstack-host-hostfile setup-hosts.yml -Test new nodes -~~~~~~~~~~~~~~ +Test new infra nodes +~~~~~~~~~~~~~~~~~~~~ -After creating a new node, test that the node runs correctly by +After creating a new infra node, test that the node runs correctly by launching a new instance. Ensure that the new node can respond to a networking connection test through the :command:`ping` command. Log in to your monitoring system, and verify that the monitors @@ -107,6 +107,23 @@ cluster. # openstack-ansible setup-openstack.yml --skip-tags nova-key-distribute --limit NEW_HOST_NAME # openstack-ansible setup-openstack.yml --tags nova-key --limit compute_hosts +Test new compute nodes +~~~~~~~~~~~~~~~~~~~~~~ + +After creating a new node, test that the node runs correctly by +launching an instance on the new node. + +.. code-block:: shell-session + + $ openstack server create --image IMAGE --flavor m1.tiny \ + --key-name KEY --availability-zone ZONE:HOST:NODE \ + --nic net-id=UUID SERVER + +Ensure that the new instance can respond to a networking connection +test through the :command:`ping` command. Log in to your monitoring +system, and verify that the monitors return a green signal for the +new node. + Remove a compute host ~~~~~~~~~~~~~~~~~~~~~