""

Working with Data Services 4.0 repositories

On my previous blog,  Installing Data Services 4.0 in a distributed environment  I mentioned there was an important step to be carried out after installing data services in a distributed environment:  configure the repositories. As promised, I will now walk you through this process. Data Services 4.0 can now be managed using the BI Platform for security and administration. This puts all of the security for Data Services in one place, instead of being fragmented across the various repositories. It means that Data Services repositories are managed through the Central Management Console. With Data Services 4.0 you will be able to set rights on individual repositories just like you would with any other object in the SAP BusinessObjects platform. What is particularly interesting about managing Data Services security using CMC is that you can assign rights to the different Data services repositories.

Data Services Application in CMC
Data Services Application in CMC

Ahora puede iniciar sesión en el Diseñador de servicios de datos o la Consola de administración con su ID de usuario de SAP BusinessObjects en lugar de tener que ingresar las credenciales de la base de datos. Una vez que inicie sesión en Designer, se le presentará una lista simple de repositorios de Servicios de datos para elegir.

I advice anyone who is beginning to experiment with Data Services to use the repositories properly from the start! At first it might seem really tough, but it will prove to be very useful. SAP BusinessObjects Data Services solutions are built over 3 different types of meta-data repositories called central, local and profile repository. In this article I am going to show you how to configure and use the central and the local repository.

The local repositories can be used by the individual ETL developers to store the meta-data pertaining to their ETL codes, the central repository is used to "check in" the individual work and maintain a single version of truth for the configuration items. This “check in” action allows you to have a version history from which you can recover older versions in case you need it.

Now lets see how to configure the local and central repository in order to finish the Data Services’ installation.

So, let’s start with the local repository. First of all, go to Start Menu and start Data Service Repository Manager Tool.

Choose “Local” in the repository type combo box. Then, enter the information to configure the meta-data of the Local Repository.

Configurar el repositorio local
Configurar el repositorio local

For the central repository chose central as repository type and then enter the information to configure the meta-data of the Central Repository. Check the check box “Enable Security”.

Configuring Central repository
Configuring Central repository

After filling in the information, press Get Version in order to know if there is connection with the data base. If there is connection established, press Create.

Once you have created the repositories you have to add them into the Data Service Management Console. To do that log in DS Management Console. You will see the screen below.

Error de DS Management Console
Error de DS Management Console

This error is telling you that you have to register the repositories. The next steps is to click on Administrator to register the repositories.

En el panel izquierdo, haga clic en Lista de gestión articulo. Luego haga clic en Repositorios y verá que no hay repositorios registrados en él. Para registrarlos, haga clic en el Añadir botón para registrar un repositorio en la consola de administración.

Finalmente, escriba la información del repositorio y haga clic Prueba para verificar la conexión. Si la conexión es exitosa, haga clic en aplicar y luego podrá ver la siguiente imagen que contiene los repositorios que ha creado. NO HAGA olvide registrar el repositorio central.

Consola de gestión DS
Consola de gestión DS

Después de eso, el siguiente paso lógico es intentar acceder a los Servicios de datos utilizando uno de los repositorios locales. Una vez dentro del Diseñador, active el repositorio central que ha creado. Los servicios de datos mostrarán un error que le indicará que no tiene suficientes privilegios para activarlo.

Para poder activar el repositorio central, debe asignar la seguridad. Para hacerlo, vaya a la Consola de administración de servicios de datos. En el panel izquierdo, vaya a "Repositorio central" y haga clic en "usuarios y grupos".

Central repository - Users and groups
Central repository - Users and groups

Una vez que esté dentro de Usuarios y Grupos, haga clic en "Agregar" y cree un nuevo grupo. Cuando se crea el grupo, selecciónelo y haga clic en la pestaña "usuarios" que se encuentra a la derecha de la pestaña del grupo (vea la imagen a continuación).

Add and Create new group
Add and Create new group

Ahora puede agregar los nombres de los usuarios que pueden activar y utilizar el repositorio central en la herramienta de diseño. Como puede ver en la imagen a continuación, el único usuario que agregó en el ejemplo es el "Administrador".

Add user names
Add user names

Now the last task is to configure the Job Server to finish the configuration.

As always, go to Start Menu and start Server Manager Tool. Once you start the Server Manager the window below appears.

Herramienta de administrador del servidor
Herramienta de administrador del servidor

Prensa Editor de configuración   Se abrirá una nueva ventana. prensa Añadir   y tendrás un nuevo servidor de trabajo.

Editor de configuración
Editor de configuración

Keep the default port and choose a name or keep the default one for the new Job server. Then press Add to associate the repositories with the job server created.

Once you press “Add” you will be able to add information in the right part of the window “Repository Information”. Add the information of the local repositories that you have created in the previous steps.

At the end you will see two local repositories associated.

Agregar información del repositorio
Agregar información del repositorio

With this step you have already finished the repository configuration and are now able to manage the security from the CMC and  use the regular BO users to log into the designer and add security to the Data Services repositories like you do with every BusinessObjects application.

If you have any questions or other tips, share it with us by leaving a comment below.

EspañolEnglish