http://124.16.180.178:8080/mysoftware_sec_bcsuite_OCM10g_OCM11g/
游客,本帖隐藏的内容需要积分高于 100 才可浏览,您当前积分为 0
compat-db42-4.2.52-15.el6.x86_64
rarian-compat-0.8.1-5.1.el6.x86_64
compat-gcc-34-3.4.6-19.el6.x86_64
compat-gcc-34-c++-3.4.6-19.el6.x86_64
compat-dapl-1.2.15-2.2.el6.x86_64
compat-libgfortran-41-4.1.2-39.el6.x86_64
compat-readline5-5.2-17.1.el6.x86_64
compat-libstdc++-33-3.2.3-69.el6.i686
compat-gcc-34-g77-3.4.6-19.el6.x86_64
compat-libcap1-1.10-1.x86_64
compat-openldap-2.3.43-2.el6.x86_64
compat-libtermcap-2.0.8-49.el6.x86_64
compat-glibc-headers-2.5-46.2.x86_64
compat-db43-4.3.29-15.el6.x86_64
compat-expat1-1.95.8-8.el6.x86_64
compat-libstdc++-33-3.2.3-69.el6.x86_64
compat-libf2c-34-3.4.6-19.el6.x86_64
xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64
compat-db-4.6.21-15.el6.x86_64
nss_compat_ossl-0.9.6-1.el6.x86_64
compat-glibc-2.5-46.2.x86_64
compat-libstdc++-296-2.96-144.el6.i686
- #!/bin/bash
- #
- # /etc/rc.d/init.d/oracle
- #
- # chkconfig: - 59 85
- # description: oracle9id is meant to run under Linux Oracle Server
- # Source function library.
- . /etc/rc.d/init.d/functions
- start() {
- echo -e "Starting Tgtdrules Server:\n"
- # Target
- tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2008-11-05.com.example.station90:shareddisk
- tgtadm --lld iscsi --op new --mode target --tid 2 -T iqn.2008-11-05.com.example.station90:shareddisk2
- # Lun
- tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/vol0/shareddisk
- tgtadm --lld iscsi --op new --mode logicalunit --tid 2 --lun 1 -b /dev/vol0/shareddisk2
- # Init
- tgtadm --lld iscsi --op bind --mode target --tid 1 -I 192.168.122.91
- tgtadm --lld iscsi --op bind --mode target --tid 1 -I 192.168.122.92
- tgtadm --lld iscsi --op bind --mode target --tid 2 -I 192.168.122.95
- tgtadm --lld iscsi --op bind --mode target --tid 2 -I 192.168.122.96
- for i in ; do renice -n -20 $i ; done
- }
- stop() {
- echo -e "Stopping Tgtdrules Server:\n"
- # Init
- tgtadm --lld iscsi --op unbind --mode target --tid 1 -I 192.168.122.91
- tgtadm --lld iscsi --op unbind --mode target --tid 1 -I 192.168.122.92
- tgtadm --lld iscsi --op unbind --mode target --tid 2 -I 192.168.122.95
- tgtadm --lld iscsi --op unbind --mode target --tid 2 -I 192.168.122.96
- # Lun
- tgtadm --lld iscsi --op delete --mode logicalunit --tid 1 --lun 1
- tgtadm --lld iscsi --op delete --mode logicalunit --tid 2 --lun 1
- # Target
- tgtadm --lld iscsi --op delete --mode target --tid 1
- tgtadm --lld iscsi --op delete --mode target --tid 2
- }
- status() {
- tgtadm --lld iscsi --mode target --op show
- }
- case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- status)
- status
- ;;
- esac
- exit 0
复制代码
|