Lesson 2: Performing tests and migrating the assignments
Available from 9.2.14 This
lesson shows you how to run a test and complete the migration of software assignments for a
computer that is moved to the new BigFix Inventory
server.
Before you begin

The PUT request needs to be made using a dedicated API tool, such as Postman or cURL.
Procedure
-
Use the
Body
of the request that you prepared in Step 6 at the end of Lesson 1. To run a test and simulate the migration, use the following PUT request.https://hostname:port/api/sam/v2/software_instances?token=user_token&simulate=true&verbose=true
-
Check the results of the test.
The following sample shows the example of test results.
{ "details": { "valid_instances": { "Bundled": { "1": "instance_ids: 314" } }, "invalid_instances": {}, "unmodified_instances": { "1": "Bundling 'IBM DB2 Enterprise Server Edition Unlicensed Product Base 10.5' to 'BigFix DB2 Enterprise Server Edition Unlicensed Product Base 10.5' on '9589066'" } }, "summary": { "valid_instances": { "Bundled": 1 }, "invalid_instances": {}, "unmodified_instances": 1 } }
-
If the test is successful, migrate the software assignments with the following
PUT request.
The results of the API request should include a summary of changes that were made. The following example shows the sample of the results:https://hostname:port/api/sam/v2/software_instances?token=user_token
{ "valid_instances": { "Bundled": 1 }, "invalid_instances": {}, "unmodified_instances": 1 }