有关登录并使用 CLI 的信息,请参见Command Line Interface (CLI) in Oracle ZFS Storage Appliance Administration Guide, Release 2013.1.4.0。使用 CLI 通过以下过程准备更新群集控制器。
controller-a:> configuration cluster resources select net/igb0 configuration cluster resources (uncommitted)> set owner=<other controller> configuration cluster resources (uncommitted)> set type=private configuration cluster resources (uncommitted)> commit
请注意,每个控制器都必须是管理接口的当前所有者。
controller-a:> configuration cluster resources show Resources: RESOURCE OWNER TYPE LABEL CHANGES DETAILS net/igb0 brm7320-250 private Untitled I... no 10.80.2xx.112 controller-a:> configuration cluster resources show Resources: RESOURCE OWNER TYPE LABEL CHANGES DETAILS net/igb1 brm7320-260 private Untitled I... no 10.80.2xx.114
如果控制器之一处于剥离状态(没有活动资源),请首先在该控制器上执行更新以避免出现可用性延迟。如果两个控制器都具有活动资源,请选择任一控制器首先进行更新。
以下示例显示如何将更新下载到两个控制器:
controller-a:maintenance system updates download (uncommitted)> set url= ftp://foo/update.pkg.gz url = ftp://foo/update.pkg.gz controller-a:maintenance system updates download (uncommitted)> set user=bmc user = bmc controller-a:maintenance system updates download (uncommitted)> set password Enter password: password = ******** controller-a:maintenance system updates download (uncommitted)> commit Transferred 157M of 484M (32.3%) ... controller-b:maintenance system updates download (uncommitted)> set url= ftp://foo/update.pkg.gz url = ftp://foo/update.pkg.gz controller-b:maintenance system updates download (uncommitted)> set user=bmc user = bmc controller-b:maintenance system updates download (uncommitted)> set password Enter password: password = ******** controller-b:maintenance system updates download (uncommitted)> commit Transferred 157M of 484M (52.1%) ...