Dell PowerStore 5200T EMC PowerStore Host Configuration Guide - Page 68

Post-Configuration Steps - Using the PowerStore system, Presenting PowerStore Cluster Volumes to the Linux Host, Partition Alignment in Linux

Page 68 highlights

Steps 1. Modify the following lines in the /etc/sysconfig/oracleasm file according to the multipathing used on the host: # ORACLEASM_SCANORDER: Matching patterns to order disk scanning ORACLEASM_SCANORDER="" # ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan ORACLEASM_SCANEXCLUDE="" ● When DM-MPIO multipathing is used on the Linux host, edit these lines as follows: # ORACLEASM_SCANORDER: Matching patterns to order disk scanning ORACLEASM_SCANORDER="dm" # ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan ORACLEASM_SCANEXCLUDE="sd" ● When PowerPath multipathing is used on the Linux host, edit these lines as follows: # ORACLEASM_SCANORDER: Matching patterns to order disk scanning ORACLEASM_SCANORDER="emcpower" # ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan ORACLEASM_SCANEXCLUDE="sd" 2. Shutdown the Oracle instance running on the specific host, and run the following commands to restart Oracle ASM: /etc/init.d/oracleasm stop /etc/init.d/oracleasm start Post-Configuration Steps - Using the PowerStore system After the host configuration is completed, you can access the PowerStore system from the host. You can create, present, and manage volumes accessed from the host using PowerStore Manager, CLI, or REST API. See the PowerStore Manager Online Help, CLI Reference Guide, or REST API Reference Guide for additional information. Presenting PowerStore Cluster Volumes to the Linux Host Specify Linux as the operating system when presenting PowerStore cluster volumes to the Linux host. ● When adding host groups and hosts to allow Linux hosts to access PowerStore cluster volumes, specify Linux as the operating system for the newly created hosts. ● Setting the operating system of the host is required for optimal interoperability and stability of the host with PowerStore cluster storage. You can adjust the setting while the host is online and connected to the PowerStore cluster with no I/O impact. Partition Alignment in Linux When using disk partitions with a Linux host attached to a PowerStore cluster, alignment is recommended. Follow these guidelines to align disk partitions. To align partitions on PowerStore cluster volumes that are presented to Linux hosts, use the default value (2048). Then, create a partition using the fdisk command to ensure that the file system is aligned. When you perform partition alignment, the logical device (/dev/mapper/) should be used rather than the physical device (/dev/). When multipathing is not used (for example in a virtual machine), the physical device should be used. The following example demonstrates using the fdisk command to create an aligned partition on a PowerStore cluster volume. [root@lg114 ~]# fdisk -c -u /dev/mapper/ 368ccf098003f1461569ea4750e9dac50 Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x12d4e90c Changes will remain 68 Host Configuration for Linux

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93

Steps
1.
Modify the following lines in the
/etc/sysconfig/oracleasm
file according to the multipathing used on the host:
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER=""
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE=""
When DM-MPIO multipathing is used on the Linux host, edit these lines as follows:
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER="dm"
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE="sd"
When PowerPath multipathing is used on the Linux host, edit these lines as follows:
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER="emcpower"
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE="sd"
2.
Shutdown the Oracle instance running on the specific host, and run the following commands to restart Oracle ASM:
/etc/init.d/oracleasm stop
/etc/init.d/oracleasm start
Post-Configuration Steps - Using the PowerStore
system
After the host configuration is completed, you can access the PowerStore system from the host.
You can create, present, and manage volumes accessed from the host using PowerStore Manager, CLI, or REST API. See the
PowerStore Manager Online Help
,
CLI Reference Guide
, or
REST API Reference Guide
for additional information.
Presenting PowerStore Cluster Volumes to the Linux Host
Specify Linux as the operating system when presenting PowerStore cluster volumes to the Linux host.
When adding host groups and hosts to allow Linux hosts to access PowerStore cluster volumes, specify
Linux
as the
operating system for the newly created hosts.
Setting the operating system of the host is required for optimal interoperability and stability of the host with PowerStore
cluster storage. You can adjust the setting while the host is online and connected to the PowerStore cluster with no I/O
impact.
Partition Alignment in Linux
When using disk partitions with a Linux host attached to a PowerStore cluster, alignment is recommended. Follow these
guidelines to align disk partitions.
To align partitions on PowerStore cluster volumes that are presented to Linux hosts, use the default value (2048). Then, create
a partition using the
fdisk
command to ensure that the file system is aligned.
When you perform partition alignment, the logical device (
/dev/mapper/
) should be used rather than the physical device
(
/dev/
). When multipathing is not used (for example in a virtual machine), the physical device should be used.
The following example demonstrates using the
fdisk
command to create an aligned partition on a PowerStore cluster volume.
[root@lg114 ~]# fdisk -c -u /dev/mapper/ 368ccf098003f1461569ea4750e9dac50
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x12d4e90c Changes will remain
68
Host Configuration for Linux