[Инсталляция Oracle RAC 12.1 в Oracle Linux 6.7 (ISCSI + ASM)]: Настройка правил монтирования SCSI дисков на узлах кластера с помощью Device Mapper

Device Mapper

Server: rac1, rac2
# yum install -y \
device-mapper-multipath.x86_64


# vi /etc/multipath.conf


defaults {
	udev_dir              /dev
	polling_interval      10
	path_selector         "round-robin 0"
	path_grouping_policy  multibus
	getuid_callout        "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n"
#    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
}

blacklist {
	# Blacklist by WWID
	wwid "*"
}
blacklist_exceptions {
	wwid "1IET_00010001"
	wwid "1IET_00020001"
	wwid "1IET_00030001"
	wwid "1IET_00040001"
	wwid "1IET_00050001"
	wwid "1IET_00060001"
	wwid "1IET_00070001"
}

multipaths {
	multipath {
			wwid                    1IET_00010001
			alias                   iscsi-disk1
	}

	multipath {
			wwid                    1IET_00020001
			alias                   iscsi-disk2
	}

	multipath {
			wwid                    1IET_00030001
			alias                   iscsi-disk3
	}

	multipath {
			wwid                    1IET_00040001
			alias                   iscsi-disk4
	}

	multipath {
			wwid                    1IET_00050001
			alias                   iscsi-disk5
	}

	multipath {
			wwid                    1IET_00060001
			alias                   iscsi-disk6
	}

	multipath {
			wwid                    1IET_00070001
			alias                   iscsi-disk7
	}


# chkconfig --level 345 multipathd on
# service multipathd restart


# ls /dev/mapper


# multipath -ll