Sync NTP before Ansible bootstrap

Added note about importance of syncing NTP time before running running
Ansibe bootstrap playbook.
Patchset 1 updates.
Patchset 2 updates.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Icb68d609d728a9a72f94085d902ec6d63bdd273f
Signed-off-by: Ron Stone <ronald.stone@windriver.com>
This commit is contained in:
Ron Stone 2021-09-24 11:07:14 -04:00
parent 86e1b981ce
commit 53fdd3f74e
7 changed files with 30 additions and 0 deletions

View File

@ -183,6 +183,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -184,6 +184,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -181,6 +181,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -183,6 +183,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -184,6 +184,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -181,6 +181,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -0,0 +1,18 @@
.. note::
Before running the Ansible bootstrap playbook, it is important that you
ensure that controller-0 server time is synchronized correctly. Run the following
command:
.. code-block:: bash
# check the current server time
$ date
# if the current server time is not correct, update with NTP
# first add nameserver for DNS resolution
$ echo "nameserver 8.8.8.8" >> /etc/resolvconf
$ echo "nameserver 8.8.4.4" >> /etc/resolvconf
# run ntpdate
$ sudo ntpdate 0.pool.ntp.org 1.pool.ntp.org