Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.4
FUJITSU Software

9.5 OS Re-installation

On the system where GDS object such as class is created, even when you reconfigure the system from the reinstallation of the OS, delete the GDS settings as described in "9.3 Removing Volumes, Groups, and Classes" and "9.4 System Disk Mirroring Cancellation [EFI]."

If you re-install the operating system without deleting the GDS settings, execute the following restoration procedure.

Restoration procedure

1) If you re-install the operating system without canceling the system disk mirroring, delete the root class information.

If GDS is installed without taking this procedure, it may take about 10 minutes to start GDS. In this case, if the re-installed OS is RHEL6, it takes time to start the system. If the re-installed OS is RHEL7, it takes time to start the cluster application in which the class resources are registered.

1-1) Delete the configuration data from the EFI environment variables.

# cd /sys/firmware/efi/vars/
# cat sysvol-db2-*/raw_var > del_var
# cat sysvol-db2-*/data
  -> Make sure that nothing is displayed.

1-2) Delete SDX disk entries from the boot option of the EFI boot manager.

1-2-1) Check the current setting of the EFI boot manager.

# efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0002,0000
Boot0000* sda
Boot0001* RootDisk1
Boot0002* RootDisk2

In this example, the SDX disk entries are RootDisk1 of the number 0001 and RootDisk2 of the number 0002.

1-2-2) Remove the SDX disk entries from the boot option.

# efibootmgr -B -b 0001
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0002,0000
Boot0000* sda
Boot0002* RootDisk2
# efibootmgr -B -b 0002
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000
Boot0000* sda

1-3) Remove the private slice of the disk that has been registered in the root class.

An example below shows the procedure when the physical disks sda and sdb have been registered in the root class, and the physical slices sda8 and sdb8 have been the private slices before the OS is reinstalled.

1-3-1) Execute the parted command.

# parted /dev/sda

See

For details of the parted command, see the manual of parted(8).

1-3-2) Display the partition table using the print subcommand.

(parted) print
Disk geometry for /dev/sda: 0.000-35046.525 megabytes
Disk label type: gpt
Minor    Start       End     Filesystem  Name        Flags
1          0.017    256.016  fat16                   boot
2        256.017  20736.016  ext4
3      20736.017  35072.016  linux-swap
4      35072.017  45312.016  ext4
5      45312.017  55552.016  ext4
6      55552.017  65792.016  ext4
7      65792.017  69888.016  ext4
8      69888.017  69898.016     <== Private slice(always 10MB)

1-3-3) Remove the private slice.

(parted) rm 8

1-3-4) Remove the private slice sdb8 as well.

Take step 1-3-2) and 1-3-3) for the physical disk sdb.

1-3-5) Finish the parted command.

(parted) quit

1-4) Restart the system.

2) The following errors may occur when you re-install the operating system and GDS without deleting the GDS setting and setup GDS.

SDX:sdxdisk: ERROR: physical_slice_name is private slice
SDX:sdxdisk: ERROR: physical_disk_name: configuration information exists in private slice

In this case, setup GDS after deleting private slices with the following procedure;

2a) When the error message is output for the physical disk that has been registered in the root class before the OS is re-installed.

Take step 1-3).

2b) When the error message is output for the physical disk that has been registered in the shared class or in the local class before the OS is re-installed.

As an example, the procedure when physical_disk_name is "sdb" is described below.

# dd if=/dev/zero of=/dev/sdb count=35