Browse Source

[UG] Remove partition preservation

Removes the Preserve a partition section from the User guide.

Closes-Bug: #1656039

Change-Id: I5b866c98e17e596cf1b0b4a06415f2e2ba152bfb
Maria Zlatkova 2 years ago
parent
commit
9cc5d05e54

+ 0
- 1
userdocs/fuel-user-guide/maintain-environment.rst View File

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

+ 0
- 79
userdocs/fuel-user-guide/maintain-environment/preserve-partition.rst View File

@@ -1,79 +0,0 @@
1
-.. _preserve-partition:
2
-
3
-====================
4
-Preserve a partition
5
-====================
6
-
7
-This section is a part of the :ref:`Rollback a node <rollback-ug>` procedure.
8
-With partition preservation you can keep any type of data that meets the
9
-following criteria:
10
-
11
-* The data is stored on a dedicated partition.
12
-* The partition is not a root partition. (The root partition is always
13
-  erased during deployment).
14
-
15
-You can preserve the following types of data:
16
-
17
-* Ceph data
18
-* Swift data
19
-* Nova instances data
20
-* Database, custom partition types
21
-
22
-.. note:: Do not change the partition size as this will make the
23
-          the rollback impossible.
24
-
25
-**To preserve a partition:**
26
-
27
-#. Log in to the Fuel Master node CLI.
28
-#. Obtain the node ID number by typing:
29
-
30
-   ::
31
-
32
-     fuel nodes
33
-
34
-#. Download the information about disks:
35
-
36
-   ::
37
-
38
-     fuel node --node-id <NODE_ID> --disk --download
39
-
40
-   where <NODE_ID> points to a specific node identified by its ID
41
-   (a number) that you can get by issuing the ``fuel nodes`` command.
42
-
43
-   **Example:**
44
-
45
-   ::
46
-
47
-     fuel node --node-id 1 --disk --download
48
-
49
-#. Open the ``/root/node_1/disks.yaml`` file for editing.
50
-#. Enable partition preservation by setting the ``keep_data:`` flag value to
51
-   ``true``.
52
-   All partitions with the same name need to have the same flag value.
53
-
54
-   **Example:**
55
-
56
-   ::
57
-
58
-     - extra:
59
-        - disk/by-id/scsi-SATA_QEMU_HARDDISK_QM00001
60
-        - disk/by-id/ata-QEMU_HARDDISK_QM00001
61
-        id: disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0
62
-        name: sdc
63
-        size: 101836
64
-        volumes:
65
-        - name: mysql
66
-          size: 101836
67
-          keep_data: true
68
-
69
-#. Upload the modified file:
70
-
71
-   ::
72
-
73
-     fuel node --node-id <NODE_ID> --disk --upload
74
-
75
-   **Example:**
76
-
77
-   ::
78
-
79
-     fuel node --node-id 1 --disk --upload

+ 0
- 99
userdocs/fuel-user-guide/maintain-environment/reinstall-virtual-role.rst View File

@@ -1,99 +0,0 @@
1
-.. _reinstall-virtual-role:
2
-
3
-========================
4
-Reinstall a virtual role
5
-========================
6
-
7
-If you have the Reduced Footprint feature enabled, you may need to reinstall
8
-the virtual role.
9
-
10
-**To reinstall a virtual role:**
11
-
12
-#. Log in to the Fuel Master node CLI.
13
-#. Download the information about disks:
14
-
15
-   ::
16
-
17
-     fuel node --node-id <NODE_ID> --disk --download
18
-
19
-   where <NODE_ID> points to the node with virt role identified by its ID
20
-   (a number) that you can get by issuing the ``fuel nodes`` command.
21
-
22
-   **Example:**
23
-
24
-   ::
25
-
26
-     fuel node --node-id 1 --disk --download
27
-
28
-#. Open the ``/root/node_1/disks.yaml`` file for editing.
29
-#. Enable the partition preservation of the volume with ``vm`` name by setting
30
-   its ``keep_data`` flag to ``true``. All partitions with the same name need
31
-   to have the same flag value.
32
-
33
-   **Example:**
34
-
35
-   ::
36
-
37
-     - extra:
38
-       - disk/by-id/wwn-0x5000c5007a287855
39
-       - disk/by-id/scsi-SATA_ST2000DM001-1ER_Z4Z1WH2V
40
-       - disk/by-id/ata-ST2000DM001-1ER164_Z4Z1WH2V
41
-       id: disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
42
-       name: sda
43
-       size: 1907037
44
-       volumes:
45
-       - keep_data: false
46
-         name: os
47
-         size: 67584
48
-       - keep_data: false
49
-         name: cinder
50
-         size: 919726
51
-       - keep_data: true
52
-         name: vm
53
-         size: 919727
54
-
55
-    where <NODE_ID> points to a specific node identified by its ID (a number)
56
-    that you can get by issuing the ``fuel nodes`` command.
57
-
58
-#. Upload the modified file:
59
-
60
-   ::
61
-
62
-     fuel node --node-id <NODE_ID> --disk --upload
63
-
64
-   **Example:**
65
-
66
-   ::
67
-
68
-     fuel node --node-id 1 --disk --upload
69
-
70
-#. Reprovision the node:
71
-
72
-   ::
73
-
74
-     fuel node --node-id <NODE_ID> --provision
75
-
76
-   **Example:**
77
-
78
-   ::
79
-
80
-     fuel node --node-id 1 --provision
81
-
82
-#. Provision the bare-metal node with the virtual role and spawn
83
-   virtual machines:
84
-
85
-   ::
86
-
87
-     fuel2 env spawn-vms <CLUSTER_ID>
88
-
89
-   **Example:**
90
-
91
-   ::
92
-
93
-     fuel2 env spawn-vms 1
94
-
95
-#. Redeploy the spawned node:
96
-
97
-   ::
98
-
99
-     fuel node --node-id <NODE_ID> --deploy

+ 0
- 2
userdocs/fuel-user-guide/maintain-environment/rollback-compute-node.rst View File

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

+ 1
- 2
userdocs/fuel-user-guide/maintain-environment/rollback-ug.rst View File

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

Loading…
Cancel
Save