HP Pay per use (PPU) manual Verifying Utility Meter Operation, # /usr/bin/grep Error /etc/rc.log

Page 77

4 Verifying Utility Meter Operation

This chapter describes tasks associated with confirming proper operation of the Utility Meter. This chapter provides information to:

Verify that the Utility Meter hardware is operational.

Verify that the Utility Meter software is operational.

Verify that the correct version of HP SIM is installed.

Verify that the CIM server software is operational.

Verify connectivity from the Utility Meter to HP.

Verify that the Utility Meter's data acquisition server is running.

Verify the Utility Meter's data transport method.

Verify a PPU partition.

Verify a storage device.

4.1Verifying the Utility Meter Hardware is Operational

The Utility Meter can be powered off in the following cases:

There was a general power interruption at the Utility Meter site.

The Utility Meter hardware was accidentally powered off.

The Utility Meter hardware has a hardware problem.

You must contact your local HP representative if you are planning to power off the Utility Meter for more than one day. This informs HP that usage data will be stopped, or has stopped, and to reconcile the billing.

After powering on the Utility Meter, follow this procedure to confirm that the Utility Meter hardware is operational:

1.On the Utility Meter:

a.Log in as root

b.Inspect the HP-UX boot log file at /etc/rc.log for errors:

# /usr/bin/grep ERROR /etc/rc.log

Alternatively, you can use /usr/bin/more or /usr/bin/vi to view the boot log file contents, search for “ERROR”, and inspect the file for errors.

c.Test network connectivity:

#/usr/sbin/ping computer_connected_to_meter

#/usr/bin/telnet computer_connected_to_meter

2.If the network connection fails, look at the network link LEDs on the Utility Meter. The Link LED on the LAN interface in use should be solid. The Traffic LED should blink irregularly to indicate traffic in and out of the Utility Meter system.

If the Utility Meter's LAN interface LEDs do not indicate the correct state, work with the site Network Administrator to resolve the problem.

4.2Verifying the Utility Meter Software is Operational

Follow this procedure to verify that the Utility Meter software is installed and operational:

1.Run the swlist command to verify that the software is installed:

NOTE: The following command is for PPU installations. For URS installations, replace “T2805AA” with “T5462A”. The swlist T5462A output for the fileset or file level displays objects that are prefixed with “T2805AA”. This is the normal swlist output for this release of the Utility Meter software.

# /usr/sbin/swlist T2805AA

4.1 Verifying the Utility Meter Hardware is Operational 77

Image 77
Contents HP Utility Meter Users Guide for version Page Table of Contents Verifying Utility Meter Operation Troubleshooting the Utility MeterPerforming Utility Meter Tasks Site Preparation Form for Utility Ready Storage Site Preparation Form for Pay Per UsePage List of Figures Page Common Utility Meter Tasks Recommended Minimum Hardware List of TablesPage Intended Audience About This DocumentPublishing History Document OrganizationCommon Utility Meter Tasks Typographic Conventions Locating This GuideRelated Documents HP Encourages Your CommentsPage Overview IntroductionIntroduction Reminder of What was New in Version What is New for VersionRecommended Hardware Swapping Utility Meter HardwareEVA Supported URS PlatformsSupported PPU Platforms SoftwareUtility Meter Directory Structure Utility Meter Software DependenciesUtility Meter Software Back Up Missing Usage Reports Installation and Support ServicesData Sent to HP Data Transport Methods Ordering Utility Pricing Solutions Web PortalIntroduction Installing and Configuring the Utility Meter Software Before Going to the Customer Site Skills RequiredInstalling the HP Systems Insight Manager Software Configuring the HP-UX System ParametersInstalling the Utility Meter Software Usr/sbin/swinstall -s path-to-depotT5462A Usr/sbin/swinstall -s path-to-depotT2805AA# /usr/sbin/swinstall # /usr/sbin/swinstall -s hostnamepathname T2805AA \Completing the Utility Meter Software Installation Configuring the Utility Meter Parameters# /usr/sbin/shutdown -r # /opt/meter/bin/monitor status# /opt/meter/bin/umGUI # /usr/bin/X11/xclock# export DISPLAY=10.x.x.x0.0 Utility Meter GUI Main Window # /opt/meter/bin/monitor stop # /opt/meter/bin/monitor start # /opt/meter/bin/SetupCLI URS XP Only Installing the XP CV AE CLI SoftwareAvoiding CLI Conflicts Email MasqueradingManual email Masquerading # /opt/meter/sbin/sendmail-configAutomated email Masquerading Verifying email Masquerading Try esmtp umeter@hostname.corp.example Try esmtp umeter@localhostCompleting the Utility Meter Installation and Configuration Configuring PPU Partitions and URS DevicesVerifying the Utility Meter Operation Upgrading the Utility Meter Software to VersionInstalling and Configuring the Utility Meter Software Information Performing Utility Meter TasksUtility Meter GUI Main Window should appear Starting the Utility Meter GUIStarting the Utility Meter GUI Main Window Main Window Performing Utility Meter Tasks Utility Meter Help Information Utility Meter Configure Tasks Network Configuration Utility Meter Software Parameters To Change the Utility Meter Software Parameters # /opt/meter/bin/monitor stop # /opt/meter/bin/monitor start Storage Devices Namespace Configuration Copy the Meters ConfigurationLoad the Meter’s Configuration Port Protocol https Utility Meter Devices Tasks 10 Devices Tab Configure a Device Add DeviceAdd an EVA Device Performing Utility Meter Tasks Add an XP Device Performing Utility Meter Tasks Add a PPU Wbem Partition/Server 13 Add Device Dialog Box for PPU Wbem Partition/Server Change a non-URS Disk Array to URS Modify DevicePerforming Utility Meter Tasks View Device Change PPU Wbem Partition/Server Configuration ParametersRemove Device 17 View Device Error WindowDiscover Physical Devices Utility Meter Diagnose Tasks 20 Diagnose Tab Meter Connection StatusVerify Device Connection Device ConnectionDevice Connection PPU Wbem Partition/Server Page Transfer Data through CD Task # /opt/meter/bin/monitor stop # /opt/meter/bin/monitor start Transfer Data through CD Task Performing Utility Meter Tasks Verifying Utility Meter Operation # /usr/bin/grep Error /etc/rc.logVerifying the Utility Meter Hardware is Operational Verifying the Utility Meter Software is Operational# /usr/sbin/swlist /usr/bin/grep -i sim Verifying the Correct Version of HP SIM is InstalledVerifying the CIM Server Software Is Operational # /usr/bin/kill -9 processid # /usr/bin/ps -ef /usr/bin/grep cim /usr/bin/grep -v grepData Transfer by Https Verifying Connectivity from the Utility Meter to HP# /opt/wbem/bin/osinfo # /opt/meter/bin/ConnectionTest# /usr/bin/mailq Data Transfer by emailVerify PPU Agent Configuration Verify PPU Wbem Partition/Server ConfigurationVerifying the Data Acquisition Server is Running Verifying the Utility Meter Data Transport MethodTest Connection from PPU Partition to UPS Web Portal Test Connection from PPU Agent to Utility MeterUPS Portal Welcome Page Verifying a Storage Device Verifying a Device is Configured in the Utility MeterVerifying the Connection from the Utility Meter to HP Verifying a Device is Connected to the Utility Meter# /usr/bin/rm /tmp/cli.out Device Manager CLI versionTroubleshooting Overview Troubleshooting the Utility Meter# /usr/bin/hostname # /usr/sbin/shutdown -R -HUtility Meter Software Troubleshooting a Storage Device Troubleshooting a DeviceVerifying the Correct Version of XP CV AE CLI is Installed Troubleshooting a Wbem DeviceFixing a Disconnected Device with Red Box Osinfo -hhostname -s-ulogin# /opt/meter/bin/monitor stop Table A-1 PPU Site Preparation Form Site Preparation Form for Pay Per UseNetworking details on the PPU Wbem Partition/Server Table B-1 PPU Networking Details Form Site Preparation Form for Utility Ready StorageNetworking Details for the Command View XP AE Server Networking Details for the Command View EVA Server 100 Cpuid Data Fields Sent from the Utility Meter to HPData Fields Sent from the Utility Meter to HP CLI Glossary104 Index Index