6 Replies Latest reply: Apr 30, 2012 2:41 AM by rdoogan-Oracle RSS

    can not get SCSI Bus Name-Instance Parameter on solaris 10

    931429
      Dears

      now i am trying to install oracle secure backup 10.3.0.1 on a solaris machine,which attach a tape driver
      i followed the installation step but cannot get SCSI Bus Name-Instance Parameter
      the information of tape driver as below:
      #mt -f /dev/rmt/0 status
      HP DAT-72 tape drive:
      sense key(0x0)= No Additional Sense residual= 0 retries= 0
      file no= 0 block no= 0


      the installation guide says:
      Viewing SCSI Bus Name-Instance Parameter Values in Solaris
      To determine the SCSI bus name-instance parameter to use for each tape device in Oracle Secure Backup:

      1.Log into your media server as root.

      2.Change directory to the install subdirectory under the Oracle Secure Backup home. For example:

      # cd /usr/local/oracle/backup/install
      3.Run the installdriver script to install the Oracle Secure Backup driver. For example:

      # installdriver
      NOTE: /usr/local/oracle/backup/.drv.solaris64/ob copied to /usr/kernel/drv/ob
      NOTE: /usr/local/oracle/backup/.drv.solaris64/ob.conf copied to /usr/kernel/drv/ob.conf
      NOTE: /usr/local/oracle/backup/.drv.solaris64/ob64 copied to /usr/kernel/drv/sparcv9/ob

      NOTE: The Oracle Secure Backup device driver has been successfully installed.
      Once installed, the Oracle Secure Backup driver is associated with the tape devices that it can control on this media server.

      4.Run the following command to view tape devices associated with the Oracle Secure Backup driver:

      # du -a /devices|grep ob|cut -f2
      /devices/pci@1f,4000/scsi@3,1/ob@0,0:glm1
      /devices/pci@1f,4000/scsi@3,1/ob@1,0:glm1
      The output contains the needed tape device information.

      when i run step 4,nothing appears,could u give me some suggestion?
      thanks

      Jacky
        • 1. Re: can not get SCSI Bus Name-Instance Parameter on solaris 10
          rdoogan-Oracle
          I suggest you use OSB 10.4.0.1.0 as that uses the Solaris sgen driver and that is a more reliable process.

          Thanks

          Rich
          • 2. Re: can not get SCSI Bus Name-Instance Parameter on solaris 10
            931429
            I choose the server as "(a) administrative server, media server and client"
            and I got the parameter of SCSI target ID and SCSI LUN parameters,but cannot get SCSI Bus Name-Instance Parameter ..
            • 3. Re: can not get SCSI Bus Name-Instance Parameter on solaris 10
              931429
              Dear Rich

              I installed OSB 10.4.0.1.0 on solaris,the setup successfully

              shasudv3.oocl.com:/usr/local/oracle/backup#install/makedev
              Enter logical unit number 0-31 [0]: 1
              Enter 'd' if this device is a tape drive or 'l' if a SCSI-2 addressable
              +tape library [d]: d+
              The following SCSI busses are installed on shasudv3.oocl.com: 1 /devices/pci@780
              +/pci@0/scsi@8/ob@5,0 pci1000,300+
              Enter SCSI bus name [1]: pci1000,300
              Enter SCSI target id 0-15 [5]: 5
              Enter SCSI logical unit number (lun) 0-7 [0]: 0
              NOTE: table for devlinks...
              type=ddi_pseudo;name=ob;addr=5,0;minor=pci1000,300   obt1
              +/dev/obt1 created+

              but another question appears,after add a tape device shasudv3-tape to admin host via web console,when try to mount the tape,ths status always be "in service unmounted"
              and the error shows:
              Error:   can't mount volume in shasudv3-tape - operation requires ob driver

              Is there anything need to do?thanks

              Regards
              Jacky

              Edited by: user8844937 on Apr 24, 2012 2:37 AM
              • 4. Re: can not get SCSI Bus Name-Instance Parameter on solaris 10
                931429
                ob> lsdev --long shasudv3-tape
                shasudv3-tape:
                Device type: tape
                Model: [none]
                Serial number: [none]
                In service: yes
                Automount: yes
                Error rate: 8
                Query frequency: [undetermined]
                Debug mode: no
                Blocking factor: (default)
                Max blocking factor: (default)
                UUID: 9ee5339a-7130-102f-8b8a-cf53f607a546
                Attachment 1:
                Host: shasudv3
                Raw device: /dev/obt5
                ob>
                • 5. Re: can not get SCSI Bus Name-Instance Parameter on solaris 10
                  931429
                  Device Properties
                  shasudv3-tape
                  Device type tape
                  Model [none]
                  Serial number [none]
                  In service yes
                  Automount yes
                  Error rate 8
                  Query frequency [positioning unsupported]
                  Debug mode no
                  Blocking factor (default)
                  Max blocking factor (default)
                  UUID 9ee5339a-7130-102f-8b8a-cf53f607a546
                  Attachment 1
                  Host shasudv3
                  Raw device /dev/obt5
                  Connection type SCSI
                  Inquiry data
                  Vendor
                  Product
                  Firmware
                  Tape state online, at BOT
                  Hardware compression not available
                  Hardware encryption not available
                  Maximum block size 2097152
                  Remaining tape 0 blocks (0.00KB)
                  • 6. Re: can not get SCSI Bus Name-Instance Parameter on solaris 10
                    rdoogan-Oracle
                    You do not need to run makedev, Solaris 10 with OSB10.4 uses the sgen driver. Please follow the installation and configuration manual.

                    Thanks

                    Rich