While connected to the internet, run a PowerShell cmdlet or Unix shell script to create a database with up-to-date device information. By default, the device database is installed as a file system-based database, but you can choose to set it up as a HyperSQL database (HSQLDB ) as well.
Procedure
- Ensure that the IP address of the machine on which you wish to set up the device database is on the white list managed by SDL. When in doubt, contact SDL Customer Support for more information.
- On a Windows operating system, open a PowerShell command prompt.
- Navigate to the bin\ subfolder of your Context Service root location.
- Depending on your operating system, open a command line and do one of the following:
- On a Windows operating system, type updateRepository.ps1, but do not yet press Enter.
- On a non-Windows operating system, type updateRepository.sh, but do not yet press Enter.
- If you intend to use an HSQLDB database, add a space and
--client to the command.
- Press Enter.
The command creates a new subfolder called repository\ in the services\ sibling folder.
- Copy the
repository\ folder from the Context Service services\ folder to the services\ folder of the Content Service or, if you have it installed in this Content Delivery environment, the Session-enabled Content Service.
Results
You have the latest version of the device database. You can check back and update the database at any time in the future.