hostname

January 10, 2024

ID 179789

This command lets you define the domain name of the SVM and make sure that the IP address and domain name of the SVM are in the file /etc/hosts.

Settings

<hostname> [<IP>]

where:

  • <hostname> – domain name of the SVM.
  • [<IP>] – IP address of the SVM (optional parameter).

Example:

> ssh klconfig@10.16.98.17 hostname testsvm.avp.ru 10.16.98.17

> klconfig@10.16.98.17’s password:

KLCONFIG OK

Specific errors

0120 Invalid hostname characters <characters>. Invalid characters in the SVM name.

0121 Invalid hostname, empty label present. The SVM name contains an empty section.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.