Cluster Hardware and Software Preparation
85
the journaled file system log (jfslog) is a logical volume that requires a unique
name in the cluster.
To make sure that logical volumes have unique names, rename the logical
volume associated with the file system and the corresponding jfslog logical
volume. Use a naming scheme that indicates the logical volume is associated
with a certain file system. For example,
lvsharefs
could name a logical
volume for the
/sharefs
file system.
1. Use the
lsvg -l volume_group_name
command to determine the name of the
logical volume and the log logical volume (jfslog) associated with the
shared volume groups. In the resulting display, look for the logical volume
name that has type jfs. This is the logical volume. Then look for the logical
volume name that has type jfslog. This is the log logical volume.
2. Use the
smit chlv
fastpath to rename the logical volume and the log
logical volume.
3. After renaming the jfslog or a logical volume, check the /etc/filesystems
file to make sure the dev and log attributes reflect the change. Check the
log attribute for each file system in the volume group, and make sure that
it has the new jfslog name. Check the dev attribute for the logical volume
that you renamed, and make sure that it has the new logical volume name.
Adding Copies to Logical Volume on the Source Node
1. Use the
smit mklvcopy
fastpath to add copies to a logical volume. Add
copies to both the jfslog log logical volume and the logical volumes in the
shared file systems. To avoid space problems, first mirror the jfslog log
logical volume and then the shared logical volumes.
The copies should reside on separate disks that are controlled by different
disk adapters and are located in separate drawers or units, if possible.
See Chapter 3.4.3, “Mirroring Strategies” on page 86 for more information.
2. Verify the number of logical volume copies by entering:
lsvg -l
volume_group_name.
In the resulting display, locate the line for the logical
volume for which you just added copies. Notice that the number in the
physical partitions column is
x
times the number in the logical partitions
column, where
x
is the number of copies.
3. To verify the placement of logical volume copies, enter:
lspv -l hdiskx
,
where
hdiskx
is the name of each disk to which you assigned copies.
These steps do not apply to RAID devices, which provide their own
mirroring of logical volumes.
Note
Содержание AIX HACMP SG24-5131-00
Страница 2: ......
Страница 10: ...viii IBM Certification Study Guide AIX HACMP...
Страница 12: ...x IBM Certification Study Guide AIX HACMP...
Страница 14: ...xii IBM Certification Study Guide AIX HACMP...
Страница 18: ...xvi IBM Certification Study Guide AIX HACMP...
Страница 24: ...6 IBM Certification Study Guide AIX HACMP...
Страница 110: ...92 IBM Certification Study Guide AIX HACMP...
Страница 133: ...HACMP Installation and Cluster Definition 115...
Страница 134: ...116 IBM Certification Study Guide AIX HACMP...
Страница 160: ...142 IBM Certification Study Guide AIX HACMP...
Страница 200: ...182 IBM Certification Study Guide AIX HACMP...
Страница 216: ...198 IBM Certification Study Guide AIX HACMP...
Страница 222: ...204 IBM Certification Study Guide AIX HACMP...
Страница 226: ...208 IBM Certification Study Guide AIX HACMP...
Страница 232: ...214 IBM Certification Study Guide AIX HACMP...
Страница 240: ...Printed in the U S A SG24 5131 00 IBM Certification Study Guide AIX HACMP SG24 5131 00...