Creating a Deploy Job
You can create a Software Deploy Job, which deploys Microsoft Windows or UNIX software packages to one or more target servers or components. You can also create a BLPackage Deploy Job, which deploys a BLPackage to one or more target servers or components. Both are referred to as Deploy Jobs.
To create a Deploy Job, see the following sections:
Before you begin
Before you can deploy a BLPackage, you must store the package in the Depot. For information about bundling the assets of a BLPackage and storing it in the Depot, see Adding a BLPackage to the Depot. You should also review the caveats applicable to BLPackage deployments.
Before you can deploy a software package you must store the package in the Depot. For information about adding Windows patches and service packs to the Depot, see Adding a hotfix to the Depot. For information about adding all other types of software packages to the Depot, see Adding software to the Depot.
Ensure that you have the appropriate authorizations from the DeployJob.* family of authorizations. Note that the BLPackage properties listed in the Deploy Job - Package panel are controlled by the DeployJob.Modify authorization, while the Deploy Job properties listed in the Deploy Job - Properties panel are controlled by the DeployJob.ModifyProperties authorization.
For a Software Deploy Job, you must also grant the BLPackage.Create authorization to the Deploy Job. (This is due to a known issue.)
To create a BLPackage Deploy Job
- To create a BLPackage Deploy Job, take one of the following actions:
- Open the Depot folder and navigate to the BLPackage you want to deploy. Right-click the package and select Deploy from the pop-up menu. The New Deploy Job wizard opens.
- Open the Jobs folder and navigate to a job folder. Right-click the job folder and select New > BLPackage Deploy Job from the pop-up menu. The New Deploy Job wizard opens.
- Using the Component Templates, Components, or Servers folder, select one or more components. Right-click and select Deploy as Target from the pop-up menu. Launching a Deploy Job in this way lets you deploy a BLPackage that uses the selected components as targets for the deployment.
- Provide information for the BLPackage Deploy Job as described in the following sections:
- After completing the last step of the wizard, click Finish.
After running a BLPackage Deploy Job, you can use the job results to retry, undo, or reset an entire BLPackage Job or phases of the job on specific servers. For more information, see Deploy Job results.
To create a Software Deploy Job
To deploy software, BMC recommends that you have administrator privileges on the remote server to which you are deploying. To accomplish this, there are two approaches:
- For Windows target servers, you can use an automation principal to set up Windows user mapping. This mechanism allows you to map a role to a local or domain user on a target server who has administrator privileges. For more information about Windows user mapping, see Creating automation principals.
- For UNIX target servers and Windows servers on which you do not want to use automation principals, you must map your machine or user name to a local user on the remote server. That local user should have administrator privileges. You must also perform this type of mapping on repeaters when you are copying files to them for indirect deployments, even if you are ultimately deploying files to Windows target servers using Windows user mapping. For more information about configuration files and mapping users, see BMC technical documentation at Setting up configuration files.
- To create a Software Deploy Job, take one of the following actions:
- Open the Depot folder and navigate to the software package you want to deploy. Right-click the package and select Deploy from the pop-up menu. The New Deploy Job wizard opens.
- Open the Jobs folder and navigate to a job folder. Right-click the job folder and select New > Software Deploy Job from the pop-up menu. The New Deploy Job wizard opens.
- Using the Servers folder, right-click a server and select Browse from the pop-up menu. In the content editor, expand the Live node for the selected server, and navigate to the software that you want to deploy. Right-click the software and select Deploy from the pop-up menu. The New Deploy Job wizard opens. If software must first be added to the Depot, the Select Matching Software dialog box opens.
- If the Select Matching Software window is displayed, match each software executable listed in the window to software stored in the Depot. If necessary, you can add software packages to the Depot with this process. For more information, see Matching software with depot items.
- Provide information for the Deploy Job, as described in the following sections:
- After completing the last step of the wizard, click Finish.
To monitor the results of a Deploy Job, see Deploy Job results. Using those results you can retry, undo, or reset an entire Deploy Job or phases of the job on specific servers.
Comments
Log in or register to comment.