network hostname
Configure a host name for the appliance. You can use this command to specify a fully-qualified domain name (FQDN) for the appliance, in the format <hostname>.<domainname>, if necessary.
NOTE This command replaces the network domain command from Luna 5/6.
The host name must adhere to the following rules:
>Have a maximum length of 64 characters
>Contain only the following characters: a-z, A-Z, 0 -9 , - , , and . (the underscore is not allowed* in Luna Network HSM 7appliance software version 7.9.0 onward; pre-existing hostnames that include underscores will have the underscore removed, but otherwise remain unchanged)
>Not begin or end in a dot (period)
>Not begin or end in a - (dash)
>Not have two dots (periods) immediately following each other
TIP *If the appliance hostname changes due to appliance software update, the DNS entry in the configuration file must be updated as in ServerName in this example:
LunaSA Client = {
ReceiveTimeout = 20000;
SSLConfigFile = /usr/safenet/lunaclient/bin/openssl.cnf;
ClientPrivKeyFile = /usr/safenet/lunaclient/cert/client/10.124.79.4Key.pem;
ClientCertFile = /usr/safenet/lunaclient/cert/client/10.124.79.4.pem;
ServerCAFile = /usr/safenet/lunaclient/cert/server/CAFile.pem;
NetClient = 1;
TCPKeepAlive = 1;
ServerName00 = random.lab.hsm;
ServerPort00 = 1792;
ServerHtl00 = 0;
}
If the network service has been stopped using the service stop network command, all network commands will fail.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
network hostname <hostname>
Argument(s) |
Description |
---|---|
<hostname> |
Specifies the host name for the appliance. You can specify a simple host name, or a fully-qualified domain name (FQDN), in the format <hostname>.<domainname>. |
Example
[local_host] lunash:>network hostname mylunasa Success: Hostname mylunasa set. Command Result : 0 (Success) [mylunasa] lunash:>