Tuesday, March 29, 2011

CREATING A SHARED LOGICAL VOLUME AND FILE SYSTEM IN HACMP

      HACMP for AIX


Move cursor to desired item and press Enter.

  Initialization and Standard Configuration
  Extended Configuration
<< System Management (C-SPOC) >>
  Problem Determination Tools


System Management (C-SPOC)

Move cursor to desired item and press Enter.

  Manage HACMP Services
  HACMP Communication Interface Management
  HACMP Resource Group and Application Management
  HACMP Log Viewing and Management
  HACMP File Collection Management
  HACMP Security and Users Management
<< HACMP Logical Volume Management >>
  HACMP Concurrent Logical Volume Management
  HACMP Physical Volume Management
  Configure GPFS


HACMP Logical Volume Management


  Open a SMIT Session on a Node
Shared Logical Volumes
Move cursor to desired item and press Enter.
  << Shared Volume Groups >>
  Shared File Systems
  Synchronize Shared LVM Mirrors
  Synchronize a Shared Volume Group Definition


Shared Logical Volumes

  List All Shared Logical Volumes by Volume Group
<< Add a Shared Logical Volume >>
  Set Characteristics of a Shared Logical Volume
  Show Characteristics of a Shared Logical Volume
  Change a Shared Logical Volume
  Remove a Shared Logical Volume





    +--------------------------------------------------------------------------+
    |      Shared Volume Group Names                                          |
    |                                                                         |           
    |     Move cursor to desired item and press Enter.                        |
    |       RG1   sharedvg                                                    |
    |                                                                         |
    | Esc+1=Help              Esc+2=Refresh Esc+3=Cancel                      |
    | Esc+8=Image             Esc+0=Exit Enter=Do                             |
  Es| /=Find                  n=Find Next                                     
     -----------------------------------------------------------------------+




   +--------------------------------------------------------------------------+
   |                          Physical Volume Names                           |
   |                                                                          |    |     Move cursor to desired item and press Esc+7.                         |
   |     ONE OR MORE items can be selected.                                   |
   | Press Enter AFTER making all selections.                                 |
   |                                                                          |
   |   Auto-select                                                            |
   |   pci     hdisk3                                                         |
   | Esc+1=Help              Esc+2=Refresh  Esc+3=Cancel                      |
   | Esc+7=Select            Esc+8=Image Esc+0=Exit                           |
 Es| Enter=Do                /=Find n=Find Next                   Esc+8=Image |
 Es+--------------------------------------------------------------------------+


Add a Shared Logical Volume

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  Resource Group Name                                 RG1
  VOLUME GROUP name                                sharedvg
  Reference node
* Number of LOGICAL PARTITIONS                       [4]
  PHYSICAL VOLUME names
  Logical volume NAME                           [sharelvol]
  Logical volume TYPE                                [jfs2]
  POSITION on physical volume                        middle
  RANGE of physical volumes                         minimum
  MAXIMUM NUMBER of PHYSICAL VOLUMES                 []
    to use for allocation
  Number of COPIES of each logical                    1
    partition
  Mirror Write Consistency?                           yes
  Allocate each logical partition copy                yes
    on a SEPARATE physical volume?
  RELOCATE the logical volume during reorganization?  yes
  Logical volume LABEL                            [testvol]
  MAXIMUM NUMBER of LOGICAL PARTITIONS               [512]
  Enable BAD BLOCK relocation?                        yes
  SCHEDULING POLICY for reading/writing            parallel
    logical partition copies
  Enable WRITE VERIFY?                                no
  Stripe Size?                               [Not Striped]




System Management (C-SPOC)
Move cursor to desired item and press Enter.

  Manage HACMP Services
  HACMP Communication Interface Management
  HACMP Resource Group and Application Management
  HACMP Log Viewing and Management
  HACMP File Collection Management
  HACMP Security and Users Management
  <<HACMP Logical Volume Management >>
  HACMP Concurrent Logical Volume Management
  HACMP Physical Volume Management
  Configure GPFS



HACMP Logical Volume Management

Move cursor to desired item and press Enter.

  Shared Volume Groups
  Shared Logical Volumes
 << Shared File Systems >>
  Synchronize Shared LVM Mirrors
  Synchronize a Shared Volume Group Definition

Shared File Systems

Move cursor to desired item and press Enter.

  Journaled File Systems
  << Enhanced Journaled File Systems >>

Move cursor to desired item and press Enter.


Enhanced Journaled File Systems
  Add an Enhanced Journaled File System
 <<  Add an Enhanced Journaled File System on a Previously Defined Logical Volume >>
  List All Shared File Systems
  Change / Show Characteristics of a Shared Enhanced Journaled File System
  Remove a Shared File System














  Add an Enhanced Journaled File System on a Previously Defined Logical Volume


  +--------------------------------------------------------------------------+
  |                           Logical Volume                                 |
  |                 Move cursor to desired item and press                    |
  |                                                                          |
  |   sharelvol       pci,cws                                                |
  |                                                                          |
  |  Esc+1=Help              Esc+2=Refresh           Esc+3=Cancel            |
  | Esc+8=Image                                       Enter=Do               |
  | /=Find                  n=Find Next Es+--------------------------------------------------------------------------+


      Add an Enhanced Journaled File System on a Previously Defined Logical Volume

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                                              [Entry Fields]

  NodeNames                                            pci,cws
  LOGICAL VOLUME name                                 sharelvol
* MOUNT POINT                                       [/testshare]
  PERMISSIONS                                        read/write
  Mount OPTIONS                                               []
  Block Size (bytes)                                         4096
  Inline                                                      no
  Inline Log size (MBytes)                                    []

Press enter to accept


                                                                         COMMAND STATUS

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

pci: mkfs completed successfully.
pci: 65328 kilobytes total disk space.
pci: New File System size is 131072



# df
Filesystem    512-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           65536     21544   68%     1816    12% /
/dev/hd2         1638400    231080   86%    24337    12% /usr
/dev/hd9var       262144     49232   82%     1224     4% /var
/dev/hd3          131072     97696   26%     2004    13% /tmp
/dev/hd1           65536     63296    4%       46     1% /home
/proc                  -         -    -         -     -  /proc
/dev/hd10opt       65536     46552   29%      390     5% /opt
/dev/sharelvol     131072    130392    1%        4



USEFUL POSTS IN THIS SERIES

    

No comments:

Post a Comment

LIST OF BLOGS MONTH WISE