Managing packages and deployment

Managing packages and deployment comprises the following activities:

  1. Creating a package
    1. Defining references
    2. Using analysers
    3. Adding properties
    4. Creating instance
  2. Creating a repository
    1. Creating a repository
    2. Adding properties
    3. Creating instance
  3. Deploying a package
    1. Deploying package to environment
    2. Promoting along route
  4. Deploying a repository
    1. Deploying repository to environment
    2. Promoting along route

Defining the application package (what you will deploy)

  1. Add a server definition for each computer in the network (see Managing servers).
    Server definitions connect the deployment server to the target computers that provide the components for package instances and to the computers that deploy package instances. For each server, specify the host name and select the NSH agent for communication.
  2. Define a package, which is the container for your application (see Packages and Creating and viewing package or repository instances):
    1. Give the package an appropriate name (such as "New Web App").
    2. To the new package, add a reference for each application component. The reference defines the server name and path to each component (in this case, the WAR file and the SQL file). When you enter the URI, use the appropriate format for your platform (for example, file:///tmp/sample.htm for UNIX or file:///C:\Temp\sample.htm for Windows).
  3. Configure analysers to perform specific actions and identify modules that break down fetched content. Invoke them after a URI has been fetched into the package instance. See Using analyzers.
  4. Add the appropriate package properties.
  5. Create an instance from the new package (see  Creating and viewing package or repository instances ).

Tip

By creating your instance now, you can ensure that the system has imported all data into the package and confirm that you have all the right parts for a deployable entity. 

Creating a repository

  1. Add a repository. See Managing repositories and instances.
  2. Add the appropriate repository properties.
  3. Create a repository instance. See Creating and viewing package or repository instances.

Deploying a package

  1. Deploy a package to environment. See Creating and managing deployments.
  2. Deploy the package to the route. In the deployment launchpad, drag and drop the package onto the route to create an instance and then deploy it automatically. See Using the launchpad.
    1. Examine the logs (red and green lights) to find any deployment problems. For more information, see Viewing deployment results.
    2. When you are satisfied with that step, you can promote the deployment to the next environment (for example, from testing to staging).

When you are satisfied that everything works as planned, you can create a schedule to run the deployment step on a regular basis. For more information, see Creating and using deploy schedules.

Was this page helpful? Yes No Submitting... Thank you

Comments