In some cases, the Package Repository could become huge (e.g. using Windows firmware images).
In case the free space is not enough to add more packages, it is necessary to:
- Increase the size of the partition disk where the ThinMan Package Repository relies (default "C:\ProgramData\Praim\ThinMan").
- Add a partition or disk (both physical or virtual) and move the directory to a new location.
DO NOT USE WITH NET SHARED DIRECTORY
Note that this operation is not possible on a network shared disk or network shared directory.
Follow these steps to migrate the Package Repository to a new place.
- Verify no operation involving the repository is in progress. Possible operations could be:
- Loading packages in the repository
- Updating firmware devices
- Capture or Apply for Windows Image
- ThinMan Gateway replication
- Verify that the Device Images Manager Menu is not enabled:
- Access the Local Console with ThinManRoot credentials
- Go to Tools" -> Device Images Manager
- Annotate the Sharing User and Password (click Edit button) in case the user is not "_THINMAN_SHARE_".
IMPORTANT - Unflag the Enable Windows Image Manager and click OK.
- Stop the ThinMan Services)
- Edit the file <AppPath>\Server\conf\condor.properties (e.g. C:\Program Files (x86)\Praim\ThinMan\Server\conf\condor.properties (if needed, run as Administrator the editor software)
- In the file, locate the condor.datadir properties and annotate the current Repository folder, this will be the ORIGINAL folder (NOTE: the string has to be written using "\:" for the normal ":" character and the "\\" for the normal "\" character)
- Create a new folder in the new disk or partition (name it NEW folder) and copy all the content of the ORIGINAL folder into the NEW folder
- Modify the entry condor.datadir properties with the NEW folder string (NOTE: the string has to be written using "\:" for the normal ":" character and the "\\" for the normal "\" character)
- Save the file (to be sure that the file was correctly written, open it again)
- Restart the ThinMan services)
- Run the Local Console and verify that the Package Repository contains all the packages.
- If needed, enable the Device Images Manager. In case you were not using the user "_THINMAN_SHARE_", set the credentials annotated on step 2.
- To verify the success of the operation, use the Windows Computer Management tool:
- Press Windows + R on the keyboard, type Control Panel in the Run window and hit enter;
- Click System and Security -> Administrative Tools;
- Double-click Computer Managerment to open it
Verify under Shared Folders -> Shares there is a new share called tm-repository pointing to the NEW folder.