library home hp.com home products and services support and drivers solutions
cd-rom home
End of Jump to page title
HP OpenVMS Systems
Documentation

Jump to content


HP OpenVMS

HP OpenVMS
OpenVMS Cluster 構成ガイド


前へ 次へ 目次 索引


7.8.1 デバイス識別子を CCL 用に設定

OpenVMS では,HSG および HSV のコマンド・コンソール LUN (CCL) に対して一意のデバイス識別子を定義する必要はありませんが,一部の管理ツールでは必要な場合があります。この識別子を定義すると,SHOW DEVICE コマンドを使用して表示可能な CCL デバイスを作成できるため,OpenVMS では,常に一意のデバイス識別子を定義するように指示されます。対象のデバイスが OpenVMS で直接制御できない場合でも, SHOW DEVICE/FULL コマンドを使用して,ストレージ・コントローラへの複数のパスを表示したり,以下の例で $1$GGA3 に示すように,障害が発生したパスを診断できます。以下の例では,2 つのパスのうち 1 つに障害が発生しています。


Paver> sh dev gg /mul 
Device                  Device           Error         Current 
 Name                   Status           Count  Paths    path 
$1$GGA1:                Online               0   2/ 2  PGA0.5000-1FE1-0011-AF08 
$1$GGA3:                Online               0   1/ 2  PGA0.5000-1FE1-0011-B158 
$1$GGA4:                Online               0   2/ 2  PGA0.5000-1FE1-0015-2C58 
$1$GGA5:                Online               0   2/ 2  PGA0.5000-1FE1-0015-22A8 
$1$GGA6:                Online               0   2/ 2  PGA0.5000-1FE1-0015-2D18 
$1$GGA7:                Online               0   2/ 2  PGA0.5000-1FE1-0015-2D08 
$1$GGA9:                Online               0   2/ 2  PGA0.5000-1FE1-0007-04E3 
 
Paver> show dev /full $1$gga9: 
 
Device $1$GGA9:, device type Generic SCSI device, is online, shareable, device 
    has multiple I/O paths. 
 
    Error count                    0    Operations completed                  0 
    Owner process                 ""    Owner UIC                      [SYSTEM] 
    Owner process ID        00000000    Dev Prot    S:RWPL,O:RWPL,G:RWPL,W:RWPL 
    Reference count                0    Default buffer size                   0 
    WWID   02000008:5000-1FE1-0007-04E0 
 
  I/O paths to device              2 
  Path PGA0.5000-1FE1-0007-04E3  (PAVER), primary path, current path. 
    Error count                    0    Operations completed                  0 
  Path PGA0.5000-1FE1-0007-04E1  (PAVER). 
    Error count                    0    Operations completed                  0 

7.8.2 デバイス識別子をディスク・デバイス用に設定

完全なデバイス名を作成するには,ディスク用のデバイス識別子を文字列 $1$DGA の後に付けます。すべてのディスクにクラスタ内で一意のデバイス識別子を割り当てる必要があります。デバイス識別子として 0 〜 32767 の数値を指定できますが, HSV ではデバイス識別子 0 は無効です。 9999 より大きいデバイス識別子を指定すると,他のシステムに MSCP サービスを提供することができません。

7.9 共用 FC システム・ディスクを備えたクラスタの作成

OpenVMS Cluster システムにノードを構成するには, CLUSTER_CONFIG.COM( または CLUSTER_CONFIG_LAN.COM) コマンド・プロシージャを実行します。(ほとんどのプロンプトで詳細な情報が提供されるフル・バージョンと,簡易バージョンの 2 通りが用意されています。)

割り当てクラス・パラメータが FC に適用されない点を除き,共用 Fibre Channel (FC) バスは CLUSTER_CONFIG の目的に従って共用 SCSI バスと類似した扱いを受けます。 FC ストレージ・デバイスを組み込んだ構成にパラレル SCSI ストレージ・デバイスがあれば,ノード割り当てクラス値とポート割り当てクラス値の設定規則は有効です。

新しい OpenVMS Cluster システムを構成するには,まずシングル・システムかスタンドアロン・システムでクラスタリングを有効にします。これで,そのクラスタにノードを追加できます。

例 7-5 は, CLUSTER_CONFIG_LAN.COM の簡易バージョンを FCNOD1 というスタンドアロン・ノードでクラスタリングを有効にする方法を示したものです。このプロシージャの最後に, FCNOD1 はリブートして 1 ノード・クラスタを構成します。

例 7-6 は, FCNOD1 で CLUSTER_CONFIG_LAN.COM の簡易バージョンを実行して, FCNOD2 という第 2 のノードを追加する方法を示しています。このプロシージャの最後に,クラスタは, FCNOD2 が FCNOD1 と同じ FC システム・ディスクからブートできる構成になります。

以下の手順は,両方の例に共通です。

  1. ADD のデフォルト・オプション [1] を選択します。

  2. CLUSTER_CONFIG_LAN.COM から共用 SCSI バスを使用するかどうかを確認するプロンプトが表示されたら,YES と応えます。この場合,SCSI には,パラレル SCSI だけでなく FC も含みます。
    FC があっても,割り当てクラス・パラメータには関係ありません。

  3. ノードをサテライトにするかどうかを確認するプロンプトが表示されたら, NO と応えます。

例 7-5 スタンドアロン FC ノードにおけるクラスタリングの有効化

$ @CLUSTER_CONFIG_LAN BRIEF 
 
                   Cluster Configuration Procedure 
                    Executing on an Alpha System 
 
    DECnet Phase IV is installed on this node. 
 
    The LAN,not DECnet,will be used for MOP downline loading. 
    This Alpha node is not currently a cluster member 
    
 
MAIN MENU 
 
   1. ADD FCNOD1 to existing cluster,or form a new cluster. 
   2. MAKE a directory structure for a new root on a system disk. 
   3. DELETE a root from a system disk. 
   4. EXIT from this procedure. 
 
Enter choice [1]: 1 
Is the node to be a clustered node with a shared SCSI or Fibre Channel bus (Y/N)? Y 
 
    Note: 
        Every cluster node must have a direct connection to every other 
        node in the cluster.  Since FCNOD1 will be a clustered node with 
        a shared SCSI or FC bus,and Memory Channel,CI,and DSSI are not 
        present, the LAN will be used for cluster communication. 
 
Enter this cluster's group number: 511 
Enter this cluster's password: 
Re-enter this cluster's password for verification: 
 
Will FCNOD1 be a boot server [Y]? Y 
    Verifying LAN adapters in LANACP database... 
    Updating LANACP LAN server process volatile and permanent databases... 
    Note: The LANACP LAN server process will be used by FCNOD1 for boot 
          serving satellites. The following LAN devices have been found: 
    Verifying LAN adapters in LANACP database... 
 
    LAN TYPE    ADAPTER NAME    SERVICE STATUS 
    ========    ============    ============== 
    Ethernet    EWA0            ENABLED 
 
 
  CAUTION: If you do not define port allocation classes later in this 
           procedure for shared SCSI bus,all nodes sharing a SCSI bus 
           must have the same non-zero ALLOCLASS value. If multiple 
           nodes connect to a shared SCSI bus without the same allocation 
           class for the bus,system booting will halt due to the error or 
           IO AUTOCONFIGURE after boot will keep the bus offline. 
 
Enter a value for FCNOD1's ALLOCLASS parameter [0]: 5 
Does this cluster contain a quorum disk [N]? N 
    Each shared SCSI bus must have a positive allocation class value. A shared 
    bus uses a PK adapter. A private bus may use: PK,DR,DV. 
 
    When adding a node with SCSI-based cluster communications,the shared 
    SCSI port allocation classes may be established in SYS$DEVICES.DAT. 
    Otherwise,the system's disk allocation class will apply. 
 
    A private SCSI bus need not have an entry in SYS$DEVICES.DAT. If it has an 
    entry,its entry may assign any legitimate port allocation class value: 
 
       n   where n = a positive integer,1 to 32767 inclusive 
       0   no port allocation class and disk allocation class does not apply 
      -1   system's disk allocation class applies (system parameter ALLOCLASS) 
 
    When modifying port allocation classes,SYS$DEVICES.DAT must be updated 
    for all affected nodes,and then all affected nodes must be rebooted. 
    The following dialog will update SYS$DEVICES.DAT on FCNOD1. 
 
    There are currently no entries in SYS$DEVICES.DAT for FCNOD1. 
    After the next boot,any SCSI controller on FCNOD1 will use 
    FCNOD1's disk allocation class. 
 
 
Assign port allocation class to which adapter [RETURN for none]: PKA 
Port allocation class for PKA0: 10 
 
        Port Alloclass   10    Adapter FCNOD1$PKA 
 
Assign port allocation class to which adapter [RETURN for none]: PKB 
Port allocation class for PKB0: 20 
 
        Port Alloclass   10    Adapter FCNOD1$PKA 
        Port Alloclass   20    Adapter FCNOD1$PKB 
 
  WARNING: FCNOD1 will be a voting cluster member. EXPECTED_VOTES for 
           this and every other cluster member should be adjusted at 
           a convenient time before a reboot. For complete instructions, 
           check the section on configuring a cluster in the "OpenVMS 
           Cluster Systems" manual. 
 
    Execute AUTOGEN to compute the SYSGEN parameters for your configuration 
    and reboot FCNOD1 with the new parameters. This is necessary before 
    FCNOD1 can become a cluster member. 
 
Do you want to run AUTOGEN now [Y]? Y 
 
    Running AUTOGEN -- Please wait. 
 
The system is shutting down to allow the system to boot with the 
generated site-specific parameters and installed images. 
 
The system will automatically reboot after the shutdown and the 
upgrade will be complete. 

例 7-6 共用 FC システム・ディスクがあるクラスタへノードを追加する

$ @CLUSTER_CONFIG_LAN BRIEF 
 
                   Cluster Configuration Procedure 
                    Executing on an Alpha System 
 
    DECnet Phase IV is installed on this node. 
 
    The LAN,not DECnet,will be used for MOP downline loading. 
    FCNOD1 is an Alpha system and currently a member of a cluster 
    so the following functions can be performed: 
 
MAIN MENU 
 
   1. ADD an Alpha node to the cluster. 
   2. REMOVE a node from the cluster. 
   3. CHANGE a cluster member's characteristics. 
   4. CREATE a duplicate system disk for FCNOD1. 
   5. MAKE a directory structure for a new root on a system disk. 
   6. DELETE a root from a system disk. 
   7. EXIT from this procedure. 
 
Enter choice [1]: 1 
 
    This ADD function will add a new Alpha node to the cluster. 
 
  WARNING: If the node being added is a voting member,EXPECTED_VOTES for 
           every cluster member must be adjusted.  For complete instructions 
           check the section on configuring a cluster in the "OpenVMS Cluster 
           Systems" manual. 
 
  CAUTION: If this cluster is running with multiple system disks and 
           common system files will be used,please,do not proceed 
           unless appropriate logical names are defined for cluster 
           common files in SYLOGICALS.COM. For instructions,refer to 
           the "OpenVMS Cluster Systems" manual. 
 
Is the node to be a clustered node with a shared SCSI or Fibre Channel bus (Y/N)? Y 
Will the node be a satellite [Y]? N 
What is the node's SCS node name? FCNOD2 
What is the node's SCSSYSTEMID number? 19.111 
    NOTE: 19.111 equates to an SCSSYSTEMID of 19567 
Will FCNOD2 be a boot server [Y]? Y 
What is the device name for FCNOD2's system root 
[default DISK$V72_SSB:]? Y 
What is the name of FCNOD2's system root [SYS10]? 
    Creating directory tree SYS10 ... 
    System root SYS10 created 
 
  CAUTION: If you do not define port allocation classes later in this 
           procedure for shared SCSI bus,all nodes sharing a SCSI bus 
           must have the same non-zero ALLOCLASS value. If multiple 
           nodes connect to a shared SCSI bus without the same allocation 
           class for the bus,system booting will halt due to the error or 
           IO AUTOCONFIGURE after boot will keep the bus offline. 
 
Enter a value for FCNOD2's ALLOCLASS parameter [5]: 
Does this cluster contain a quorum disk [N]? N 
Size of pagefile for FCNOD2 [RETURN for AUTOGEN sizing]? 
 
    A temporary pagefile will be created until resizing by AUTOGEN. The 
    default size below is arbitrary and may or may not be appropriate. 
 
Size of temporary pagefile [10000]? 
Size of swap file for FCNOD2 [RETURN for AUTOGEN sizing]? 
 
    A temporary swap file will be created until resizing by AUTOGEN. The 
    default size below is arbitrary and may or may not be appropriate. 
 
Size of temporary swap file [8000]? 
    Each shared SCSI bus must have a positive allocation class value. A shared 
    bus uses a PK adapter. A private bus may use: PK,DR,DV. 
 
    When adding a node with SCSI-based cluster communications,the shared 
    SCSI port allocation classes may be established in SYS$DEVICES.DAT. 
    Otherwise,the system's disk allocation class will apply. 
 
    A private SCSI bus need not have an entry in SYS$DEVICES.DAT. If it has an 
    entry,its entry may assign any legitimate port allocation class value: 
 
       n   where n = a positive integer,1 to 32767 inclusive 
       0   no port allocation class and disk allocation class does not apply 
      -1   system's disk allocation class applies (system parameter ALLOCLASS) 
 
    When modifying port allocation classes,SYS$DEVICES.DAT must be updated 
    for all affected nodes,and then all affected nodes must be rebooted. 
    The following dialog will update SYS$DEVICES.DAT on FCNOD2. 
 
Enter [RETURN] to continue: 
 
    $20$DKA400:<VMS$COMMON.SYSEXE>SYS$DEVICES.DAT;1 contains port 
    allocation classes for FCNOD2. After the next boot,any SCSI 
    controller not assigned in SYS$DEVICES.DAT will use FCNOD2's 
    disk allocation class. 
 
 
Assign port allocation class to which adapter [RETURN for none]: PKA 
Port allocation class for PKA0: 11 
 
        Port Alloclass   11    Adapter FCNOD2$PKA 
 
Assign port allocation class to which adapter [RETURN for none]: PKB 
Port allocation class for PKB0: 20 
 
        Port Alloclass   11    Adapter FCNOD2$PKA 
        Port Alloclass   20    Adapter FCNOD2$PKB 
 
Assign port allocation class to which adapter [RETURN for none]: 
 
  WARNING: FCNOD2 must be rebooted to make port allocation class 
           specifications in SYS$DEVICES.DAT take effect. 
Will a disk local only to FCNOD2 (and not accessible at this time to FCNOD1) 
be used for paging and swapping (Y/N)? N 
 
    If you specify a device other than DISK$V72_SSB: for FCNOD2's 
    page and swap files,this procedure will create PAGEFILE_FCNOD2.SYS 
    and SWAPFILE_FCNOD2.SYS in the [SYSEXE] directory on the device you 
    specify. 
 
What is the device name for the page and swap files [DISK$V72_SSB:]? 
%SYSGEN-I-CREATED,$20$DKA400:[SYS10.SYSEXE]PAGEFILE.SYS;1 created 
%SYSGEN-I-CREATED,$20$DKA400:[SYS10.SYSEXE]SWAPFILE.SYS;1 created 
    The configuration procedure has completed successfully. 
 
    FCNOD2 has been configured to join the cluster. 
 
    The first time FCNOD2 boots,NETCONFIG.COM and 
    AUTOGEN.COM will run automatically. 

7.9.1 共有 FC ディスクでブートするためのクラスタ・ノードの追加構成 (I64 のみ)

OpenVMS Cluster システムで共有 FC ディスクでブートするための追加ノードを構成するためには, OpenVMS I64 Boot Manager (BOOT_OPTIONS.COM) を実行する必要があります。

シングル・システムあるいはスタンドアロン・システムでクラスタ機能を有効に設定した後,次の手順で,共有 FC ディスクでブートする I64 ノードを追加することができます。

  1. ターゲット・ノードで HP OpenVMS Version 8.2 Installation Disk をブートします。

  2. OpenVMS Installation Menu から,オプション 7 "Execute DCL commands and procedures" を選択します。

  3. 第 7.7.3 項 の説明に従います。 OpenVMS ブート・フラグを入力するよう求められたら,正しいシステム・ルートを設定していることを確認してください。

    注意

    OpenVMS I64 Boot Manager (BOOT_OPTIONS.COM) ユーティリティは共有 FC ディスクのマウントを必要とします。クラスタに共有 FC ディスクがマウントされていない場合は,このユーティリティが /NOWRITE オプションでマウントしようとします。共有 FC ディスクがすでにクラスタにマウントされている場合は,ユーザの介入が必要です。このユーティリティについての詳細は,『OpenVMS システム管理者マニュアル (上巻)』を参照してください。

7.9.2 オンライン再構成

ホストで OpenVMS を実行中に FC インターコネクトは再構成できます。具体的には,次の機能があります。

ほとんどの FC 再構成は,OpenVMS で自動的に認識できません。 FC 再構成を安全に実行し,その初期データ構造を新しい状態に合わせて OpenVMS で確実に調整するには,次のように操作します。

  1. 再構成に必要なすべてのディスクのマウントを解除します。

  2. 再構成を実行します。

  3. Fibre Channel に接続されている各ホストに,以下のコマンドを入力します。


    SYSMAN> IO SCSI_PATH_VERIFY 
    SYSMAN> IO AUTOCONFIGURE 
    

SCSI_PATH_VERIFY コマンドの目的は,システムの IO データベース内の各 FC パスを調べて,関連付けられているデバイスが変更されていないか確認することです。デバイスの変更が見つかると,FC パスの接続は IO データベースで解除されます。これで,IO AUTOCONFIGURE コマンドにより,パスは新しいデバイスに合わせて再構成できます。

注意

現在のリリースでは, SCSI_PATH_VERIFY コマンドは FC ディスク装置にのみ使用できます。 HSG コマンド・コンソール LUN (CCL) などの汎用 FC デバイスには使用できません。 ( 汎用 FC デバイスとは, $1$GGAnnnnn のような名前を持つデバイスです。したがって,OpenVMS により,HSG の CCL を特定のデバイス識別子で構成したら,そのデバイス識別子は変更しないでください。

7.9.3 HSG ホスト接続テーブルと構成されないデバイス

Fibre Channel ホスト・バス・アダプタが (Fibre Channel スイッチ経由で) HSG コントローラに接続された場合,その HSG コントローラは HSG 接続テーブルにエントリを作成します。各ホスト・バス・アダプタ,およびそのアダプタが接続される各 HSG ポートに対しては個々の接続が存在します (詳細は,HSG CLI コマンドの SHOW CONNECTIONS を参照)。

HSG 接続が存在する場合,『HSG Array Controller ACS Configuration and CLI Reference Guide』に説明されているコマンドを使用してパラメータを修正することができます。接続は変更可能であるため,ホスト・バス・アダプタの接続を外した際に HSG はテーブルから接続情報を削除しません。その代りに,ユーザが接続を行った時に CLI コマンドで明示的に接続を削除する必要があります。

HSG コントローラは,限定された数の接続をサポートします。 ACS V8.5 は最大 64 の接続が可能で, ACS V8.4 は最大 32 の接続が可能です。接続制限は,シングル冗長コントローラ,デュアル冗長コントローラのどちらでも同じです。接続数が最大数に達すると,それ以上新しい接続は行われません。この状況が発生すると,OpenVMS は,その HSG 上でディスク・デバイス,あるいはディスク・デバイスへのパスを構成しません。

この問題に対する解決策は,必要のない古い接続を削除することです。ただし,Fibre Channel ファブリックが大きく,アクティブな接続の数が HSG の限界を超えている場合は,接続数を減らすためにファブリックを再構成するか,あるいは FC スイッチ・ゾーニングを使用していくつかのアダプタをいくつかの HSG ポートから隠す必要があります。

7.10 I/O パフォーマンス向上のための割り込みコアレス機能 (Alpha のみ)

OpenVMS Alpha バージョン 7.3-1 から, KGPSA ホスト・アダプタで割り込みコアレス機能がサポートされるようになりました。このサポートはデフォルトでオフになっています。割り込みコアレス機能を使用すると,ホストから確認できる割り込み数をアダプタで削減できるため, I/O 作業負荷量の多い環境でパフォーマンスを向上させることができます。この機能は KGPSA ファームウェアに実装されています。

割り込みコアレス機能の現在の設定を参照および変更するには, Fibre Channel Control Program (FC$CP) を使用します。 FC$CP を使用するには CMKRNL 特権が必要です。

FC$CP で応答回数と遅延時間 ( ミリ秒単位 ) を指定すると,アダプタでは,指定した応答回数になるまで,または指定した時間が経過するまで ( 先に指定した値になった方 ),割り込みを遅らせます。

割り込みコアレス機能によって,同期 I/O を実行しているアプリケーションのパフォーマンスが低下する場合があります。特定の KGPSA で他の I/O が処理されていない場合は,割り込みコアレス機能を有効にすると,単一の書き込みに対し,平均して 900 マイクロ秒遅延します ( 指定した応答間隔によっては,さらに長くなる場合があります )。

割り込みコアレス機能は KGPSA ごとに設定します。割り込みコアレス機能を有効にするには,特定の KGPSA で 1 秒につき 2000 以上の I/O が処理されている必要があります。

このコマンドの形式は次のとおりです。


RUN SYS$ETC:FC$CP FGx enable-value [delay][response-count] 

この形式では,次のように定義されます。

OpenVMS では,FC$CP コマンドを次のように設定することをお勧めします。


$  RUN SYS$ETC:FC$CP FGx 2 1 8 


前へ 次へ 目次 索引