01.10.2015 Views

HP Operations Manager for UNIX Administrator’s Reference

HP Operations Manager for UNIX Administrator's Reference

HP Operations Manager for UNIX Administrator's Reference

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Maintaining <strong>HP</strong>OM<br />

Changing Hostnames and IP Addresses<br />

opc_node_change.pl<br />

Use the tool /opt/OV/bin/OpC/utils/opc_node_change.pl on the <strong>HP</strong><br />

<strong>Operations</strong> management server to change the hostname or IP address of<br />

managed nodes.<br />

Synopsis<br />

opc_node_change.pl [-h[elp]]<br />

-oldname <br />

-oldaddr <br />

-newname <br />

-newaddr [,,...]<br />

[-nnmupdate -netmask <br />

-macaddr [-hook ]<br />

[-nnmtopofix]]<br />

Description<br />

Be<strong>for</strong>e changing the IP address or hostname of one or more managed<br />

nodes in the <strong>HP</strong>OM database, opc_node_change.pl verifies that the<br />

new IP address and hostname can be resolved on the management server<br />

and that they are not already used by other managed nodes. The tool also<br />

verifies that all management server processes including the database<br />

processes are running. On the managed node, opc_node_change.pl<br />

ensures that the new IP address is configured with the <strong>HP</strong>OM agent<br />

software and, if the hostname has changed, that all currently assigned<br />

templates are redistributed. If required, <strong>HP</strong> Network Node <strong>Manager</strong><br />

(NNM) is also updated.<br />

Options<br />

opc_node_change.pl has the following options:<br />

-oldname <br />

Current fully qualified domain name of the managed<br />

node.<br />

-oldaddr <br />

Current IP address of the managed node.<br />

-newname <br />

New fully qualified domain name of the managed node.<br />

412<br />

Chapter 12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!