Verifying the current state of the SAN File System

This topic provides the procedure for verifying that the engine is installed.

Context

Before you begin the upgrade process, you can run several administrative command-line interface commands and save the results to a file. You can then compare the output of these commands before and after the upgrade to ensure the SAN File System is functioning as you expect.

When you save the configuration files (see Copy configuration files to a backup location), make sure that you save these files as well.

Run these commands from the master metadata server engine.

Steps

  1. If SDD is installed:
    1. Run the lsvpcfg command.
      lsvpcfg > lsvpcfg_v1
      The file should contain results similar to the following:
      000 vpathai ( 254, 128) 20617844 = /dev/sdb /dev/sdg
      001 vpatham ( 254, 192) 30017844 = /dev/sdc /dev/sdh
      002 vpathan ( 254, 208) 30117844 = /dev/sdd /dev/sdi
      003 vpathao ( 254, 224) 30217844 = /dev/sde /dev/sdj
      004 vpathap ( 254, 240) 30317844 = /dev/sdf /dev/sdk.
    2. Run the datapath query device command.
      datapath query device > datapath_v1
      The file should contain results similar to the following:
      Total Devices : 5
      
      DEV#:   0  DEVICE NAME: vpathai  TYPE: 2105F20  POLICY: Optimized
      SERIAL: 20617844
      ============================================================================
      Path#      Adapter/Hard Disk       State     Mode          Select     Errors
          0      Host2Channel0/sdb        OPEN   NORMAL          488848          0
          1      Host3Channel0/sdg        OPEN   NORMAL          490227          0
      
      DEV#:   1  DEVICE NAME: vpatham  TYPE: 2105F20  POLICY: Optimized
      SERIAL: 30017844
      ============================================================================
      Path#      Adapter/Hard Disk       State     Mode          Select     Errors
          0      Host2Channel0/sdc        OPEN   NORMAL          251670          0
          1      Host3Channel0/sdh        OPEN   NORMAL          251434          0
      
      DEV#:   2  DEVICE NAME: vpathan  TYPE: 2105F20  POLICY: Optimized
      SERIAL: 30117844
      ============================================================================
      Path#      Adapter/Hard Disk       State     Mode          Select     Errors
          0      Host2Channel0/sdd       CLOSE   NORMAL            1480          0
          1      Host3Channel0/sdi       CLOSE   NORMAL            1542          0
      
      DEV#:   3  DEVICE NAME: vpathao  TYPE: 2105F20  POLICY: Optimized
      SERIAL: 30217844
      ============================================================================
      Path#      Adapter/Hard Disk       State     Mode          Select     Errors
          0      Host2Channel0/sde       CLOSE   NORMAL            1492          0
          1      Host3Channel0/sdj       CLOSE   NORMAL            1530          0
      
      DEV#:   4  DEVICE NAME: vpathap  TYPE: 2105F20  POLICY: Optimized
      SERIAL: 30317844
      =============================================================
      Path#      Adapter/Hard Disk       State     Mode          Select     Errors
          0      Host2Channel0/sdf       CLOSE   NORMAL            1550          0
          1      Host3Channel0/sdk       CLOSE   NORMAL            1472          0
  2. Run the lsserver command.
    tanktool lsserver > lsserver_v1
    The file should contain results similar to the following:
    Name      State  Server Role Containers Last Boot               
    ===============================================================
    ivt1-mds1 Online Master               3 Mar 09, 2004 2:49:09 PM 
    ivt1-mds2 Online Subordinate          2 Mar 09, 2004 2:40:57 PM 
  3. Run the lsadmuser command.
    tanktool lsadmuser > lsadmuser_v1
    The file should contain results similar to the following:
    Name      User Role Authorization 
    =================================
    monitor   Monitor   Not Current   
    admin     Admin     Not Current   
    MDMSUID   Admin     Not Current   
    operator  Operator  Not Current   
    backup    Backup    Not Current   
    itpc      Admin     Not Current   
    superuser Admin     Not Current   
    test      Admin     Current       
  4. Run the lsautorestart command.
    tanktool lsautorestart > lsautorestart_v1
    The file should contain results similar to the following:
    Name      Service State Probe State Last Probe              Probes Highest Retries 
    ==================================================================================
    ivt1-mds2 Running       Live Server Apr 06, 2004 2:49:34 PM   7477               0 
    ivt1-mds1 Running       Live Server Apr 06, 2004 2:57:13 PM   6658               0 
  5. Run the lsclient command.
    tanktool lsclient > lsclient_v1
    The file should contain results similar to the following:
    Client      Session ID State   Server    Renewals Privilege 
    ===========================================================
    ivt1-c2-win          8 Current ivt1-mds1   257075 Root      
    ivt1-c3-aix          3 Current ivt1-mds1   331199 Root      
    ivt1-c1-win          1 Current ivt1-mds1   331079 Root      
    ivt1-c2-win          9 Current ivt1-mds2   257055 Root      
    ivt1-c3-aix          4 Current ivt1-mds2   331200 Root      
    ivt1-c1-win          2 Current ivt1-mds2   331096 Root      
  6. Run the lscontainer command.
    tanktool lscontainer > lscontainer_v1
    The file should contain results similar to the following:
    Name       Container State Quota Type Quota (MB) Used (MB) Used (%) Threshold (%) Most...
    =========================================================================================
    
    ROOT       Attached        Soft                0        16        0             0 -                 
    CONTAINER1 Attached        Soft                0      3984        0            80 -                 
    CONTAINER2 Attached        Soft                0      3952        0            80 -                 
    CONTAINER3 Attached        Soft                0      3920        0            80 -                 
    CONTAINER4 Attached        Soft                0      3904        0            80 -                 
  7. Run the lslun command.
    tanktool lslun > lslun_v1
    The file should contain results similar to the following:
    OS Device Path Lun ID   Storage Device WWNN     Vendor Product Size (MB) Volume  State    
    =========================================================================================
    /dev/rvpatha   20027074 50:05:07:63:00:c4:a7:5a IBM    2105800      9536 vol_00  Assigned 
    /dev/rvpathb   20127074 50:05:07:63:00:c4:a7:5a IBM    2105800      9536 vol_01  Assigned 
    /dev/rvpathc   20227074 50:05:07:63:00:c4:a7:5a IBM    2105800      9536 vol_02  Assigned 
    /dev/rvpathd   20327074 50:05:07:63:00:c4:a7:5a IBM    2105800      9536 vol_03  Assigned 
    /dev/rvpathe   20427074 50:05:07:63:00:c4:a7:5a IBM    2105800      9536 vol_04  Assigned 
    /dev/rvpathf   20527074 50:05:07:63:00:c4:a7:5a IBM    2105800      9536 vol_05  Assigned 
    /dev/rvpathg   20627074 50:05:07:63:00:c4:a7:5a IBM    2105800      9536 vol_06  Assigned 
  8. Run the lspool command.
    tanktool lspool > lspool_v1
    The file should contain results similar to the following:
    Name         Type         Size (MB) Used (MB) Used (%) Threshold (%) Volumes 
    ============================================================================
    SYSTEM       System           71520      1616        2            80       5 
    DEFAULT_POOL User Default      9536        16        0            80       1 
    TEST_POOL1   User            143040      7936        5            90      12 
    TEST_POOL2   User            157344      7824        4            90      12 
  9. Run the lsvol command.
    tanktool lsvol > lsvol_v1
    The file should contain results similar to the following:
    Name    State     Pool         Size (MB) Used (MB) Used (%) 
    ===========================================================
    MASTER  Activated SYSTEM           14304       336        2 
    SYSTEM1 Activated SYSTEM           14304       336        2 
    SYSTEM2 Activated SYSTEM           14304       320        2 
    SYSTEM3 Activated SYSTEM           14304       320        2 
    SYSTEM4 Activated SYSTEM           14304       304        2 
    vol_00  Activated DEFAULT_POOL      9536        16        0 
    vol_01  Activated TEST_POOL1        9536       656        6 
    vol_02  Activated TEST_POOL1        9536       640        6 
    vol_03  Activated TEST_POOL1        9536       640        6 
    vol_04  Activated TEST_POOL1        9536       656        6 

Parent topic: Upgrading the SAN File System from Version 1.1

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.