Friday 5 October 2012

veritas dynamic multipathing


bash-3.00# vxdmpadm getctlr all
LNAME     PNAME                                    VENDOR               CTLR-ID
========================================================================================================
c1        /pci@0,0/pci15ad,1976@10                 -                    -
c2        /pci@0,0/pci15ad,790@11/pci15ad,1976@3   -                    -


bash-3.00# vxdmpadm listctlr all
CTLR-NAME       ENCLR-TYPE      STATE      ENCLR-NAME
=====================================================
c1              Disk            ENABLED      disk
c2              Disk            ENABLED      disk


bash-3.00# vxdmpadm iostat show all
                       cpu usage = 7us    per cpu memory = 4096b
                        OPERATIONS            BLOCKS          AVG TIME(ms)
PATHNAME             READS    WRITES     READS    WRITES     READS    WRITES
c1t0d0s2                13         0        29         0      0.00      0.00
c1t1d0s2                13         0        29         0      0.00      0.00
c2t3d0s2                14         0       105         0      0.00      0.00
c2t2d0s2                14         0       105         0      0.00      0.00
c2t1d0s2                14         0       105         0      0.00      0.00
c2t0d0s2                14         0       105         0      0.00      0.00
c2t4d0s2                14         0       105         0      0.00      0.00
bash-3.00# vxdmpadm iostat show ctlr=c2
                       cpu usage = 11us    per cpu memory = 4096b
                        OPERATIONS            BLOCKS          AVG TIME(ms)
PATHNAME             READS    WRITES     READS    WRITES     READS    WRITES
c2t3d0s2                14         0       105         0      0.00      0.00
c2t2d0s2                14         0       105         0      0.00      0.00
c2t1d0s2                14         0       105         0      0.00      0.00
c2t0d0s2                14         0       105         0      0.00      0.00
c2t4d0s2                14         0       105         0      0.00      0.00
bash-3.00# vxdmpadm iostat show
                       cpu usage = 14us    per cpu memory = 4096b
                        OPERATIONS            BLOCKS          AVG TIME(ms)
PATHNAME             READS    WRITES     READS    WRITES     READS    WRITES
c1t0d0s2                13         0        29         0      0.00      0.00
c1t1d0s2                13         0        29         0      0.00      0.00
c2t3d0s2                14         0       105         0      0.00      0.00
c2t2d0s2                14         0       105         0      0.00      0.00
c2t1d0s2                14         0       105         0      0.00      0.00
c2t0d0s2                14         0       105         0      0.00      0.00
c2t4d0s2                14         0       105         0      0.00      0.00




bash-3.00# vxdmpadm getsubpaths
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-NAME   CTLR   ATTRS
================================================================================
c1t0d0s2     ENABLED(A)   -          c1t0d0s2     disk         c1       -
c1t1d0s2     ENABLED(A)   -          c1t1d0s2     disk         c1       -
c2t0d0s2     ENABLED(A)   -          c2t0d0s2     disk         c2       -
c2t1d0s2     ENABLED(A)   -          c2t1d0s2     disk         c2       -
c2t2d0s2     ENABLED(A)   -          c2t2d0s2     disk         c2       -
c2t3d0s2     ENABLED(A)   -          c2t3d0s2     disk         c2       -
c2t4d0s2     ENABLED(A)   -          c2t4d0s2     disk         c2       -




bash-3.00# vxdmpadm getsubpaths ctlr=c2
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTRS
================================================================================
c2t0d0s2     ENABLED(A)   -          c2t0d0s2     Disk         disk           -
c2t1d0s2     ENABLED(A)   -          c2t1d0s2     Disk         disk           -
c2t2d0s2     ENABLED(A)   -          c2t2d0s2     Disk         disk           -
c2t3d0s2     ENABLED(A)   -          c2t3d0s2     Disk         disk           -
c2t4d0s2     ENABLED(A)   -          c2t4d0s2     Disk         disk           -




bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:cdsdisk    -            -            online
c2t1d0s2     auto:cdsdisk    -            -            online
c2t2d0s2     auto:cdsdisk    -            -            online
c2t3d0s2     auto:cdsdisk    -            -            online
c2t4d0s2     auto:cdsdisk    -            -            online

bash-3.00# vxdmpadm -f disable  ctlr=c2

bash-3.00# vxdmpadm getsubpaths
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-NAME   CTLR   ATTRS
================================================================================
c1t0d0s2     ENABLED(A)   -          c1t0d0s2     disk         c1       -
c1t1d0s2     ENABLED(A)   -          c1t1d0s2     disk         c1       -
c2t0d0s2     DISABLED     -          c2t0d0s2     disk         c2       -
c2t1d0s2     DISABLED     -          c2t1d0s2     disk         c2       -
c2t2d0s2     DISABLED     -          c2t2d0s2     disk         c2       -
c2t3d0s2     DISABLED     -          c2t3d0s2     disk         c2       -
c2t4d0s2     DISABLED     -          c2t4d0s2     disk         c2       -
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:cdsdisk    -            -            online
c2t1d0s2     auto:cdsdisk    -            -            online
c2t2d0s2     auto:cdsdisk    -            -            online
c2t3d0s2     auto:cdsdisk    -            -            online
c2t4d0s2     auto:cdsdisk    -            -            online
bash-3.00# vxconfigd -k
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto            -            -            error
c2t1d0s2     auto            -            -            error
c2t2d0s2     auto            -            -            error
c2t3d0s2     auto            -            -            error
c2t4d0s2     auto            -            -            error



bash-3.00# vxdmpadm enable ctlr=c2
bash-3.00# vxdmpadm getsubpaths
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-NAME   CTLR   ATTRS
================================================================================
c1t0d0s2     ENABLED(A)   -          c1t0d0s2     disk         c1       -
c1t1d0s2     ENABLED(A)   -          c1t1d0s2     disk         c1       -
c2t0d0s2     ENABLED(A)   -          c2t0d0s2     disk         c2       -
c2t1d0s2     ENABLED(A)   -          c2t1d0s2     disk         c2       -
c2t2d0s2     ENABLED(A)   -          c2t2d0s2     disk         c2       -
c2t3d0s2     ENABLED(A)   -          c2t3d0s2     disk         c2       -
c2t4d0s2     ENABLED(A)   -          c2t4d0s2     disk         c2       -
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:cdsdisk    -            -            online
c2t1d0s2     auto:cdsdisk    -            -            online
c2t2d0s2     auto:cdsdisk    -            -            online
c2t3d0s2     auto:cdsdisk    -            -            online
c2t4d0s2     auto:cdsdisk    -            -            online





bash-3.00# vxdmpadm listapm
Filename           APM Name           APM Version  Array Types       State
================================================================================
dmpalua            dmpalua                1        ALUA              Not-Active
dmpaa              dmpaa                  1        A/A               Active
dmpaaa             dmpaaa                 1        A/A-A             Not-Active
dmpap              dmpap                  1        A/P               Active
dmpap              dmpap                  1        A/P-C             Active
dmpapf             dmpapf                 1        A/PF-VERITAS      Not-Active
dmpapf             dmpapf                 1        A/PF-T3PLUS       Not-Active
dmpapg             dmpapg                 1        A/PG              Not-Active
dmpapg             dmpapg                 1        A/PG-C            Not-Active
dmpjbod            dmpjbod                1        Disk              Active
dmpjbod            dmpjbod                1        APdisk            Active
dmpCLARiiON        dmpCLARiiON            1        CLR-A/P           Not-Active
dmpCLARiiON        dmpCLARiiON            1        CLR-A/PF          Not-Active
dmpsvc             dmpsvc                 1        A/A-IBMSVC        Not-Active



bash-3.00# vxdmpadm getportids ctlr=c2
NAME                 ENCLR-NAME     ARRAY-PORT-ID                   pWWN
===================================================================================
c2t4d0s2             disk                 -                -
c2t3d0s2             disk                 -                -
c2t2d0s2             disk                 -                -
c2t1d0s2             disk                 -                -
c2t0d0s2             disk                 -                -



bash-3.00# vxdmpadm gettune
            Tunable               Current Value  Default Value
------------------------------    -------------  -------------
dmp_failed_io_threshold               57600            57600.
 dmp_retry_count                           5               5.
dmp_pathswitch_blks_shift                 9                9.
dmp_queue_depth                          32               32.
dmp_cache_open                           on               on.
dmp_daemon_count                         10               10.
dmp_scsi_timeout                         30               30.
dmp_delayq_interval                      15               15.
dmp_path_age                            300              300.
dmp_stat_interval                         1                1.
dmp_health_time                          60               60.
dmp_probe_idle_lun                       on               on.
dmp_log_level                             1                1.
dmp_fast_recovery                        on               on.
dmp_enable_restore                       on               on.
dmp_restore_policy             check_disabled   check_disabled.
dmp_restore_interval                    300              300.
dmp_restore_cycles                       10               10.
dmp_monitor_fabric                       on               on.




bash-3.00# vxdmpadm listenclosure
ENCLR_NAME        ENCLR_TYPE     ENCLR_SNO      STATUS       ARRAY_TYPE     LUN_COUNT
===================================================================================
disk              Disk           DISKS                CONNECTED    Disk        7




bash-3.00# vxdmpadm settune dmp_stat_interval=2
Tunable value will be changed immediately
bash-3.00# vxdmpadm gettune
            Tunable               Current Value  Default Value
------------------------------    -------------  -------------
dmp_failed_io_threshold               57600            57600.
 dmp_retry_count                           5               5.
dmp_pathswitch_blks_shift                 9                9.
dmp_queue_depth                          32               32.
dmp_cache_open                           on               on.
dmp_daemon_count                         10               10.
dmp_scsi_timeout                         30               30.
dmp_delayq_interval                      15               15.
dmp_path_age                            300              300.
dmp_stat_interval                         2                1.
dmp_health_time                          60               60.
dmp_probe_idle_lun                       on               on.
dmp_log_level                             1                1.
dmp_fast_recovery                        on               on.
dmp_enable_restore                       on               on.
dmp_restore_policy             check_disabled   check_disabled.
dmp_restore_interval                    300              300.
dmp_restore_cycles                       10               10.
dmp_monitor_fabric                       on               on.
bash-3.00# vxdmpadm settune dmp_stat_interval=1
Tunable value will be changed immediately
bash-3.00# vxdmpadm gettune
            Tunable               Current Value  Default Value
------------------------------    -------------  -------------
dmp_failed_io_threshold               57600            57600.
 dmp_retry_count                           5               5.
dmp_pathswitch_blks_shift                 9                9.
dmp_queue_depth                          32               32.
dmp_cache_open                           on               on.
dmp_daemon_count                         10               10.
dmp_scsi_timeout                         30               30.
dmp_delayq_interval                      15               15.
dmp_path_age                            300              300.
dmp_stat_interval                         1                1.
dmp_health_time                          60               60.
dmp_probe_idle_lun                       on               on.
dmp_log_level                             1                1.
dmp_fast_recovery                        on               on.
dmp_enable_restore                       on               on.
dmp_restore_policy             check_disabled   check_disabled.
dmp_restore_interval                    300              300.
dmp_restore_cycles                       10               10.
dmp_monitor_fabric                       on               on.






=========================================

bash-3.00# vxdmpadm exclude all




bash-3.00# vxdmpadm listctlr
VxVM vxdmpadm ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
bash-3.00# vxdisk list
VxVM vxdisk ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
bash-3.00# ps -aef|grep -i vx
    root   631     1   0 21:17:41 ?           0:00 /sbin/vxesd
    root  2118     1   0 21:19:07 ?           0:00 /usr/sbin/vxdclid
    root  3094  2372   0 21:19:10 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  2373     1   0 21:19:08 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3306  3303   0 21:19:10 ?           0:00 vxnotify -m -w 15
    root  2374     1   0 21:19:08 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  1984     1   0 21:18:41 ?           0:01 /opt/VRTSob/bin/vxsvc -r /etc
    root  2034     1   0 21:18:51 ?           0:02 /opt/VRTSobc/pal33/bin/vxpal
    root  2003     1   0 21:18:43 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal
    root  3321  3320   0 21:19:10 ?           0:00 vxnotify -C -w 15
    root  2372     1   0 21:19:08 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  2092     1   0 21:19:06 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal
    root  2376     1   0 21:19:08 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3075  3074   0 21:19:10 ?           0:00 vxnotify
    root  3320  2374   0 21:19:10 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3074  2376   0 21:19:10 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3095  3094   0 21:19:10 ?           0:00 vxnotify -f -w 15
    root  3303  2373   0 21:19:10 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  4106  3585   0 21:52:15 pts/2       0:00 grep -i vx
bash-3.00# vxdmpadm include all
VxVM vxdmpadm ERROR V-5-1-684 IPC failure: Configuration daemon is not accessibl




bash-3.00# vxdctl mode
mode: not-running
bash-3.00# vxdctl enable
VxVM vxdctl ERROR V-5-1-307 vxconfigd is not running, cannot enable
bash-3.00# vxconfigd -k
bash-3.00# vxdisk list
VxVM vxdisk ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
bas



bash-3.00# vxconfigd -k -m boot
bash-3.00# vxdconfigd -k -m enable


bash-3.00# ls -l /etc/vx/volboot
-rw-r--r--   1 root     root         512 Sep  9 00:03 /etc/vx/volboot
bash-3.00# vxdctl init
vxdctl: Configuration daemon is not accessible
bash-3.00# /sbin/vxconfigd -k -x syslog
bash-3.00# ls
bash-3.00# pwd
/etc/vx/reconfig.d/state.d




bash-3.00# ps -aef|grep -i vx
    root   631     1   0 21:17:41 ?           0:00 /sbin/vxesd
    root  2118     1   0 21:19:07 ?           0:00 /usr/sbin/vxdclid
    root  1984     1   0 21:18:41 ?           0:01 /opt/VRTSob/bin/vxsvc -r /etc/vx/isis/Registry -e
    root  2034     1   0 21:18:51 ?           0:03 /opt/VRTSobc/pal33/bin/vxpal -a StorageAgent -x
    root  2003     1   0 21:18:43 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal -a gridnode -x
    root  2092     1   0 21:19:06 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal -a actionagent -x


=================================


vxvm:xxxx: ERROR: IPC Failure: Configuration daemon is not accessible

Solution

The issue:
After installation of Storage Foundation or Volume Manager  (VxVM) an error similar to the following is encountered:

vxvm:xxxx: ERROR: IPC Failure: Configuration daemon is not accessible

For example:

VxVM vxdmpadm ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible


This may be due to an error during the installation process.
The installer may not have completed installation as expected.
An error in the installation logs may not be indicated.

To resolve the issue:

The "install-db" file prevents the vxconfigd daemon from starting on system boot.
Verify if the file "install-db" is present.

# ls /etc/vx/reconfig.d/state.d/install-db

If the file is present, remove the install-db file using the following command:

# rm /etc/vx/reconfig.d/state.d/install-db

Restart the Volume Manager configuration daemon, setting the boot and enable modes for startup of vxconfigd after reboot:

# vxconfigd -k -m boot
# vxconfigd -k -m enable

When attempting to start vxconfigd, if the following error is encountered:

VxVM vxconfigd ERROR V-5-1-1589 enable failed: Volboot file not loaded
       transactions are disabled.

The '/etc/vx/volboot' file is missing or was not created during the installation process.
Create the volboot file manually and restart vxconfigd with the following commands:

# vxdctl init <hostname>
# vxconfigd -k

Verify proper operation of VxVM by issuing the command 'vxdisk list'.
If output is created upon the above command execution, VxVM is operating correctly.
Additionally, Best Practice would be to restart the host and then verify VxVM starts after the system is rebooted.


=========================

so i kill all veritas process manually

#vxconfigd -k

bash-3.00# vxconfigd -k
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# vxdmpadm include vxvm all
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:cdsdisk    -            -            online
c2t1d0s2     auto:cdsdisk    -            -            online
c2t2d0s2     auto:cdsdisk    -            -            online
c2t3d0s2     auto:cdsdisk    -            -            online
c2t4d0s2     auto:cdsdisk    -            -            online




==========================

bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:cdsdisk    -            -            online
c2t1d0s2     auto:cdsdisk    -            -            online
c2t2d0s2     auto:cdsdisk    -            -            online
c2t3d0s2     auto:cdsdisk    -            -            online
c2t4d0s2     auto:cdsdisk    -            -            online
bash-3.00# ps -aef|grep -i vx
    root    57     1   0 11:19:05 ?           0:01 vxconfigd -x syslog -m boot
    root   631     1   0 11:19:23 ?           0:00 /sbin/vxesd
    root  3329  3328   0 11:21:01 ?           0:00 vxnotify -C -w 15
    root  2004     1   0 11:20:31 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal
    root  2375     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3316  3313   0 11:21:01 ?           0:00 vxnotify -m -w 15
    root  2043     1   0 11:20:41 ?           0:02 /opt/VRTSobc/pal33/bin/vxpal
    root  3140  3138   0 11:21:01 ?           0:00 vxnotify -f -w 15
    root  2376     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  2379     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  1982     1   0 11:20:29 ?           0:01 /opt/VRTSob/bin/vxsvc -r /etc
    root  2097     1   0 11:20:56 ?           0:01 /opt/VRTSobc/pal33/bin/vxpal
    root  2123     1   0 11:20:58 ?           0:00 /usr/sbin/vxdclid
    root  2377     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3037  3034   0 11:21:01 ?           0:00 vxnotify
    root  3313  2376   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3328  2377   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3138  2375   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
    root  3034  2379   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/
bash-3.00# vxdmpadm exclude vxvm all
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# vxconigd
bash: vxconigd: command not found
bash-3.00# clear
bash-3.00# vxdctl mode
mode: not-running
bash-3.00# vxdisk list
VxVM vxdisk ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
bash-3.00# vxconfigd -k
bash-3.00# vxdctl mode
mode: not-running
bash-3.00# pgrep vxconfigd
bash-3.00# ps -aef|grep -i vx
    root   631     1   0 11:19:23 ?           0:00 /sbin/vxesd
    root  3329  3328   0 11:21:01 ?           0:00 vxnotify -C -w 15
    root  2004     1   0 11:20:31 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal -a gridnode -x
    root  2375     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxrelocd root
    root  3316  3313   0 11:21:01 ?           0:00 vxnotify -m -w 15
    root  2043     1   0 11:20:41 ?           0:02 /opt/VRTSobc/pal33/bin/vxpal -a StorageAgent -x
    root  3140  3138   0 11:21:01 ?           0:00 vxnotify -f -w 15
    root  2376     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxsited root
    root  2379     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxconfigbackupd
    root  1982     1   0 11:20:29 ?           0:01 /opt/VRTSob/bin/vxsvc -r /etc/vx/isis/Registry -e
    root  2097     1   0 11:20:56 ?           0:01 /opt/VRTSobc/pal33/bin/vxpal -a actionagent -x
    root  2123     1   0 11:20:58 ?           0:00 /usr/sbin/vxdclid
    root  2377     1   0 11:20:59 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxcached root
    root  3037  3034   0 11:21:01 ?           0:00 vxnotify
    root  3313  2376   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxsited root
    root  3328  2377   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxcached root
    root  3138  2375   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxrelocd root
    root  3034  2379   0 11:21:01 ?           0:00 /sbin/sh - /usr/lib/vxvm/bin/vxconfigbackupd



************************ after some time****************
bash-3.00# ps -aef|grep -i vx
    root   631     1   0 11:19:23 ?           0:00 /sbin/vxesd
    root  2004     1   0 11:20:31 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal -a gridnode -x
    root  2043     1   0 11:20:41 ?           0:02 /opt/VRTSobc/pal33/bin/vxpal -a StorageAgent -x
    root  1982     1   0 11:20:29 ?           0:01 /opt/VRTSob/bin/vxsvc -r /etc/vx/isis/Registry -e
    root  2097     1   0 11:20:56 ?           0:01 /opt/VRTSobc/pal33/bin/vxpal -a actionagent -x
    root  2123     1   0 11:20:58 ?           0:00 /usr/sbin/vxdclid
bash-3.00# vxdctl mode
mode: not-running


bash-3.00# /opt/VRTSobc/pal33/bin/vxpal -v
3.3.1206.0
bash-3.00# ps -aef|grep -i vx
    root   631     1   0 11:19:23 ?           0:00 /sbin/vxesd
    root  2004     1   0 11:20:31 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal -a gridnode -x
    root  2043     1   0 11:20:41 ?           0:02 /opt/VRTSobc/pal33/bin/vxpal -a StorageAgent -x
    root  1982     1   0 11:20:29 ?           0:01 /opt/VRTSob/bin/vxsvc -r /etc/vx/isis/Registry -e
    root  2097     1   0 11:20:56 ?           0:01 /opt/VRTSobc/pal33/bin/vxpal -a actionagent -x
    root  2123     1   0 11:20:58 ?           0:00 /usr/sbin/vxdclid
bash-3.00# ps -aef|grep -i vx
    root   631     1   0 11:19:23 ?           0:00 /sbin/vxesd
    root  2004     1   0 11:20:31 ?           0:00 /opt/VRTSobc/pal33/bin/vxpal -a gridnode -x
    root  2043     1   0 11:20:41 ?           0:02 /opt/VRTSobc/pal33/bin/vxpal -a StorageAgent -x
    root  1982     1   0 11:20:29 ?           0:01 /opt/VRTSob/bin/vxsvc -r /etc/vx/isis/Registry -e
    root  2097     1   0 11:20:56 ?           0:01 /opt/VRTSobc/pal33/bin/vxpal -a actionagent -x
    root  2123     1   0 11:20:58 ?           0:00 /usr/sbin/vxdclid
bash-3.00# vxconfigd -k
bash-3.00# vxdctl mode
mode: not-running
bash-3.00# kill -9 631 2004 2043 1982 2097 2123
bash-3.00# ps -aef|grep -i vx


bash-3.00# vxconfigd -k
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# ps -aef|grep -i vx
    root  3752     1   0 11:34:10 ?           0:00 vxconfigd -k
bash-3.00# vxdctl mode
mode: enabled
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# ps -aef|grep -i vx
    root  3752     1   0 11:34:10 ?           0:00 vxconfigd -k
bash-3.00# vxnotify
connected
^C


bash-3.00# vxiod
16 volume I/O daemons running

bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
bash-3.00# vxdmpadm include vxvm all
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:cdsdisk    -            -            online
c2t1d0s2     auto:cdsdisk    -            -            online
c2t2d0s2     auto:cdsdisk    -            -            online
c2t3d0s2     auto:cdsdisk    -            -            online
c2t4d0s2     auto:cdsdisk    -            -            online

No comments:

Post a Comment