User Tools

Site Tools


hp_ux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hp_ux [2013/06/10 09:20] michaelhp_ux [2021/04/24 07:40] (current) – external edit 127.0.0.1
Line 13: Line 13:
   cmmodpkg -e   cmmodpkg -e
   cmcheckconf -P   cmcheckconf -P
-  cmapplyconf -P+  cmapplyconf -P  
 +  cmcheckconf -v -K -C tsmbcicl.ascii 
 +  cmcheckconf -v -C tsmbcicl.ascii 
 +  cmcheckconf -v -k -C tsmbcicl.ascii
  
   * Cluster-Pakete schwenken    * Cluster-Pakete schwenken 
Line 147: Line 150:
 ===== Additional Swap Space ===== ===== Additional Swap Space =====
  
 +Quelle: http://h30499.www3.hp.com/t5/System-Administration/HOW-TO-INCREASE-SWAP-SPACE/td-p/5220211#.UbWaF9hvfzI
  
 ‎01-19-2010 09:19 AM ‎01-19-2010 09:19 AM
Line 175: Line 178:
 ...JRF... ...JRF...
  
 +
 +devices:
 +10003   vgdisplay -v vg08
 +10004   pwe
 +10005   pwd
 +10006   ioscan -m lun  > lun.out
 +10007   vi lun.out
 +10008   ioscan -m dsf
 +10009   vi lun.out
 +10010   ioscan -hw_path -H 64000/0xfa00/0x186
 +10011   ioscan -m hwpath -H 64000/0xfa00/0x186
 +
 +swlist | grep OE
 +model
 +machinfo
 +ioscan -fnH "legacy hardware path"
 +ioscan -Cdisk <-> ioscan -NCdisk
 +
 +# ioscan -NCdisk
 +H/W Path  Class          Description
 +====================================
 +64000/0xfa00/0x1         disk    HP      HSV200
 +64000/0xfa00/0x2         disk    HP      HSV200
 +64000/0xfa00/0x3         disk    HP      HSV200
 +64000/0xfa00/0x4         disk    HP      HSV200
 +64000/0xfa00/0x5         disk    HP 36.4GST336753LC
 +64000/0xfa00/0x6         disk    HP 73.4GST373454LC
 +64000/0xfa00/0x7         disk    HP 73.4GST373454LC
 +64000/0xfa00/0x8         disk    TEAC    DV-28E-C
 +
 +
 +ioscan -uC disk  (u = usable = kein echter scan)
 +
 +# ioscan -m hwpath -H 0/4/1/0.6.37.0.0.0.4
 +Lun H/W Path      Lunpath H/W Path                 Legacy H/W Path
 +====================================================================
 +64000/0xfa00/0x4
 +                  0/4/1/0.0x50001fe1501077ad.0x4004000000000000   0/4/1/0.6.37.0.0.0.4
 +
 +
 +
 +Physik zur Logik:
 +# ioscan -m lun -H 64000/0xfa00/0x4
 +Class      Lun H/W Path  Driver  S/W State   H/W Type     Health  Description
 +======================================================================
 +disk     79  64000/0xfa00/0x4   esdisk  CLAIMED     DEVICE       online  HP      HSV200
 +             0/3/1/0.0x50001fe1501077ac.0x4004000000000000
 +             0/3/1/0.0x50001fe1501077ad.0x4004000000000000
 +             0/3/1/0.0x50001fe1501077a8.0x4004000000000000
 +             0/3/1/0.0x50001fe1501077a9.0x4004000000000000
 +             0/4/1/0.0x50001fe1501077ac.0x4004000000000000
 +             0/4/1/0.0x50001fe1501077ad.0x4004000000000000
 +             0/4/1/0.0x50001fe1501077a8.0x4004000000000000
 +             0/4/1/0.0x50001fe1501077a9.0x4004000000000000
 +                      /dev/disk/disk79   /dev/rdisk/disk79
 +
 +
 +Get legacy pathes to agile device:
 +# ioscan -m dsf /dev/disk/disk79
 +Persistent DSF           Legacy DSF(s)
 +========================================
 +/dev/disk/disk79         /dev/dsk/c9t0d4
 +                         /dev/dsk/c11t0d4
 +                         /dev/dsk/c5t0d4
 +                         /dev/dsk/c7t0d4
 +                         /dev/dsk/c17t0d4
 +                         /dev/dsk/c19t0d4
 +                         /dev/dsk/c13t0d4
 +                         /dev/dsk/c15t0d4
 +
 +root@rx26-137   [/root]
 +# ioscan -m dsf /dev/dsk/c9t0d4
 +Persistent DSF           Legacy DSF(s)
 +========================================
 +/dev/disk/disk79         /dev/dsk/c9t0d4
 +
 +
 +GET WWIF FOR DISK
 +# scsimgr get_attr -a wwid -D /dev/rdisk/disk79
 +
 +        SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk79
 +
 +name = wwid
 +current = 0x600508b40007551c0000f00043260000
 +default =
 +saved =
 +
 +IOFIND output. Preview list of ...
 +SUMMARY:
 +--------
 +Legacy dsf list                      : /var/adm/iofind/logs/093013_070610/pathDSFlist.txt
 +Files matching legacy dsfs           : /var/adm/iofind/logs/093013_070610/dsf_match_files.txt
 +Device file mapping                  : /var/adm/iofind/logs/093013_070610/DSFmapping.txt
 +Files searched upon for legacy       : None.
 +iofind file search exclusion list    : /var/adm/iofind/cfg/iofind_exclude.cfg
 +Summary log                          : /var/adm/iofind/logs/093013_070610/summary.txt
 +
 +UPDATES:
 +Software.hp.com
 +
 +
 +# iofind -n -i /tmp/DSFs -R -p
 +
 +  *Creating the files to search upon. Based on the directory
 +   specified this could take a long time. Note that, directories
 +   and files specified in /var/adm/iofind/cfg/iofind_exclude.cfg
 +   will be omitted during search. You may edit and customize
 +   as you need.
 +
 +  *Compiling device file list.
 +
 +  *Beginning the device file search.
 +
 +    The following occurrences of /dev/dsk/c5t0d1 was found in file /tmp/DSFs:
 +    FileName:Line Number: Matching Pattern
 +    ______________________________________
 +    /tmp/DSFs:3:/dev/dsk/c5t0d1
 +
 +Do you want iofind to replace /dev/dsk/c5t0d1 with /dev/disk/disk76 :(Y)Yes;(N)No;Q(Quit) ?
 +
 +Do you want iofind to replace /dev/dsk/c5t0d1 with /dev/disk/disk76 :(Y)Yes;(N)No;Q(Quit) ?
 +
 +Do you want iofind to replace /dev/dsk/c5t0d1 with /dev/disk/disk76 :(Y)Yes;(N)No;Q(Quit) ?Y
 +
 +  Replaced /dev/dsk/c5t0d1 with /dev/disk/disk76 in file /var/adm/iofind/logs/093013_081520/preview//tmp/DSFs
 +
 +    The following occurrences of /dev/dsk/c7t0d1 was found in file /tmp/DSFs:
 +    FileName:Line Number: Matching Pattern
 +    ______________________________________
 +    /tmp/DSFs:7:/dev/dsk/c7t0d1
 +
 +Do you want iofind to replace /dev/dsk/c7t0d1 with /dev/disk/disk76 :(Y)Yes;(N)No;Q(Quit) ?Y
 +
 +  Replaced /dev/dsk/c7t0d1 with /dev/disk/disk76 in file /var/adm/iofind/logs/093013_081520/preview//tmp/DSFs
 +
 +    The following occurrences of /dev/dsk/c9t0d1 was found in file /tmp/DSFs:
 +
 +
 +# drd clone -t /dev/disk/disk87
 +
 +=======  09/30/13 08:12:29 EDT  BEGIN Clone System Image (user=root)  (jobid=rx26-137)
 +
 +       * Reading Current System Information
 +       * Selecting System Image To Clone
 +       * Selecting Target Disk
 +       * Selecting Volume Manager For New System Image
 +       * Analyzing For System Image Cloning
 +       * Creating New File Systems
 +       * Copying File Systems To New System Image
 +       * Making New System Image Bootable
 +       * Unmounting New System Image Clone
 +
 +=======  09/30/13 08:44:23 EDT  END Clone System Image succeeded. (user=root)  (jobid=rx26-137)
 +
 +
 +root@rx26-137   [/root]
 +# drd status
 +
 +=======  09/30/13 08:46:35 EDT  BEGIN Displaying DRD Clone Image Information (user=root)  (jobid=rx26-137)
 +
 +       * Clone Disk:               /dev/disk/disk87
 +       * Clone EFI Partition:      AUTO file present, Boot loader present
 +       * Clone Rehost Status:      SYSINFO.TXT not present
 +       * Clone Creation Date:      09/30/13 08:12:41 EDT
 +       * Last Sync Date:           None
 +       * Clone Mirror Disk:        None
 +       * Mirror EFI Partition:     None
 +       * Original Disk:            /dev/disk/disk86
 +       * Original EFI Partition:   AUTO file present, Boot loader present
 +       * Original Rehost Status:   SYSINFO.TXT not present
 +       * Booted Disk:              Original Disk (/dev/disk/disk86)
 +       * Activated Disk:           Original Disk (/dev/disk/disk86)
 +
 +=======  09/30/13 08:46:50 EDT  END Displaying DRD Clone Image Information succeeded. (user=root)  (jobid=rx26-137)
 +
 +
 +
 +scsimgr get_stat -C disk -I 52
 +scsimgr inquiry  -C disk -I 52
 +
 +
 +while bdf
 +do 
 +sleep 5
 +done
 +
 +
 +/etc/autoparms.log
 +
 +
 +
 +===== Errors für devices auslesen =====
 +
 +Alle LUNs:
 +
 +    scsimgr get_stat all_lun |grep -e LUN -e failures |more
 +
 +oder einzelne devices:
 +  
 +    scsimgr get_stat -D /dev/rmt/j1a_03_e10 all_lpt 
 +    
 +    
 +    
 +    
 +ioscan -kfnC fc
 +
 +The devices on my system are /dev/td0, etc. To show info including WWN, run:
 +    /opt/fcms/bin/fcmsutil /dev/td0 
  
hp_ux.1370856048.txt.gz · Last modified: 2021/04/24 07:38 (external edit)