[UG] Remove partition preservation

Removes the Preserve a partition section from the User guide.

Closes-Bug: #1656039

Change-Id: I5b866c98e17e596cf1b0b4a06415f2e2ba152bfb
This commit is contained in:
Maria Zlatkova 2017-01-23 17:25:13 +02:00
parent e908c71378
commit 9cc5d05e54
5 changed files with 1 additions and 183 deletions

View File

@ -22,7 +22,6 @@ This section includes the following topics:
maintain-environment/access-shell.rst
maintain-environment/rollback-ug.rst
maintain-environment/reinstall-node.rst
maintain-environment/reinstall-virtual-role.rst
maintain-environment/create-snapshot.rst
maintain-environment/workflows-manage.rst
maintain-environment/shutdown-env.rst

View File

@ -1,79 +0,0 @@
.. _preserve-partition:
====================
Preserve a partition
====================
This section is a part of the :ref:`Rollback a node <rollback-ug>` procedure.
With partition preservation you can keep any type of data that meets the
following criteria:
* The data is stored on a dedicated partition.
* The partition is not a root partition. (The root partition is always
erased during deployment).
You can preserve the following types of data:
* Ceph data
* Swift data
* Nova instances data
* Database, custom partition types
.. note:: Do not change the partition size as this will make the
the rollback impossible.
**To preserve a partition:**
#. Log in to the Fuel Master node CLI.
#. Obtain the node ID number by typing:
::
fuel nodes
#. Download the information about disks:
::
fuel node --node-id <NODE_ID> --disk --download
where <NODE_ID> points to a specific node identified by its ID
(a number) that you can get by issuing the ``fuel nodes`` command.
**Example:**
::
fuel node --node-id 1 --disk --download
#. Open the ``/root/node_1/disks.yaml`` file for editing.
#. Enable partition preservation by setting the ``keep_data:`` flag value to
``true``.
All partitions with the same name need to have the same flag value.
**Example:**
::
- extra:
- disk/by-id/scsi-SATA_QEMU_HARDDISK_QM00001
- disk/by-id/ata-QEMU_HARDDISK_QM00001
id: disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0
name: sdc
size: 101836
volumes:
- name: mysql
size: 101836
keep_data: true
#. Upload the modified file:
::
fuel node --node-id <NODE_ID> --disk --upload
**Example:**
::
fuel node --node-id 1 --disk --upload

View File

@ -1,99 +0,0 @@
.. _reinstall-virtual-role:
========================
Reinstall a virtual role
========================
If you have the Reduced Footprint feature enabled, you may need to reinstall
the virtual role.
**To reinstall a virtual role:**
#. Log in to the Fuel Master node CLI.
#. Download the information about disks:
::
fuel node --node-id <NODE_ID> --disk --download
where <NODE_ID> points to the node with virt role identified by its ID
(a number) that you can get by issuing the ``fuel nodes`` command.
**Example:**
::
fuel node --node-id 1 --disk --download
#. Open the ``/root/node_1/disks.yaml`` file for editing.
#. Enable the partition preservation of the volume with ``vm`` name by setting
its ``keep_data`` flag to ``true``. All partitions with the same name need
to have the same flag value.
**Example:**
::
- extra:
- disk/by-id/wwn-0x5000c5007a287855
- disk/by-id/scsi-SATA_ST2000DM001-1ER_Z4Z1WH2V
- disk/by-id/ata-ST2000DM001-1ER164_Z4Z1WH2V
id: disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
name: sda
size: 1907037
volumes:
- keep_data: false
name: os
size: 67584
- keep_data: false
name: cinder
size: 919726
- keep_data: true
name: vm
size: 919727
where <NODE_ID> points to a specific node identified by its ID (a number)
that you can get by issuing the ``fuel nodes`` command.
#. Upload the modified file:
::
fuel node --node-id <NODE_ID> --disk --upload
**Example:**
::
fuel node --node-id 1 --disk --upload
#. Reprovision the node:
::
fuel node --node-id <NODE_ID> --provision
**Example:**
::
fuel node --node-id 1 --provision
#. Provision the bare-metal node with the virtual role and spawn
virtual machines:
::
fuel2 env spawn-vms <CLUSTER_ID>
**Example:**
::
fuel2 env spawn-vms 1
#. Redeploy the spawned node:
::
fuel node --node-id <NODE_ID> --deploy

View File

@ -39,8 +39,6 @@ before it failed.
$ nova live-migration <instance>
#. (Optional) Preserve partitions as described in :ref:`preserve-partition`.
#. Reinstall the node as described in :ref:`reinstall-node`.
#. Enable the nova-compute service:

View File

@ -13,5 +13,4 @@ This section includes the following topics:
.. toctree::
:maxdepth: 3
rollback-compute-node.rst
preserve-partition.rst
rollback-compute-node.rst