使用 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 地址。
|
本示例将设置 iSCSI 引导配置文件 iscsiboot_3 的 IP 地址,并将其挂载类型定义为 direct。
[OFM] set iscsi-boot-profile iscsiboot_3 -target-address=172.16.1.2 mount-type=direct
本示例将显示有关在 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
本示例将从 Oracle Fabric Manager 环境中删除 iSCSI 引导配置文件 iscsiboot_3。
[OFM] remove iscsi-boot-profile iscsiboot_3