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

退出打印视图

更新时间: 2016 年 9 月
 
 

iscsi-boot-profile

使用 iscsi-boot-profile 命令可以配置和显示 iSCSI 引导配置文件的属性。

语法

add iscsi-boot-profile name target-address [–target-portal-group=target-portal-group] [–protocol=protocol-ID] [–port=port-ID] [-description=text] [–mount-type=text] [–mount-device=mount-device] [–group-name=group-name] [–volume-name=volume-name]

remove iscsi-boot-profile name [–no-confirm]

set iscsi-boot-profile name [–description=text] [–target-address=target-address] [–target-portal-group=target-portal-group] [–protocol=protocol-ID] [–port=port-ID] [–mount-type=text] [–mount-device=mount-device] [–group-name=group-name] [–volume-name=volume-name]

show iscsi-boot-profile name

其中:

  • name 是 iSCSI 引导配置文件的名称。

  • target-address 是包含服务器 iSCSI 引导信息的归档器或阵列的 IP 地址。

选项

选项
说明
-description
将文本说明应用于 iSCSI 引导配置文件。必须用引号将中间包含空格的多个词引起来。
–group-name
如果正在创建逻辑卷管理器 iSCSI 引导配置文件,则此选项指定包含服务器 iSCSI 引导信息所在卷的卷组的名称。
–mount-device
如果正在创建或更改直接连接的 iSCSI 引导配置文件,则指定将接收 iSCSI 引导信息的服务器引导设备的名称。
–mount-type
指定挂载类型:
  • static-静态。

  • lvm-逻辑卷管理器。

  • direct-直接连接。

–no-confirm
在删除或断开实体时跳过确认。
-port
指定将支持在服务器与服务器 iSCSI 引导信息所在位置之间进行 iSCSI 通信的端口号。此字段填充了默认值 3260,但是您可以更改通信端口号。
-protocol
指定支持 iSCSI 通信的协议编号。此字段填充了默认值 6,但是您可以更改通信协议编号。
-target-address
指定 iSCSI 门户组的 IP 地址。此字段可能不是必填字段,具体取决于您使用的 iSCSI 存储阵列。
-target-portal-group
指定包含服务器 iSCSI 引导信息的归档器或阵列的 IP 地址组。
-volume-name
如果正在创建或更改逻辑卷管理器 iSCSI 引导配置文件,则此选项指定服务器的 iSCSI 引导信息所在卷的名称。

示例:设置 iSCSI 引导配置文件选项

本示例将设置 iSCSI 引导配置文件 iscsiboot_3 的 IP 地址,并将其挂载类型定义为 direct

[OFM] set iscsi-boot-profile iscsiboot_3 -target-address=172.16.1.2 mount-type=direct

示例:显示 iSCSI 引导配置文件

本示例将显示有关在 Oracle Fabric Manager 环境中定义的所有 iSCSI 引导配置文件的信息。

[OFM] show iscsi-boot-profile
------------------------------------
name                   iscsiboot_1
target-address         192.168.8.108
target-portal-group
port                   3260
protocol               6
mount-type             direct
group-name
volume-name
mount-device
iocloud-reference  
iotemplates           0
description
-------------------------------------
name                  iscsiboot_2
target-address        1.1.2.4
target-portal-group
port                  3260
protocol              6
mount-type            direct
group-name
volume-name
mount-device
iocloud-reference
iotemplates           0
description
---------------------------------------
name                   iscsiboot_3
target-address         172.16.1.2
target-portal-group
port                   3260
protocol               6
mount-type             direct
group-name
volume-name
mount-device
iocloud-reference
iotemplates            0
description
----------------------------------------
3 records displayed

示例:删除 iSCSI 引导配置文件

本示例将从 Oracle Fabric Manager 环境中删除 iSCSI 引导配置文件 iscsiboot_3

[OFM] remove iscsi-boot-profile iscsiboot_3