User Guide for Batch Handler
Ericsson Dynamic Activation 1

Contents

1Introduction
1.1Purpose and Scope
1.2Target Group
1.3Typographic Conventions
1.4Prerequisites

2

General
2.1Get Started
2.1.1Batch File
2.1.2Scheme File
2.1.3Create Batch Job
2.2Batch Job Management
2.2.1New Batch Jobs
2.2.2Scheduled Batch Jobs
2.2.3Running Batch Jobs
2.2.4Paused Batch Jobs
2.2.5Finished Batch Jobs
2.2.6Batch Job Operations
2.3Batch File Management
2.3.1Upload Batch File
2.3.2Filter Batch Files

3

Appendix A - Batch Handler GUI Operations in Log Management

Reference List

1   Introduction

This document is a guide of Batch Handler in Ericsson™ Dynamic Activation (EDA).

1.1   Purpose and Scope

The purpose of this document is to provide help information on how to perform configuration tasks using the Batch Handler.

This document covers all actions available in the Batch Handler.

1.2   Target Group

The target group for this document is users of the Batch Handler.

For more information about different target groups, see Library Overview, Reference [1].

1.3   Typographic Conventions

Typographic conventions are described in Library Overview, Reference [1].

1.4   Prerequisites

To perform the configuration tasks, the user must have a general understanding of Batch Handler.

For more information, refer to the following document:

2   General

This section provides basic information about the Batch Handler GUI.

Note:  
  • Do not use the Back and Forward buttons in the web browser, as this causes an error.
  • The supported web browsers are Chrome 58 and Firefox 52 or later versions.

2.1   Get Started

The Batch Handler GUI shown as Figure 1 after first access.

Figure 1   Batch Handler GUI

The following is a typical workflow of batch handler:

Preparation:

  1. Generate a batch file. For detailed instruction, see Section 2.1.1
  2. (Optional) Generate a scheme file. For detailed instruction, see Section 2.1.2.

GUI Operations:

  1. Access the Batch Handler GUI by logging through https://<VIP-OAM-IP>:8383. For more details of Dynamic Activation GUI, refer to User Guide for Resource Activation, Reference [5].
  2. Click to upload the batch file through Batch File Management GUI. For detailed instruction, see Section 2.3.
  3. Go back to Batch Handler GUI. Click or to create a batch job with created batch file and scheme file (optional). For detailed instruction, see Section 2.1.3.
  4. The newly created batch job is listed in New Batch Jobs widget. Click to run the batch job immediately or schedule an execution time for the batch job. For detailed instruction, see Section 2.2.1.

    Batch Handler executes the batch jobs and sends the provisioning requests towards Network Elements. The provisioning logs can be found in the Log Management, refer to User Guide for Resource Activation, Reference [5].

  5. The running batch job moves to Running Batch Jobs widget. Manage and monitor the batch job according to the instruction described in Section 2.2.3.
  6. The finished batch job moves to Finished Batch Jobs widget. Click to remove the finished batch job, see Section 2.2.5.
  7. Click to go to Batch File Management GUI. Delete the batch file according to the instruction in Section 2.3.

2.1.1   Batch File

The Batch file contains the provisioning requests that are going to be used for a batch job. The supported types are CAI3G and CAI.

A batch file can either be composed by the constant values of parameters or variable values of parameters.

The format of the variable value is: ${ParameterInSchemeFile}

${ParameterInSchemeFile} is generated according to the parameters within a value range or listed in scheme file. For more information about scheme file, see Section 2.1.2.

A single CAI3G or CAI request in batch file can include multiple parameters. The corresponding scheme file must have the same number of items in range or list for these parameters.

2.1.1.1   CAI3G Batch File

This section describes the syntax and example of the CAI3G batch file.

2.1.1.1.1   Syntax of CAI3G Batch File

A CAI3G batch file is consisted by a set of CAI3G requests. The file extension is .cai3g.

Each CAI3G request must comply with the CAI3G batch XSD file. The ${ParameterInSchemeFile} of CAI3G can be defined as both MOId and MOAttributes in XSD file. The CAI3G batch XSD file can be found in the downloadable zip file Batch_Handler_XSD_files.zip.

For the description of each parameter, refer to Generic CAI3G Interface 1.2, Reference [2].

Figure 2   Parameters in CAI3G Batch File

2.1.1.1.2   Example of CAI3G Batch File

The following is an example of a CAI3G batch file:

Example 1   CAI3G Batch File

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" 
xmlns:ns="http://schemas.ericsson.com/pg/hlr/13.5/">
   <soapenv:Body>
      <cai3:Create>
         <cai3:MOType>Subscription@http://schemas.ericsson.com/pg/hlr/13.5/</cai3:MOType>
         <cai3:MOId>
            <ns:msisdn>${msisdn}</ns:msisdn>
            <ns:imsi>${imsi}</ns:imsi>
         </cai3:MOId>
         <cai3:MOAttributes>
            <ns:CreateSubscription msisdn="${msisdn}" imsi="${imsi}">
               <ns:msisdn>${msisdn}</ns:msisdn>
               <ns:imsi>${imsi}</ns:imsi>
               <profileId>1</profileId>
               <amsisdn amsisdn="${amsisdn}">
                  <amsisdn>${amsisdn}</amsisdn>
                  <bc>0</bc>
               </amsisdn>
            </ns:CreateSubscription>
         </cai3:MOAttributes>
      </cai3:Create>
   </soapenv:Body>
</soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" 
xmlns:ns="http://schemas.ericsson.com/pg/hlr/13.5/">
   <soapenv:Body>
      <cai3:Delete>
         <cai3:MOType>Subscription@http://schemas.ericsson.com/pg/hlr/13.5/</cai3:MOType>
         <cai3:MOId>
            <ns:msisdn>${msisdn}</ns:msisdn>
         </cai3:MOId>
      </cai3:Delete>
   </soapenv:Body>
</soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" 
xmlns:ns="http://schemas.ericsson.com/pg/hlr/13.5/">
   <soapenv:Body>
      <cai3:Create>
         <cai3:MOType>Subscription@http://schemas.ericsson.com/pg/hlr/13.5/</cai3:MOType>
         <cai3:MOId>
            <ns:msisdn>60000001</ns:msisdn>
            <ns:imsi>61000001</ns:imsi>
         </cai3:MOId>
         <cai3:MOAttributes>
            <ns:CreateSubscription msisdn="60000001" imsi="61000001">
               <ns:msisdn>60000001</ns:msisdn>
               <ns:imsi>61000001</ns:imsi>
            </ns:CreateSubscription>
         </cai3:MOAttributes>
      </cai3:Create>
   </soapenv:Body>
</soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" 
xmlns:ns="http://schemas.ericsson.com/pg/hlr/13.5/">
   <soapenv:Body>
      <cai3:Delete>
         <cai3:MOType>Subscription@http://schemas.ericsson.com/pg/hlr/13.5/</cai3:MOType>
         <cai3:MOId>
            <ns:msisdn>60000001</ns:msisdn>
         </cai3:MOId>
      </cai3:Delete>
   </soapenv:Body>
</soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" 
xmlns:ns="http://schemas.ericsson.com/pg/hlr/13.5/">
   <soapenv:Body>
      <cai3:Create>
         <cai3:MOType>Subscription@http://schemas.ericsson.com/pg/hlr/13.5/</cai3:MOType>
         <cai3:MOId>
            <ns:msisdn>${msisdn1}</ns:msisdn>
            <ns:imsi>${imsi1}</ns:imsi>
         </cai3:MOId>
         <cai3:MOAttributes>
            <ns:CreateSubscription msisdn="${msisdn1}" imsi="${imsi1}">
               <ns:msisdn>${msisdn1}</ns:msisdn>
               <ns:imsi>${imsi1}</ns:imsi>
            </ns:CreateSubscription>
         </cai3:MOAttributes>
      </cai3:Create>
   </soapenv:Body>
</soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" 
xmlns:ns="http://schemas.ericsson.com/pg/hlr/13.5/">
   <soapenv:Body>
      <cai3:Delete>
         <cai3:MOType>Subscription@http://schemas.ericsson.com/pg/hlr/13.5/</cai3:MOType>
         <cai3:MOId>
            <ns:msisdn>${msisdn1}</ns:msisdn>
         </cai3:MOId>
      </cai3:Delete>
   </soapenv:Body>
</soapenv:Envelope>

The above example includes six CAI3G requests.

2.1.1.2   CAI Batch File

This section describes the syntax and example of a CAI batch file.

2.1.1.2.1   Syntax of CAI Batch File

A CAI Batch file is consisted by a set of CAI requests. The file extension is .cai.

The CAI batch file must follow the following rules:

2.1.1.2.2   Example of CAI Batch File

The following is an example of a CAI batch file:

Example 2   CAI Batch File

CREATE:HLRSUB:MSISDN,${MSISDN}:IMSI,${IMSI};
DELETE:HLRSUB:MSISDN,${MSISDN};
CREATE:HLRSUB:MSISDN,17000000:IMSI,17000000;
DELETE:HLRSUB:MSISDN,17000000;
CREATE:HLRSUB:MSISDN,17000001:IMSI,17000001;
DELETE:HLRSUB:MSISDN,17000001;
CREATE:HLRSUB:MSISDN,17000002:IMSI,17000002;
DELETE:HLRSUB:MSISDN,17000002;
CREATE:HLRSUB:MSISDN,17000003:IMSI,17000003;
DELETE:HLRSUB:MSISDN,17000003;

2.1.2   Scheme File

The Scheme file contains :

2.1.2.1   Syntax of Scheme File

The scheme file is a standard .xml file. The batch scheme XSD file can be found in the downloadable zip file Batch_Handler_XSD_files.zip.

The parameters that are used in the batch scheme xsd file are shown in Figure 3.

Figure 3   Parameters in Scheme File

The following table covers the parameters that can be used in a scheme file.

Table 1    Parameters in Scheme File

Elements

Type

Occurrence

Type Occurrence

responseRetry

retryType

Optional

The CSO response definition that trigger the retry action.

 

code

errorCodeType

Mandatory

CSO response code.


For CAI3G:


The code can be any error code that existed in the CAI3G response. The error code for each CAI3G MO can be found in respective CAI3G interface specification.


For CAI:


The code is the error code that existed in the CAI response. The error code for each CAI MO can be found in respective CAI3G interface specification.

 

pauseSeconds

int

Mandatory

The time interval (in seconds) to wait before sending the CSO again.

 

times

int

Mandatory

The number of times to retry the request.

quit

errorCode

Optional

The CSO response definition that triggers the cancel action.

 

code

errorCodeType

Mandatory

CSO response code.


For CAI3G:


The code can be any error code that existed in the CAI3G response. The error code for each CAI3G MO can be found in respective CAI3G interface specification.


For CAI:


The code is the error code that existed in the CAI response. The error code for each CAI MO can be found in respective CAI3G interface specification.

parameters

parametersType

Optional

Set the variable value of the parameters defined in batch file.

 

range

rangeType

Optional

Set a value range for the parameters.

   

name

String

Mandatory

The name of the parameter defined in the batch file.

   

from

Long

Mandatory

The start value of the parameter.

   

to

Long

Mandatory

The end value of the parameter.

 

list

listType

Optional

Set a list of the parameters.

   

name

String

Mandatory

The name of the parameter defined in the batch file.

   

value

String

Mandatory

The value list of the parameters. Values are separated by comma ",".

2.1.2.1.1   Example of Scheme File

The following is an example of a scheme file:

Example 3   Example of a Scheme File

<scheme>
<responseRetry>
    <code>10001</code>
    <pauseSeconds>2</pauseSeconds>
    <times>2</times>
</responseRetry>
<quit>
    <code>10014</code>
</quit>
<parameters>
    <list name="msisdn">
        <value>90000000,90000003,90000005</value>
    </list>
    <list name="imsi">
        <value>91000000,91000003,91000005</value>
    </list>
    <list name="amsisdn">
        <value>46455381222,46455381224,46455381226</value>
    </list>
    <range name="msisdn1">
        <from>60000002</from>
        <to>60000004</to>
    </range>
    <range name="imsi1">
        <from>61000002</from>
        <to>61000004</to>
    </range>
</parameters>
</scheme>

2.1.3   Create Batch Job

To create a batch job, do the following:

  1. In the Batch Handler GUI, click . This opens the Create Batch Job dialog.

  2. Specify a name and select a batch file from the drop-down list.

    Ensure the batch file to be used for this batch job has already been uploaded. The drop-down list is disabled if there is no available batch file. For details, see Section 2.3.

  3. Select a provisioning client from the drop-down list.

    Ensure the provisioning client who executes the requests in the batch file has been created in Access Control. For more information about Access Control, refer to User Guide for Resource Activation, Reference [5].

  4. (Optional) Click to upload the scheme file. The acceptable file extension is .xml.
    • indicates that the scheme file is valid.
    • indicates that the scheme file is invalid.

    Click can remove the scheme file.

  5. Enable the notification for finished batch job by selecting or or both.
    • If select , an SNMP event is sent out once the batch job is finished.
    • If select , an email is sent out once the batch job is finished.

      The following is an example of the notification email for finished batch job.

      E-mail title:
      BatchHandler Notification - Job dec75b23-e426-4a5c-bc2b-4dca26ca2e8c
      E-mail content:
      Job test Finished:
      2 requests successed.
      2 requests failed.
      0 requests not run.

      For how to configure notification email, refer to User Guide for Resource Activation, Reference [5].

    • If select both check box, an SNMP event and an email are both sent out once the batch job is finished.
  6. Configure the execution time of the batch Job:
    • Select to run the batch job immediately.
    • Select to schedule an execution time for the batch job.

      Click to select a date and time.

      Note:  
      If the schedule time is in the past, batch job runs immediately.

    • If not specified, the created batch job is listed in the New Batch Jobs widget and user can determine the execution time by this batch job.
  7. Specify the number of sessions per batch job if the execution time is configured.

    The allocated sessions cannot exceed the available sessions if run batch job immediately. To check the available sessions, see Area 4 in section Section 2.2.

  8. Click to create the batch job.
  9. The created batch job could show in New Batch Jobs widget, Running Batch Jobs widget or Scheduled Batch Jobs widget regarding to the execution time.

2.2   Batch Job Management

The Batch Handler GUI shown in Figure 4 is used for managing and monitoring the batch jobs.

Figure 4   Batch Handler GUI

2.2.1   New Batch Jobs

Figure 5   New Batch Jobs Widget

In New Batch Jobs widget, user can:

2.2.2   Scheduled Batch Jobs

Figure 6   Scheduled Batch Jobs Widget

In Scheduled Batch Jobs widget, user can:

Note:  
When a scheduled batch job is ready to run, but the available sessions are less than the sessions assigned for this batch job, the scheduled execution time automatically postpone every five minutes until the system has available sessions.

2.2.3   Running Batch Jobs

Figure 7   Running Batch Jobs Widget

In Running Batch Jobs widget (includes running batch jobs and preparing batch jobs), user can:

2.2.4   Paused Batch Jobs

Figure 8   Paused Batch Jobs Widget

In Paused Batch Jobs widget, user can:

2.2.5   Finished Batch Jobs

Figure 9   Finished Batch Jobs Widget

In Finished Batch Jobs widget (includes finished batch jobs, failed batch jobs, cancelling/cancelled batch jobs, and deleting batch jobs), user can:

2.2.6   Batch Job Operations

2.2.6.1   Batch Job Information

Table 2    Batch Job Parameters

Parameter

Description

Shown in

Batch Job ID

The unique identity of the batch job.

All batch job widget

Added

The create time of the batch job.

All batch job widget

Provisioning Client

The provisioning user who executed the requests in the batch file.

All batch job widget

User

The user who created the batch job.

All batch job widget

Batch File Name

The readable name of the batch file.

All batch job widget

Scheduled for

The scheduled execution time of the batch job.

Scheduled batch job widget

Started

The time that batch job start to run at.

Running batch job widgets, Paused batch job widgets, Finished batch job widget

Ended

The time that batch job finished at.

Finished batch job widget

Duration time

The execution duration of the batch job.

Finished batch job widget

{Number} requests successful

The number of the succeeded requests

Finished batch job widget

{Number} requests failed

The number of the failed requests.

Finished batch job widget

{Number} requests not run

The number of the requests that have not been executed.

Finished batch job widget

2.2.6.2   Edit Batch Job

To edit a batch job, do the following:

  1. In the Batch Handler GUI, hover the mouse over a batch job and then click , a slide-in panel is displayed on the right side.

  2. Edit the name, batch file, provisioning client as desired.
  3. Reupload the scheme file if needed. The acceptable file extension is .xml.
  4. Edit the notification for finished Job as desired.
  5. Click to apply the changes.

2.2.6.3   Run or Re-schedule Batch Job

To run a batch job, do (Re-schedule has a similar operation):

  1. Select one or more batch jobs in New Batch Jobs widget, and then click . This opens the Run Batch Jobs dialog.

  2. Select the batch jobs to be run from the batch jobs list by ticking the check box.
  3. Specify the number of sessions per batch job.
    Note:  
    If run batch jobs immediately, the allocated session cannot exceed the available session. To check the available sessions. see area 4 in section Section 2.2.

  4. Configure the execution time of the batch jobs:
    • Switch to to run the batch jobs immediately.
    • Switch to to schedule an execution time for the batch jobs. Click to select a data and time.
    Note:  
    If the execution time is in the past, batch job runs immediately.

  5. Click to run the batch jobs.

2.2.6.4   Configure Batch Jobs Auto Delete

  1. Click or , this opens the Auto-delete dialog.

  2. Switch to to enable the Auto-delete function.

    Switch to to disabled the Auto-delete function.

  3. Click to apply the change.

2.2.6.5   Filter

  1. Click , a slide-in panel is displayed on the left side.

  2. Filter the batch jobs that match the desired condition. The filter panel can be collapsed by or click .
    • Batch Job Name – Specify the name of the batch job in this field.
    • User – Specify the user who created the batch job.
    • Batch File Name – Specify the name of the batch file in this field.
    • Date – Specify a duration to filter the batch jobs.

      The following date of the batch jobs between Date duration is filtered.

      The added date in New Batch jobs.

      The scheduled date in Scheduled batch jobs

      The started date in Running batch jobs

      The started date in Paused batch jobs

      The ended date in Finished batch jobs

  3. Click to apply the filter. The results are displayed in each batch jobs widget.

2.2.6.6   View Scheme File

  1. Click , this opens the Scheme File window.

  2. Click to close the window.

2.3   Batch File Management

The Batch File Management GUI shown in Figure 4 is used for uploading, browsing, and deleting the batch files.

Figure 10   Batch File Management

In Area 1, user can:

Area 2 lists all the batch files, user can:

The following table describes the parameters used for Batch File Management.

Table 3    Batch File Parameters

Parameters

Description

Name

Batch file name.


Only allows characters A-Z, a-z, 0–9, '_' and '-'. Length should between 1 to 100.

Uploaded

Uploaded time of batch file.


Time format is YYYY-MM-DD HH:mm:ss

User

The user who uploaded the batch file.

Type

Protocol type.


Available operation types are CAI and CAI3G.

Status

Batch File status.


Available statuses are:


  • Analyzing...: System is analyzing the batch file. The file is unable to delete or use by batch jobs.

  • Available: The batch file is available.

  • Invalid: The Batch file is invalid. This file is need to be deleted.

  • Currently in use: Batch file is already used by a batch job. The file is unable to delete or use by other batch jobs. To find the batch job that using batch file, see Section 2.2.6.5.

  • Deleting...: System is deleting the Batch file.

2.3.1   Upload Batch File

  1. Click . This opens the Upload Batch File dialog.

  2. Specify the name of the batch file. The name must be unique.
  3. Specify the type of the batch file.
    Note:  
    The maximum file size of a batch file is 5 GB.

  4. Click to upload the batch file.

    The acceptable file extension is .cai3g or .cai.

  5. Click to upload the file. User can click during the uploading.

Attention!

For native deployment, ensure the free disk in root partition of the SC nodes is at least 500 MB larger than the size of the upload file.

For virtual and cloud deployment, ensure the free disk in root partition of all nodes is at least 500 MB larger than the size of the upload file.

2.3.2   Filter Batch Files

  1. Click , a slide-in panel is displayed on the right side.

  2. Filter the batch file that matches the desired condition. The filter panel can be collapsed by or click .
  3. Fill the fields as desired, see Table 3 for detailed description.
  4. Click to apply the Filter.

3   Appendix A - Batch Handler GUI Operations in Log Management

Batch Handler GUI operations are logged in processing log, and can be viewed in the Log Management GUI. The Instance and Protocol of batch handler GUI logs are batchJobId and REST respectively.

The following table describes the batch handler GUI operations that record in the processing log and the MOType of the GUI operations.

Table 4    Batch Handler Operations and MO type

Operate

Managed Object

Create Batch Job

CreateJob

Update Batch Job

UpdateJob

Run Batch Jobs

RunJobs

Reschedule Batch Jobs

RescheduleJobs

Remove Batch Jobs

RemoveJobs

Pause Batch Jobs

PauseJobs

Resume Batch Jobs

ResumeJobs

Cancel Batch Jobs

CancelJobs

Change Scheme File for Batch Job

UpdateScheme

Remove Scheme File for Batch Job

DeleteScheme

Upload Batch File

UploadBatchFile

Remove Batch Files

RemoveBatchFiles

Change the Auto delete configuration

setConfiguration

Export failed request

ExportFailedRequest

For more information, refer to User Guide for Resource Activation, Reference [5].


Reference List

Ericsson Documents
[1] Library Overview, 18/1553-CSH 109 628 Uen
[2] Generic CAI3G Interface 1.2, 2/155 19-FAY 302 0003 Uen
[3] Function Specification Dynamic Activation Execution Environment, 6/155 17-CSH 109 628 Uen
[4] Provisioning over CAI3G for Resource Configuration, 32/155 19-CSH 109 628 Uen
[5] User Guide for Resource Activation, 1/1553-CSH 109 628 Uen
[6] Customer Adaptation Guide for Resource Configuration, 14/1553-CSH 109 628 Uen
[7] System Administrators Guide for Native Deployment, 1/1543-CSH 109 628 Uen
[8] System Administrators Guide for Virtual and Cloud Deployment, 3/1543-CSH 109 628 Uen


Copyright

© Ericsson AB 2017. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    User Guide for Batch Handler         Ericsson Dynamic Activation 1