defaults pollinginterval 10 pathselector round robin 0 pathgroupingpolicy

Defaults pollinginterval 10 pathselector round robin

This preview shows page 37 - 40 out of 94 pages.

defaults { polling_interval 10 path_selector "round-robin 0" path_grouping_policy multibus uid_attribute ID_SERIAL prio alua path_checker readsector0 rr_min_io 100 max_fds 8192 rr_weight priorities failback immediate no_path_retry fail user_friendly_names yes } NOTE: The standard options can be customized to better fit your storage array capabilities. Check with your storage vendor for details. [email protected] 31 Figure 3.4.1.1: Multipath Device (mpathb)
Image of page 37
9. Uncomment the multipath section found within the /etc/multipath.conf file and create an alias for each device mapper volume in order to enable persistent naming of those volumes. Once complete, save the changes made to the multipath.conf file. The output should resemble the example below. For reference, refer to the Oracle data volumes created for this reference environment displayed in Table 2.4.3: Oracle Data File Sizes for Reference Architecture. multipaths { multipath { wwid 3600c0ff000d7e7a899d8515101000000 alias db1 } multipath { wwid 3600c0ff000dabfe5a7d8515101000000 alias db2 } multipath { wwid 3600c0ff000d7e7a8dbd8515101000000 alias fra } multipath { wwid 3600c0ff000dabfe5f4d8515101000000 alias redo } } 10.Restart the device mapper multipath daemon. # systemctl restart multipathd.service 11.Verify the device mapper paths and aliases are displayed properly. Below is an example of one device mapper device labeled fra . # multipath -ll fra (3600c0ff000d7e7a89e85ac5101000000) dm-10 HP,MSA2324fc size=186G features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=130 status=active | |- 3:0:0:3 sdd 8:48 active ready running | |- 3:0:1:3 sdh 8:112 active ready running | |- 4:0:0:3 sdt 65:48 active ready running | `- 4:0:1:3 sdx 65:112 active ready running `-+- policy='round-robin 0' prio=10 status=enabled |- 3:0:2:3 sdl 8:176 active ready running |- 3:0:3:3 sdp 8:240 active ready running |- 4:0:2:3 sdab 65:176 active ready running `- 4:0:3:3 sdaf 65:240 active ready running 3.4.2 Partitioning Device Mapper Shared Disks Create a partition for each device mapper volume (db1,db2,fra,redo) using parted as displayed below for device db1. 32 [email protected]
Image of page 38
# parted /dev/mapper/db1 mklabel gpt mkpart primary "1 -1" Information: You may need to update /etc/fstab. Once the partition is created, a newly created device mapper device is created as db1p1 . # ls -l /dev/mapper/db1p1 lrwxrwxrwx. 1 root root 8 Apr 16 15:15 /dev/mapper/db1p1 -> ../dm-11 NOTE: A newly created partition ending in a number requires the alias name followed by p1 such as d b1p1 seen above. If p1 is missing, please run the following kpartx command to add the partition mappings to the device mapper disks. If a newly created partition ends in a letter , the alias name will be followed by just the partition number, i.e. fra1 . # kpartx -a /dev/mapper/db1 If the following kpartx command does not add the p1 suffix to the partitions ending in a number, reboot the system.
Image of page 39
Image of page 40

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture