fc oracle,使用 CLI 配置 FC
使用 CLI 配置 FC
更改 FC 端口的模式
dory:configuration san fc targets> set targets="wwn.2101001B32A11639"
targets = wwn.2101001B32A11639 (uncommitted)
dory:configuration san fc targets> commit
查看搜索到的 FC 端口
dory:configuration san fc targets> show
Properties:
targets = wwn.2100001B32811639,wwn.2101001B32A12239
Targets:
NAME MODE WWN PORT SPEED
target-000 target wwn.2100001B32811639 PCIe 5: Port 1 4 Gbit/s
target-001 initiator wwn.2101001B32A11639 PCIe 5: Port 2 0 Gbit/s
target-002 initiator wwn.2100001B32812239 PCIe 2: Port 1 0 Gbit/s
target-003 target wwn.2101001B32A12239 PCIe 2: Port 2 0 Gbit/s
dory:configuration san fc targets> select target-000
dory:configuration san fc targets target-000> show
Properties:
wwn = wwn.2100001B32811639
port = PCIe 5: Port 1
mode = target
speed = 4 Gbit/s
discovered_ports = 6
link_failure_count = 0
loss_of_sync_count = 0
loss_of_signal_count = 0
protocol_error_count = 0
invalid_tx_word_count = 0
invalid_crc_count = 0
Ports:
PORT WWN ALIAS MANUFACTURER
port-000 wwn.2100001B3281A339 longjaw-1 QLogic Corporation
port-001 wwn.2101001B32A1A339 longjaw-2 QLogic Corporation
port-002 wwn.2100001B3281AC39 thicktail-1 QLogic Corporation
port-003 wwn.2101001B32A1AC39 thicktail-2 QLogic Corporation
port-004 wwn.2100001B3281E339 QLogic Corporation
port-005 wwn.2101001B32A1E339 QLogic Corporation
创建 FC 启动器组
dory:configuration san fc initiators> create
dory:configuration san fc initiators (uncommitted)> set name=lefteye
dory:configuration san fc initiators (uncommitted)>
set initiators=wwn.2101001B32A1AC39,wwn.2100001B3281AC39
dory:configuration san fc initiators (uncommitted)> commit
dory:configuration san fc initiators> list
GROUP NAME
group-001 lefteye
|
+-> INITIATORS
wwn.2101001B32A1AC39
wwn.2100001B3281AC39
将 LUN 与 FC 启动器组关联
以下示例演示如何创建名为 lefty 的 LUN,并将其与 fera 启动器组关联。
dory:shares default> lun lefty
dory:shares default/lefty (uncommitted)> set volsize=10
volsize = 10 (uncommitted)
dory:shares default/lefty (uncommitted)> set initiatorgroup=fera
initiatorgroup = default (uncommitted)
dory:shares default/lefty (uncommitted)> commit
编写用于创建启动器和启动器组别名的脚本
有关如何修改和使用以下示例脚本的信息,请参阅CLI 用法和简单 CLI 脚本和批处理命令部分。
script
/*
* This script creates both aliases for initiators and initiator
* groups, as specified by the below data structure. In this
* particular example, there are five initiator groups, each of
* which is associated with a single host (thicktail, longjaw, etc.),
* and each initiator group consists of two initiators, each of which
* is associated with one of the two ports on the FC HBA. (Note that
* there is nothing in the code that uses this data structure that
* assumes the number of initiators per group.)
*/
groups = {
thicktail: {
'thicktail-1': 'wwn.2100001b3281ac39',
'thicktail-2': 'wwn.2101001b32a1ac39'
},
longjaw: {
'longjaw-1': 'wwn.2100001b3281a339',
'longjaw-2': 'wwn.2101001b32a1a339'
},
tecopa: {
'tecopa-1': 'wwn.2100001b3281e339',
'tecopa-2': 'wwn.2101001b32a1e339'
},
spinedace: {
'spinedace-1': 'wwn.2100001b3281df39',
'spinedace-2': 'wwn.2101001b32a1df39'
},
fera: {
'fera-1': 'wwn.2100001b32817939',
'fera-2': 'wwn.2101001b32a17939'
}
};
for (group in groups) {
initiators = [];
for (initiator in groups[group]) {
printf('Adding %s for %s ... ',
groups[group][initiator], initiator);
try {
run('select alias=' + initiator);
printf('(already exists)\n');
run('cd ..');
} catch (err) {
if (err.code != EAKSH_ENTITY_BADSELECT)
throw err;
run('create');
set('alias', initiator);
set('initiator', groups[group][initiator]);
run('commit');
printf('done\n');
}
run('select alias=' + initiator);
initiators.push(get('initiator'));
run('cd ..');
}
printf('Creating group for %s ... ', group);
run('groups');
try {
run('select name=' + group);
printf('(already exists)\n');
run('cd ..');
} catch (err) {
if (err.code != EAKSH_ENTITY_BADSELECT)
throw err;
run('create');
set('name', group);
run('set initiators=' + initiators);
run('commit');
printf('done\n');
}
run('cd ..');
}
fc oracle,使用 CLI 配置 FC相关推荐
- linux挂载多路径fc存储,CentOS 配置 FC 存储多路径
multipath 多路径冗余multipath多路径冗余I/O(Multipath I/O)是指服务器通过多条物理路径连接到块存储设备.多路径冗余I/O也可以实现I/O的负载均衡,提高系统性能,但主 ...
- fcoe和fc的区别_IBM AIX FC和FCoE设备驱动程序堆栈的性能改进
本文介绍了针对16 Gb FC(功能代码:EN0A)和10 Gb FCoE(功能代码:EN0H)HBA的IBM®AIX®光纤通道(FC)/以太网光纤通道(FCoE)设备驱动程序堆栈的性能改进. AIX ...
- oracle负载均衡方案,Oracle负载均衡配置代码
对于专业的数据处理存储的Oracle ARC而言,负载均衡的设置就更为重要了.那么如何对Oracle负载均衡进行配置呢?就让我们一起看看本文来学习一下吧.我们将从客户端和服务器端来进行解说. Orac ...
- Oracle监听配置
经验告诉我:最好把数据库的SID和数据库全局名称分开,免得配置时混了,如果要配置服务器端和客户端时,服务器端和客户端都需要配置,并且配置方法一样. 一.监听器(LISTENER) 监听器是O ...
- ArduinoYun教程之OpenWrt-Yun与CLI配置Arduino Yun
ArduinoYun教程之OpenWrt-Yun与CLI配置Arduino Yun OpenWrt-Yun OpenWrt-Yun是基于OpenWrt的一个Linux发行版.有所耳闻的读者应该听说他是 ...
- django oracle数据库配置,django连接oracle时setting 配置方法
下一步是将新创建的应用程序与项目相关联.为此,您需要编辑 myproj 文件夹中的 settings.py 文件,将字符串"myproj.myapp"追加到 INSTALLED_A ...
- 指定在此oracle主目录中配置,oracle11g卸载
oracle11gr2的卸载 oracle11gr2的完全卸载方式与前些版本有了改变,运行H:\app\Administrator\product\11.2.0\dbhome_1\deinstall的 ...
- Oracle 监听器日志配置与管理
--======================== -- Oracle 监听器日志配置与管理 --======================== Oracle 监听器是一个服务器端程序,用 ...
- linux安装oracle 操作系统内核参数 aio,Oracle Study之案例--安装Oracle内核参数配置
Oracle Study之案例--安装Oracle内核参数配置 在Linux系统下,安装Oracle之前,除了检查操作系统的硬件和软件是否满足安装需要之外,一个重点就是修改内核参数,其中最主要的是和内 ...
最新文章
- linux系统的编译原理,GCC编译原理_Linux编程_Linux公社-Linux系统门户网站
- Matlab实用程序--图形应用-饼图的绘制
- 计算机编程软文,全盲男孩自学编程,一句话打动无数网友…
- Word 2010 制作文档结构之章节自动编号
- ubuntu 配置 静态ip
- 数字通信计算机仿真问题汇总,燕山大学数字通信计算机仿真课设模板.doc
- 会计计算机学什么软件有哪些,会计一般要学什么软件
- 在做模具设计过程中应注意哪些问题
- mysql报错1194_修复 WordPress mysqli_query(): (HY000/1194) wp_options 表崩溃错误
- Enovia文件协作服务器安装,Enovia用户操作手册.doc
- Matplotlib绘图库入门(一):pyplot绘图基础
- java 调用TSC打印机
- 把html页面转换为pdf
- 盘点 | 有哪些大数据处理工具?
- CMUSphinx免费离线语音识别开源库教程iOS开发
- 用友U8应付期初数据录入案例教程
- MATLAB中能实现信号DTF,matlab实现傅里叶变换
- [康宁]浅论亚里士多德对柏拉图“理念论”的批判与继承
- java dom解析xml路径中文_Java如何基于DOM解析xml文件
- java开发之代码设计
热门文章
- 归并排序执行次数_肯定能懂的常见算法讲解(1)——排序算法
- Git复习(五)之多人协作、git push失败、git pull失败
- 利用键盘钩子捕获Windows键盘动作
- 如何评价模型的好坏(一)
- 「日常训练」Skills(Codeforce Round #339 Div.2 D)
- hibernate框架学习第二天:核心API、工具类、事务、查询、方言、主键生成策略等...
- JSON进阶第二篇 AJAX方式传递JSON数据
- android ViewPager之PagerAdapter中View的重用
- Mac MacBook Pro的移动硬盘方案
- 查询数据库占用磁盘大小