Go to main content

Oracle® SuperCluster M7 シリーズ管理ガイド

印刷ビューの終了

更新: 2015 年 12 月
 
 

コアおよびメモリーのパーク

CPU およびメモリーリソースを専用ドメインから論理 CPU およびメモリーリポジトリに移動して、このリソースを I/O ドメインで使用可能にするには、それぞれの計算ノードで次の手順を実行します。

コアおよびメモリーをパーク状態にしている場合、慎重に計画します。リソースをパーク状態にして I/O ドメインを作成すると、リソースを専用ドメインに戻せなくなります。


注 -  この手順を実行できるかどうかを確認する方法については、Supported Domain Configurationsを参照してください。

注 -  例は SuperCluster M6-32 に基づいていますが、SuperCluster M7 にも同じ概念が適用されます。

この例では、12 個のコアと 1T バイトのメモリーがプライマリドメインからパーク状態にされ、18 個のコアと 1536G バイトのメモリーが ssccn3-dom1 ドメインからパーク状態にされています。

この表は割り当て計画 (Plan CPU and Memory Allocationsを参照) を示しています。

ドメイン
ドメインタイプ
以前のコア
コア
以後
以前のメモリー (GB)
メモリー
以後 (GB)
primary
専用
18
6
1536
512
ssccn3-dom1
専用
30
12
2560
1024
ssccn3-dom2
ルート
n/a
n/a
n/a
n/a
ssccn3-dom3
ルート
n/a
n/a
n/a
n/a
割り当てられないリソース
45
4048
リソース合計
93
93
8144
8144
  1. 計算ノードの制御ドメインにスーパーユーザーとしてログインします。
  2. すべてのアプリケーションが停止していて、実行中の本番環境アクティビティーが存在しないことを確認します。
  3. アクティブでないドメインをすべて、ldm bind コマンドを使ってアクティブにします。

    アクティブでないドメインが存在していると、ツールが続行されません。

  4. osc-setcoremem を実行してリソース割り当てを変更します。

    この例では、一部のリソースが割り当てられないままパーク状態にされます。

    プロンプトが表示されたら応答します。Enter を押してデフォルト値を選択します。

    # /opt/oracle.supercluster/bin/osc-setcoremem
     
                                  osc-setcoremem
                        v2.0  built on Aug 27 2015 23:09:35
     
     
     Current Configuration: SuperCluster Fully-Populated M6-32 Base
     
     +--------------------------------+-------+--------+-----------+--- MINIMUM ----+
     | DOMAIN                           | CORES | MEM GB |   TYPE    | CORES | MEM GB |
     +---------------------------------+-------+--------+-----------+-------+--------+
     | primary                          |    18 |   1536 | Dedicated |     2 |     32 |
     | ssccn3-dom1                      |    30 |   2560 | Dedicated |     2 |     32 |
     | ssccn3-dom2                      |     1 |     16 |   Root    |     1 |     16 |
     | ssccn3-dom3                      |     2 |     32 |   Root    |     2 |     32 |
     +---------------------------------+-------+--------+-----------+-------+--------+
     | unallocated or parked            |    45 |   4048 |    --     |    -- |   --   |
     +---------------------------------+-------+--------+-----------+-------+--------+
     
     [Note] Following domains will be skipped in this session.
     
     Root Domains
     ------------
     ssccn3-dom2
     ssccn3-dom3
     
     
     CPU allocation preference:
     
            1. Socket level
            2. Core level
     
     In case of Socket level granularity, proportional memory capacity is
      automatically selected for you.
     
     Choose Socket or Core level [S or C] c
     
     
     Step 1 of 2: Core Count
     
     primary      : specify number of cores [min: 2, max: 46. default: 18] : 6
                    you chose [6] cores for primary domain
     
     ssccn3-dom1  : specify number of cores [min: 2, max: 42. default: 30] : 12
                    you chose [12] cores for ssccn3-dom1 domain
     
     
     Configuration In Progress After Core Count Selection:
     
     +--------------------------------+-------+--------+-----------+--- MINIMUM ----+
     | DOMAIN                           | CORES | MEM GB |   TYPE    | CORES | MEM GB |
     +---------------------------------+-------+--------+-----------+-------+--------+
     | primary                          |     6 |   1536 | Dedicated |     2 |     32 |
     | ssccn3-dom1                      |    12 |   2560 | Dedicated |     2 |     64 |
     | *ssccn3-dom2                     |     1 |     16 |   Root    |     1 |     16 |
     | *ssccn3-dom3                     |     2 |     32 |   Root    |     2 |     32 |
     +---------------------------------+-------+--------+-----------+-------+--------+
     | unallocated or parked            |    75 |   4048 |    --     |    -- |   --   |
     +---------------------------------+-------+--------+-----------+-------+--------+
     
     
     Step 2 of 2: Memory Capacity
            (must be 16 GB aligned)
     
     primary: specify memory capacity in GB [min: 32, max: 2048. default: 2048] : 512
                    you chose [512 GB] memory for primary domain
     
     ssccn3-dom1:specify memory capacity in GB [min: 64, max: 2048. default: 2048] : 1024
                    you chose [1024 GB] memory for ssccn3-dom1 domain
     
     
     Configuration In progress After Memory Capacity Selection:
     
     +--------------------------------+-------+--------+-----------+--- MINIMUM ----+
     | DOMAIN                           | CORES | MEM GB |   TYPE    | CORES | MEM GB |
     +---------------------------------+-------+--------+-----------+-------+--------+
     | primary                          |     6 |    512 | Dedicated |     2 |     32 |
     | ssccn3-dom1                      |    12 |   1024 | Dedicated |     2 |     64 |
     | *ssccn3-dom2                     |     1 |     16 |   Root    |     1 |     16 |
     | *ssccn3-dom3                     |     2 |     32 |   Root    |     2 |     32 |
     +---------------------------------+-------+--------+-----------+-------+--------+
     | unallocated or parked            |    75 |   6608 |    --     |    -- |   --   |
     +--------------------------------+-------+--------+-----------+-------+--------+
     
     
     Following domains will be stopped and restarted:
     
            ssccn3-dom1
     
     This configuration requires rebooting the control domain.
     Do you want to proceed? Y/N : y
     
     IMPORTANT NOTE:
     +-                                                                                    -+
     |  After the reboot, osc-setcoremem attempts to complete CPU, memory re-configuration. |
     |  Please check syslog and the state of all domains before using the system.           |
     |  eg.,  dmesg | grep osc-setcoremem ; ldm list | grep -v active ; date                |
     +-                                                                                    -+
     
     All activity is being recorded in log file:
            /opt/oracle.supercluster/osc-setcoremem/log/osc-setcoremem_activity_08-28-2015_16:18:57.log 
    Please wait while osc-setcoremem is setting up the new CPU, memory configuration.
     It may take a while. Be patient and do not interrupt.
     
     0%    10    20    30    40    50    60    70    80    90   100%
     |-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|
     *=====*=====*=====*=====*=====*=====*=====*=====*=====*=====*
     
    Broadcast Message from root (pts/1) on etc5mdbadm0301 Fri Aug 28 16:22:07...
    THE SYSTEM etc5mdbadm0301 IS BEING SHUT DOWN NOW ! ! !
    Log off now or risk your files being damaged
     
                    Task complete with no errors.
     
    #
    
  5. ツールでリブートの必要性が示された場合、システムのリブート後に、root として計算ノードの制御ドメインにログインします。
  6. 新しいリソース割り当てを確認します。

    いくつかの方法でリソース割り当てを検証し、可能性のある osc-setcoremem エラーを確認できます。

  7. ログファイルをチェックして、すべての再構成手順が正常に実行されたことを確認します。
    # cd /opt/oracle.supercluster/osc-setcoremem/log
    # ls (identify the name of the
    log file)
    # tail -17 osc-setcoremem_activity_08-28-2015_16\:18\:57.log
     
     ::Post-reboot activity::
     
     Please wait while osc-setcoremem is setting up the new CPU, memory configuration.
     It may take a while. Be patient and do not interrupt.
     
     
     Executing ldm commands ..
     
     0%    10    20    30    40    50    60    70    80    90   100%
     |-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|
     *=====*=====*=====*=====*=====*=====*=====*=====*=====*=====*
     
                    Task complete with no errors.
                    This concludes socket/core, memory reconfiguration.
                    You can continue using the system.
    
  8. 新しいリソース割り当てを確認します。

    いくつかの方法でリソース割り当てを検証し、可能性のある osc-setcoremem エラーを確認できます。

    例:

    # dmesg | grep osc-setcoremem
    Aug 28 16:27:50 etc5mdbadm0301 root[1926]: [ID 702911 user.alert] osc-setcoremem: core, memory re-configuration complete. system can be used for regular work.
     
    # ldm list
    NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
    primary          active     -n-cv-  UART    48    523008M  0.4%  0.4%  6m
    ssccn3-dom1      active     -n----  5001    96    1T       0.2%  0.2%  3m
    ssccn3-dom2      active     -n----  5002    8     16G      0.1%  0.1%  3d 36m
    ssccn3-dom3      active     -n--v-  5003    16    32G      0.1%  0.1%  3d 36m
    
  9. パーク状態のコアを確認します。

    Display the Current Domain Configuration (ldm)を参照してください。

    # ldm list-devices -p core | grep cid | wc -l
          75
    
  10. パーク状態のメモリーを確認します。

    Display the Current Domain Configuration (ldm)を参照してください。

    # ldm list-devices memory
    MEMORY
        PA                   SIZE
        0x3c00000000         768G
        0x84000000000        768G
        0x100000000000       1008G
        0x180000000000       1T
        0x208000000000       512G
        0x288000000000       512G
        0x300000000000       1008G
        0x380000000000       1008G
    
  11. リソース割り当てを別の計算ノードに変更する必要がある場合は、この手順を繰り返します。

関連情報