Oracle   发布时间:2022-05-17  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了关于rescan-scsi-bus.sh脚本的来历和使用注意事项大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。


关于rescan-scsi-bus.sh脚本的来历和使用注意事项


1.rescan-scsi-bus.sh在sg3_utils-1.28-8.el6.x86_64中,如下试验:


安装sg3_utils-1.28-8.el6.x86_64 包.
[root@localhost repodata]# yum install sg3_utils*
Loaded plugins: product-ID,refresh-packagekit,security,subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
SetTing up Install Process
rHel-source                                                                                                                                                             | 4.1 kB     00:00 ... 
Package sg3_utils-libs-1.28-8.el6.x86_64 already installed and latest version
Resolving DependencIEs
--> Running transaction check
---> Package sg3_utils.x86_64 0:1.28-8.el6 will be installed
--> Finished Dependency Resolution


DependencIEs Resolved


===============================================================================================================================================================================================
 Package                                       Arch                                       Version                                        Repository                                       Size
===============================================================================================================================================================================================
Installing:
 sg3_utils                                     x86_64                                     1.28-8.el6                                     rHel-source                                     500 k


transaction SumMary
===============================================================================================================================================================================================
Install       1 Package(s)


@R_664_10586@l download size: 500 k
Installed size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_deBUG
Running transaction Test
transaction Test Succeeded
Running transaction
  Installing : sg3_utils-1.28-8.el6.x86_64                                                                                                                                                 1/1 
  Verifying  : sg3_utils-1.28-8.el6.x86_64                                                                                                                                                 1/1 


Installed:
  sg3_utils.x86_64 0:1.28-8.el6                                                                                                                                                                


Complete!
[root@localhost repodata]# 

[root@localhost repodata]# yum provIDes /usr/bin/rescan-scsi-bus.sh
Loaded plugins: product-ID,subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
sg3_utils-1.28-8.el6.x86_64 : UtilitIEs for devices that use SCSI command sets--->>>>在sg3_utils-1.28-8.el6.x86_64中.
Repo        : rHel-source
Matched from:
filename    : /usr/bin/rescan-scsi-bus.sh


sg3_utils-1.28-8.el6.x86_64 : UtilitIEs for devices that use SCSI command sets
Repo        : installed
Matched from:
Other       : ProvIDes-match: /usr/bin/rescan-scsi-bus.sh


[root@localhost repodata]# 


2.对有数据库在运行的操作系统,禁止使用rescan-scsi-bus.sh 的-i选项来运行rescan-scsi-bus.sh,原因见:
	ExecuTing rescan-scsi-bus.sh -i ( liP flag ) caused RAC Node to Hang (Doc ID 1645143.1)
what is liP ( Loop Initialization Protocol ) ?
liP scans thE interconnect and causes the SCSI layer to be updated to reflect the devices currently on the bus.
A liP is,essentially,a bus reset,and will cause device addition and removal. 
This procedure is necessary to configure  a new SCSI target on a Fibre ChAnnel interconnect. 
Bear in mind that issue_lip is an asynchronous operation. The command may complete before the entire scan has completed.


what liP reset may cause?

Loop Initialization Protocol method to scan the HBA’s can cause delay 
and I/O timeouts if the HBA/Device is in use and can also remove devices unexpectedly. 
Hence performing the scan using this method is not recommended on any production server where the SAN Devices are already configured in use. 
This type of scan is recommended on a newly built server to scan all the LUNS/Devices.
liP is normally executed when Server boot.

大佬总结

以上是大佬教程为你收集整理的关于rescan-scsi-bus.sh脚本的来历和使用注意事项全部内容,希望文章能够帮你解决关于rescan-scsi-bus.sh脚本的来历和使用注意事项所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: