HP Pay per use (PPU) manual Email Masquerading, Avoiding CLI Conflicts

Page 35

IMPORTANT: The XP CV AE CLI software must be installed in /opt/CLI on the Utility Meter.

2.8.1 Avoiding CLI Conflicts

The XP CV AE CLI is used to do a refresh of the XP arrays prior to using the CLI to collect URS XP usage information. The CLI refresh ensures that up-to-date XP array usage information is obtained. However, the refresh can fail for the following reasons:

The XP array is offline.

Someone is currently accessing the XP array in modify mode (which is used to change its configuration) when the Utility Meter attempts to do a refresh against that XP array through the CLI.

Someone is logged into the XP CV AE Device Manager using the same account that the Utility Meter is using for the CLI refresh. The Utility Meter uses the account that was specified in the Add Device dialog box when the XP array was added.

The Utility Meter collects URS usage information once per day. If the CLI refresh fails, URS usage collection is not reattempted until the next day. When URS usage information cannot be collected, this causes derived URS usage to be billed. (For details of derived URS usage, see Missing Usage Reports.)

HP recommends that you do the following actions to avoid CLI conflicts and prevent derived URS usage. Instead of using the default XP CV AE account:

Create an additional modify account for the XP CV AE Device Manager that will be metered by the Utility Meter. This account must be created with modify privileges and the name (login) and password are user defined. This account is to be used exclusively with the Utility Meter for URS XP usage collection.

You must specify this modify-account's Login and Passwd in the Add Device dialog box when adding (or modifying) an XP array. (For details, see Add Device Dialog Box for XP Device.)

IMPORTANT: The Login (username) and Password for the additional XP CV AE Device Manager's modify account must contain only upper case or lower case alphabetic (a–z) and numeric (0–9) characters. For example, “umXPaccount1” is acceptable, but “&umacct#1” is not acceptable — because of the “&” and “#” characters.

By creating an additional XP CV AE Device Manager account, and having the Utility Meter use it for the CLI refresh and URS XP usage collection, you will avoid CLI conflicts in which refresh failures are caused by someone logging into the RWC using the same account the Utility Meter is using.

2.9 email Masquerading

NOTE: If you are using Transfer data through HTTPS or Transfer data through CD as the Utility Meter's data transport method, you can skip this section and continue to Configuring PPU Partitions and URS Devices.

If the data transport method for the Utility Meter is configured as Transfer data through email, the domain of the “From” address of the Utility Meter's email must be resolvable in DNS, or HP will reject the email message.

If the Utility Meter's fully qualified domain name is not visible on the public Internet, you need to configure masquerading. The domain name chosen must be resolvable on the public Internet (must have an MX record). To control the masquerading, the DM macro must be set to the specified domain name.

There are two ways you can configure Utility Meter email masquerading. The Utility Meter software provides an interactive program that automates the email masquerading configuration. The program prompts you for two values: the domain to masquerade and the outbound SMTP relay host. You can alternatively configure email masquerading manually.

Perform one of the following procedures to configure the Utility Meter's email masquerading:

Interactive program: Automated email Masquerading

Manual procedure: Manual email Masquerading

2.9 email Masquerading 35

Image 35
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 Document Organization About This DocumentIntended Audience Publishing HistoryCommon Utility Meter Tasks HP Encourages Your Comments Locating This GuideTypographic Conventions Related DocumentsPage Overview IntroductionIntroduction Swapping Utility Meter Hardware What is New for VersionReminder of What was New in Version Recommended 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 hostnamepathname T2805AA \ Usr/sbin/swinstall -s path-to-depotT2805AAUsr/sbin/swinstall -s path-to-depotT5462A # /usr/sbin/swinstall# /opt/meter/bin/monitor status Configuring the Utility Meter ParametersCompleting the Utility Meter Software Installation # /usr/sbin/shutdown -r# /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@localhostUpgrading the Utility Meter Software to Version Configuring PPU Partitions and URS DevicesCompleting the Utility Meter Installation and Configuration Verifying the Utility Meter OperationInstalling 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 the Utility Meter Software is Operational # /usr/bin/grep Error /etc/rc.logVerifying Utility Meter Operation Verifying the Utility Meter Hardware 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 grep# /opt/meter/bin/ConnectionTest Verifying Connectivity from the Utility Meter to HPData Transfer by Https # /opt/wbem/bin/osinfo# /usr/bin/mailq Data Transfer by emailVerifying the Utility Meter Data Transport Method Verify PPU Wbem Partition/Server ConfigurationVerify PPU Agent Configuration Verifying the Data Acquisition Server is RunningTest 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 version# /usr/sbin/shutdown -R -H Troubleshooting the Utility MeterTroubleshooting Overview # /usr/bin/hostnameUtility 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