Moving the Operating System Installation Management (OSIM) image store location.

Document ID : KB000024387
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

The space on the C Drive is almost full. Is there a way to move the Operating System Installation Management (OSIM) images to a different drive?

 

 

Environment:  

 

All versions of CA Client Automation

 

Instructions:   

Follow the procedure below to change the OSIM image store location.

  1. Make sure that the Boot server is configured for TFTP Access

    • This can be checked by issuing the 'sdbsswitch' command

      Figure 1

    • run sdbsswitch -L, if the Boot server is configured for share access then change this to TFTP using the command 'sdbsswitch -t'

      Figure 2

  2. Stop caf

    • Issue the command 'caf stop'

  3. Move the OSIM image Store

    • The ManagedPC directory is the starting directory of the OS image store.

    • The default location is "%Program Files%\CA\DSM\Server\SDBS\var\managedpc'. 

      Figure 3

    • The Complete ManagedPC directory must be moved to the new location

      Figure 4

  4. Update the Comstore with new path of the OSIM Image Store

    • This requires one of 2 commands

      Ccnfcmda -cmd setparametervalue -ps/itrm/scalability_server/osim/ManagedPC -pn InstallPath -v <newPath>
      or
      Ccnfcmda -cmd setparametervalue -ps/itrm/scalabilityserver/osim/ManagedPC -pn InstallPath -v <newPath>

    • Only one of these commands needs to be run dependent on the version of ITCM installed. To determine which command is required run the following 2 Commands:

      ccnfcmda -cmd getparametervalue -ps /itrm/scalability_server/osim/ManagedPC -pn InstallPath
      and
      ccnfcmda -cmd getparametervalue -ps /itrm/scalabilityserver/osim/ManagedPC -pn InstallPath

      One of the commands will return the current value in the comstore and the other will return getparametervalue: CCNF_PARAMSECTION_NOT_FOUND

      Figure 5

      The above command that returns the current value contains the correct value for -ps on that server.

      If ManagedPC is moved for example to E:\osim\ManagedPC\ the value for <NewPath> should be set to E:\osim\
      In this example the command should be: ccnfcmda -cmd setparametervalue -ps/itrm/scalability_server/osim/ManagedPC -pn InstallPath -v "E:\OSIM\"
  5. Start caf

    • Issue the command 'caf start'

  6. Reconfigure the boot server for share access if this was the original configuration using the command 'sdbsswitch -s'.

    Figure 6

 

 

****Important****
When entering the value for <NewPath> in step 4 be sure to include the backslash (\) at the end of the path. Failure to do so will cause the createosimage command to fail with the following problems:

Problem 1
Failure when attempting to create a new OS Image either through command line or Wizard (Wizard in r12 only)

Figure 7

Problem 2
Createosimage -x does not return any results and in r12 the Local OS Images windows in the Image prepare system is empty

Problem 3
ERROR: The OS-Image is not valid!
when running createosimage -d <image_name> to delete an osimage.