Veritas Access トラブルシューティングガイド

Last Published:
Product(s): Access (7.4)
Platform: Linux
  1. 概要
    1.  
      トラブルシューティングについて
    2.  
      トラブルシューティングプロセスに関する一般的なヒント
    3.  
      トラブルシューティングプロセスの一般的な手法
    4.  
      サポートユーザーのアカウントについて
    5.  
      サポートユーザーのアカウントの設定
    6.  
      support ログインの使用
  2. 一般的なトラブルシューティング手順
    1.  
      一般的なトラブルシューティングの手順について
    2.  
      Veritas Access ログファイルの表示
    3.  
      イベントログについて
    4.  
      シェルアクティビティのログについて
    5.  
      CIFS ログレベルの設定
    6.  
      NetBackup クライアントのログレベルの設定とデバッグオプション
    7.  
      デバッグ情報の取得と送信
    8.  
      2 つの連続した OpenStack コマンド間の不十分な遅延によりエラーが発生する場合がある
  3. Veritas Access の監視
    1.  
      Veritas Access 操作の監視について
    2.  
      プロセッサアクティビティの監視
    3.  
      CPU とデバイスの使用率レポートの生成
    4.  
      ネットワークトラフィックの監視
    5.  
      ネットワークトラフィック詳細のエクスポートと表示
  4. 一般的な回復手順
    1.  
      一般的な回復手順について
    2.  
      サーバーの再起動
    3. サービスをオンラインにする
      1.  
        services コマンドの使用
    4.  
      異常なシャットダウンからのリカバリ
    5.  
      ネットワーク接続性のテスト
    6.  
      traceroute によるトラブルシューティング
    7.  
      traceroute コマンドの使用
    8.  
      ファイルシステムの metasave イメージの収集
    9.  
      イーサネットインターフェースカードの交換 (オンラインモード)
    10.  
      イーサネットインターフェースカードの交換 (オフラインモード)
    11.  
      Veritas Access ノードの交換
    12.  
      ディスクの交換
    13. レプリケーションの高速化
      1.  
        レプリケーションジョブの同期について
      2.  
        一時的なレプリケーションジョブの同期
    14.  
      パッチリリースまたはソフトウェアのアップグレードのアンインストール
  5. Veritas Access の階層としてのクラウド機能のトラブルシューティング
    1.  
      クラウド階層化のトラブルシューティングのヒント
    2.  
      クラウド階層からデータを読み書きする際の問題
    3.  
      クラウド階層化のエラーを確認するログの場所
  6. Veritas Access のインストールと設定に関する問題のトラブルシューティング
    1.  
      管理コンソール IP の検索方法
    2.  
      インストールログの表示
    3.  
      インストールの失敗または未完了
    4.  
      PCI ID をクラスタから除外する
    5.  
      ルートファイルシステムの破損から回復できない
    6.  
      storage disk list コマンドが何も返さない
  7. LTR アップグレードのトラブルシューティング
    1.  
      LTR アップグレードのトラブルシューティング用ログファイルの場所
    2.  
      LTR のアップグレード前の問題のトラブルシューティング
    3.  
      LTR のアップグレード後の問題のトラブルシューティング
  8. Veritas Access CIFS の問題のトラブルシューティング
    1.  
      ユーザーアクセスが CTDB ディレクトリ共有で拒否される
  9. Veritas Access GUI 起動問題のトラブルシューティング
    1.  
      GUI 起動問題の解決

ディスクの交換

場合によっては、既存のディスクを交換する必要があります。このセクションでは、ディスクを交換する手順について説明します。

ディスクを交換するには

  1. 交換する必要があるディスクをアレイ側から削除します。
  2. 新しいディスクをシステムにアレイ側から追加します。
  3. Veritas Volume Manager (VxVM) ビューから古いディスクを排除するために、クラスタ内のすべてのノードで次のコマンドを実行します。
    #vxdisk rm <old-disk-name>
  4. ディスクを交換するノードで次のコマンドを実行します。
    # vxdisk scandisks
  5. vxdisksetup コマンドを使用して、クラスタに追加された新しいディスクを初期化します。
    #/etc/vx/bin/vxdisksetup  - fi <new-disk-name>
  6. 障害が発生したディスクが存在するノード上の Veritas Access プール名と同様のタグを、新たに追加されたデバイスに適用します。
    # vxdisk settag site=<pool-name> <new-disk-name>
  7. vxdiskadm コマンドを実行して option #5 を選択し、障害が発生したディスクを障害が発生したディスクが存在するノード上の新しいディスクと交換します。
    #vxdiskadm

    メモ:

    ディスクの交換が下位のノードからトリガされる場合、vxrecover コマンドは失敗します。

  8. ディスクの交換が下位のノードからトリガされる場合、影響を受けるすべてのボリュームのスレーブノードから次のコマンドを実行します。
    #vxrecover  - b  - c  - s <vol-name>
  9. 新しく追加したディスクの名前をディスクアクセス名に変更します。
    #vxedit  - g <dg-name> rename <old-disk-name> <new-disk-name>
  10. 新しく追加されたディスク名に合わせてサブディスクの名前を変更します。
    #vxedit  - g <dg-name> rename <old-subdisk-name> <new-subdisk-name>

例: マスターノードからのディスクの交換

この例では、emc0_2255 ディスクを emc0_2263 ディスクと交換する手順について説明します。emc0_2263 ディスクは除外され、ディスクの追加をシミュレートするために後で追加されます。

マスターノードからのディスクの交換

  1. vxdmpadm exclude コマンドを実行して emc0_2255 ディスクを削除します。
    # vxdmpadm exclude dmpnodename=emc0_2255
  2. vxdmpadm include コマンドを実行して、emc0_2263 ディスクを含めます。
    # vxdmpadm include dmpnodename=emc0_2263

    メモ:

    ディスクをスキャンするために vxdisk scandisks コマンドを実行できます。

  3. settag コマンドを実行してタグを基礎となるディスクに適用します。
    # vxdisk settag emc0_2263 tag=pool1
  4. vxdiskadm コマンドを実行して option #5 を選択し、障害が発生したディスクを交換します。
    [root@fss7310_01 ~]# vxdiskadm
    Volume Manager Support Operations
    Menu:: VolumeManager/Disk
    1 Add or initialize one or more disks
    2 Encapsulate one or more disks
    3 Remove a disk
    4 Remove a disk for replacement 5 Replace a failed or removed disk
    6 Mirror volumes on a disk
    7 Move volumes from a disk
    8 Enable access to (import) a disk group
    9 Remove access to (deport) a disk group
    10 Enable (online) a disk device
    11 Disable (offline) a disk device
    12 Mark a disk as a spare for a disk group
    13 Turn off the spare flag on a disk
    14 Unrelocate subdisks back to a disk
    15 Exclude a disk from hot-relocation use
    16 Make a disk available for hot-relocation use
    17 Prevent multipathing/Suppress devices from VxVM's view
    18 Allow multipathing/Unsuppress devices from VxVM's view
    19 List currently suppressed/non-multipathed devices
    20 Change the disk naming scheme
    21 Change/Display the default disk layouts
    22 Dynamic Reconfiguration Operations
    list List disk information
    
    Select an operation to perform: 5
    
    Replace a failed or removed disk
    Menu:: VolumeManager/Disk/ReplaceDisk
    
    Use this menu operation to specify a replacement disk for a disk
    that you removed with the "Remove a disk for replacement" menu
    operation, or that failed during use. You will be prompted for
    a disk name to replace and a disk device to use as a replacement.
    You can choose an uninitialized disk, in which case the disk will
    be initialized, or you can choose a disk that you have already
    initialized using the Add or initialize a disk menu operation.
    
    Select a removed or failed disk [<disk>,list,q,?] list
    Disk group: sfsdg
    DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
    dm emc0_2255 - - - - NODEVICE
    
    Select a removed or failed disk [<disk>,list,q,?] emc0_2255
    
    The following devices are available as replacements:
    emc0_2263
    You can choose one of these devices to replace emc0_2255. 
    Choose "none" to initialize another device to replace emc0_2255.
    Choose a device, or select "none" [<device>,none,q,?] 
    (default: emc0_2263) emc0_2263
    VxVM INFO V-5-2-382
    The requested operation is to use the initialized device emc0_2263
    to replace the removed or failed disk emc0_2255 in disk group sfsdg.
    Continue with operation? [y,n,q,?] (default: y) y
    Use FMR for plex resync? [y,n,q,?] (default: n)
    VxVM INFO V-5-2-282 Replacement of disk emc0_2255 in group 
    sfsdg with disk device emc0_2263 completed successfully.
    Replace another disk? [y,n,q,?] (default: n)
  5. vxdg 問題を回避するために、ディスクアクセス名に合わせてディスク名を変更します。
    # vxedit -g sfsdg rename emc0_2255 emc0_2263
    
    # vxdisk list | grep emc0_2263 emc0_2263 auto:cdsdisk emc0_2263 
    sfsdg online shared
  6. ディスクアクセス名に合わせてサブディスクの名前を変更します。
    # vxedit -g sfsdg rename emc0_2255-03 emc0_2263-03
    # vxedit -g sfsdg rename emc0_2255-02 emc0_2263-02
    
    [root@fss7310_01 ~]# vxprint -pvs | grep -i 2263
    sd emc0_2263-02 vol1-P01 ENABLED 699136 0 - - -
    sd emc0_2263-03 vol1_dcl-01 ENABLED 67840 0 - - -
    [root@fss7310_01 ~]# vxprint -pvs | grep -i 2255
    [root@fss7310_01 ~]#

例: 下位のノードからのディスクの交換

この例では、emc0_2273 ディスクを emc0_2305 ディスクと交換する手順について説明します。emc0_2263 ディスクは除外され、ディスクの追加をシミュレートするために後で追加されます。

下位のノードからディスクを交換するには

  1. vxdmpadm exclude コマンドを実行して emc0_2273 ディスクを削除します。
    # vxdmpadm exclude dmpnodename=emc0_2273
  2. vxdmpadm include コマンドを実行して、emc0_2305 ディスクを含めます。
    # vxdmpadm include dmpnodename=emc0_2305

    メモ:

    ディスクをスキャンするために vxdisk scandisks コマンドを実行できます。

  3. クラスタ内の残りのノードから vxdisk rm コマンドを実行します。
    [root@fss7310_02 ~]# vxdisk rm emc0_2273
    [root@fss7310_01 ~]# vxdisk rm emc0_2273
  4. settag コマンドを実行してタグを基礎となるディスクに適用します。
    # vxdisk settag emc0_2305 tag=pool1
  5. vxdiskadm コマンドを実行して option #5 を選択し、障害が発生したディスクを交換します。
    [root@fss7310_01 ~]# vxdiskadm
    
    Volume Manager Support Operations
    Menu:: VolumeManager/Disk
    
    1 Add or initialize one or more disks
    2 Encapsulate one or more disks
    3 Remove a disk
    4 Remove a disk for replacement 5 Replace a failed or removed disk
    6 Mirror volumes on a disk
    7 Move volumes from a disk
    8 Enable access to (import) a disk group
    9 Remove access to (deport) a disk group
    10 Enable (online) a disk device
    11 Disable (offline) a disk device
    12 Mark a disk as a spare for a disk group
    13 Turn off the spare flag on a disk
    14 Unrelocate subdisks back to a disk
    15 Exclude a disk from hot-relocation use
    16 Make a disk available for hot-relocation use
    17 Prevent multipathing/Suppress devices from VxVM's view
    18 Allow multipathing/Unsuppress devices from VxVM's view
    19 List currently suppressed/non-multipathed devices
    20 Change the disk naming scheme
    21 Change/Display the default disk layouts
    22 Dynamic Reconfiguration Operations
    list List disk information
    
    ? Display help about menu
    ?? Display help about the menuing system
    q Exit from menus
    
    Select an operation to perform: 5
    Replace a failed or removed disk
    
    Menu:: VolumeManager/Disk/ReplaceDisk
    Use this menu operation to specify a replacement disk for a disk
    that you removed with the "Remove a disk for replacement" menu
    operation, or that failed during use. You will be prompted for
    a disk name to replace and a disk device to use as a replacement.
    You can choose an uninitialized disk, in which case the disk will
    be initialized, or you can choose a disk that you have already
    initialized using the Add or initialize a disk menu operation.
    Select a removed or failed disk [<disk>,list,q,?] list
    Disk group: sfsdg
    
    DM NAME      DEVICE TYPE PRIVLEN PUBLEN STATE
    dm emc0_2273 -      -    -       -      NODEVICE
    
    Select a removed or failed disk [<disk>,list,q,?] emc0_2273
    The following devices are available as replacements:
    emc0_2305
    You can choose one of these devices to replace emc0_2255. Choose 
    "none" to initialize another device to replace emc0_2255.
    Choose a device, or select "none" [<device>,none,q,?] 
    (default: emc0_2305) emc0_2305
    VxVM INFO V-5-2-382
    The requested operation is to use the initialized device emc0_2305
    to replace the removed or failed disk emc0_2273 in disk group sfsdg.
    
    Continue with operation? [y,n,q,?] (default: y)
    Use FMR for plex resync? [y,n,q,?] (default: n) VxVM vxrecover 
    ERROR V-5-1-16084 Disk group: sfsdg is shared. The command can be 
    executed only on the master. Use -c option to recover all the shared 
    disk groups from slaves.
    VxVM INFO V-5-2-282 Replacement of disk emc0_2273 in group sfsdg 
    with disk device emc0_2305 completed successfully.
    Replace another disk? [y,n,q,?] (default: n)
  6. 次のコマンドを実行して影響を受けるボリュームのリカバリをトリガします。
    # vxrecover -b -c -s vol1
  7. vxdg 問題を回避するために、ディスク名をディスクアクセス名に変更します。
    # vxedit -g sfsdg rename emc0_2273 emc0_2305
    
    # vxdisk list | grep emc0_2305
    emc0_2305 auto:cdsdisk emc0_2305 sfsdg online shared
  8. 新しく追加されたディスクで従う命名規則に合わせてサブディスクの名前を変更します。
    # vxedit -g sfsdg rename emc0_2273-02 emc0_2305-02
    # vxedit -g sfsdg rename emc0_2273-03 emc0_2305-03
    
    # vxprint -pvs | grep -i emc0_2305
    sd emc0_2305-02 vol1-P02 ENABLED 699136 0 - - -
    sd emc0_2305-03 vol1_dcl-02 ENABLED 67840 0 - - -
    # vxprint -pvs | grep -i emc0_2273