VPLEX GUI Not Showing Performance Counters Solution: VPLEX: How to resolve GUI default monitors not reporting events Follow the steps below to resolve this issue: Log in to the affected Cluster’s VPLEXCLI. To get into engineering mode, enter the command: debug engineering-mode on Example: VPlexcli:/> debug engineering-mode on The CLI is now in engineering mode. Change directory (cd) to /monitoring/directors/<affected director>/monitors. Example: VPlexcli:/> cd /monitoring/directors/director-1-1-A/monitors Type ll to see the list of monitors running, and look for the one listed where vXX will equal a value like v17 director-1-1-A_PERPETUAL_vplex_sys_perf_mon_vX Example: VPlexcli:/monitoring/directors/director-1-1-A/monitors> ll Name Ownership Collecting Period Average Idle Bucket Bucket Bucket Bucket ———————————————– ——— Data —— Period For Min Max Width Count ———————————————– ——— ———- —— ——- ——- —— —— —— —— DEFAULT_director-1-1-A_director-FE-stats false false 5s – 103days – – – 64 DEFAULT_director-1-1-A_testmon false false 5s – 103days – – – 64 director-1-1-A_Justintest true false 5s – 103days – – – 64 director-1-1-A_PERPETUAL_vplex_sys_perf_mon_v17 true false 5s 5s 0s – – – 64 director-1-1-A_SETH_VIRTUAL true true 5min 5min 4.5min – – – 64 director-1-1-A_directorbusy true false 5s – 103days – – – 64 director-1-1-A_diskReportMonitor true true 0s – 103days – – – 64 director-1-1-A_portReportMonitor true true 0s – 103days – – – 64 director-1-1-A_test true true 5s 5s 1s – – – 64 director-1-1-A_testtest true false 0s – 103days – – – 64 director-1-1-A_volumeReportMonitor true true 0s – 103days – – – 64 director-1-1-A_vvol true true 5s 5s 1s – – – 64 Destroy the default monitor by issuing the command: monitor destroy DEFAULT_director-1-1-A_PERPETUAL_vplex_sys_perf_mon_vXX This will destroy the monitor for director-1-1-A. Repeat the above step for each directors monitors of the affected cluster. PERPETUAL_vplex_sys_perf_mon_vXX Exit VPLEXCLI. This will take you back to the management server prompt. VPlexcli:/> exit From the management server prompt, restart the VPlexManagementConsole by issuing the command: sudo /etc/init.d/VPlexManagementConsole restart example: service@ManagementServer:~> sudo /etc/init.d/VPlexManagementConsole restart This will recreate the default monitor files. Log back in to the VPlexcli and repeat Step 2 above to check the column labeled ownership for each PERPETUAL_vplex_sys_perf_mon_vXX monitors of each director that was affected. The file will now show as true. Open a browser window and log in to the VPLEX GUI to verify that the GUI stats are now being displayed. From the VPlexcli prompt, disable the debug engineering mode by typing the command: debug engineering-mode off Example: VPlexcli:/> debug engineering-mode off The CLI is now not in engineering mode. Once completed with the above steps, exit the VPlexcli and the management server and close the VPLEX GUI browser session. OR In case after management station restart the counters dis appear follow below Solution: VPLEX: GeoSynchrony 5.4 SP1 – Perpetual monitors do not start automatically, workaround required Option 1 This command will append “ll /monitoring/directors/*/monitors/” to the VPlexcli-init file, if it’s not already present. From the management station, enter the following command (all on one line): service@VPlex01:~> grep -cq ‘ll /monitoring’ /var/log/VPlex/cli/VPlexcli-init|| echo ‘ll /monitoring/directors/*/monitors/’ >> /var/log/VPlex/cli/VPlexcli-init Option 2 The manual editing method: Edit the CLI start-up command file /var/log/VPlex/cli/VPlexcli-init service@VPlex01:~> vi /var/log/VPlex/cli/VPlexcli-init 2. Add the line below to the end of the file (MUST be at the end of the file): ll /monitoring/directors/*/monitors/ 3. To add this line using VI, open the file as shown in step 1 above, then move the cursor to the current last line in the file using the down arrow key or the ‘ j ‘ key or by pressing shift-G then return. Either of these three actions will get you to the end of the current file. 4. Once at the end of the file, if the cursor is not on a line of text press ‘ a ‘ to append the new line, you will see ‘ — INSERT –‘ appear at the bottom of the screen. Copy and paste the the command line from step 2. If the line shows indented, move the cursor to the front of the line and onto the first character using the left arrow key or the ‘ h ‘ key. Once at the front of the line, and on the first character use the backspace key to move the whole line to the left hand edge of the screen. service@ManagementServer:~> cat /var/log/VPlex/cli/VPlexcli-init #——————————————————————————- #- (C) 2007-2010 EMC Corporation. All rights reserved. #- #- This CLI initialization script is executed if it’s located in any of the #- following locations: #- (CLI terminates the search on first success.) #- if the –init-file option is specified on the command line then use that file #- else search for the file “VPlexcli-init” in the following order: #- a. CLI directory (specified with the –cli-directory option) #- b. current dir (of the shell that started CLI) #- c. user.dir (usually equivalent to the current dir) #- d. user.home #- e. classpath #- This script is processed as if it had been sourced using the ‘source’ command #——————————————————————————- #——————————————————————————- #- start the webserver #——————————————————————————- webserver start #——————————————————————————- #- connect to any directors listed in the ‘connections’ file in this CLI directory #——————————————————————————- connect –no-prompt -c #——————————————————————————- #- connect to the directors in your system #- WARNING: do not use both the ‘connections’ file method and this method # at the same time. Connecting to the same director twice can have # unwanted side-effects. #——————————————————————————- #connect xxx.xxx.xxx.xx –secondary-host xxx.xxx.xxx.xx –name director-1-1-A #connect xxx.xxx.xxx.xx –secondary-host xxx.xxx.xxx.xx –name director-1-1-B #connect xxx.xxx.xxx.xx –secondary-host xxx.xxx.xxx.xx –name director-2-1-A #connect xxx.xxx.xxx.xx –secondary-host xxx.xxx.xxx.xx –name director-2-1-B ll /monitoring/directors/*/monitors/ — INSERT — 5. Once you have the line from step 2 inserted and lined up with the left hand edge of the screen press the ‘ Esc ‘ key to end the append session. The ‘ — INSERT — ‘ will disappear from the bottom of the screen. 6. Save the changes and exit vi. 7. To save the change(s) and exit vi press the shift-key and then the colon ( : ) then release the shift-key and press wq! 8. Cat the file to ensure the new entered line is there. 9. Next time the CLI restarts, the perpetual monitors should start like they should instead of stall.