Skip to content
Autana Business Partners

Extraction of local databases through console (srvrmgr)

Published on 2 min read

We present below the simple steps to extract a new local database. It is very useful to have a procedure like the one followed in Siebel projects, so that the extraction of a new database for a new developer who joins the team is greatly accelerated:

1. We log in to the Siebel console:

  • $SIEBELDIR\bin> srvrmgr /e "enterprise_server_name" /g "gateway_server_name" /s "siebel_server_name" /u SADMIN /p "password". Where siebel_server_name is the Siebel server where we have installed the Siebel Remote component group
  • We have a prompt similar to this: srvrmgr:server01>

2. Run the generation of a new database: run in the siebel console the following "start task for comp GenNewDB with DBFFile=sse_utf8.dbf "

3. We will register the user in the application as an employee as follows:

  • Site Map -> Administration-Users -> Employees.
  • Create it as "Employee Type = Employee"
http://www.autanacrm.com/images/easyblog_images/68/empleados.jpg

4. Once the employee type user has been created, we must register the employee as a mobile client in the application as follows:

  • >Site Map -> Administracion-Siebel Remote -> Mobile Clients:
  • Mobile Client: Name of the mobile client, will be used in the extraction of the local database as the main ID of the client, it does not have to match the Client ID.
http://www.autanacrm.com/images/easyblog_images/68/empleados2.jpg

5. Register the user in the database (With SYSTEM or with one that has privileges) as follows:

  • CREATE USER PRUEBA1 IDENTFIED BY PRUEBA1;
  • GRANT SSE_ROLE TO PRUEBA1;

6. Extract the local database, we will write in the siebel console:

  • "start task for comp DBXtract with Client=PRUEBA1, EncryptLocalDbPwd=FALSE, EncryptLocalDbMethod=None

The extraction of the database will be on the server in the path: "$SIEBELDIR\docking\PRUEBA1\*" we will find the folders (Inbox and Outbox) and the file *.dbf

Now we log in with Tools a local (User PRUEBA1 pwd PRUEBA1, the pwd is indicated in the creation of the user with the sentence in the database IDENTFIED BY PRUEBA1). In the dialog box that appears, it will ask if we want to initialize a local database. We indicate that YES.

Finally, the loading of the local database for the PRUEBA1 user will start.

It will only be necessary to make a "FULL GET" once the database finishes starting.

Finally, do a full-compile or get the most up-to-date SRF from the server.

Updated on

Tags

← Back to the blog

  • Data Management

    Optimization of energy consumption

    Discover how the optimization of energy consumption reduces costs and environmental impact. Learn to analyze data, simulate scenarios, and implement energy-saving strategies.

    Read article

  • Analytics

    Talent retention in the digital age: how analytics can help

    Learn how talent retention in the digital age benefits from analytics. Discover how data helps reduce turnover and retain your top employees.

    Read article

  • Success Stories

    Proyect Sourcing Optimization

    In the digital age, Project Sourcing Optimization has become essential for companies aiming to enhance their purchasing processes. By integrating data-driven decision-making and…

    Read article