5.2. 如何启动或停止 Sun Ray 服务

5.2.1. 如何停止 Sun Ray 服务
5.2.2. 如何启动 Sun Ray 服务(热重启)
5.2.3. 如何启动 Sun Ray 服务(冷重启)

以下过程说明了如何启动或停止 Sun Ray 服务。很多情况下需要重新启动 Sun Ray 服务,例如,当您更改了 Sun Ray 数据存储库中的某个配置参数时。

5.2.1. 如何停止 Sun Ray 服务

  1. 在 Sun Ray 服务器上成为超级用户。

  2. 停止 Sun Ray 服务。

    # /opt/SUNWut/sbin/utstop

    停止后,Sun Ray 服务不会重新启动,即使在重新引导服务器之后也是如此。您必须使用 utstart 命令启动 Sun Ray 服务。

5.2.2.  如何启动 Sun Ray 服务(热重启)

此过程称为热重启,将会启动 Sun Ray 服务而不清除现有会话。

注意

活动的 Sun Ray Client 在进行再次重新连接之前将会短时断开连接。

  1. 在 Sun Ray 服务器上成为超级用户。

  2. 启动 Sun Ray 服务。

    # /opt/SUNWut/sbin/utstart
注意

可能会显示下面的警告:WARNING: The current DBus file descriptor limit can only support up to approximately 120 logged-in desktops.Please reboot the system if you require support for more desktops.(警告:当前的 DBus 文件描述符限制最多仅能支持大约 120 个登录的桌面。如果需要支持更多的桌面,请重新引导系统。)按照说明,如果 Sun Ray 服务器支持超过 120 个桌面,则重新引导服务器。

5.2.3. 如何启动 Sun Ray 服务(冷重启)

此过程称为冷重启,将会启动 Sun Ray 服务并清除现有会话。

注意

执行冷重启之前,请务必通知用户;该操作会终止服务器上的所有现有会话。要在不终止会话的情况下重新启动 Sun Ray 服务,请执行热重启。

  1. 在 Sun Ray 服务器上成为超级用户。

  2. 启动 Sun Ray 服务。

    # /opt/SUNWut/sbin/utstart -c
注意

可能会显示下面的警告:WARNING: The current DBus file descriptor limit can only support up to approximately 120 logged-in desktops.Please reboot the system if you require support for more desktops.(警告:当前的 DBus 文件描述符限制最多仅能支持大约 120 个登录的桌面。如果需要支持更多的桌面,请重新引导系统。)按照说明,如果 Sun Ray 服务器支持超过 120 个桌面,则重新引导服务器。