Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..
116 views

$MSG_NODE_NAME should not retrieve FQDN of host?

Hello Support,

 

I have a Automatic action configured on OMW server to run against the node.  i am retriving the node name using variable $MSG_NODE_NAME and i noticed that for LINUX node name shown is short name where as it is important that it should be FQDN.

 

a application is using opcmsg at the LINUX end. i have a policy deployed on LINUX node to intercept such messages and then run an auto action on <$OPC_MGMTSV>

 

and in the command somewhere i need to pass the node name(FQDN) and i am using <$MSG_NODE_NAME>. command will fail if it does not see the FQDN and that is what happening.

 

from the message i can see that primarynodename is FQDN only. also i can lookup the node with its FQDN.

 

Can someone assist me with this?

 

-KAKA-

0 Likes
2 Replies
Highlighted
New Member.

Re: $MSG_NODE_NAME should not retrieve FQDN of host?

Hi Kaka

 

Are you using OA11.14?

What is the contents of your /etc/hosts?

 

You can set OPC_IP_ADDRESS under [eaagt] name space such that it resolves to FQDN of your agent machine

 

Let me know if you have any more queries

 

Else please share the trace file along with /etc/hosts , oa data collector when issue is observed

 

I will analyze and get back to you

 

Thanks

Sandeep

Highlighted
Account_Closed
Not applicable

Re: $MSG_NODE_NAME should not retrieve FQDN of host?

any idea how opcmsg is called?

if it is called with with opcmsg command's " node=<name> " option and the short name of the host is specified there, it comes up that way? just guessing, as Sandeep suggests, please share the other details.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.