Paradyne SLM 5.5 manual OLCmd sync

Page 97

A. OLCmd Reference

OLCmd sync

The sync command synchronizes a specified device and the database. If the device is not in the database, it is added.

Format:

OLCmd sync [ [ -v] [ -ccommunity-string ] [ -wcommunity-string ]

[ [ -iftp_user ] [ -pftp_passwd ] ] [ -ggroupid ] [ -s] [ -f] [ -ddomain ] [ -Iminutes ] [ -kdays ] [ -rdays ] [ -h] [ -A] [ -S] [ -E] [ -O]

[ ip_address hostname ] ]

Where:

 

ip_address

Is the address of the device to be synchronized.

hostname

Is the host name of the device to be synchronized.

-v

Specifies that debugging information should be

 

returned.

-ccommunity-stringSets the name of the read community string for the device.

-wcommunity-stringSets the name of the write community string for the

 

device.

-iftp_user

Specifies the user ID for the FTP session used to

 

collect performance statistics.

-pftp_passwd

Specifies the password for an FTP session initiated by

 

ftp_user.

-ggroupid

Specifies the group ID for the device.

-s

Enables SCM polling (for DSLAM devices only).

-f

Enables user history polling (for FrameSaver devices

 

only).

-ddomain

Specifies the domain where the poller/reader resides.

-Iminutes

Specifies the number of minutes between polls. This

 

should be less than 1440 (24 hours) to ensure that no

 

data is lost.

-kdays

Specifies the number of days’ worth of hourly report

 

data that should be maintained for the device.

-rdays

Specifies the number of days’ worth of quarter-hourly

 

report data that should be maintained for the device.

-h

Specifies that the device is a head-end FrameSaver.

-A

Causes the parameters to be saved without

 

synchronizing the device.

-S

Requests that circuits and endpoints be discovered in

 

the course of synchronizing the device.

7800-A2-GB32-00

January 2002

A-27

Image 97
Contents OpenLane SLM Copyright 2002 Paradyne Corporation All rights reserved Contents Configuring Distributed Components Installing OpenLane on WindowsApache User Access Authentication Building and Using a Firmware Library OpenLane MaintenanceAdding Devices and Customer Profiles OLCmd Reference Using XML to Produce ReportsIndex Document Purpose and Intended Audience About This GuideDocument Summary Library → Technical Manuals Product-Related DocumentsIntroduction to OpenLane SLM Easy InstallationOpenLane SLM Network MonitoringOpenLane Features Planning the Installation Installing OpenLane on SolarisAbout These Instructions Minimum Hardware Requirements Installation RequirementsSoftware Requirements Checking the Java Runtime Environment Version ProcedureUninstalling Performance Wizard Uninstalling DCE ManagerDCEinstall Cd /opt/OV/pdn/PerfWiz UnInstallToOVOpt/apache OpenLane Installation ProgramOpt/pdn/OpenLane Setup.sh Obtaining a License Key Installing from Paradyne’s Web SiteUser = nobody Group = nobody Installing from FTP Files Installing from CD-ROMInstalling the Permanent License Key Installing Remotely UsingExport DISPLAY=localhostname0.0 Setenv Display localhostname0.0Migration to Current Release for Oracle Locating the License Key On an Installed SystemDisplaying the License Key Expiration Date OLCmd keyStopping 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 \opt\apache \Program Files\Apache Group\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 NotesDistributed Poller/Reader Management Server Setup Setting Up the Distributed Poller and ReaderCd /opt/pdn/OpenLane OLControl stop Cd /opt/pdn/OpenLane/uhpoller mkdir pollerpoller1OLCmd Dbconfig ‘-m 172.20.1.101521’ OLCmd Dbconfig ‘-m 172.20.1.10’Cd /opt/pdn/OpenLane OLControl start OLCmd logsvcDOMAIN=default Distributed Poller/Reader Poller/Reader SetupREADERDOMAIN=default OLControl stop User Access Authentication Apache User Access AuthenticationCd /opt/apache Solaris cd \opt\apache Windows Configuring Http Challenge/ResponseChange to the /opt/apache/bin Solaris or c\opt\apache\bin \opt\pdn\OpenLane Windows Removing a User’s AccessOLCmd confauth on OLCmd confauth offApache 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 FilesBacking Up OpenLane Under Solaris Gzip -d /backupdir/backup.tar.gz tar xvf backup.tarRestoring OpenLane Under Solaris Opt/pdn/OpenLane/dataRestoring OpenLane Under Windows Backing Up OpenLane Under WindowsFrequency Deleting Older Records from the DatabaseGenerating Scheduled Reports Using Cron Under Solaris to Automate ReportsAutomating the Generation of Scheduled Reports Cd /opt/pdn/OpenLane OLCmd processreportsCd \opt\pdn\OpenLane OLCmd processreports Using AT under Windows to Automate ReportsRebuilding Oracle Database Indexes Apache Log Files Monitoring Log FilesSQL Database Log File Archiving and Deleting Log Files OLCmd clean logs .logLegacy Logger Log Files Click on Click here to schedule the tasks Uploading ConfigurationsOpenLane Maintenance January Building a Firmware Library Building and Using a Firmware LibraryVersion=filename 01.02.01=R010201.ocdModel=directory New Device Models Not Supported by OpenLane9880=fw9880 Dbm Model=devicetypeDslaan DslasnDownloading and Activating Firmware Building and Using a Firmware Library Building and Using a Firmware Library January OLCmd Reference Cd \opt\pdn\openlane olcmd confauth on OLCmd HelpsOlcmd viewlog -h OLCmd addcust Rent-a-Phone.com Rent-a-PhoneGmbH Rent-a-PhoneUSA OLCmd addcust -a realtime -c ExactCorporationOLCmd assigndev -c ExactCorporation -a OLCmd assigndevOLCmd assigndev -c ExactCorporation -l exactdevices.txt OLCmd chgrawfileext -o raw -e ftp OLCmd chgrawfileextOLCmd 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 address OLCmd dbipOLCmd dbip Databaseinstance OLCmd dbrollIpaddress OLCmd dbroll -e 20010101000000 -rOLCmd delcust -ccustomer -lcustomer-list OLCmd delcustOLCmd delcust -l ex-customers.txt OLCmd deldev ipaddress OLCmd deldevOLCmd deldev OLCmd dumpldap host OLCmd dumpldapOLCmd importldif -h host ldiffile OLCmd importldifLdiffile OLCmd key licensekey OLCmd keyOLCmd key WZBCK-AAM6E-U898Q-MX5HK OLCmd ldapmodify OLCmd ldapmodify -D c=US -w admin -a -c data/new.ldifOLCmd OLCmd ldapsearch OLCmd ldapsearch -n-D bindDN -w password -h host -p portDebuglevel OLCmd logsvc ipaddress OLCmd logsvcDate date OLCmd processreportsEnddate enddate OLCmd processreports -date 05/13/2001 -customer ExactCorpOLCmd snmpget communityname ipaddress objectid OLCmd snmpgetObjectid OLCmd snmpget 135.26.10.37OLCmd snmptest Ipaddress Is the address of the device to be accessedOLCmd snmptest ipaddress communityname OLCmd snmptest 135.26.10.37 nmswriteOLCmd sync OLCmd sync Command OLCmd uhread -ccommand -npoller-nameOLCmd uhread Poller-nameOLCmd unassigndev -c ExactCorporation -a OLCmd unassigndevOLCmd unassigndev -c ExactCorporation -l exactdevices.txt OLCmd viewlog UHLister Poller Controller Firmware/Configuration/Feature MaintenanceUHReader Database Reader OLCmd viewlog -f fi -sd 05/07/2000 -ed 05/13/2000 UHReaderXmlrequestfile OLCmd xmlreportXmloutputfile XsltransformfileOLCmd Reference January Command Line Interface OLCmd xmlreport Using XML to Produce ReportsXML Reports Writing an Interface to the Servlet Servlet Interface SlvXmlServletOpt/pdn/OpenLane/OLServlets/pdn.webcgi.SlvXmlServlet Opt/pdn/OpenLane/samples/xml/reports/xmlentry.html. You canAdditional Resources XML and XSL ExamplesOpt/pdn/OpenLane/samples/xml/reports/DeviceReports/Requests Opt/pdn/OpenLane/samples/xml/reports/DeviceReports/ReportsUsing XML to Produce Reports January IN-1 IndexIN-2 IN-3 IN-4