Sun N1 Service Provisioning System ユーザーズガイド (SAP Plug-In 1.0)

GDS コンポーネント

次のプランは、Sun N1 Advanced Architecture for SAP Solutions ソフトウェアを通じてグループレベルで GDS (Generic Data Service) コンポーネントを操作するために必要です。


注意 – 注意 –

プランの命名の取り決めについては、例に従ってください。従っていない場合は、プランは失敗します。


ProcedureGDSResourceType を使用して GDS コンポーネントを作成する

  1. N1 SPS ブラウザインタフェースの「Application Deployment」セクションで「Components」をクリックします。

  2. フォルダを /com/sun/n1aa/GDS に変更します。

  3. 「Create」リンクをクリックしてコンポーネントを作成します。

  4. コンポーネント名を入力します。

  5. 「type」に「untyped」を選択します。

  6. 終了コンポーネント要素 </component> の前に次のテキストを挿入します。

    <extends>
        <type name="com.sun.sap#GDSResourceType"></type>
    </extends>
    
    <installList>
        <installSteps name="createDependency" access="PROTECTED">
        <paramList>
    	       <param name="grpInstallPath"/>
        </paramList>
        <try>
            <block>
            <!-- Replace dependency name, RunLevel1, with your desired run-level. -->
            <!-- Following are the pre-defined dependency names -->
                <createDependency name="RunLevel1">
                    <installedComponent name="Group" path="/com/sun/sap/resourcetypes" 
                         installPath=":[grpInstallPath]"></installedComponent>
                </createDependency>
            </block>
            <catch>
                <raise message="Error in creating dependency: :[grpInstallPath]"/>
            </catch>
        </try>
        </installSteps>
    </installList>
  7. <createDependency> 要素を含む行の、依存関係の名前を変更します。

    有効な依存関係名は、次のとおりです。

      RunLevel1 through RunLevel5


      NFSMount2Group


      RunLevel7 through RunLevel11


      HAStoragePlus2Group


      RunLevel13 through RunLevel17


      LogicalHost2Group


      RunLevel19 through RunLevel23


      Oracle2Group


      RunLevel25 through RunLevel29


      CentralInstance2Group


      RunLevel31 through RunLevel35


      EnqueueServer2Group


      RunLevel37 through RunLevel41


      MessageServer2Group


      RunLevel43 through RunLevel47


      AppServerWithExceptionFile2Group


      RunLevel49 through RunLevel53


      AppServer2Group


      RunLevel55 through RunLevel59


      NFSShare2Group


      RunLevel61 through RunLevel65


  8. 「Check In」をクリックします。

  9. 「Continue to Check In」をクリックします。

ProcedureGDS リソースの作成のプランを生成する

このタスクは、markOnly タスクです。


注 –

このプランには、プランパラメータはありません。


  1. N1 SPS ブラウザインタフェースの「Application Deployment」セクションで「Components」をクリックします。

  2. フォルダを、/com/sun/n1aa/GDS に変更します。

  3. 作成された GDS コンポーネントの「Details」リンクをクリックします。

  4. install:default プロシージャーのチェックボックスを選択します。

    install:markOnly プロシージャーのチェックボックスも選択できます。


    注 –

    GDS コンポーネントの installSteps を上書きしないかぎり、デフォルトインストールと markOnly インストールは同じです。


  5. 「Generate Plan With Checked Procedures」リンクをクリックします。

  6. プラン名を、Creategds-component-namePlan の形式で入力します。

    gds-component-name は、GDSResourceType を使用して GDS コンポーネントを作成する」のタスクで作成したコンポーネント名です。

  7. XML テキストの <executionPlan> 要素で、属性名を Creategds-component-namePlan に変更します。

  8. 「Check In」をクリックします。

  9. 「Continue to Check In」をクリックします。

ProcedureGDS リソースの削除のプランを生成する

このタスクは、markOnly タスクです。


注 –

プランのパラメータは、installPath だけです。


  1. N1 SPS ブラウザインタフェースの「Application Deployment」セクションで「Components」をクリックします。

  2. フォルダを、/com/sun/n1aa/GDS に変更します。

  3. 作成された GDS コンポーネントの「Details」リンクをクリックします。

  4. uninstall:default プロシージャーのチェックボックスを選択します。

    uninstall:markOnly プロシージャーのチェックボックスも選択できます。

  5. 「Generate Plan With Checked Procedures」リンクをクリックします。

  6. プラン名を、Deletegds-component-namePlan の形式で入力します。

    gds-component-name は、GDSResourceType を使用して GDS コンポーネントを作成する」の項で作成したコンポーネント名です。

  7. XML テキストの <executionPlan> 要素で、属性名を Deletegds-component-namePlan に変更します。

  8. <simpleSteps> 要素の前に、プランのパラメータとして installPath を追加します。

    たとえば、次のようなテキストを含めてプランのパラメータを挿入します。

    <paramList>
            <param name="installPath" default="" prompt="Install path of the GDS component"></param>
         </paramList>
  9. XML テキストの <installedComponent> 要素に、installPath=':[installPath]' 属性を追加します。

    次に例を示します。

    installPath を追加する前。

    <uninstall blockName='default'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </uninstall>

    installPath を追加したあと。

    <uninstall blockName='default'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
        path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </uninstall>
  10. 「Check In」をクリックします。

  11. 「Continue to Check In」をクリックします。

ProcedureGDS リソースの起動のプランを生成する


注 –

プランのパラメータは、installPath だけです。


  1. N1 SPS ブラウザインタフェースの「Application Deployment」セクションで「Components」をクリックします。

  2. フォルダを、/com/sun/n1aa/GDS に変更します。

  3. 作成された GDS コンポーネントの「Details」リンクをクリックします。

  4. start プロシージャーのチェックボックスを選択します。

  5. 「Generate Plan With Checked Procedures」リンクをクリックします。

  6. プラン名を、Startgds-component-namePlan の形式で入力します。

    gds-component-name は、GDSResourceType を使用して GDS コンポーネントを作成する」の項で作成したコンポーネント名です。

  7. XML テキストの <executionPlan> 要素で、属性名を Startgds-component-namePlan に変更します。

  8. <simpleSteps> 要素の前の、forceStart パラメータを含む <paramList> エントリを削除します。

  9. <simpleSteps> 要素の前に、プランのパラメータとして installPath を追加します。

    たとえば、次のようなテキストを含めてプランのパラメータを挿入します。

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  10. <call blockName='start'> のあとにある <argList> の行を削除して、起動を制御する引数を削除します。

  11. XML テキストの <installedComponent> 要素に、installPath=':[installPath]' 属性を追加します。

    たとえば、installPath を追加する前は次のようになっています。

    <call blockName='start'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    installPath を追加したあとは、次のようになります。

    <call blockName='start'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  12. 「Check In」をクリックします。

  13. 「Continue to Check In」をクリックします。

ProcedureGDS リソースの停止のプランを生成する


注 –

プランのパラメータは、installPath だけです。


  1. N1 SPS ブラウザインタフェースの「Application Deployment」セクションで「Components」をクリックします。

  2. フォルダを、/com/sun/n1aa/GDS に変更します。

  3. 作成された GDS コンポーネントの「Details」リンクをクリックします。

  4. stop プロシージャーのチェックボックスを選択します。

  5. 「Generate Plan With Checked Procedures」リンクをクリックします。

  6. プラン名を、Stopgds-component-namePlan の形式で入力します。

    gds-component-name は、GDSResourceType を使用して GDS コンポーネントを作成する」の項で作成したコンポーネント名です。

  7. XML テキストの <executionPlan> 要素で、属性名を Stopgds-component-namePlan に変更します。

  8. <simpleSteps> 要素の前の、shutdownMode および forceStop パラメータを含む paramList 要素を削除します。

  9. <simpleSteps> 要素の前に、プランのパラメータとして installPath を追加します。

    たとえば、次のようなテキストを含めてプランのパラメータを挿入します。

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  10. <call blockName='stop'> のあとにある <argList> の行を削除して、制御を停止する引数を削除します。

  11. XML テキストの <installedComponent> 要素に、installPath=':[installPath]' 属性を追加します。

    次に例を示します。

    installPath を追加する前。

    <call blockName='stop'>
         <installedComponent name='gds' versionOp='=' version='1.0' 
              path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    installPath を追加したあと。

    <call blockName='stop'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  12. 「Check In」をクリックします。

  13. 「Continue to Check In」をクリックします。

ProcedureGDS リソースの isOnline プランを生成する


注 –

プランのパラメータは、installPath だけです。


  1. N1 SPS ブラウザインタフェースの「Application Deployment」セクションで「Components」をクリックします。

  2. フォルダを、/com/sun/n1aa/GDS に変更します。

  3. 作成された GDS コンポーネントの「Details」リンクをクリックします。

  4. isOnline プロシージャのチェックボックスを選択します。

  5. 「Generate Plan With Checked Procedures」リンクをクリックします。

  6. プラン名を、Isgds-component-nameOnlinePlan の形式で入力します。

    gds-component-name は、GDSResourceType を使用して GDS コンポーネントを作成する」の項で作成したコンポーネント名です。

  7. XML テキストの <executionPlan> 要素で、属性名を Isgds-component-nameOnlinePlan に変更します。

  8. <simpleSteps> 要素の前に、プランのパラメータとして installPath を追加します。

    たとえば、次のようなテキストを含めてプランのパラメータを挿入します。

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  9. XML テキストの <installedComponent> 要素に、installPath=':[installPath]' 属性を追加します。

    たとえば、installPath を追加する前は次のようになっています。

    <call blockName='isOnline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    installPath を追加したあとは、次のようになります。

    <call blockName='isOnline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  10. 「Check In」をクリックします。

  11. 「Continue to Check In」をクリックします。

ProcedureGDS リソースの isOffline プランを生成する


注 –

プランのパラメータは、installPath だけです。


  1. N1 SPS ブラウザインタフェースの「Application Deployment」セクションで「Components」をクリックします。

  2. フォルダを、/com/sun/n1aa/GDS に変更します。

  3. 作成された GDS コンポーネントの「Details」リンクをクリックします。

  4. isOffline プロシージャーのチェックボックスを選択します。

  5. 「Generate Plan With Checked Procedures」リンクをクリックします。

  6. プラン名を、Isgds-component-nameOfflinePlan の形式で入力します。

    gds-component-name は、GDSResourceType を使用して GDS コンポーネントを作成する」の項で作成したコンポーネント名です。

  7. XML テキストの <executionPlan> 要素で、属性名を Isgds-component-nameOfflinePlan に変更します。

  8. <simpleSteps> 要素の前に、プランのパラメータとして installPath を追加します。

    たとえば、次のようなテキストを含めてプランのパラメータを挿入します。

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  9. XML テキストの <installedComponent> 要素に、installPath=':[installPath]' 属性を追加します。

    たとえば、installPath を追加する前は次のようになっています。

    <call blockName='isOffline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    installPath を追加したあとは、次のようになります。

    <call blockName='isOffline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  10. 「Check In」をクリックします。

  11. 「Continue to Check In」をクリックします。