[ST OMU] Problem setting nodes to CONTROLLED after export/import from OMW to OML
After importing nodes from OMW, one cannot change the node type of several nodes to Controlled using the command
#opcnode -chg_nodetype node=<server name> node_type=CONTROLLED”
The "opcnode –chg_nodetype node" command completes without error, but the nodetype is not changed.
On the other hand making changes to the nodetype via the AdminUI completes successfully.
Previously a configuration export/import from OMW to OML had occurred using the following commands.
Exporting nodes using:
Importing Nodes using:
The problem is due to an incompatible character set, when nodes are imported into OML from OMW.
There was a problem with the OMW code during the configuration export process,
which generated the node_char_set to be set to 65 on normal nodes, which means
Japanese EUC in OMU/L (not accepted/supported by Windows nodes)
On OMU/L, Windows nodes (machine_type = 45 or 91) are only allowed to have value 69 (UTF8) set for node_char_set.
To verify the node_char_set for windows nodes you can run the following query to the databse:
#echo "select node_char_set from opc_nodes where machine_type='45' or machine_type='91' and node_char_set !='69';" | opcdbpwd -exe sqlplus -s
The AdminUI is capable of changing the node type successfully since it automatically changes
the node_char_set to the supported value when saving the changes.
Instead of modifying the node with the opcnode CLI, modify the node in the OML AdminUI.
That will automatically set the node character set to an allowed value.
After that it is also possible to use opcnode.
The issue was reported to the OMW support team and they created a fix for it:
The fix was released onto the following OMW patches:
OMW_00169 - OVO Server 08.19.100 Windows
OMW_00170 - OVO Server 09.00.100 Windows
Once installed, new configuration export/import should not present the same issue.
This is documented in the following KCS article:
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you liked it I would appreciate KUDOs.