search cancel

CLI Packtool - Invalid Model Handle Error

book

Article ID: 187455

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction


 vnmsh]$ ./connect <landscape>

connect: successful <landscape

current landscape is 0x3000000


WARNING:  CLI is a powerful tool that allows a user to make changes

directly to the SPECTRUM knowledge-base without the error checking

provided by OneClick.  Please read the accompanying CLI user

documentation before using the create, destroy, or update commands.


vnmsh]$  /spectrum/vnmsh/seek attr=0x1006e,val=Model

MHandle     MName             MTypeHnd    MTypeName

0x3140dbe   Model            0x10474     GlobalCollection

 vnmsh]$ /spectrum/vnmsh/show associations mh=0x3140dbe

show associations: 0x3140dbe: invalid model handle

Environment

Release : 10.4.1

Component : Spectrum Core / SpectroSERVER

Resolution

This is due to HUGE vs LEGACY landscape handles for the Servers.
HUGE LANDSCAPE support will need to be turned on.

Windows add the following registry keys after packtool has been deployed:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Aprisma Management Technologies\Spectrum60\Environment\HUGE_LANDSCAPE_SUPPORT=1

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Aprisma Management Technologies\Spectrum60\Environment\HUGE_LANDSCAPE_SUPPORT=1


Linux edit the /opt/SPECTRUM/spectrum80.env file.
Add:

HUGE_LANDSCAPE_SUPPORT=1