Go to main content
Oracle® Fabric Manager 5.0.0 命令参考

退出打印视图

更新时间: 2016 年 9 月
 
 

io-profile

io-profile 命令可以创建、管理和删除 I/O 配置文件。如果更改已连接到某个物理服务器的 I/O 配置文件,则必须将这些更改推送到该物理服务器。

语法

add io-profile name template [–fabric-device=device-name] [–numberOfiops=value]

remove io-profile name [–no-confirm]

set io-profile name connect physical-server [–iqn=iSCSI-IQN target] [–iqn-ha=secondary-ISCSI-IQN-target] [–wwpn=SAN-WWPN-target] [–wwpn-ha=secondary-SAN-WWPN-target] [–explicit-mapping1=mapping1] [–explicit-mapping2=mapping2]

set io-profile name set convert-vnics vnic1 vnic2

set io-profile name disconnect [–no-confirm]

set io-profile name server-profile [–server-profile-name=server-profile-name] up

set io-profile name server-profile [–server-profile-name=server-profile-name] down

set io-profile name server-profile [–server-profile-name=server-profile-name] reset

set io-profile name set io-profile [–description=text] [–default-gateway=default-gateway] [–san-boot-profile=SAN-boot-profile] [–iscsi-boot-profile=iSCSI-boot-profile]

show io-profile name

show io-profile name server-profiles

show io-profile name vnics

show io-profile name vhbas

其中:

  • name 是 I/O 配置文件的名称。

  • physical-server 是物理服务器的名称。

  • template 是与 I/O 配置文件关联的 I/O 模板的名称。

子命令
说明
connect
将 I/O 配置文件连接到物理服务器。
convert-vnics
将 vNIC 对(vnic1vnic2)转变为 HA vNIC。
disconnect
断开 I/O 配置文件与物理服务器的连接。
server-profile
控制服务器配置文件的状态:
  • up

  • down

  • reset

server-profiles
显示 I/O 配置文件的服务器配置文件。
set io-profile
更新 I/O 配置文件。
update io-profile
更新 I/O 配置文件详细信息。
vnics
显示与 I/O 配置文件关联的 vNIC 的列表。
vhbas
显示与 I/O 配置文件关联的 vHBA 的列表。
server-profile
显示与 I/O 配置文件关联的服务器配置文件的列表。

选项

选项
说明
–description
设置 I/O 配置文件的可选说明。
–default-gateway
设置或更改正在使用 I/O 配置文件的服务器的默认网关。
–explicit-mapping1
定义服务器配置文件和 HCA 端口之间的显式映射 1。仅支持两个映射。
–explicit-mapping2
定义服务器配置文件和 HCA 端口之间的显式映射 2。仅支持两个映射。
–fabric-device
指定要与 I/O 配置文件关联的网状结构网络设备的名称。插入逗号来分隔多个设备。
–iqn
指定 iSCSI IQN 目标。
–iqn-ha
指定辅助终端的 ISCSI IQN 目标(仅用于 HA VNIC)。
–iscsi-boot-profile
设置或更改 I/O 配置文件的 iSCSI 引导配置文件。iSCSI 引导配置文件必须已存在。
–no-confirm
在删除或断开实体时跳过确认。
–numberOfiops
指定 I/O 配置文件数量。
–san-boot-profile
设置或更改 I/O 配置文件的 SAN 引导配置文件。SAN 引导配置文件必须已存在。
–server-profile-name
指定与 I/O 配置文件关联的服务器配置文件的名称。
–wwpn
指定 SAN WWPN 目标。
–wwpn-ha
指定辅助终端的 SAN WWPN 目标(仅用于 HA VHBA)。

示例:创建 I/O 配置文件

本示例将从 I/O 模板 cloud9template 创建一个称为 montana 的新 I/O 配置文件。

[OFM] add io-profile montana cloud9template

示例:更新 I/O 配置文件选项

本示例将通过添加一个名为 SB14 的 SAN 引导配置文件来更新服务器 montana 上的 I/O 配置文件。

[OFM] set io-profile montana update io-profile -san-boot-profile=SB14

示例:将 I/O 配置文件连接到服务器

本示例将 I/O 配置文件 montana 连接到物理服务器 montana1

[OFM] set io-profile montana connect montana1

示例:显示 I/O 配置文件的 vNIC

本示例将显示与名为 scissors 的 I/O 配置文件关联的所有 vNIC。

[OFM] show io-profile scissors vnics
---------------------------------------------------------
parent.name     scissors-4c4c454400434e108059c3c04f4b4d31
name            eth6
net-cloud-name  discovered-network-cloud
termination     arkansas/14/5
state           up/resourceUnavailable
ip-address      0.0.0.0
mac-address     00:13:97:02:50:69
is-ha           false
description
----------------------------------------------------------
parent.name     scissors-44454c4c4300104e8059c3c04f4b4d31
name            bug20568
net-cloud-name  discovered-network-cloud
termination     texas/14/7
state           up/up
ip-address      0.0.0.0
mac-address     00:13:97:01:F0:28
is-ha           false
description
---------------------------------------------------------
parent.name     scissors-44454c4c4300104e8059c3c04f4b4d31
name            eth5
net-cloud-name  discovered-network-cloud
termination     texas/14/7
state           up/up
ip-address      192.168.15.205
mac-address     00:13:97:01:F0:25
is-ha           false
description
----------------------------------------------------------
3 records displayed

示例:删除 I/O 配置文件

本示例将从 Oracle Fabric Manager 环境中删除 I/O 配置文件 scissors

[OFM] remove io-profile scissors