SSF/Backup Facility 導入手引書
目次 索引 前ページ次ページ

第5章 クラスタ構成での導入

5.6 引継ぎサービスに登録しないディスクの設定

クラスタの共用ディスクとして使用しない、保守用データ領域のマウント情報の設定を行います。

  • 保守用データ領域のマウント情報については、『SSF/Backup Facility運用手引書』の「B.1 SP管理ファイル領域の容量見積もり」を参照してください。

  • すでにETERNUS3000/6000,GR seriesディスクを認識していて、追加でアクセスパスとしての引継ぎサービスに登録しないディスクを設定したい場合には、「5.2.3 ETERNUS3000/6000,GR seriesディスクの認識」におけるディスク認識後「5.3.4 クラスタリソース管理機構の初期設定」の「■自動構成」を参照して、共用ディスク装置自動検出によるリソース登録をしてください。

 

■論理ユニットのフォーマット

  • 本作業は、プライマリノードのみで行います。
  1. 論理ユニットを選択します。

    以下のコマンドを実行し、対象ディスクを選択します。

    # format /dev/FJSVmplb/rdsk/* <Return> ←  formatコマンドを実行します。
    AVAILABLE DISK SELECTIONS:
    0. /dev/FJSVmplb/rdsk/mplb2051s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256>  00F00003
    /pseudo/mplb@2051
    1. /dev/FJSVmplb/rdsk/mplb2052s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256>  00F00004
    /pseudo/mplb@2052
    Specify disk (enter its number): 0 <Return>  ←  対象ディスクを選択します。

     

  2. パーティションの選択

    パーティションを選択して、パーティション情報を設定します。設定方法は通常のディスクの場合と同じです。

    formatユーティリティの[FORMAT MENU]の中から[partition]を選択し入力します。そして、設定するpartitionを[PARTITION MENU]の中から選択します。

    FORMAT MENU:
            disk       - select a disk
            type       - select (define) a disk type
            partition  - select (define) a partition table
            current    - describe the current disk
            format     - format and analyze the disk
            repair     - repair a defective sector
            label      - write label to the disk
            analyze    - surface analysis
            defect     - defect list management
            backup     - search for backup labels
            verify     - read and display labels
            save       - save new disk/partition definitions
            inquiry    - show vendor, product and revision
            volname    - set 8-character volume name
            !<cmd>     - execute <cmd>, then return
            quit
            
    format> partition <Return>   ←  partitionを選択
    
    PARTITION MENU:
            0      - change `0' partition
            1      - change `1' partition
            2      - change `2' partition
            3      - change `3' partition
            4      - change `4' partition
            5      - change `5' partition
            6      - change `6' partition
            7      - change `7' partition
            select - select a predefined table
            modify - modify a predefined partition table
            name   - name the current table
            print  - display the current table
            label  - write partition map and label to the disk
           !<cmd> - execute <cmd>, then return
            quit
    
    partition> print <Return>     ←  パーティションの状態を確認します。
    
    Current partition table (unnamed):
    Total disk cylinders available: 638 + 2   (reserved cylinders)
    
    Part      Tag    Flag     Cylinders         Size            Blocks
      0       root    wm       0 - 7          64.00MB     (8/0/0)     131072
      1       swap    wu       8 - 23        128.00MB     (16/0/0)    262144
      2     backup    wu       0 - 637         4.98GB     (638/0/0) 10452992
      3 unassigned    wm       0                0         (0/0/0)          0
      4 unassigned    wm       0                0         (0/0/0)          0
      5 unassigned    wm       0                0         (0/0/0)          0
      6        usr    wm      24 - 637         4.79GB     (614/0/0) 10059776
      7 unassigned    wm       0                0         (0/0/0)          0
    
    partition>

     

  3. 設定されている容量をいったん削除します。
    partition> 6 <Return>
    
    Part      Tag    Flag     Cylinders         Size            Blocks
      6        usr    wm      24 - 637         4.79GB     (614/0/0) 10059776
    
    Enter partition id tag[usr]: <Return>               ←Returnだけ
    Enter partition permission flags[wm]: <Return>      ←Returnだけ
    Enter new starting cyl[0]: 0 <Return>           ←  ゼロを指定
    Enter partition size[10059776b, 614c, 4912.00mb, 4.79gb]: 0 <Return> ←ゼロを指定
    partition> print <Return>         ← 設定結果を確認します。
    Current partition table (unnamed):
    Total disk cylinders available: 638 + 2 (reserved cylinders)
    Part      Tag    Flag     Cylinders         Size            Blocks
      0       root    wm       0 - 7          64.00MB     (8/0/0)     131072
      1       swap    wu       8 - 23        128.00MB     (16/0/0)    262144
      2     backup    wu       0 - 637         4.98GB     (638/0/0) 10452992
      3 unassigned    wm       0                0         (0/0/0)          0
      4 unassigned    wm       0                0         (0/0/0)          0
      5 unassigned    wm       0                0         (0/0/0)          0
      6 unassigned    wm       0                0         (0/0/0)          0
      7 unassigned    wm       0                0         (0/0/0)          0
            
     partition>

    以下同様に、他のパーティションについても削除します。(パーティション2は削除しません)

     

  4. パーティションの容量設定

    論理ユニット単位にジオメトリ情報の設定・パーティションの設定を行います。『SSF/Backup Facility運用手引書』の「付録B スペース容量見積もりワークシート」から算出したパーティションのサイズをもとにして、パーティションサイズを設定します。

    partition> 1 <Return>        ←  設定するパーティションを指定します。
    
    Part      Tag    Flag     Cylinders         Size            Blocks
      1 unassigned    wu       0                0         (0/0/0)          0
    
    Enter partition id tag[unassigned]: <Return>
    Enter partition permission flags[wm]: wm <Return>
    Enter new starting cyl[0]: 1 <Return>           ←  開始シリンダを入力 
    Enter partition size[10452992b, 638c, 5104.00mb, 4.98gb]: 2gb <Return> 
     partition> print <Return>      ← 設定結果を確認します。  ↑
    Current partition table (unnamed):                         容量を入力  
    Total disk cylinders available: 638 + 2 (reserved cylinders)
    Part      Tag    Flag     Cylinders         Size            Blocks
      0 unassigned    wm       0                0         (0/0/0)          0
      1 unassigned    wm       1 - 256         2.00GB     (256/0/0)  4194304
      2     backup    wu       0 - 637         4.98GB     (638/0/0) 10452992
      3 unassigned    wm       0                0         (0/0/0)          0
      4 unassigned    wm       0                0         (0/0/0)          0
      5 unassigned    wm       0                0         (0/0/0)          0
      6 unassigned    wm       0                0         (0/0/0)          0
      7 unassigned    wm       0                0         (0/0/0)          0
            
     partition>

    VTOC分を考慮して、シリンダ1から使用します。

    • ETERNUS3000/6000,GR seriesの1シリンダのサイズは8MBです。

     

  5. パーティションのラベル設定

    パーティションの容量の設定が終わったら、[PARTITION MENU]の中から[label]を選択し、入力します。

    partition> label <Return>        ←  labelを選択
    Ready to label disk, continue? y <Return>      ←  yを入力
    
    partition> quit <Return>         ←  quitを入力

     

  6. 同様に必要な論理ユニットに対し設定を行います。
    FORMAT MENU:
            disk       - select a disk
            type       - select (define) a disk type
            partition  - select (define) a partition table
            current    - describe the current disk
            format     - format and analyze the disk
            repair     - repair a defective sector
            label      - write label to the disk
            analyze    - surface analysis
            defect     - defect list management
            backup     - search for backup labels
            verify     - read and display labels
            save       - save new disk/partition definitions
            inquiry    - show vendor, product and revision
            volname    - set 8-character volume name
            !<cmd>     - execute <cmd>, then return
            quit
    format> disk <Return>
    
    AVAILABLE DISK SELECTIONS:
    0. /dev/FJSVmplb/rdsk/mplb2051s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256>  00F00003
    /pseudo/mplb@2051
    1. /dev/FJSVmplb/rdsk/mplb2052s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256>  00F00004
    /pseudo/mplb@2052
    Specify disk (enter its number)[1]: 1 <Return> ←  対象ディスクを選択します。
    

     

  7. 同様に必要な論理ユニットに対し設定を行います。

    すべての論理ユニットに対する設定が終了したら、[FORMAT MENU]の中から[quit]を選択します。ラベルの設定の確認画面になっている場合には、(CTRL+D)によりformatユーティリティを終了します。

    FORMAT MENU:
            disk       - select a disk
            type       - select (define) a disk type
            partition  - select (define) a partition table
            current    - describe the current disk
            format     - format and analyze the disk
            repair     - repair a defective sector
            label      - write label to the disk
            analyze    - surface analysis
            defect     - defect list management
            backup     - search for backup labels
            verify     - read and display labels
            save       - save new disk/partition definitions
            inquiry    - show vendor, product and revision
            volname    - set 8-character volume name
            !<cmd>     - execute <cmd>, then return
            quit
    format> quit <Return> ←  formatユーティリティを終了します。
    #

     

■ログ格納用ファイルの作成

  1. 両ノードで、/etc/vfstabファイルを編集します。

    プライマリノードとセカンダリノードにそれぞれ以下の行を追加します。

    プライマリノードの場合の設定例。
    /dev/FJSVmplb/dsk/mplb2051s1 /dev/FJSVmplb/rdsk/mplb2051s1 /sp/maintenance/fe0 ufs 2 yes -
    /dev/FJSVmplb/dsk/mplb2052s1 /dev/FJSVmplb/rdsk/mplb2052s1 /sp/maintenance/fe1 ufs 2 no -

    セカンダリノードの場合の設定例。
    /dev/FJSVmplb/dsk/mplb2051s1 /dev/FJSVmplb/rdsk/mplb2051s1 /sp/maintenance/fe0 ufs 2 no -
    /dev/FJSVmplb/dsk/mplb2052s1 /dev/FJSVmplb/rdsk/mplb2052s1 /sp/maintenance/fe1 ufs 2 yes -

     

    エントリのうち、2051と2052の部分はユーザ環境で作成されたインスタンス番号に変更してください。

     

  2. プライマリノードで、保守用データ領域で使用するディレクトリを作成します。
    # mkdir -p /sp/maintenance/fe0 <Return>
    # chgrp sys /sp/maintenance/fe0 <Return>
    # mkdir -p /sp/maintenance/fe1 <Return>
    # chgrp sys /sp/maintenance/fe1 <Return>

     

  3. プライマリノードでファイルシステムを構築します。

    保守用データ領域で使用するスライスのパスをnewfsコマンド指定して、newfsコマンドを実行します。以下に例を示します。

    # newfs /dev/FJSVmplb/rdsk/mplb2051s1 <Return>
    newfs: 新しいファイルシステム /dev/FJSVmplb/rdsk/mplb2051s1 を作成しますか: (y/n)? y <return>
    /dev/FJSVmplb/rdsk/mplb2051s1: 全セクター数: ・・・・
    #
    # newfs /dev/FJSVmplb/rdsk/mplb2052s1 <Return>
    newfs: 新しいファイルシステム /dev/FJSVmplb/rdsk/mplb2052s1 を作成しますか: (y/n)? y <return>
    /dev/FJSVmplb/rdsk/mplb2052s1: 全セクター数: ・・・・
    #

     

  4. プライマリノードで、すべての保守用データ領域をマウントします。

    # mount /dev/FJSVmplb/dsk/mplb2051s1 /sp/maintenance/fe0 <Return>
    # mount /dev/FJSVmplb/dsk/mplb2052s1 /sp/maintenance/fe1 <Return>

     

  5. プライマリノードで、ログ格納用ファイルを作成します。

    # touch /sp/maintenance/fe0/messages <Return>
    # touch /sp/maintenance/fe1/messages <Return>

     

  6. プライマリノードで、保守用データ領域をアンマウントします。

    # umount /sp/maintenance/fe0 <Return>
    # umount /sp/maintenance/fe1 <Return>

     

  7. セカンダリノードで、保守用データ領域で使用するディレクトリを作成します。
    # mkdir -p /sp/maintenance/fe0 <Return>
    # chgrp sys /sp/maintenance/fe0 <Return>
    # mkdir -p /sp/maintenance/fe1 <Return>
    # chgrp sys /sp/maintenance/fe1 <Return>

     

  8. 両ノードで、システムを再起動します。
    # shutdown -y -g0 -i6 <Return>

     


目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005