Welcome 2 v3

download Welcome 2 v3

of 109

Transcript of Welcome 2 v3

  • 8/14/2019 Welcome 2 v3

    1/109

    Connecting Peripherals

  • 8/14/2019 Welcome 2 v3

    2/109

    Legacy HBA Hardware Address

    1 / 0 / 0 / 1 / 0

    Cell SBA LBA device/function

  • 8/14/2019 Welcome 2 v3

    3/109

    Viewing Devices with ioscan

  • 8/14/2019 Welcome 2 v3

    4/109

    SCSI Device Addressing

  • 8/14/2019 Welcome 2 v3

    5/109

    Agile view scsi addressing

    1 / 0 / 0 / 1 / 0 . Oxa . 0x0

    HBA HARDWARE ADDRESS Target LUN ID

  • 8/14/2019 Welcome 2 v3

    6/109

    Legacy FC Hardware Address

    1 / 0 / 0 / 1 / 0 . 6 . 1 . 0 . 0 . 0 . 1

    HBA ADDRESS San domain/Area/Port Array Lun Id

  • 8/14/2019 Welcome 2 v3

    7/109

    Agile FC Hardware Address

    1 / 0 / 0 / 1 / 0 . 0x64bits . 0x64bits

    HBA ADDRESS WWN Port Name LUN Address

  • 8/14/2019 Welcome 2 v3

    8/109

    SCSI Add. By Agile view

    1 / 0 / 0 / 1 / 0 . 0xa . 0x0

    HBA HARDWARE ADDRESS Target LUN ID

  • 8/14/2019 Welcome 2 v3

    9/109

    HPUX Device Files Over view

  • 8/14/2019 Welcome 2 v3

    10/109

    Listing Device files With ll

  • 8/14/2019 Welcome 2 v3

    11/109

    DSF Types

    Legacy DSF

    DSFs are created for each lun path

    DSFs change if san topology change

    DSFs support 8192 active lun

  • 8/14/2019 Welcome 2 v3

    12/109

    DSF Types

    Persistent DSF

    DSFs are created for each WWID

    DSFs unaffected if san topology change

    DSFs support 16 million lun

  • 8/14/2019 Welcome 2 v3

    13/109

    Iisting Device file with lssf

  • 8/14/2019 Welcome 2 v3

    14/109

    Device File Directory

  • 8/14/2019 Welcome 2 v3

    15/109

    DSF Directory - /dev

    Persistent DSFs

    disk block disk

    rdisk char. disk

    rtape tape drive

    rchgr auto changer

    Legacy DSFs

    dsk block disk

    rdsk char. disk

    Rmt tape drive

    rac auto changer

  • 8/14/2019 Welcome 2 v3

    16/109

    Device File Naming Conversion ( Legacy )

  • 8/14/2019 Welcome 2 v3

    17/109

    Persistent Device File Naming

    / dev / disk / disk30

    30 Agile view Hardware Address

    Instant Number

  • 8/14/2019 Welcome 2 v3

    18/109

    Correlating between DSFs

    # ioscan m dsf

    # ioscan m dsf /dev/disk/c5t1d0

    # ioscan m dsf /dev/disk/disk30

  • 8/14/2019 Welcome 2 v3

    19/109

    Correlating DSFs WWIDs lunpaths

    # scsimgr lun_map D /dev/rdisk/disk30

    # scsimgr get_attr a wwid H

    64000/0xfa00/0x4

  • 8/14/2019 Welcome 2 v3

    20/109

    Creating Device files

  • 8/14/2019 Welcome 2 v3

    21/109

    Creating Device file via auto configuration

  • 8/14/2019 Welcome 2 v3

    22/109

    Creating device file with insf

  • 8/14/2019 Welcome 2 v3

    23/109

    Creating Device file with mksf

  • 8/14/2019 Welcome 2 v3

    24/109

    Creating Device file with mknod

  • 8/14/2019 Welcome 2 v3

    25/109

    Removing device file with rmsf

  • 8/14/2019 Welcome 2 v3

    26/109

    Managing Disk

  • 8/14/2019 Welcome 2 v3

    27/109

    Configuring Disk Devices

  • 8/14/2019 Welcome 2 v3

    28/109

    Disk Partitioning

  • 8/14/2019 Welcome 2 v3

    29/109

    Whole Disk Partioning

  • 8/14/2019 Welcome 2 v3

    30/109

    LVM Disk Partationing

  • 8/14/2019 Welcome 2 v3

    31/109

    LVM Device files

  • 8/14/2019 Welcome 2 v3

    32/109

    LVM Extents

  • 8/14/2019 Welcome 2 v3

    33/109

    Creating Physical Volumes

  • 8/14/2019 Welcome 2 v3

    34/109

    Creating Volume Group

  • 8/14/2019 Welcome 2 v3

    35/109

    Creating Logical Volumes

  • 8/14/2019 Welcome 2 v3

    36/109

    # pvcreate /dev/rdisk/disk6

    # pvcreate -f /dev/rdisk/disk6

    # mkdir /dev/vgtest

    # mknod /dev/vgtest/group c 64 0x040000# vgcreate vgtest /dev/disk/disk6

    # lvcreate -L 200 -n testlv vgtest

    # lvcreate -L 200 vgtest

  • 8/14/2019 Welcome 2 v3

    37/109

    File System Concepts

  • 8/14/2019 Welcome 2 v3

    38/109

    What is file system?

  • 8/14/2019 Welcome 2 v3

    39/109

  • 8/14/2019 Welcome 2 v3

    40/109

    What is in the File system

  • 8/14/2019 Welcome 2 v3

    41/109

    Accessing The File system

  • 8/14/2019 Welcome 2 v3

    42/109

    HPUX Hard Links

  • 8/14/2019 Welcome 2 v3

    43/109

    HPUX Symbolic links

  • 8/14/2019 Welcome 2 v3

    44/109

  • 8/14/2019 Welcome 2 v3

    45/109

  • 8/14/2019 Welcome 2 v3

    46/109

    File System Comparison

  • 8/14/2019 Welcome 2 v3

    47/109

    Creating And Mounting File systems

  • 8/14/2019 Welcome 2 v3

    48/109

    File System Creation Overview

  • 8/14/2019 Welcome 2 v3

    49/109

    File System Creation Commands

  • 8/14/2019 Welcome 2 v3

    50/109

    Mounting The File system

  • 8/14/2019 Welcome 2 v3

    51/109

  • 8/14/2019 Welcome 2 v3

    52/109

    Automatically Mounting File systems

  • 8/14/2019 Welcome 2 v3

    53/109

    Mounting CDFS File systems

  • 8/14/2019 Welcome 2 v3

    54/109

    Maintaining File systems

  • 8/14/2019 Welcome 2 v3

    55/109

    Monitoring File systems Free Space

  • 8/14/2019 Welcome 2 v3

    56/109

    Reclaiming wasted file system space

  • 8/14/2019 Welcome 2 v3

    57/109

    Extending Volume Groups

  • 8/14/2019 Welcome 2 v3

    58/109

    Extending Logical Volumes

  • 8/14/2019 Welcome 2 v3

    59/109

    # umount /dev/vg00/lvol7

    # lvextend -L new-size /dev/vg00/lvol7

    # extendfs -F vxfs /dev/vg00/rlvol7

    # mount -F vxfs /dev/vg00/lvol7 /mnt

  • 8/14/2019 Welcome 2 v3

    60/109

    # bdf

    # lvextend -L new_size /dev/vg00/lvol7

    # fsadm -F vxfs -b 20480 /mnt

    # bdf

  • 8/14/2019 Welcome 2 v3

    61/109

    Repairing Damaged File system

  • 8/14/2019 Welcome 2 v3

    62/109

    File System Backup

  • 8/14/2019 Welcome 2 v3

    63/109

    Why Backup

  • 8/14/2019 Welcome 2 v3

    64/109

    What Do You Backup up?

  • 8/14/2019 Welcome 2 v3

    65/109

    How Do You Perform Backup?

  • 8/14/2019 Welcome 2 v3

    66/109

    Backup with fbackup

  • 8/14/2019 Welcome 2 v3

    67/109

    Data Recovery with frecover

  • 8/14/2019 Welcome 2 v3

    68/109

    Network Backup

  • 8/14/2019 Welcome 2 v3

    69/109

    Boot Disk Backup with make_tape_recovery

  • 8/14/2019 Welcome 2 v3

    70/109

  • 8/14/2019 Welcome 2 v3

    71/109

    Using Recovery tape

  • 8/14/2019 Welcome 2 v3

    72/109

  • 8/14/2019 Welcome 2 v3

    73/109

    Indroducing to SD-UX

  • 8/14/2019 Welcome 2 v3

    74/109

  • 8/14/2019 Welcome 2 v3

    75/109

    SD-UX Software Depots

  • 8/14/2019 Welcome 2 v3

    76/109

    SD-UX IPD

  • 8/14/2019 Welcome 2 v3

    77/109

  • 8/14/2019 Welcome 2 v3

    78/109

    Listing Software

  • 8/14/2019 Welcome 2 v3

    79/109

    Installing and updating softwares

  • 8/14/2019 Welcome 2 v3

    80/109

    Removing Software

  • 8/14/2019 Welcome 2 v3

    81/109

    Istalling Patches with SD-UX

  • 8/14/2019 Welcome 2 v3

    82/109

    Patch Naming Conversion

  • 8/14/2019 Welcome 2 v3

    83/109

  • 8/14/2019 Welcome 2 v3

    84/109

    Scheduling cron jobs

  • 8/14/2019 Welcome 2 v3

    85/109

    The cron daemon

  • 8/14/2019 Welcome 2 v3

    86/109

    Understanding cron files

  • 8/14/2019 Welcome 2 v3

    87/109

    Managing cron files with crontab

  • 8/14/2019 Welcome 2 v3

    88/109

  • 8/14/2019 Welcome 2 v3

    89/109

    Swap Management

  • 8/14/2019 Welcome 2 v3

    90/109

    Swap concept

  • 8/14/2019 Welcome 2 v3

    91/109

  • 8/14/2019 Welcome 2 v3

    92/109

    Must Be available at Boot time

    It is usually Located on the Primary boot disk

    Boot disk is LVM, Designate one Logical Volume

    for Device Swap

    Primary Swap Area

  • 8/14/2019 Welcome 2 v3

    93/109

    Another Swap area

    File system swap is always secondary

    Better to keep in another physical Disk

    Secondary Swap Area

  • 8/14/2019 Welcome 2 v3

    94/109

  • 8/14/2019 Welcome 2 v3

    95/109

    Enabling Swap

  • 8/14/2019 Welcome 2 v3

    96/109

    Monitoring Swap Space

  • 8/14/2019 Welcome 2 v3

    97/109

    Guidelines for Selective Swap

  • 8/14/2019 Welcome 2 v3

    98/109

  • 8/14/2019 Welcome 2 v3

    99/109

    HPUX Operation states

  • 8/14/2019 Welcome 2 v3

    100/109

    HPUX Boot players

  • 8/14/2019 Welcome 2 v3

    101/109

    HPUX Boot Process

  • 8/14/2019 Welcome 2 v3

    102/109

  • 8/14/2019 Welcome 2 v3

    103/109

    Interact with PDC/BCH

  • 8/14/2019 Welcome 2 v3

    104/109

    Interacting with ISL/IPL

  • 8/14/2019 Welcome 2 v3

    105/109

    After Loaded the kernel

  • 8/14/2019 Welcome 2 v3

    106/109

    Run Levels

  • 8/14/2019 Welcome 2 v3

    107/109

  • 8/14/2019 Welcome 2 v3

    108/109

    /etc/inittab File

  • 8/14/2019 Welcome 2 v3

    109/109

    Starting service via /sbin/rc