Tru64 IBMDS3400: differenze tra le versioni

Da Emigar.
Jump to navigation Jump to search
 
(5 versioni intermedie di uno stesso utente non sono mostrate)
Riga 2: Riga 2:


Il tipo host Tru64 non è presente. Ufficialmente non è supportato.
Il tipo host Tru64 non è presente. Ufficialmente non è supportato.
Ma funziona se si imposta *Irix*.
Ma funziona parzialmente se si imposta *Irix*.
Non esegue correttamente lo switch di canale in caso di failure. Serve eseguire un rescan del bus SCSI.


<pre>
<pre>
hwmgr rescan scsi

hwmgr -view dev -cat disk
hwmgr -view dev -cat disk


hwmgr -get attributes -id <id>
hwmgr -get attributes -id <id>

hwmgr -show scsi -id <id> -full

hwmgr refresh scsi
</pre>

Script dsvol.sh
<pre>
#!/bin/sh
echo Extracting DS volume information...
for ID in `hwmgr -view dev -cat disk | grep 1726-4xx | awk '{ print $1}'`
do echo; echo DS vol, H/W ID $ID
hwmgr -get attrib -id $ID | awk '/phys_loc//dev_base//capacity//serial/'
done
</pre>
</pre>
== da DS8000 ==
== da DS8000 ==
Riga 19: Riga 36:
Procedure
Procedure


With the storage quiesced, the host system in single-user mode, and logged in to the host system with root privileges, edit the /etc/ddr.dbase file, and include the following parameter values in the DISKS subsection.
With the storage quiesced, the host system in single-user mode, and logged in to the host system with root privileges,
edit the /etc/ddr.dbase file, and include the following parameter values in the DISKS subsection.


Table 1 provides the recommended settings for the DS8000® SCSI device.
Table 1 provides the recommended settings for the DS8000® SCSI device.
Table 1. Recommended Tru64 UNIX settings for the SCSI DEVICE.Parameters Recommended settings
Table 1. Recommended Tru64 UNIX settings for the SCSI DEVICE.
Parameters Recommended settings
TypeSubClass hard_disk, raid
TypeSubClass hard_disk, raid
BadBlockRecovery disabled
BadBlockRecovery disabled
Riga 34: Riga 53:
Compile by executing the following command: ddr_config -c .
Compile by executing the following command: ddr_config -c .
Confirm that the values were included by issuing the following command: ddr_config -s disk IBM 2107 .
Confirm that the values were included by issuing the following command: ddr_config -s disk IBM 2107 .
Edit the /sys/data/cam_data.c. file to change the nonread/write command timeout values in the changeable disk driver timeout section from 10 seconds to 60. Locate the existing timeout value u_long cdisk_to_def = 10; /10* seconds */ , and change the value to u_long cdisk_to_def = 60; /60* seconds */ cdisk_to_def = 60; /60* seconds */
Edit the /sys/data/cam_data.c. file to change the nonread/write command timeout values in the changeable disk driver timeout
section from 10 seconds to 60.
Locate the existing timeout value u_long cdisk_to_def = 10; /10* seconds */ ,
and change the value to u_long cdisk_to_def = 60; /60* seconds */ cdisk_to_def = 60; /60* seconds */




Riga 40: Riga 62:


[[Categoria:Unix]]
[[Categoria:Unix]]
[[Categoria:Legacy Unix]]
[[Categoria:Tru64]]

Versione attuale delle 17:33, 28 gen 2014

Configurare Storage IBM DS3400 per Tru64

Il tipo host Tru64 non è presente. Ufficialmente non è supportato. Ma funziona parzialmente se si imposta *Irix*. Non esegue correttamente lo switch di canale in caso di failure. Serve eseguire un rescan del bus SCSI.

hwmgr rescan scsi

hwmgr -view dev -cat disk

hwmgr -get attributes -id <id>

hwmgr -show scsi -id <id> -full 

hwmgr refresh scsi

Script dsvol.sh

#!/bin/sh
echo Extracting DS volume information...
for ID in `hwmgr -view dev -cat disk | grep  1726-4xx | awk '{ print $1}'`
do echo; echo DS vol, H/W ID $ID
hwmgr -get attrib -id $ID | awk '/phys_loc//dev_base//capacity//serial/'
done

da DS8000

Configuring kernel SCSI parameters on a Tru64 UNIX host

Complete this task to set up and configure the Hewlett-Packard AlphaServer Tru64 UNIX device parameter database.
About this task

This procedure applies to all versions of Tru64 UNIX 4.0f and later. See the Tru64 UNIX man files for ddr.dbase and ddr_config for more information.
Procedure

    With the storage quiesced, the host system in single-user mode, and logged in to the host system with root privileges,
    edit the /etc/ddr.dbase file, and include the following parameter values in the DISKS subsection.

    Table 1 provides the recommended settings for the DS8000® SCSI device.
    Table 1. Recommended Tru64 UNIX settings for the SCSI DEVICE.
    Parameters 	        Recommended settings
    TypeSubClass 	hard_disk, raid
    BadBlockRecovery 	disabled
    DynamicGeometry 	true
    LongTimeoutRetry 	enabled
    TagQueueDepth 	20
    ReadyTimeSeconds 	180
    CMD_Write_Verify 	supported
    InquiryLength 	255
    RequestSenseLength 	255
    Compile by executing the following command: ddr_config -c .
    Confirm that the values were included by issuing the following command: ddr_config -s disk IBM 2107 .
    Edit the /sys/data/cam_data.c. file to change the nonread/write command timeout values in the changeable disk driver timeout
    section from 10 seconds to 60.
    Locate the existing timeout value u_long cdisk_to_def = 10; /10* seconds */ ,
    and change the value to u_long cdisk_to_def = 60; /60* seconds */ cdisk_to_def = 60; /60* seconds */