ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

CLI Packtool - Invalid Model Handle Error


Article ID: 187455


Updated On:


CA Spectrum CA eHealth


 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


Release : 10.4.1

Component : Spectrum Core / SpectroSERVER


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.