hp_ux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hp_ux [2011/12/27 08:38] – michael | hp_ux [2021/04/24 07:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== HP-UX ====== | ====== HP-UX ====== | ||
| - | | + | [[Software Management]] |
| * Verzeichnis der allgemeinen Cluster-Config: | * Verzeichnis der allgemeinen Cluster-Config: | ||
| 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 116: | Line 119: | ||
| For FC - Fiber Channel | For FC - Fiber Channel | ||
| ioscan -nfC FC | ioscan -nfC FC | ||
| + | |||
| + | |||
| + | WWNs herausbekommen: | ||
| + | unixha1:/ | ||
| + | Class | ||
| + | ================================================================ | ||
| + | fc 0 0/ | ||
| + | /dev/fcd0 | ||
| + | fc 1 0/ | ||
| + | /dev/fcd1 | ||
| + | fc 2 0/ | ||
| + | /dev/td2 | ||
| + | fc 3 0/ | ||
| + | /dev/td3 | ||
| + | fc 4 0/ | ||
| + | /dev/fcd4 | ||
| + | fc 5 0/ | ||
| + | /dev/fcd5 | ||
| + | |||
| + | |||
| + | fcmsutil /dev/fcd1 (vpd) | ||
| + | |||
| Line 123: | Line 148: | ||
| + | ===== Additional Swap Space ===== | ||
| + | |||
| + | Quelle: http:// | ||
| + | |||
| + | 01-19-2010 09:19 AM | ||
| + | Hi Eric: | ||
| + | |||
| + | You don't need to extend primary swap --- and as you have found, you can't easily do it. Generally you would re-ignite your server and choose a larger primary swap then. | ||
| + | |||
| + | Device swap space must be allocated contiguously. That is, without intervening disk extents used or free for another logical volume. | ||
| + | |||
| + | All this is moot. All you need to do is allocate secondary device swap somewhere. Whether or not it resides on vg00 is immaterial. | ||
| + | |||
| + | Secondary or primary device swap are equivalent. Simply add secondary device swap. | ||
| + | |||
| + | Do something like: | ||
| + | |||
| + | # lvcreate -C y -r n -L 32768 -n lvolN /dev/vgXX | ||
| + | # swapon -p / | ||
| + | |||
| + | See the manpages for more information. You can do this without a reboot. Remember to add activation of the secondary device swap so built to '/ | ||
| + | |||
| + | / | ||
| + | |||
| + | As you can see, the secondary device swap can be on any volume group you choose. | ||
| + | |||
| + | Regards! | ||
| + | |||
| + | ...JRF... | ||
| + | |||
| + | |||
| + | devices: | ||
| + | 10003 | ||
| + | 10004 pwe | ||
| + | 10005 pwd | ||
| + | 10006 | ||
| + | 10007 vi lun.out | ||
| + | 10008 | ||
| + | 10009 vi lun.out | ||
| + | 10010 | ||
| + | 10011 | ||
| + | |||
| + | swlist | grep OE | ||
| + | model | ||
| + | machinfo | ||
| + | ioscan -fnH " | ||
| + | ioscan -Cdisk <-> ioscan -NCdisk | ||
| + | |||
| + | # ioscan -NCdisk | ||
| + | H/W Path Class Description | ||
| + | ==================================== | ||
| + | 64000/ | ||
| + | 64000/ | ||
| + | 64000/ | ||
| + | 64000/ | ||
| + | 64000/ | ||
| + | 64000/ | ||
| + | 64000/ | ||
| + | 64000/ | ||
| + | |||
| + | |||
| + | ioscan -uC disk (u = usable = kein echter scan) | ||
| + | |||
| + | # ioscan -m hwpath -H 0/ | ||
| + | Lun H/W Path Lunpath H/W Path | ||
| + | ==================================================================== | ||
| + | 64000/ | ||
| + | 0/ | ||
| + | |||
| + | |||
| + | |||
| + | Physik zur Logik: | ||
| + | # ioscan -m lun -H 64000/ | ||
| + | Class | ||
| + | ====================================================================== | ||
| + | disk | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | / | ||
| + | |||
| + | |||
| + | Get legacy pathes to agile device: | ||
| + | # ioscan -m dsf / | ||
| + | Persistent DSF | ||
| + | ======================================== | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | |||
| + | root@rx26-137 | ||
| + | # ioscan -m dsf / | ||
| + | Persistent DSF | ||
| + | ======================================== | ||
| + | / | ||
| + | |||
| + | |||
| + | GET WWIF FOR DISK | ||
| + | # scsimgr get_attr -a wwid -D / | ||
| + | |||
| + | SCSI ATTRIBUTES FOR LUN : / | ||
| + | |||
| + | name = wwid | ||
| + | current = 0x600508b40007551c0000f00043260000 | ||
| + | default = | ||
| + | saved = | ||
| + | |||
| + | IOFIND output. Preview list of ... | ||
| + | SUMMARY: | ||
| + | -------- | ||
| + | Legacy dsf list : / | ||
| + | Files matching legacy dsfs : / | ||
| + | Device file mapping | ||
| + | Files searched upon for legacy | ||
| + | iofind file search exclusion list : / | ||
| + | Summary log : / | ||
| + | |||
| + | UPDATES: | ||
| + | Software.hp.com | ||
| + | |||
| + | |||
| + | # iofind -n -i /tmp/DSFs -R -p | ||
| + | |||
| + | *Creating the files to search upon. Based on the directory | ||
| + | | ||
| + | and files specified in / | ||
| + | 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 / | ||
| + | FileName: | ||
| + | ______________________________________ | ||
| + | / | ||
| + | |||
| + | Do you want iofind to replace / | ||
| + | |||
| + | Do you want iofind to replace / | ||
| + | |||
| + | Do you want iofind to replace / | ||
| + | |||
| + | Replaced / | ||
| + | |||
| + | The following occurrences of / | ||
| + | FileName: | ||
| + | ______________________________________ | ||
| + | / | ||
| + | |||
| + | Do you want iofind to replace / | ||
| + | |||
| + | Replaced / | ||
| + | |||
| + | The following occurrences of / | ||
| + | |||
| + | |||
| + | # drd clone -t / | ||
| + | |||
| + | ======= | ||
| + | |||
| + | * 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 | ||
| + | |||
| + | ======= | ||
| + | |||
| + | |||
| + | root@rx26-137 | ||
| + | # drd status | ||
| + | |||
| + | ======= | ||
| + | |||
| + | * Clone Disk: / | ||
| + | * Clone EFI Partition: | ||
| + | * Clone Rehost Status: | ||
| + | * Clone Creation Date: 09/30/13 08:12:41 EDT | ||
| + | * Last Sync Date: None | ||
| + | * Clone Mirror Disk: None | ||
| + | * Mirror EFI Partition: | ||
| + | * Original Disk: / | ||
| + | * Original EFI Partition: | ||
| + | * Original Rehost Status: | ||
| + | * Booted Disk: Original Disk (/ | ||
| + | * Activated Disk: | ||
| + | |||
| + | ======= | ||
| + | |||
| + | |||
| + | |||
| + | scsimgr get_stat -C disk -I 52 | ||
| + | scsimgr inquiry | ||
| + | |||
| + | |||
| + | while bdf | ||
| + | do | ||
| + | sleep 5 | ||
| + | done | ||
| + | |||
| + | |||
| + | / | ||
| + | |||
| + | |||
| + | |||
| + | ===== 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 / | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ioscan -kfnC fc | ||
| + | |||
| + | The devices on my system are /dev/td0, etc. To show info including WWN, run: | ||
| + | / | ||
hp_ux.1324975115.txt.gz · Last modified: 2021/04/24 07:38 (external edit)
