Table of Contents

Search

  1. Preface
  2. Analyst Service
  3. Content Management Service
  4. Data Integration Service
  5. Data Integration Service Architecture
  6. Data Integration Service Management
  7. Data Integration Service Grid
  8. Data Integration Service Applications
  9. Metadata Manager Service
  10. Model Repository Service
  11. PowerCenter Integration Service
  12. PowerCenter Integration Service Architecture
  13. High Availability for the PowerCenter Integration Service
  14. PowerCenter Repository Service
  15. PowerCenter Repository Management
  16. PowerExchange Listener Service
  17. PowerExchange Logger Service
  18. SAP BW Service
  19. Search Service
  20. System Services
  21. Test Data Manager Service
  22. Web Services Hub
  23. Application Service Upgrade
  24. Application Service Databases
  25. Connecting to Databases from Windows
  26. Connecting to Databases from UNIX
  27. Updating the DynamicSections Parameter of a DB2 Database

How to Configure and Synchronize a Model Repository with a Version Control System

How to Configure and Synchronize a Model Repository with a Version Control System

To enable version control, you configure versioning properties, and then synchronize the Model repository with the version control system.
After you configure versioning and synchronize the Model repository with the version control system, the version control system begins to save version history. If you change the version control system type, host, URL, or directory properties, you can choose to retain or discard version history.
Perform one of the following tasks:
  • To retain version history, manually copy the contents of the version control system directory to the new version control system location, change versioning properties, and then recycle the Model Repository Service.
  • To discard version history, change versioning properties, recycle the Model Repository Service, and then re-synchronize the Model repository with the new version control system type or location.
When you change Model repository properties, you must recycle the Model Repository Service for your changes to take effect. Ask users to save changes and close Model repository objects that they have open for editing. While synchronization is in progress, the Model repository is unavailable.
The following image shows the process of configuring, synchronizing, and re-synchronizing the Model repository with a version control system:
  1. Configure versioning properties and restart the Model repository service.
  2. Synchronize the Model repository contents with the version control system.
  3. Optionally, change the version control system type.
    1. Back up the Model repository contents.
    2. Change the version control system type and restart the Model Repository Service.
    3. Choose whether to retain or discard the version history:
      • To retain version history, copy the contents of the existing version control system directory to the new version control system, and configure the Model repository for the new location.
      • To discard version history, re-synchronize the Model repository to the new version control system.
  4. Optionally, change the version control system host or URL.
    If you use Perforce as the version control system, you can change the Perforce host or port number. If you use Subversion, you can change the URL.
    1. Back up the Model repository contents.
    2. Change the version control system location and restart the Model Repository Service.
    3. Choose whether to retain or discard the version history:
      • To retain version history, copy the contents of the existing version control system directory to the new version control system location, and configure the Model repository for the new location.
      • To discard version history, re-synchronize the Model repository to the new version control system host or URL.
  5. Optionally, change the version control system directory location.
    1. Back up the Model repository contents.
    2. Change the version control system directory and restart the Model Repository Service.
    3. Choose whether to retain or discard the version history:
      • To retain version history, copy the contents of the existing version control system directory to the new directory, and configure the Model repository for the new location.
      • To discard version history, re-synchronize the Model repository to the new version control system directory.
  6. Optionally, change the version control system username or password.
    1. Back up the Model repository contents.
    2. Change the version control system type.
    3. Restart the Model Repository Service.
You can perform these tasks from the command line or from the Administrator tool.