Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Thursday, 14 November 2013

CREATING A SHARED LOGICAL VOLUME AND FILE SYSTEM IN HACMP





Move cursor to desired item and press Enter.

smitty Hacmp

  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 Concurrent Logical Volume Management
  HACMP Physical Volume Management
  Configure GPFS

  Open a SMIT Session on a Node


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       server1,server2                                                |
  |                                                                          |
  |  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                                            server1,server2
  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.

server1: mkfs completed successfully.
server1: 65328 kilobytes total disk space.
server1: 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

No comments:

Post a Comment