service

Manage the following services on the appliance:

>network - Network service (needed for etnetserver, ssh, and scp)

>etnetserver - HSM service required for client connections

>audittrace - HSM service required for audit logging (this service can only be affected by the audit user)

>iptables - Firewall service

>snmp - SNMP agent service

>ssh - Secure shell service (needed for ssh and scp)

>syslog - Syslog service

User access

admin, pseoperator

Syntax

service {list | restart <service> | start <service> | status <service> | stop <service>}

Argument(s)

Shortcut

Description

list

l

List the services you can manage on the appliance.

restart <service>

r

Restart the specified service. Services require restarting if their configurations have changed. For example, after changing any network settings using the network commands, you should restart the network service to ensure the new settings take effect.

Restarting a service isn't always the same as stopping and then starting a service. If you restart the network service while connected to the appliance via the network (ssh), you will not lose your connection (assuming no changes were made that would cause a connection loss). However, if you were to stop the network service, you would immediately lose your connection, and you would need to log in via the local console to start the service again.

Valid values: network, etnetserver, iptables, snmp, ssh, syslog

start <service>

star

Start the specified service.

Valid values: network, etnetserver, iptables, snmp, ssh, syslog

status <service>

stat

Display the status (stopped, running) of the specified service.

Valid values: network, etnetserver, iptables, snmp, ssh, syslog

stop <service>

sto

Stop the specified service..

Valid values: network, etnetserver, iptables, snmp, ssh, syslog

Example

psesh:>service list
 
   The following are valid PSe service names:
      network      - Network service (Needed for etnetserver, ssh and scp)
      etnetserver  - HSM service required for client connections
      audittrace   - HSM service required for audit logs
      iptables     - Firewall Service
      snmp         - SNMP agent service
      ssh          - Secure shell service (Needed for ssh and scp)
      syslog       - Syslog service
 
Command Result : 0 (Success)
 
 
 
psesh:>service stop syslog
 
Shutting down system logger:                               [  OK  ]
 
Command Result : 0 (Success)
 
 
 
psesh:>service restart syslog
 
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
 
Command Result : 0 (Success)
 
 
 
psesh:>service status ssh
 
   ssh is running
 
Command Result : 0 (Success)
 
 
 
psesh:>service start syslog
 
Starting system logger:                             [  OK  ]
Starting kernel logger:                             [  OK  ]
 
Command Result : 0 (Success)
 
 
 
psesh:>service restart network
 
Shutting down interface eth0:                       [  OK  ]
Shutting down interface eth1:                       [  OK  ]
Shutting down loopback interface:                   [  OK  ]
Bringing up loopback interface:                     [  OK  ]
Bringing up interface eth0:                         [  OK  ]
Bringing up interface eth1:                         [  OK  ]
Determining IP information for eth0... done.        [  OK  ]
Determining IP information for eth1... done.        [  OK  ]
 
Command Result : 0 (Success)