Paradyne SLM 5.5 manual OLCmd uhread -ccommand -npoller-name, Command, Poller-name

Page 99

A. OLCmd Reference

OLCmd uhread

The uhread command starts and stops the User History Reader (UHReader) from a command line. It can be used to process user history records automatically during periods of low network activity.

Format:

OLCmd uhread -ccommand [-npoller-name ]

Where:

 

-ccommand

Specifies the action to be taken. command may be

 

one of:

 

singleRead – Reads all collected user history

 

poll files, then halts

 

run – Runs UHReader until the shutdown

 

command is issued

 

shutdown – Shuts down UHReader if it is

 

Trunning

 

status – Shows the status of UHReader

-npoller-name

Optionally specifies the poller domain to read from

 

when the singleRead or run command is issued. If

 

no poller domain is specified, all poller domains

 

are read.

Example:

The following command causes UHReader to read all collected user history poll files, then stop:

OLCmd uhread -c singleRead

7800-A2-GB32-00

January 2002

A-29

Image 99
Contents OpenLane SLM Copyright 2002 Paradyne Corporation All rights reserved Contents Installing OpenLane on Windows Configuring Distributed ComponentsApache User Access Authentication OpenLane Maintenance Building and Using a Firmware LibraryAdding Devices and Customer Profiles Using XML to Produce Reports OLCmd ReferenceIndex About This Guide Document Purpose and Intended AudienceDocument Summary Library → Technical Manuals Product-Related DocumentsNetwork Monitoring Easy InstallationIntroduction to OpenLane SLM OpenLane SLMOpenLane Features Installing OpenLane on Solaris Planning the InstallationAbout These Instructions Installation Requirements Minimum Hardware RequirementsSoftware Requirements Checking the Java Runtime Environment Version ProcedureCd /opt/OV/pdn/PerfWiz UnInstallToOV Uninstalling DCE ManagerUninstalling Performance Wizard DCEinstallOpenLane Installation Program Opt/apacheOpt/pdn/OpenLane Obtaining a License Key Installing from Paradyne’s Web Site Setup.shUser = nobody Group = nobody Installing from FTP Files Installing from CD-ROMSetenv Display localhostname0.0 Installing Remotely UsingInstalling the Permanent License Key Export DISPLAY=localhostname0.0OLCmd key Locating the License Key On an Installed SystemMigration to Current Release for Oracle Displaying the License Key Expiration DateStopping OpenLane Web and Database Services Starting OpenLane Web and Database ServicesConfiguring Apache to Use a Different Port Installing OpenLane on Solaris January Installing OpenLane on Windows MHz Processor Web Client Software Requirements Cd \opt\OV\pdn\PerfWiz uninstalltoov \Program Files\Apache Group\Apache \opt\apache\opt\pdn\OpenLane Procedure Cd \opt\pdn\OpenLane Migration to Current Release for Oracle Starting OpenLane Web and Database Services Stopping OpenLane Web and Database Services Http//olserver.com8080/openlane Installing OpenLane on Windows January OpenLane Distributed Components Configuring Distributed ComponentsOpenLane in /opt/pdn/OpenLane Setting Up Web Server DistributionSolaris Http//172.20.1.10/OpenLane Operational NotesCd /opt/pdn/OpenLane/uhpoller mkdir pollerpoller1 Setting Up the Distributed Poller and ReaderDistributed Poller/Reader Management Server Setup Cd /opt/pdn/OpenLane OLControl stopOLCmd logsvc OLCmd Dbconfig ‘-m 172.20.1.10’OLCmd Dbconfig ‘-m 172.20.1.101521’ Cd /opt/pdn/OpenLane OLControl startDistributed Poller/Reader Poller/Reader Setup DOMAIN=defaultREADERDOMAIN=default OLControl stop User Access Authentication Apache User Access AuthenticationConfiguring Http Challenge/Response Cd /opt/apache Solaris cd \opt\apache WindowsChange to the /opt/apache/bin Solaris or c\opt\apache\bin OLCmd confauth off Removing a User’s Access\opt\pdn\OpenLane Windows OLCmd confauth onApache User Access Authentication January Adding Devices and Customer Profiles Accessing the OpenLane Web ApplicationsAdding a Device AdminNew Device Field Names Field Description Adding a Customer Profile 7800-A2-GB32-00 January Adding Devices and Customer Profiles Task Importance Ideal Frequency OpenLane MaintenanceOracle Database Backing Up OpenLane FilesOpt/pdn/OpenLane/data Gzip -d /backupdir/backup.tar.gz tar xvf backup.tarBacking Up OpenLane Under Solaris Restoring OpenLane Under SolarisRestoring OpenLane Under Windows Backing Up OpenLane Under WindowsFrequency Deleting Older Records from the DatabaseCd /opt/pdn/OpenLane OLCmd processreports Using Cron Under Solaris to Automate ReportsGenerating Scheduled Reports Automating the Generation of Scheduled ReportsCd \opt\pdn\OpenLane OLCmd processreports Using AT under Windows to Automate ReportsRebuilding Oracle Database Indexes Monitoring Log Files Apache Log FilesSQL Database Log File OLCmd clean logs .log Archiving and Deleting Log FilesLegacy Logger Log Files Click on Click here to schedule the tasks Uploading ConfigurationsOpenLane Maintenance January 01.02.01=R010201.ocd Building and Using a Firmware LibraryBuilding a Firmware Library Version=filenameNew Device Models Not Supported by OpenLane Model=directory9880=fw9880 Dslasn Model=devicetypeDbm DslaanDownloading and Activating Firmware Building and Using a Firmware Library Building and Using a Firmware Library January OLCmd Reference OLCmd Helps Cd \opt\pdn\openlane olcmd confauth onOlcmd viewlog -h OLCmd addcust Rent-a-Phone.com Rent-a-PhoneGmbH Rent-a-PhoneUSA OLCmd addcust -a realtime -c ExactCorporationOLCmd assigndev OLCmd assigndev -c ExactCorporation -aOLCmd assigndev -c ExactCorporation -l exactdevices.txt OLCmd chgrawfileext OLCmd chgrawfileext -o raw -e ftpOLCmd chgrawfileext -d dallas -o bad -e raw OLCmd clean \opt\apache\logs .log 21 admin OLCmd cleanOLCmd confauth on off OLCmd confauthOLCmd dbage OLCmd dbconfig -d c o -a instance -l -h OLCmd dbconfigUrl OLCmd dbcopy d OracleStatsDB OLCmd dbcopyOLCmd dbip OLCmd dbip addressOLCmd dbip OLCmd dbroll -e 20010101000000 -r OLCmd dbrollDatabaseinstance IpaddressOLCmd delcust OLCmd delcust -ccustomer -lcustomer-listOLCmd delcust -l ex-customers.txt OLCmd deldev OLCmd deldev ipaddressOLCmd deldev OLCmd dumpldap host OLCmd dumpldapOLCmd importldif OLCmd importldif -h host ldiffileLdiffile OLCmd key OLCmd key licensekeyOLCmd key WZBCK-AAM6E-U898Q-MX5HK OLCmd ldapmodify -D c=US -w admin -a -c data/new.ldif OLCmd ldapmodifyOLCmd OLCmd ldapsearch OLCmd ldapsearch -n-D bindDN -w password -h host -p portDebuglevel OLCmd logsvc ipaddress OLCmd logsvcOLCmd processreports -date 05/13/2001 -customer ExactCorp OLCmd processreportsDate date Enddate enddateOLCmd snmpget 135.26.10.37 OLCmd snmpgetOLCmd snmpget communityname ipaddress objectid ObjectidOLCmd snmptest 135.26.10.37 nmswrite Ipaddress Is the address of the device to be accessedOLCmd snmptest OLCmd snmptest ipaddress communitynameOLCmd sync OLCmd sync Poller-name OLCmd uhread -ccommand -npoller-nameCommand OLCmd uhreadOLCmd unassigndev OLCmd unassigndev -c ExactCorporation -aOLCmd unassigndev -c ExactCorporation -l exactdevices.txt OLCmd viewlog OLCmd viewlog -f fi -sd 05/07/2000 -ed 05/13/2000 UHReader Firmware/Configuration/Feature MaintenanceUHLister Poller Controller UHReader Database ReaderXsltransformfile OLCmd xmlreportXmlrequestfile XmloutputfileOLCmd Reference January Using XML to Produce Reports Command Line Interface OLCmd xmlreportXML Reports Opt/pdn/OpenLane/samples/xml/reports/xmlentry.html. You can Servlet Interface SlvXmlServletWriting an Interface to the Servlet Opt/pdn/OpenLane/OLServlets/pdn.webcgi.SlvXmlServletOpt/pdn/OpenLane/samples/xml/reports/DeviceReports/Reports XML and XSL ExamplesAdditional Resources Opt/pdn/OpenLane/samples/xml/reports/DeviceReports/RequestsUsing XML to Produce Reports January IN-1 IndexIN-2 IN-3 IN-4