Instant Clone VMs Linked to an Old Parent Template
search cancel

Instant Clone VMs Linked to an Old Parent Template

book

Article ID: 290806

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

After creating a new Template Image in the web console, the Instant Clone VMs show up linked to an old previously created Parent Template

Environment

App Control Server: 8.7+
App Control Agent: 8.7+

Cause

The Golden Image VM has previously been converted to a Template Computer using the legacy steps.
This enables a flag in the DB that keeps linking any new clones to the old Parent Template

Resolution

These steps are required only once and will not be needed for any future Golden Image template modifications
  1. Open the console > go to Computers > Assets > find the Golden Image VM > open the details page
    • Take note of the "Host Id" found at the end of the URL in the browser address bar
  2. Open SQL Mgmt Studio and run the following query to unlink the VM from the previous Parent Template with this query:
    use das; update dbo.hostmain set template_host_id = 0 where host_id = '1234'
  3. Agent-side boot up the Golden Image VM and open Command Prompt as Admin then run:
    cd "C:\Program Files (x86)\Bit9\Parity Agent"
    dascli password <Agent Password>
    dascli register newclient
    dascli tamperprotect 0
    
    net stop parity
    net start parity
    • Note: This step will generate a new Host Id for the Golden Image agent
  4. Resync the file inventory > on the computer details page > Other actions: Resynchronize all file information > Go  
    • If the computer was registered as a clone of a parent then it may have limited file inventory due to template settings
    • This will result in incorrect or missing file inventory across all of the cloned VM agents
  5. Wait until Resynchronization has completed and the Computer Details page shows that Synchronization is at 100%
  6. Next, please follow the steps in this KB to create an Instant Clone Template Image