The following plans are necessary for operating the Generic Data Service (GDS) component at the group level through the Sun N1 Advanced Architecture for SAP Solutions software.
The naming convention for the plans must follow the examples. If they do not, the plan will fail.
In the Application Deployment section of the N1 SPS browser interface, click Components.
Change the folder to /com/sun/n1aa/GDS.
Click on create link for creating the component.
Enter the name of the component.
Select the type as untyped.
Insert the following text before the ending component element, </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>
Change the dependency name on line containing <createDependency> element.
Valid dependency names are:
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
Click Check In.
Click Continue to Check In.
This is a markOnly task.
This plan does not have any plan parameters.
In the Application Deployment section of the N1 SPS browser interface, click Components.
Change the folder to /com/sun/n1aa/GDS.
Click on the details link of the created GDS component.
Select the check box for the install:default procedure.
You can also select the check box for the install:markOnly procedure.
Both default and markOnly installs are the same unless you overwrite the installSteps in the GDS component ?
Click the Generate Plan With Checked Procedures link.
Type the name of the plan as Creategds-component-namePlan.
Where gds-component-name is the name of the component created in the task How to Create a GDS Component Using the GDSResourceType.
In the XML text, in <executionPlan> element, change the name of the attribute to Creategds-component-namePlan.
Click Check In.
Click Continue to Check In.
This is a markOnly task.
The installPath is the only plan parameter.
In the Application Deployment section of the N1 SPS browser interface, click Components.
Change the folder to /com/sun/n1aa/GDS.
Click on the details link of the created GDS component.
Select the check box for the uninstall:default procedure.
You can also select the check box for the uninstall:markOnly procedure.
Click on the Generate Plan With Checked Procedures link.
Enter the name of the plan as Deletegds-component-namePlan.
Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.
In the XML text <executionPlan> element, change the name of the attribute to Deletegds-component-namePlan.
Before the <simpleSteps> element, add the installPath as the plan parameter.
For example, include the following text to insert the plan parameter:
<paramList> <param name="installPath" default="" prompt="Install path of the GDS component"></param> </paramList>
Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.
For example:
Before adding the installPath.
<uninstall blockName='default'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS'></installedComponent> </uninstall>
After adding the installPath.
<uninstall blockName='default'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent> </uninstall>
Click Check In.
Click Continue to Check In.
The installPath is the only plan parameter.
In the Application Deployment section of the N1 SPS browser interface, click Components.
Change the folder to /com/sun/n1aa/GDS.
Click on the details link of the created GDS component.
Select the check box for the start procedure.
Click on the Generate Plan With Checked Procedures link.
Enter the name of the plan as Startgds-component-namePlan.
Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.
In the XML text, in the <executionPlan> element, change the name of the attribute to Startgds-component-namePlan.
Before the <simpleSteps> element, delete the <paramList> entry containing forceStart parameter.
Before the <simpleSteps> element, add the installPath as the plan parameter.
For example, include the following text to insert the plan parameter:
<paramList> <param name="installPath" default="" prompt="Install path of the GDS component"></param> </paramList>
Delete arguments to start control, by deleting the <argList> line after <call blockName='start'>.
Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.
For example, before adding the installPath.
<call blockName='start'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS'></installedComponent> </call>
After added the installPath.
<call blockName='start'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent> </call>
Click Check In.
Click Continue to Check In.
The installPath is the only plan parameter.
In the Application Deployment section of the N1 SPS browser interface, click Components.
Change the folder to /com/sun/n1aa/GDS.
Click on the details link of the created GDS component.
Select the check box for the stop procedure.
Click the Generate Plan With Checked Procedures link.
Enter the name of the plan as Stopgds-component-namePlan.
Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.
In the XML text, in the <executionPlan> element, change the name of the attribute to Stopgds-component-namePlan.
Before the <simpleSteps> element, delete the paramList element containing the shutdownMode and forceStop parameters.
Before the <simpleSteps> element, add the installPath as the plan parameter.
For example, include the following text to insert the plan parameter:
<paramList> <param name="installPath" default="" prompt="Install path of the GDS component"></param> </paramList>
Delete arguments to stop control, by deleting the <argList> line after <call blockName='stop'>.
Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.
For example,
Before adding the installPath.
<call blockName='stop'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS'></installedComponent> </call>
After adding the installPath.
<call blockName='stop'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent> </call>
Click Check In.
Click Continue to Check In.
The installPath is the only plan parameter.
In the Application Deployment section of the N1 SPS browser interface, click Components.
Change the folder to /com/sun/n1aa/GDS.
Click on the details link of the created GDS component.
Select the check box for the isOnline procedure.
Click on the Generate Plan With Checked Procedures link.
Enter the name of the plan as Isgds-component-nameOnlinePlan.
Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.
In the XML text, in the <executionPlan> element, change the name of the attribute to Isgds-component-nameOnlinePlan.
Before the <simpleSteps> element, add the installPath as the plan parameter.
For example, include the following text to insert the plan parameter:
<paramList> <param name="installPath" default="" prompt="Install path of the GDS component"></param> </paramList>
Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.
For example, before adding the installPath.
<call blockName='isOnline'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS'></installedComponent> </call>
After adding the installPath.
<call blockName='isOnline'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent> </call>
Click Check In.
Click Continue to Check In.
The installPath is the only plan parameter.
In the Application Deployment section of the N1 SPS browser interface, click Components.
Change the folder to /com/sun/n1aa/GDS.
Click on the details link of the created GDS component.
Select the check box for the isOffline procedure.
Click on the Generate Plan With Checked Procedures link.
Enter the name of the plan as Isgds-component-nameOfflinePlan.
Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.
In the XML text, in the <executionPlan> element, change the name of the attribute to Isgds-component-nameOfflinePlan.
Before the <simpleSteps> element, add the installPath as the plan parameter.
For example, include the following text to insert the plan parameter:
<paramList> <param name="installPath" default="" prompt="Install path of the GDS component"></param> </paramList>
Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.
For example, before adding the installPath:
<call blockName='isOffline'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS'></installedComponent> </call>
After adding the installPath:
<call blockName='isOffline'> <installedComponent name='gds' versionOp='=' version='1.0' path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent> </call>
Click Check In.
Click Continue to Check In.