Sun N1 Advanced Architecture for SAP Solutions 5.2.1 User's Guide

Groups and Resources Management

This chapter explains all functions provided by the N1 AA Deployer to manage resources and resource groups.

Purpose

Management of resources and resource groups. For example, start, stop, and relocate.

Menu

servergroup ⇒ Deployer ⇒ Resource Groups

Use case

Daily business

Go to servergroup ⇒ Deployment ⇒ Resource Groups. You arrive at the first main screen that lists all the available resource groups. This is the access point for all management functions.

Figure 5–1 N1 AA Deployer – Resource Groups

N1 AA Deployer Resource Groups table.

Select one dedicated group and click the View button . This brings you to the second main screen that lists all the available resources belonging to the selected group. This is the access point for all management functions. For example, start and stop the resources.

The following table lists all available functions on resource groups and resources in the N1 AA Deployer.


Caution – Caution –

Be careful with the Force option of the Move function. You have to ensure that the resources are really offline. Otherwise, there is the danger that resources will be started twice. On the current host and on the target host.


Table 5–3 Functions

Function 

Description 

Mode 

Input 

Output 

Resource Groups

       

View Resource Groups 

The initial screen of the Deployer. Shows all Resource Groups defined in N1 SPS. 

Online in the foreground (GUI) 

None 

Resource Name Name of the resource group as defined in N1 SPS.

Status

Status of the Group on the host. The group status is derived from the status of its resources.  

       

ONLINE = All resources are online (up and running).  

OFFLINE = All resources are offline (down).  

PARTIAL = All resources are partially online. This means that all necessary processes are neither all online nor are they all offline. 

       

UNKNOWN = No status information for any resource available.  

UNREACHABLE = Host is unreachable. To be more technically correct, the SPS Remote Agent on this host is not reachable. 

MIXED = No uniform status of the resources (any mixed mode of statuses. 

Table 5–4 Functions (continued)

Function 

Description 

Mode 

Input 

Output 

Resource Groups

       

View Resource Groups 

The initial screen of the Deployer. Shows all Resource Groups defined in N1 SPS. 

Online in the foreground (GUI) 

None 

Last Update

Point in time when the status was last updated. N1 AA is not doing any active monitoring. Instead, the status is only updated when requested. That is: 

  • Automatically after start, stop or relocate of resources/groups.

  • If refresh-functions have been performed by the user.

       

Host

Hostname on that the group is currently mastered as defined in N1 SPS. 

Environment

Type of group as defined in N1 SPS. 

SPS = Managed directly by SPS  

SC = Group comes from Sun Cluster  

ACC = Group comes from SAP Adaptive Computing controller 

Start 

Start the resource group on the host. N1 AA calls the start plan of the group in N1 SPS. This starts all the resources of the group in the predefined sequence. For more details on the start mechanism, see the Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.

Job in the background. The GUI reflects the changes as soon as the job is finished and the GUI is refreshed by any user interaction. 

Resource Group

As selected in the GUI 

The joblog shows details of the start: 

Success = Start of group was successfully executed within SPS. All resources are online. The group status, status of all resources, is set to online. 

Failed = Start of group was not successfully executed within SPS. At least one resource is not online now. The group status, status of all resources, is set to Unknown. Use the refresh functions to re–evalute the current status of the group. 

Stop 

Stop the resource group on the host. 

N1 AA calls the stop plan of the group in N1 SPS. This stops all resources of the group in the predefined sequence. For more details on the stop mechanism, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.

Job in the background. The GUI reflects the changes, as soon as the job is finished and the GUI is refreshed by any user interaction. 

Resource Group

As selected in the GUI 

The joblog shows details of the stop: 

Success = Stop of group was successfully executed within SPS. All resources are offline now. The group status, status of all resources, is set to Offline. 

Failed = Stop of group was not successfully executed within SPS. At least one resource is not offline now. The group status, status of all resources, is set to Unknown. Use the refresh functions to reevalute the current status of the group. 

Move 

Relocate the resource group to a specified target host. 

This stops the group on the current host and starts the group on the specified target host. 

Job in the background. The GUI reflects the changes as soon as the job is finished and the GUI is refreshed by any user interaction. 

Resource Group

As selected in the GUI 

Target host

Physical hostname 

Force Option

Ignores the fact that the group could not be stopped successfully on the current host and continues to start the group on the target host. This might be needed in special situations. For example, if the current host is down. 


Caution – Caution –

Be careful with the Force option. You have to ensure that the resources are really offline. Otherwise, there is the danger that resources will be started twice. On the current host and on the target host.


The joblog shows details of the move:  

Success = Move of the group was successfully executed within SPS. All resources are online on the target host now. The group status, status of all resources, is set to Online. 

Failed = Move of the group was not successfully executed within SPS. The group status, status of all resources, is set to Unknown. Use the refresh functions to reevalute the current status of the group. 

Refresh 

Evaluate the current status of the resource group (every resource) on the host. N1 AA calls the appropriate isonline and isoffline plans in SPS.

Job in the background. The GUI reflects the changes as soon as the job is finished and the GUI is refreshed by any user interaction. 

Resource Group

As selected in the GUI 

Updates the Status and Last Update information as displayed in the GUI. See the functions View Resource Groups and View Resources. 

Resources

       

View Resources 

The screen shows all resources belonging to the specified group as defined in N1 SPS. 

Online in the foreground (GUI) 

Resource Group

As selected in the GUI 

Resource Name

Name of the resource, as defined in N1 SPS.  

       

Type

Type of the resource, as defined in N1 SPS. There are predefined resource types. For example, IP Address or SAP Central Instance, available with the SAP plug-in.  

       

Status Status of the resource on the host.

ONLINE = Resource is online (up and running).  

OFFLINE = Resource is offline (down).  

PARTIAL = All resources are partially online. This means that all necessary processes are neither all online nor are they all offline. 

UNKNOWN = No status information for the resource is available. 

UNREACHABLE = Host is unreachable. To be more technically correct, the SPS Remote Agent on this host is not reachable. 

       

Last update

Point in time, the status was last updated. N1 AA is not doing an active monitoring. Instead of that, the status will only be updated when requested. That is:  

  • Automatically after start, stop, or relocate of resources or groups.

  • If refresh functions have been performed by the user.

Host

Hostname, on that the resource is currently mastered as defined in N1 SPS.  

EnvironmentType of the group, as defined in N1 SPS.

SPS = Managed directly by SPS  

SC = Group comes from Sun Cluster 

ACC = Group comes from SAP Adaptive Computing controller 

Start 

Start the resource on the host. N1 AA calls the start plan of the resource in N1 SPS. For more details on the start mechanism, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.

Job in the background. The GUI reflects the changes as soon as the job is finished and the GUI is refreshed by any user interaction. 

Resource

As selected in the GUI 

The joblog shows details of the start: 

Success = Start of resource was successfully executed within SPS. The resource status is set to Online.  

Failed = Start of resource was not successfully executed within SPS. The resource status is set to Unknown. Use the refresh functions to reevalute the current status of the resource. 

Stop 

Stop the resource on the host. N1 AA calls the stop plan of the resource in N1 SPS. For more details on the stop mechanism, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.

Job in the background. The GUI reflects the changes, as soon as the job is finished and the GUI is refreshed by any user interaction. 

Resource Group

As selected in the GUI 

The job log shows details of the stop:  

Success = Stop of group was successfully executed within SPS. The resource status is set to Offline.  

Failed = Stop of resource was not successfully executed within SPS. The resource status is set to Unknown. Use the refresh functions to reevalute the current status of the resource. 

Refresh 

Evaluate the current status of the resource on the host. N1 AA calls the appropriate isonline and isoffline plans in SPS.

Job in the background. The GUI reflects the changes, as soon as the job is finished and the GUI is refreshed by any user interaction. 

Resource Group

As selected in the GUI 

Updates the Status and Last Update information as displayed in the GUI. See the functions View Resource Groups and View Resources.

View Details 

Shows the technical details of the resource definition. 

Online in the foreground (GUI) 

Resource

As selected in the GUI 

Technical details of the resource as defined in N1 SPS.