ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

HP X9320 Network Storage System 存储命令

2020-01-11 21:00:34  阅读:390  来源: 互联网

标签:X9320 Network nic HP server fsn1 ibrix bond1 cifs


ibrix_version -l 查看版本
/usr/local/ibrix/bin
/etc/init.d/ibrix_fusionmanager restart 重启FM

ibrix_health -l 查看状态

ibrix_health -i -h fsn1


ibrix_stats -l -c

var/log


ibrix_fs -i

ibrix_fs -l

ibrix_health -l

ibrix_nic -i

ibrix_nic –l

ibrix_server -l

ibrix_stats -l

ibrix_version –l

rpm -qa

ifconfig -a

ibrix_health –i –h `hostname`

ibrix_cifs -i

ibrix_vs -i

ibrix_host -l

/var/log/dmesg

/usr/local/ibrix/log/

/etc/ibrix

fminstance.xml

fusion.xml

ibrix_server -f -U -h fsn1 启动FSN1的failback


10.0.0.10

ibrix_cifs -i
ibrix_fm -i
ibrix_fm -f 查看FM
ibrix_fm_tune -L 查看管理 配置和状态

ibrix_fmha -i

ibrix_server -l 查看服务


配置自动重启CIFS
1、 在/tmp目录下创建一个文件名,例如re.sh ,然后把这个文件加上可执行权限。 (每个机器上文件名一样,但是 –h fsn1 或者 fsn2 是不一样的)
vi /tmp/re.sh
/usr/local/ibrix/bin/ibrix_server -s -t cifs -c restart -h fsn1
chmod +x /tmp/re.sh

2、 crontab -e
30 1 * * * /tmp/re.sh

crontab内容格式:分 小时 日 月 周 命令

测试方法:
将crontab中的时间改为当前时间之后的某个时间,观察命令是否成功运行。


配置虚拟浮动IP
现有的VIF
Creating a bonded VIF
ibrix_server -m -U

Identify the VIF
ibrix_nic -a -n bond1:2 -h fsn1,fsn2

ibrix_nic -c -n bond1:2 -h fsn1 -I 192.168.0.8 -M 255.255.255.0
ibrix_nic -c -n bond1:2 -h fsn2 -I 192.168.0.18 -M 255.255.255.0

Set up a standby server for each VIF
ibrix_nic -a -n bond1:3 -h fsn1,fsn2
ibrix_nic -b -H fsn1/bond1:2,fsn2/bond1:3
ibrix_nic -b -H fsn2/bond1:2,fsn1/bond1:3

Configuring NIC failover
ibrix_nic -m -h fsn1 -A fsn2/bond1:2
ibrix_nic -m -h fsn2 -A fsn1/bond1:2

Configuring automated failover

ibrix_server -m


/usr/local/ibrix/bin/ibrix_server -s -t cifs -c stop -h fsn1

 


1. For optimal CIFS performance apply the following tunings:

Disable write_thru buffering. When Windows requests write-thru buffering one will ignore it and ack once ibrix buffers receive the write.

Disable smb signing. Signing will not be enabled or required. If site required this extra security do not disable it.

 

To achieve this one can run the following from the FM to disable signing and write_thru then restart LW:

# ibrix_cifsconfig -t -S "smb_signing_enabled=0, smb_signing_required=0, ignore_writethru=1"

# ibrix_server -s -t cifs -c restart (Will cause a short cifs outage during restart.)

 

2. Mount the filesystem with noatime as it will eliminate meta-data writes for all reads:

Execute the following commands from the active Fusion Manager:

1. Disable HA on all FSN’s:

# ibrix_server -m -U

2. Verify the filesystem name and mountpoint:

# ibrix_fs -i

3. Stop CIFS services on all FSN’s:

# ibrix_server -s -t cifs -c stop

4. Unmount the ibrix filesystem on all FSN’s:

# ibrix_umount -f ifs

5. Mount the filesystem with the noatime option (uppercase O):

# ibrix_mount -f ifs -O noatime -m /ifs

6. Start CIFS services on all FSN’s:

# ibrix_server -s -t cifs -c start

7. Verify filesystem is mounted:

# ibrix_fs -i

8. Enable HA on all FSN’s:

# ibrix_server -m

 

ibrix_server -m -U
ibrix_fs -i
ibrix_server -s -t cifs -c stop
ibrix_umount -f ifs -X
ibrix_mount -f ifs -O noatime -m /ifs
ibrix_server -s -t cifs -c start
ibrix_fs -i
ibrix_server -m


ibrix_server -m -U
ibrix_server -s -t cifs -c stop
ibrix_umount -f ifs
ibrix_mount -f ifs -O noatime -m /ifs
ibrix_server -s -t cifs -c start
ibrix_server -m

标签:X9320,Network,nic,HP,server,fsn1,ibrix,bond1,cifs
来源: https://www.cnblogs.com/sfqas/p/12181113.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有