Managing deployment windows
Deployment windows are special calendar events for allowing or preventing application deployment to specific environments. Based on their deployment policy, there are two types of deployment windows:
- Allow deployment windows: Users can access associated environments only during the allow deployment windows. You can create allow deployment windows only for environments with the closed deployment policy. In a request with a closed environment, make sure that the planned start date and time and the estimated duration for the request match the selected deployment window.
- Prevent deployment windows: Users cannot access associated environments during the prevent deployment window. You can create prevent deployment windows only for environments with the opened deployment policy. In a request with an opened environment, make sure that the planned start date and time and the estimated duration for the request do not overlap with any deployment window.
This topic consists of the following sections:
- Creating a deployment window series
- Editing a deployment window series
- Changing the status of a deployment window series
- Suspending and resuming a deployment window event
- Rescheduling a deployment window series event
- Creating a request for the allow deployment window
- To create a request for the allow deployment window from a calendar report
- Viewing requests associated with a deployment window series
- Related topics
Creating a deployment window series
You can create a deployment window series with a one-time deployment window event or with recurring deployment window events. For a recurring deployment window series, you configure the following settings:
- Daily, weekly, and monthly deployment windows frequency settings
- Duration and date and time settings for deployment window occurrences
- Start and end date for the whole series
To create a new one-time deployment window series
- Go to Environments > Metadata> Manage Deployment Windows.
Based on the deployment policy for deployment windows, click one of the following links:
- Click Create Allow Deployment Window on the right
- Click Create Prevent Deployment Window on the right.
- In the Name edit box, enter a name for the deployment window.
- In the Start and Finish edit boxes, enter the date and time the deployment window begins and ends.
- Ensure that the Recurring check box is not selected.
- Click Add Environment.
The Select Environments dialog box opens. From the Environments list on the left, select the environments to associate with the deployment window and click >.
- Click Select Environments to save your environments selection.
- Click Create to save your deployment window.
- (Optional) If you want to make the request template available for other users, change the template's status to a state other than Draft.
- In the list of deployment window series, locate the deployment window whose status you want to change.
In the Actions field on the far right, click a state.
To create a new recurring deployment window series
- Go to Environment > Metadata> Manage Deployment Windows.
- Based on the deployment policy for deployment windows, select one of the following options:
- Click Create Allow Deployment Window on the right.
- Click Create Prevent Deployment Window on the right.
- In the Name edit box, enter a name for the deployment window series.
- In the Start and Finish edit boxes, enter the date and time the deployment window series begins and ends.
- Select the Recurrent check box.
- In the Frequency list, select Set schedule.
The Frequency dialog box opens. - From the Type list, select one of the following options:
- Select Daily to have the deployment window series occur on a daily basis and indicate the time interval in days (for example, every 2 days).
- Select Weekly to have the deployment window series occur on a weekly basis and then provide the following information:
- Indicate the time interval in weeks (for example, every 2 weeks).
- Click the day or days of the week on which the deployment window series is to occur.
- Select Monthly to have the deployment window series occur on a monthly basis, indicate the time interval in months (for example, every 2 months) and then do one of the following:
- Click Day of month and select the day or days of the month the deployment window series is to occur.
- Click Day of week and select the day or days in the weeks of the month the deployment window series is to occur.
- Click Set to save your recurrence settings.
- In From and To, verify the time of day the deployment window series is to begin and end.
In Duration, select the number of days you want to extend the deployment window series occurrence.
- In Environments, click Add Environments.
The Select Environments dialog box opens. From the Environments list on the left, select the environments to associate with the deployment window series and click >.
- Click Select Environment to save your environments selection.
Click Create to save your deployment window series.
- (Optional) If you want to make the request template available for other users, change the template's status to a state other than Draft.
- In the list of deployment window series, locate the deployment window series whose status you want to change.
In the Actions field on the far right, click a state.
Editing a deployment window series
You can edit a deployment window series from the metadata or from the calendar report. The following options are available:
- Move
- Suspend/Resume
- Edit series
Choosing the Edit series option allows you to make changes to the deployment window event for a single environment.
Users can see deployment windows on the calendar based on their user roles and environment access permissions.
To edit a deployment window series from metadata
- Navigate to Manage Deployment Windows:
Environments > Metadata > Manage Deployment Windows. - From the deployment windows list, in the Actions field, click Edit for the appropriate deployment window.
- Make changes to the deployment window series as needed.
- Click Update to save your changes.
To edit a deployment window series from the calendar report
- Go to Reports > Calendars
- From the Select calendar list on the far right, click Deployment Windows Calendar.
- Click the appropriate deployment window event on the calendar, and then click Edit from the dialog box that opens.
- From the Edit Deployment Window dialog box, click Edit Series.
- Make changes to the deployment window as needed.
- Click Update to save your changes.
Changing the status of a deployment window series
In BMC Release Process Management version 4.6.00, you can use the status of a deployment window series to manage a user's ability to access and use the deployment window. The states available depend on the deployment window's current state. For example, if the current state is Draft, you can change the state to Pending; if the current state is Pending, you can change the state to Draft or Released.
For more information, see Using-status-of-objects.
To change the status of a deployment window series
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, locate the appropriate deployment window series and its corresponding status.
- In the Actions column for the series, click the desired status.
Suspending and resuming a deployment window event
You can suspend and resume a deployment window series from the metadata or from the calendar report. The following options are available:
- Move
- Suspend/Resume
- Edit Series
Choosing the Suspend/Resume option allows you to suspend or resume a deployment window event for a single environment.
Users can see deployment windows on the calendar based on their user roles and environment access permissions.
To suspend or resume a deployment window event from the metadata
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, select the appropriate deployment window series.
- Depending on the deployment window series type, complete the following actions:
- For a one-time deployment window series, from the Environments column, click the environment that you want to suspend or resume.
- For a recurring deployment windows series:
- Click Occurrences for the appropriate deployment window series.
- From the Occurrences list, locate the appropriate deployment window series event.
- From the Environments column, click the environment that you want to suspend or resume.
- Click Edit.
- From the Edit Deployment Window dialog box, click Suspend/Resume.
The Suspend (or Resume) Deployment Window dialog box opens. - In the Reason text box, enter the reason to suspend or resume the deployment window event.
- Click Suspend or Resume.
To suspend or resume a deployment window event from the calendar report
- From Reports > Calendars, click Deployment Windows Calendar on the far right.
On the Deployment Windows Calendar Report, locate the appropriate environment and then click the deployment window event that you want to suspend or resume for that environment.
- Click Edit.
- From the Edit Deployment Window dialog box, click Suspend/Resume.
The Suspend (or Resume) Deployment Window dialog box opens. - In the Reason text box, enter the reason to suspend or resume the deployment window event.
- Click Suspend or Resume.
Rescheduling a deployment window series event
You can reschedule a deployment window series event from the metadata or from the calendar report. The following options are available:
- Move
- Suspend/Resume
- Edit Series
Choosing the Move option allows you to move a deployment window event for a single environment.
Users can see deployment windows on the calendar based on their user roles and environment access permissions.
To move a deployment window event from metadata
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, locate the appropriate deployment window series.
- Depending on the deployment window series type, complete the following actions:
- For a one-time deployment window series, from the Environments column, click the environment that you want to move.
- For a recurring deployment windows series:
- Click Occurrences for the appropriate deployment window series.
- From the Occurrences list, locate the appropriate deployment window series event.
- From the Environments column, click the environment that you want to move.
- Click Edit.
- From the Edit Deployment Window dialog box, click Move.
- In the Move Deployment Window dialog box:
Specify a new Start At and Finish At time.
- In the Reason text box, enter the reason to move the deployment window event.
- Click Move to save your changes.
To move a deployment window event from the calendar report
- Go to Plans > Calendars > Deployment Windows Calendar
On the Deployment Windows Calendar, locate the appropriate environment and then click the deployment window event that you want to move.
- Click Edit.
- From the Edit Deployment Window dialog box, click Move.
- In the Move Deployment Window dialog box:
- Enter new date and time for Start At and Finish At.
- In the Reason text box, enter the reason to move the deployment window event.
- Click Move to save your changes.
Creating a request for the allow deployment window
For allow deployment windows, you can create a request from a request template and schedule the request for the appropriate deployment window event.
To create a request for the allow deployment window from metadata
- Go to Environments > Metadata > Manage Deployment Windows.
- In the Deployment Window Series list, locate the appropriate deployment window.
- Depending on the deployment window series type, complete the following actions:
- For a one-time deployment window series:
- In the Environments column, click the environment for which you want to schedule a request.
- Click Schedule request.
- For recurring deployment windows series:
- Click Occurrences for the appropriate deployment window series.
- In the Occurrences list, locate the appropriate deployment window series event.
- In the Environments column, click the environment for which you want to schedule a request.
- Click Schedule request.
- For a one-time deployment window series:
- In the Schedule Request dialog box, specify the following parameters for the request:
- In the Name box enter the name for the request.
- In the Plan list, select the plan for your request.
- In the Stage list, select the plan stage for your request.
- In the Application list, select the application for the request.
- In the Estimate list, select the estimated time for the request.
- In Planned Start, enter the start date and time for the request.
- In the Request template list, select the template for your request.
- To save the request, click Schedule.
To create a request for the allow deployment window from a calendar report
- Go to Reports > Calendars.
- On the right pane, click Deployment Windows Calendar.
- On the Deployment Windows Calendar Report page, perform the following steps:
Locate the appropriate environment.
- Click the corresponding deployment window event for which you want to schedule a request.
- Click Schedule Request.
- In the Schedule Request dialog box, specify the following parameters for the request:
- In the Name box, enter the name for the request.
- In the Plan list, select the plan for your request.
- In the Stage list, select the plan stage for your request.
- In the Application list, select the application for the request.
- In the Estimate list, select the estimated time for the request.
- In Planned Start, enter the start date and time for the request.
- In the Request template list, select the template for your request.
- To save the request, click Schedule .
Viewing requests associated with a deployment window series
You can view a list of active requests that are associated with a deployment window series.
To see a list of requests associated with a deployment window series
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, locate the appropriate deployment window series and click Active Requests on the right.
The list of requests associated with the deployment window series opens.
Related topics