EMC (DMX) solutions Enabler Symmetrix Array Management CLI Version 6.5

EMC solutions Enabler Symmetrix Array Management CLI Version 6.5 function, it can still be done. Let's talk about the monitoring method, which is actually very simple.

    This is accomplished using the symevent command of the MC solutions Enabler Symmetrix Array Management CLI Version 6.5. The symevent command is mainly used to display the DMX system log, and alarms related to equipment problems will be in it:

    If we want to see all the device alarm logs, we can use the following command:

    ./symevent list -warn

    If we want to look at the device alarm from 2011-3-29 to 2011-4-1, you can use the following command:

    ./symevent list -warn -start 03/29/2011:00:00:00  -end 04/01/2011:00:00:00

Symmetrix ID: xxxxxxxxxxxxx

Time Zone   : EAT

Detection time           Dir    Src  Category     Severity     Error Num
------------------------ ------ ---- ------------ ------------ ----------
Tue Mar 29 04:07:02 2011 DF-2A  SP   Environment  Error        0x0070
    Environmental Error: Supplemental Power Supply low input AC Voltage

Tue Mar 29 15:04:18 2011 DF-2C  SP   Environment  Error        0x0066
    Environmental Error: Power Supply A faulted

Tue Mar 29 15:04:25 2011 DF-15C SP   Environment  Error        0x0066
    Environmental Error: Power Supply A faulted

Tue Mar 29 15:04:25 2011 DF-2D  SP   Environment  Error        0x0066
    Environmental Error: Power Supply A faulted   

    You can write a script to monitor the system alarm log of the day:

    #!/usr/local/bin/bash
    MAILLIST=""
    for i in Warn Error Fatal
    do
      /opt/emc/SYMCLI/V6.5.3/bin/symevent list -warn -start `date +%x:00:00:00` -end `date +%x:23:59:00` > /tmp/symevent.txt
      cat  /tmp/symevent.txt | grep $i && cat /tmp/symevent.txt   | mailx -s "Symmetrix Device $i" ${MAILLIST}
    done
    加个计划任务:

    #check  Symmetrix device warn everyday 
    59 23 * * * /symevent.sh

   

    After completing the above work, we can actively monitor the situation of our DMX3 equipment through the EMC solutions Enabler tool.

  

    Here are a few more useful viewing commands (because of the closed nature of DMX, I am not sure about the configuration of the DMX system, and now only for viewing):

    1. View the stored basic information:

      ./symcfg list -v

    2. Check the application installation status of the connected host:

     ./symcfg list -applications

    3. Check the space usage of the connected host:

     ./symcfg list -connections -capacity

    4. Check the patch status:

     ./symcfg list  -upatches

    5. Check the main hardware situation

    ./symcfg list -env_data

    6. View the information of each bay

    ./symcfg  show -env_data SystemBay

    ./symcfg  show -env_data Bay-1A

    ./symcfg  show -env_data <Bay_Name>

    7. Check the disk device situation:

    ./symdev list

    ./symdev list -service_state normal

    8. Check the problem disk device:

    ./symdisk list -failed

   ./symdev list -service_state normal

    9. Check the condition of a disk device:

    ./symdev show <sym_device_num>

    10. Check the disk status:

    ./symdisk list

    ./symdisk show 01A:C0

    ./symdisk list -spare_info -v

    ./symdisk list -v -hotspares

    ./symdisk list -v -failed

    11. Check the ACL situation:

    ./symacl list -v

    ./symacl list -acl

    12. Storage performance statistics:

    ./symstat -type request -i 10 -c 3

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326880333&siteId=291194637