Oracle® ZFS Storage Appliance 管理指南,发行版 2013.1.5.0

退出打印视图

更新时间: 2016 年 2 月
 
 

使用 CLI 配置服务

CLI 服务部分位于 configuration services 下。使用 show 命令列出所有服务的当前状态:

以下示例来自NTP服务:

[ Oct 11 21:05:31 Enabled. ]
[ Oct 11 21:07:37 Executing start method (...). ]
[ Oct 11 21:13:38 Method "start" exited with status 0. ]

示例中的第一个日志事件表明系统在 21:05 引导。第二个条目记录了服务在 21:07:37 开始启动,且在 21:13:38 完成启动。由于 NTP 的性质和系统时钟调整,此服务可能要花费几分钟的时间才能完成启动,如日志所示。

caji:> configuration services
caji:configuration services> show
Services:
                              ad => disabled
                             smb => disabled
                             dns => online
                      dynrouting => online
                             ftp => disabled
                            http => disabled
                        identity => online
                           idmap => online
                            ipmp => online
                           iscsi => online
                            ldap => disabled
                            ndmp => online
                             nfs => online
                             nis => disabled
                             ntp => disabled
                     replication => online
                            rest => online
                            scrk => disabled
                            sftp => disabled
                          shadow => online
                            smtp => online
                            snmp => disabled
                             srp => disabled
                             ssh => online
                          syslog => disabled
                            tags => online
                            tftp => disabled
                           vscan => disabled
                           

Children:
                              ad => Configure Active Directory
                             smb => Configure SMB
                             dns => Configure DNS
                      dynrouting => Configure Dynamic Routing
                             ftp => Configure FTP
                            http => Configure HTTP
                        identity => Configure System Identity
                           idmap => Configure Identity Mapping
                            ipmp => Configure IPMP
                           iscsi => Configure iSCSI
                            ldap => Configure LDAP
                            ndmp => Configure NDMP
                             nfs => Configure NFS
                             nis => Configure NIS
                             ntp => Configure NTP
                     replication => Configure Remote Replication
                            rest => Configure REST
                            scrk => Configure Phone Home
                            sftp => Configure SFTP
                          shadow => Configure Shadow Migration
                            smtp => Configure SMTP
                            snmp => Configure SNMP
                             srp => Configure SRP
                             ssh => Configure SSH
                          syslog => Configure Syslog
                            tags => Configure Service Tags
                            tftp => Configure TFTP
                           vscan => Configure Virus Scan
                         routing => Configure Routing Table