Managing servers


After you have added an application, added a component, and added an environment, you must add a server, or multiple servers, and associate them with environments. Environments are platforms on which applications are deployed and configured. A software environment is a collection of hosted servers and application software that provides a platform for running and testing applications.Your application resides on the server or servers that you define.

Servers may run on Linux or Windows operating systems and may use different NSH or SHH agents for connections.

Note

If you upgraded to BMC Release Process Management version 5.0.x from version 4.6.x or 4.8.x, after the upgrade the following parameters are set for your servers:

  • The server agent type is set to None.
  • If you had the operational system name set as Linux, Windows, or None, the operational system name remains the same.
  • If you had a custom name set as the server operational system, it is reset to Linux.

This topic consists of the following sections:

Server, server groups, server levels, and server level groups

You can group servers into server groups. You can also divide servers into server levels. Server levels are used to group servers according to functional use, such as JBoss servers or Load Balancers. You can further create server level groups.

The following image depicts the infrastructure model that includes server groups, server levels and server level groups:

app_model.png

Note

Access permissions for user roles are granted according to the main tabs of BMC Release Process Management and the applications assigned to groups of users through teams. Permission to view Servers lists is added separately when selecting Dashboard Permissions for a particular role and clicking the View My Servers check box. If a user does not have permission to view Servers lists, servers are not visible in the My Servers sub-tab on the Dashboard.

Creating and editing a server

This section describes how to create and edit a server.


To create a server

  1. Click Environment > Servers.
  2. On the Active Servers page, click Create Server on the right.
  3. Enter the following information for the server:
    1. Name: Enter a unique name for the server.
    2. Description: Enter an optional description for the server.
      You can enter a maximum of 255 characters.
    3. DNS/URL: Enter the DNS or URL for accessing the server.
    4. IP address: Enter the IP address of the server.
    5. OS Type: Select the operating system on which the server runs.
    6. Agent Type: If the server uses an agent NSH or SSH for connection, select the appropriate agent type.
  4. In the Server Groups field, select the server groups that you want to associate with the server. 
    To add server groups associated with this server, click Add Server Group.
    1. In the Select Server Groups dialog box, select the server from the left pane and click SelectArrow.png to move the selected server to the right pane. 
      (Optional) Use the SearchServer.pngsearch field to search and select the server groups that match your requirement and move to the right pane. You can also search for server groups in the selected server groups list.
      (Optional) Click SelectAllArrow.png to move all servers to the right pane.  
    2. Click Select Server Groups.
      The selected number of servers are displayed.
  5. In the Environments field, select the environments that you want to associate with the server.
    To add environment associated with this server, click Add Environment.
    1. In the Select Environment dialog box, select the environment from the left pane and click SelectArrow.png to move the selected environment to the right pane. 
      (Optional) Use the SearchServer.pngsearch field to search and select the environments that match your requirement and move to the right pane. You can also search for environments in the selected environments list.
      (Optional) Click SelectAllArrow.png to move all environments to the right pane.  
    2. Click Select Environments.
      The selected number of environments are displayed.
  6. Click Create.
    The new server is displayed in the list of active servers.

To edit a server

  1. Navigate to Environment > Servers.
  2. In the list of available servers, locate the server you want to edit and click Edit in the Actions column.
  3. Make necessary changes to the server as per your requirement, such as IP Address or Description.
    1. To change the server groups assigned to the servers, click Change Server Group <selected number>:
      1. In the Select Server Groups dialog box, select or clear applications. 
        (Optional) Use the SearchServer.pngsearch field to search and select the server groups that match your requirement and move to the right pane. You can also search for server groups in the selected server groups list.
      2. Click Select Server Groups.
        The selected number of server groups are displayed.
    2. To change the environment assigned to the server, click Change Environments <selected number>:
      (Optional) Use the SearchServer.pngsearch field to search and select the environments that match your requirement and move to the right pane. You can also search for environments in the selected environments list.
      1. In the Change Environments dialog box, select or clear the environments.
      2. Click Select Environments.
        The selected number of environments are displayed.
  4. Create or edit property to the server as per your requirement:
    • Click Add new property to create a new property for this server. For more information, see Managing Properties 
    • Click Edit values to edit property values for this server. For more information, see Managing Properties
  5. Click Update to save server details.

Creating and editing a server group

Servers can be grouped based on their instance property or environment property. This section describes how to create and edit a server group.

To create a server group

  1. Click Environment > Servers.
  2. On the Active Servers page, click Create Server Group on the right.
  3. Enter the following information for the server group:
    1. Name: Enter a unique name for the server group
    2. Description: (Optional) Add a description for the group
  4. In the Server field, select the servers that you want to associate with the group. 
    To add servers associated with this server group, click Add Server.
    1. In the Select Server dialog box, select the server from the left pane and click SelectArrow.png to move the selected servers to the right pane. 
      (Optional) Use the SearchServer.pngsearch field to search and select the servers that match your requirement and move to the right pane. You can also search for servers in the selected servers list.
      (Optional) Click SelectAllArrow.png to move all servers to the right pane.  
    2. Click Select Servers.
      The selected number of servers are displayed.
  5. In the Environments field, select the environments that you want to associate with the group.
    To add environment associated with this server, click Add Environment.
    1. In the Select Environment dialog box, select the environment from the left pane and click SelectArrow.png to move the selected environment to the right pane. 
      (Optional) Use the SearchServer.pngsearch field to search and select the environments that match your requirement and move to the right pane. You can also search for environments in the selected environments list.
      (Optional) Click SelectAllArrow.png to move all environments to the right pane.  
    2. Click Select Environments.
      The selected number of environments are displayed.
  6. Click Create.

To edit a server group

  1. Navigate to Environment > Servers.
  2. Click the Server Groups tab.
  3. In the list of available server groups, locate the server group you want to edit and click Edit in the Actions column.
  4. Make necessary changes to the server groups as per your requirement.
    1. To change the servers assigned to the server groups, click Change Server <selected number>:
      1. In the Select Server dialog box, select or clear applications.
        (Optional) Use the SearchServer.pngsearch field to search and select the servers that match your requirement and move to the right pane. You can also search for servers in the selected servers list. 
      2. Click Select Server.
        The selected number of servers are displayed.
    2. To change the environment assigned to the server groups, click Change Environments <selected number>:
      1. In the Change Environments dialog box, select or clear the environments.
        (Optional) Use the SearchServer.pngsearch field to search and select the environments that match your requirement and move to the right pane. You can also search for environments in the selected environments list.
      2. Click Select Environments.
        The selected number of environments are displayed.
  5. Click Update to save server group details.

Creating and editing a server level

After you have created servers and associated them with environments, you can group servers virtually within server levels according to functional use. For example, you can create a server level to group together all JBoss servers or to group together your load balancers. You must create a server level before creating server instances for the server level. An instance of a server level is an occurrence within the space of a server, such as Application Server 1 or Application Server 2. This section describes how to create and edit a server level.

To create a server level

  1. Click Environment > Servers.
  2. Click Create Server Level on the right.
  3. Enter the following information for the server level:
    1. Name: Enter a unique name for the server level
    2. Description: (Optional) Add a description for the server level 
  4. Click Create Level.
  5. On the Server instance page, enter the following information for the server level:
    1. Name: Enter a unique name for the server level instance.
    2. Description: (Optional) Add a description for the server level instance.
  6. In the Parent field, select a parent server that you want to associate with the instance.
  7. In the Environments field, select an environment that you want to associate with the instance.
    Click Select All to select all the environments that you want to associate with the instance.
  8. In the Properties field, select the properties that you want to associate with the instance. 
    Click Select All to select all the properties that you want to associate with the instance. 
  9. Click Create <server instance name>

To edit a server level

  1. Navigate to Environment > Servers.
  2. Hover the mouse over the Server Level tab and from the list of available server levels select the server level you want to edit.
  3. Make necessary changes to the server level as per your requirement.
  4. Click Create <server instance name> to save server level details.

Creating and editing a server level group

This section describes how to create and edit a server level group.

To create a server level group

  1. Click Environment > Servers.
  2. Click Create Server Level Group on the right.
  3. In the Name field, enter server level name.
  4. Select the relevant server level from the Server Level list.
    Server, server group and server level details that are associated with server level group are displayed in the Server Aspect field.
  5. Click Create Server Level Group.

To edit a server level group

  1. Navigate to Environment > Servers.
  2. Click the Server Level Groups tab.
  3. In the list of available server level groups, locate and click the server you want to edit.
    (optional) You can search for the server level groups in the Search field.
  4. Make necessary changes to the server level group as per your requirement.
  5. Click Create <server level group name> to save server level group details.

Changing server status

You can change the status of the server from active to inactive. <why?>

Making a server inactive

  1. Navigate to Environment > Servers.
  2. From the list of Active Servers, locate the server which you want to mark as inactive.
  3. Under Actions, click Make Inactive.
    The team is updated automatically when you make your selection.

Activating a server

  1. Navigate to Environment > Servers.
  2. Click the Inactive  Servers link and from the list of inactive servers, locate the server which you want to mark as active.
  3. Under Actions, click Make active.
    The team is updated automatically when you make your selection.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*