Classification: UNCLASSIFIED Caveats: NONE I sent Don a copy of my guide on how to do it, it has several screen shots that made the file about 3MB.
Here is the text of the guide, in case anyone else needs to perform this:
Prep work:
You will have to obtain the current landscape handle.
(Note: This is not needed for the actual changing of the Landscape Handle; this
is to determine if it is needed. Also, you need to keep note of the Landscape
handle in case of failure and you have to restore your database)
There are a few ways to accomplish this:
Method 1:
- Go to the command prompt on your SpectroSERVER
- > bash –login (enters the bash shell)
- > cd SS-Tools
- > lh_set (Within the ERRROR message you will see “SS database
landscape handle is nnnn”)
Method 2:
- On your Spectrum Control Panel you will see a line that says “Please
wait. SpectroSERVER is loading landscape 0x67700000 at precedence 10.”
Note: The output of the Spectrum Control Panel is located at
<$SPECROOT>/SS/VNM.OUT)
- Take the first three characters of the hex string (7d0) convert to
decimal (2000) then multiply by 4 (8000) – Landscape Handle = 8000
- Note: Exception. This conversion only works if the hex code is 8
characters long.
If it is 7 characters long the first two characters (example: 0xfa00000)
Hex (fa) = decimal (250) = landscape handle (1000)
If it is 6 characters long the first character (example: 0x500000)
Hex (5) = decimal (5) = landscape handle (20)
Method 3:
- In your OneClick Client go to the Universe VNM and in the Component
Detail’s CA Spectrum Modeling Information subview you will see the Landscape.
Backup your Database first!! (Due diligence in case of failure)
In your Spectrum Control Panel -- Save Database
Changing the Landscape Handle
If a SpectroSERVER has been previously started, the process for changing the
landscape handle of the SpectroSERVER database involves changing the landscape
handle of all those models that were created automatically at startup, and
updating the landscape handle specified in several resource files. The
landscape handle is included in the model handle of each model in the
SpectroSERVER database. Changing the landscape handle requires converting all
model handles from the old landscape handle to the new landscape handle.
1. Use the Modeling Gateway tool to export the models from the
SpectroSERVER whose landscape handle you want to change.
a. go to your Command Prompt
b. > bash –login
c. > cd SS
d. Type “../SS-Tools/modelinggateway.bat -vnm vnm_name -e export_file”
Example:
> ../SS-Tools/modelinggateway.bat –vnm spectro922h09 –e exporteddata20130611
Note: The vnm_name is the hostname of your SpectroSERVER.
Note: The system will automatically place the .xml file extension.
2. Shut down the SpectroSERVER.
In your Spectrum Control Panel --> Stop SpectroSERVER. Wait till it says
INACTIVE on the bottom.
3. Initialize the database with the SSdbload utility.
In your bash shell: (ensure that you are in <$SPECROOT>/SS)
> ../SS-Tools/SSdbsave.exe –c db20130611c
(Note: This will save the Model catalog which is going to be needed to reload
the database after you initialize the database.)
> ../SS-Tools/SSdbload.exe –ic db20130611c
(Note: This will initialize the database and load the Model Catalog)
You will get a Warning Message and then you will be asked “Do you really want
to initialize the database (Y or N):” Type Y
4. Use the lh_set utility to assign the new landscape handle.
> ../SS-Tools/lh_set xxxx (xxxx = your new landscape handle; you will use the
> decimal value, not the hex value)
(Note: If you will receive an error “Unable to set the DDM …”)
> cd DDM
> ./ddm_load.exe –i xxxx (xxxx = your new landscape handle; you will use the
> decimal value, not the hex value)
> cd ..
(End Note)
5. Start the SpectroSERVER.
6. Use the Modeling Gateway tool to import the models into the SpectroSERVER.
(Note: validate that your Present Working Directory (PWD) = <$SPECROOT>/SS)
Type: ../SS-Tools/modelinggateway.bat -vnm vnm_name -i export_file”
Example:
> modelinggateway.bat –vnm spectro922h09 –i exporteddata20130611.xml Note: You
> will need to put the .xml file extension on the filename.
7. Restart OneClick.
Note: If the data does not appear to be correctly populating
Shutdown SpectroSERVER
Reboot Spectrum server
8. If on the OneClick you still see the old landscape in the Navigation Pane:
Go to the Spectrum OneClick Administration Webpage
On the left side click on “Landscapes”
Check on the old Landscape handle
Click remove
-----Original Message-----
From: CHAMBERS, Donald K (Keith) CIV (US)
[mailto:[email protected]]
Sent: Thursday, June 20, 2013 10:43 AM
To: spectrum
Subject: [spectrum] LANDSCAPE HANDLE CHANGE (UNCLASSIFIED)
Classification: UNCLASSIFIED
Caveats: NONE
Has anyone changed their landscape handle in Spectrum? I’ve been directed to
change ours and wanted to see if there was an easy way to do it, making sure I
don’t lose any of my models, collections and data.
Thank you,
Keith Chambers
Classification: UNCLASSIFIED
Caveats: NONE
Classification: UNCLASSIFIED
Caveats: NONE
smime.p7s
Description: S/MIME cryptographic signature
