You can use the command wep <existing_ep_label> set_label -s <new_ep_label> from your TMR server or the managed node of which it is an endpoint, for changing the endpoint label. Here is how (Help):
the endpoint must be renamed to the host machine name before installing the Web Gateway. Use the wep <endpoint_label> set_label <new_label> command. For more information about renaming an endpoint, refer to the Tivoli Management Framework Reference Manual.
When renaming an endpoint, use the wep set_label command with the -s option, as in the following syntax:
wep old_endpoint_label set_label -s new_endpoint_label
This enables the information in the endpoint cache to be updated on the gateway, as soon as the endpoint sends an upcall to the gateway.
Note: Renaming an endpoint does not update the endpoint cache on the corresponding gateway
Stop lcfd service on workstation.
Drill down to directory where endpoint is installed (standard location on Unix is /opt/tivoli/lcf/dat/1)
Find last.cfg file.
Open last.cfg with text editor.
Find the line that says
lcs.machine_name=
and change it to:
lcs.machine_name=hostnameorwhateveryouwant
Now put a new line in last.cfg unless it already exists
lcs.login_interfaces=yourgatewaysIP+9494
In the 1 directory delete the lcf.dat file and restart endpoint service.
wep set_label is much easier but sometimes you can benefit from knowing the alternative.