Troubleshooting the Network Monitoring Page Is Not Available Issue | 77
Troubleshooting DMI Schema–Related Issues | 78
Troubleshooting the Nondisplay of the DMI Schema Tree Issue | 78
vi
About the Documentation
IN THIS SECTION
Documentation and Release Notes | vii
Documentation Conventions | vii
Documentation Feedback | x
Requesting Technical Support | x
Use this guide to know about the various features, such as Systems of Record, System Snapshot, Audit
Logs, Looking Glass, and so on, that you can use to monitor and troubleshoot devices; and also, know
about procedures to troubleshoot issues, such as login-related issues, device management-related issues,
DMI schema-related issues, and so on, in Junos Space Platform.
vii
Documentation and Release Notes
To obtain the most current version of all Juniper Networks®technical documentation, see the product
documentation page on the Juniper Networks website at https://www.juniper.net/documentation/.
If the information in the latest release notes differs from the information in the documentation, follow the
product Release Notes.
Juniper Networks Books publishes books by Juniper Networks engineers and subject matter experts.
These books go beyond the technical documentation to explore the nuances of network architecture,
deployment, and administration. The current list can be viewed at https://www.juniper.net/books.
Documentation Conventions
Table 1 on page viii defines notice icons used in this guide.
Table 1: Notice Icons
viii
DescriptionMeaningIcon
Indicates important features or instructions.Informational note
Caution
Indicates a situation that might result in loss of data or hardware
damage.
Alerts you to the risk of personal injury or death.Warning
Alerts you to the risk of personal injury from a laser.Laser warning
Indicates helpful information.Tip
Alerts you to a recommended use or implementation.Best practice
Table 2 on page viii defines the text and syntax conventions used in this guide.
Table 2: Text and Syntax Conventions
ExamplesDescriptionConvention
Fixed-width text like this
Italic text like this
Represents text that you type.Bold text like this
Represents output that appears on
the terminal screen.
Introduces or emphasizes important
•
new terms.
Identifies guide names.
•
Identifies RFC and Internet draft
•
titles.
To enter configuration mode, type
the configure command:
user@host> configure
user@host> show chassis alarms
No alarms currently active
A policy term is a named structure
•
that defines match conditions and
actions.
Junos OS CLI User Guide
•
RFC 1997, BGP Communities
•
Attribute
Table 2: Text and Syntax Conventions (continued)
ix
ExamplesDescriptionConvention
Italic text like this
Text like this
< > (angle brackets)
| (pipe symbol)
Represents variables (options for
which you substitute a value) in
commands or configuration
statements.
Represents names of configuration
statements, commands, files, and
directories; configuration hierarchy
levels; or labels on routing platform
components.
variables.
Indicates a choice between the
mutually exclusive keywords or
variables on either side of the symbol.
The set of choices is often enclosed
in parentheses for clarity.
Configure the machine’s domain
name:
[edit]
root@# set system domain-name
domain-name
To configure a stub area, include
•
the stub statement at the [edit
protocols ospf area area-id]
hierarchy level.
The console port is labeled
•
CONSOLE.
stub <default-metric metric>;Encloses optional keywords or
broadcast | multicast
(string1 | string2 | string3)
# (pound sign)
[ ] (square brackets)
Indention and braces ( { } )
; (semicolon)
GUI Conventions
Indicates a comment specified on the
same line as the configuration
statement to which it applies.
Encloses a variable for which you can
substitute one or more values.
Identifies a level in the configuration
hierarchy.
Identifies a leaf statement at a
configuration hierarchy level.
rsvp { # Required for dynamic MPLS
only
community name members [
community-ids ]
[edit]
routing-options {
static {
route default {
nexthop address;
retain;
}
}
}
Table 2: Text and Syntax Conventions (continued)
x
ExamplesDescriptionConvention
Bold text like this
> (bold right angle bracket)
Represents graphical user interface
(GUI) items you click or select.
Separates levels in a hierarchy of
menu selections.
In the Logical Interfaces box, select
•
All Interfaces.
To cancel the configuration, click
•
Cancel.
In the configuration editor hierarchy,
select Protocols>Ospf.
Documentation Feedback
We encourage you to provide feedback so that we can improve our documentation. You can use either
of the following methods:
Online feedback system—Click TechLibrary Feedback, on the lower right of any page on the Juniper
•
Networks TechLibrary site, and do one of the following:
Click the thumbs-up icon if the information on the page was helpful to you.
•
Click the thumbs-down icon if the information on the page was not helpful to you or if you have
•
suggestions for improvement, and use the pop-up form to provide feedback.
E-mail—Send your comments to techpubs-comments@juniper.net. Include the document or topic name,
•
URL or page number, and software version (if applicable).
Requesting Technical Support
Technical product support is available through the Juniper Networks Technical Assistance Center (JTAC).
If you are a customer with an active Juniper Care or Partner Support Services support contract, or are
covered under warranty, and need post-sales technical support, you can access our tools and resources
online or open a case with JTAC.
JTAC policies—For a complete understanding of our JTAC procedures and policies, review the JTAC User
•
Guide located at https://www.juniper.net/us/en/local/pdf/resource-guides/7100059-en.pdf.
JTAC hours of operation—The JTAC centers have resources available 24 hours a day, 7 days a week,
•
365 days a year.
Self-Help Online Tools and Resources
For quick and easy problem resolution, Juniper Networks has designed an online self-service portal called
the Customer Support Center (CSC) that provides you with the following features:
Monitoring Network Devices and Troubleshooting Software Issues with Junos Space Network Management
Platform | 2
Overall System Condition and Fabric Load History Overview | 6
Junos Space Network Management Platform Widgets | 9
2
Monitoring Network Devices and Troubleshooting Software Issues with
Junos Space Network Management Platform
IN THIS SECTION
Systems of Record | 3
System Snapshot | 3
Backup and Restore | 3
Maintenance Mode | 4
Audit Logs | 4
Jobs | 4
Secure Console | 5
Looking Glass | 5
Reports | 5
Junos Space Debug Utilities | 6
Use the following features of Junos Space Network Management Platform to monitor devices and
troubleshoot software issues:
Systems of Record
A network managed by Junos Space Platform contains two repositories of information about the devices
in the network: the devices themselves (each device defines and reports its official state) and the database
(which contains information that is reported by the device during device discovery). This is known as
systems of record.
The systems of record operate in the following two modes depending on where the repository of information
is stored:
Network as a system of record (NSOR)—By default, the network is the system of record (NSOR). In this
•
mode, when a user commits a change in the configuration of a network device, the commit operation
automatically triggers a report through the system log to Junos Space Platform.
Junos Space as a system of record (SSOR)—In this mode, when you perform any out-of-band commit
•
operation, Junos Space Platform receives a system log message from the device, but the values in the
Junos Space Platform database are not automatically changed or synchronized with the values on the
device. Instead, you can choose whether or not to overwrite the device's local changes by pushing the
accepted configuration to the device from the Junos Space Platform database. For more information
about systems of record in Junos Space Platform, see Systems of Record in Junos Space Overview.
3
System Snapshot
You can use the System Snapshot feature to create a snapshot of the current state of the Junos Space
system. The snapshot includes all persistent data on the hard disk including data in the database, system
and application configuration files, and application and Linux executables. You can roll back the Junos
Space system to a predefined state or an older release if the system reaches an unrecoverable error state
caused by undesirable behavior due to corruption of system files, interruption of critical processes, and
so on. The System Snapshot is a fabric-wide operation that maintains consistency of data across all nodes
in the fabric.
You can create a snapshot before a significant action is performed—for example, adding or deleting a Junos
Space node, installing a Junos Space application, and so on—because the action can precipitate the system
into an undesirable state. You can delete the snapshot after you have ascertained that the action was
performed successfully. For more information about system snapshots, see Creating a System Snapshot.
Backup and Restore
You use the Backup and Restore feature to back up (or schedule the backup of) and restore the data in
the Junos Space database. You can set up an hourly, daily, or weekly schedule. The database backup can
be stored on the local Junos Space system or transferred to a remote system automatically using the Secure
Copy mechanism.
You can restore the backup in any of the following circumstances:
Junos Space data is corrupted and you need to replace the corrupted data with uncorrupted data.
•
Junos Space software is corrupted and unstable after a reinstallation or an upgrade and you need to
•
populate the Junos Space database with uncorrupted data.
For more information about backup and restore operations, see Backing Up and Restoring the DatabaseOverview.
Maintenance Mode
Maintenance mode is a mode in which you can perform database restore and debugging tasks while all
nodes in the fabric are shut down and the Junos Space Network Management Platform Web proxy is
running. You need to be an authorized Junos Space administrator to put the system into maintenance
mode. You can put the system into maintenance mode only after you initiate a restore task by using the
Backup and Restore feature.
4
The Junos Space system goes into maintenance mode in the following situations:
Junos Space Network Management Platform software goes down.
•
You initiate a restore operation by using the Backup and Restore feature.
•
You upgrade the Junos Space Network Management Platform software.
•
For more information about maintenance mode, see Maintenance Mode Overview.
Audit Logs
The Audit Logs workspace of Junos Space Platform displays the login history and tasks initiated by a local
or remote user. Through this workspace, you can track login history, view the list of device management
tasks, view the list of services that were provisioned on the device, and so on. However, tasks that are not
initiated by users, such as device-driven activities (for example, resynchronization of network elements),
and changes made from the Junos Space CLI are not recorded in audit logs. Audit logs can be used by
administrators to review events—for example, to identify which user accounts are associated with an event,
to determine the chronological sequence of events (that is, what happened before and during an event),
and so on. For more information about audit logs, see Junos Space Audit Logs Overview.
Jobs
You use the Jobs workspace of Junos Space Platform to monitor the status of jobs that are run in Junos
Space Platform and all Junos Space applications installed on Junos Space Platform. You can view the status
of the jobs on the Job Management page. A job is a user-initiated action that is performed on any object
that is managed by Junos Space Platform, such as a device, service, or customer. Typical jobs in Junos
Space Network Management Platform include discovering devices, deploying services, prestaging devices,
and performing functional and configuration audits.
You can trigger jobs immediately or schedule jobs for a later date and time. Junos Space Platform maintains
a history of job statuses for all scheduled jobs. When a job is scheduled from a workspace, Junos Space
Platform assigns a job ID that serves to identify the job on the Job Management page. For more information
about jobs, see Jobs Overview.
Secure Console
The Secure Console feature on the Devices workspace provides a secure remote access connection to
managed and unmanaged devices. Secure Console initiates an SSH session from the Junos Space user
interface by using the SSH protocol. Secure Console is a terminal window embedded in Junos Space
Platform that eliminates the need for a third-party SSH client to connect to devices. Secure Console
provides additional security while connecting to your devices by initiating an SSH session from the Junos
Space server rather than from your Web browser. You can access the Secure Console feature either from
the Device Management page or the Secure Console page. For more information about Secure Console,
see Secure Console Overview.
5
Looking Glass
You use the Looking Glass feature from the Devices workspace to view device configurations by executing
basic CLI commands from the Junos Space user interface. You can execute these commands on multiple
devices and compare the configurations and runtime information of these devices. You can execute the
following types of commands by using Looking Glass: show, ping, test, and traceroute. The commands
that are supported and stored in the Junos Space Platform database are displayed on the Looking Glass
page. When you type the first few letters of the command, the suggestion list displays the commands that
are supported, are stored, and begin with the letters that you typed. For more information about Looking
Glass, see Looking Glass Overview.
Reports
With the Reports workspace of Junos Space Platform, you can generate customized reports for managing
the resources in your network. You can use these reports to gather device inventory details, job execution
details, user accounts, and audit trails. You first create a report definition to specify what information to
retrieve from the Junos Space Platform inventory database. You then use this report definition to generate,
export, and print the reports. Junos Space Platform provides some predefined categories to create report
definitions. You can combine multiple categories to create a report definition. By default, a predefined set
of attributes is included in a report definition. You can choose to add or remove the attributes according
to what information you want from the final generated report. You can group, sort, or filter data based on
specific attributes available with the report definition. For more information about reports, see ReportsOverview.
Junos Space Debug Utilities
Junos Space debug utilities are a collection of scripts and Java applications to fetch details that cannot be
viewed on the JBoss CLI or from the Junos Space user interface. These scripts and Java applications are
stored at /var/log/space-debug/debug-utilities and categorized under deviceConnection, jobManagement,
deviceImport, and HornetQ directories. When you execute these scripts or Java applications, you can view
details such as device-connection or node-connection issues, device XMLs fetched from the Junos Space
Platform database, and jobs triggered and nodes that execute these jobs. For more information about
Junos Space debug utilities, see “Junos Space Debug Utilities Overview” on page 33.
RELATED DOCUMENTATION
Overall System Condition and Fabric Load History Overview | 6
Junos Space Network Management Platform Widgets | 9
6
Overall System Condition and Fabric Load History Overview
You can view the overall Junos Space system condition and fabric load from the Junos Space Network
Management Platform Dashboard or the Administration statistics page.
Overall System Condition
To calculate the overall Junos Space system condition, Junos Space Platform uses a formula based on
cluster health and node-function health:
Cluster health indicates the percentage of nodes in the fabric that are currently running.
•
For example, if only three nodes are reachable in a four-node fabric, cluster health is 75%.
Load-balancer health indicates the percentage of nodes (enabled for load balancing) that are running
•
the load-balancing process.
For example, if two nodes are enabled for load balancing and the load-balancing process is running on
only one node, the load-balancing health is 50%.
Database health indicates the percentage of nodes (enabled for database requests) that are running the
•
database process.
For example, if two nodes are enabled as the database server and the database process is running on
only one node, then database health is 50%.
Application-logic health indicates the percentage of nodes (enabled for application logic (DML and
•
business logic) that are running the application-logic process.
For example, if three nodes are enabled for application logic and the application-logic process is running
on only two nodes, then application-logic health is 67%.
Junos Space Platform retrieves data on the nodes and the node functions that are running, and then applies
the following formula to determine the overall Junos Space system condition: Overall System Condition
= [(Number of Nodes Running) / (Number of Nodes in Fabric)] * [(Number of Nodes Running Load_Balancing
Process) / (Number of Nodes enabled for Load Balancing)] * [(Number of Nodes Running Database-Server
Process) / (Number of Nodes Enabled As Database Server)] * [(Number of Nodes Running Application-Logic
Process) / (Number of Nodes Enabled for Application Logic)]
The overall Junos Space system condition is expressed as a percentage. If we use the values in the preceding
examples in this formula, then the overall system condition would be calculated as: Overall System Condition
= 75% * 50%* 50% * 67% = 12.5%.
A value between 0 and 30% indicates that the system health is Poor, a value between 30% and 70%
indicates that the system health is average, and a value between 70% and 100% indicates that the system
health is good. The Overall System Condition chart displays the system health as shown in
Figure 1 on page 7
7
Figure 1: Overall System Condition Gauge
The overall system health indicates 0% (Poor) when any one of the following conditions is detected:
No nodes in the fabric are running.
•
No nodes enabled for load balancing are running the load-balancing process.
•
No nodes enabled for database requests are running the database process.
•
No nodes enabled for application logic are running the application-logic process.
•
Fabric Load History
The Fabric Load History chart, as shown in Figure 2 on page 8, displays the average CPU usage across
all nodes that are running in the fabric.
Figure 2: Fabric Load History Chart
Junos Space Platform uses the following formula to determine the fabric load: Fabric Load = (Total CPU
Usage for All Nodes Running) / (Number of Nodes Running)
For example, for a fabric with three nodes running and CPU usage of 80%, 30%, and 10%, respectively,
the fabric load is 40%.
Active Users History
8
The Active Users History chart, as shown in Figure 3 on page 8, displays the number of active users in
the past one minute.
Figure 3: Active Users History Chart
RELATED DOCUMENTATION
Viewing the Junos Space Platform Dashboard
Viewing the Administration Statistics
Junos Space Network Management Platform Widgets
IN THIS SECTION
Devices | 9
Device Templates | 9
CLI Configlets | 10
Images and Scripts | 10
Reports | 10
Network Monitoring | 11
Configuration Files | 11
Jobs | 11
Role Based Access Control | 12
Audit Logs | 12
9
Administration | 12
This topic presents a list of workspaces in Junos Space Network Management Platform and the widgets
that they display:
Devices
The Devices workspace displays the following widgets:
Device Count by Platform—Number of Juniper Networks devices added per device platform
•
Device Status—Percentage of devices with the UP, Down, or NA connection status
•
Device Count by OS—Number of devices running a particular Junos OS version
•
Device Count by Synchronization State—Device discovery targets that were discovered, failed, are
•
managed
For more information about these widgets, refer to the Viewing Device Statistics topic in the Junos SpaceNetwork Management Platform Workspaces Feature Guide.
Device Templates
The Device Templates workspace displays the following widgets:
Template Status—Percentage of device templates with the Enabled and Need Review statuses
•
Template Definition Status—Percentage of device templates that are Published and Unpublished statuses
•
Template Count by Device Family—Number of device templates created per device family
•
For more information about these widgets, refer to the Viewing Device Template Statistics and Viewing
Template Definition Statistics topics in the Junos Space Network Management Platform Workspaces Feature
Guide.
CLI Configlets
The CLI Configlets workspace displays the following widgets:
CLI Configlet Count by Device Family—Number of CLI configlets created per device family
•
Configuration Viewer Count by Device Family—Number of configuration views per device family
•
For more information about these widgets, refer to the Viewing CLI Configlet Statistics and Viewing
Configuration Views Statistics topics in the Junos Space Network Management Platform Workspaces Feature
Guide.
10
Images and Scripts
The Images and Scripts workspace displays the following widgets:
Device Image Count by Platform Group—Number of device images per platform group
•
Device Images Count by Version—Number of device images created per Junos OS version
•
Number of Scripts by Type—Number of scripts created per script type. The script types are : Commit,
•
Op, and Event
Number of Jobs per Script Action—Number of jobs triggered by different script-related actions
•
For more information about these widgets, refer to the Viewing Statistics for Device Images and Scripts topic
in the Junos Space Network Management Platform Workspaces Feature Guide.
Reports
The Reports workspace displays the following widgets:
Report Definition Count by User—Number of report definitions created per user
•
Report Count by User—Number of reports created per user
•
For more information about these widgets, refer to the Viewing Report Statistics and Viewing Report Definition
Statistics topics in the Junos Space Network Management Platform Workspaces Feature Guide.
Network Monitoring
The Network Monitoring workspace displays the following widgets:
Nodes with Pending Problems—Nodes with outstanding alarms
•
Nodes with Outages—Nodes that reported outages
•
Availability Over the Past 24 hours—Number and percentage availability of the network interfaces of
•
the devices that reported outages
Notification—Check for notifications sent to you, all Junos Space Platform users, and the on-call schedule
•
to fix outages.
Resource Graphs—Search for resource graphs. Resource graphs display data collected from managed
•
nodes throughout your network such as critical SNMP performance, response time, and so forth.
KSC Reports—Search for key SNMP customized (KSC) reports. KSC reports enable you to create and
•
view SNMP performance data using prefabricated graph types.
Quick Search—Search for nodes by node ID, node label, IP address, or the type of service whether ICMP
•
or SNMP.
11
For more information about these widgets, refer to the Network Monitoring Reports Overview topic in the
Junos Space Network Management Platform Workspaces Feature Guide.
Configuration Files
The Configuration Files workspace displays the following widgets:
Configuration File Count by Device Family—Number of configuration files per device family
•
Devices with most Frequently Revised Configuration Files—Devices whose configuration files have been
•
revised most number of times
For more information about these widgets, refer to the Viewing Configuration File Statistics topic in the
Junos Space Network Management Platform Workspaces Feature Guide.
Jobs
The Jobs workspace displays the following widgets:
Job Types—Percentage of all jobs of a particular type that are run
•
State of Jobs Run—Percentages of jobs that succeeded, are canceled, are in progress, or failed
•
Average Execution Time per Completed Job— Each bar in the Average Execution Time per Completed
•
Job bar chart represents a job type and the average execution time in seconds.
For more information about these widgets, refer to the Viewing Statistics for Jobs topic in the Junos SpaceNetwork Management Platform Workspaces Feature Guide.
Role Based Access Control
The Role Based Access Control workspace displays the following widget:
Number of Users Assigned by Role—Percentage and the number of users that are assigned to a role
•
For more information about these widgets, refer to Viewing User Statistics.
Audit Logs
The Audit Logs workspace displays the following widgets:
Audit Log Statistical Graph—Tasks that are performed and logged in all Junos Space applications over a
•
specific period of time
Top 10 Active Users in 24 hours—Top ten users who performed the most number of tasks over 24 hours
•
12
For more information about these widgets, refer to the Viewing Audit Log Statistics topic in the Junos Space
Network Management Platform Workspaces Feature Guide.
Administration
The Administration workspace displays the following widgets:
System Health—Junos Space system condition, load on the fabric, and active users.
•
System Alert Messages in the last 30 days—SMTP server alert messages categorized by application, and
•
when the error last occurred.
System Health Report—Health and performance of the Junos Space nodes in your Junos Space setup
•
and the processes on these nodes. Staring in Release 15.2R1, the Administration workspace displays
the System Health Report widget.
For more information about these widgets, refer to the Viewing the Administration Statistics topic in the
Junos Space Network Management Platform Workspaces Feature Guide.
Release History Table
DescriptionRelease
15.1R2
Staring in Release 15.2R1, the Administration workspace displays the System Health
Report widget.
RELATED DOCUMENTATION
Overall System Condition and Fabric Load History Overview | 6
Junos Space Debug Utilities Overview | 33
13
2
PART
Log Files and Debug Utilities
Troubleshooting Junos Space Network Management Platform Issues by Using Log
Files | 15
Troubleshooting Network Devices by Using Junos Space Debug Utilties | 33
CHAPTER 2
Troubleshooting Junos Space Network Management
Platform Issues by Using Log Files
IN THIS CHAPTER
System Status Log File Overview | 15
Junos Space Network Management Platform Log Files Overview | 17
Troubleshooting Log File Overview | 21
Downloading the Troubleshooting Log File in Server Mode | 22
Downloading the Troubleshooting Log File in Maintenance Mode | 25
Downloading Troubleshooting System Log Files Through the Junos Space CLI | 26
15
Customizing Node System Status Log Checking | 31
Customizing Node Log Files to Download | 32
System Status Log File Overview
The system writes a system log file for each fabric node to provide troubleshooting and monitoring
information. See “System Status Log File” on page 15.
The System Administrator can customize the information that is collected in the system log file. See
“Customizing Node System Status Log Checking” on page 31.
The System Administrator can download the latest log files for each fabric node when logged in to a Junos
Space Appliance. See “Downloading System Log Files for a Junos Space Appliance” on page 16.
In each operating mode, the System Administrator can customize the default log files that are downloaded
from a Junos Space Appliance. See “Customizing Node Log Files to Download” on page 32.
System Status Log File
Approximately once a minute, the system checks and writes a status log file SystemStatusLog for each
fabric node by default. Each log file consists of system status, such as the disk, CPU, and memory usage
information, as shown. Junos Space Network Management Platform writes each system status log file to
The System Administrator can customize the information that is written in a fabric node system status log
file. For more information, see “Customizing Node System Status Log Checking” on page 31.
Downloading System Log Files for a Junos Space Appliance
The System Administrator can download the latest log files for each fabric node when logged in to a Junos
Space Appliance. The system status log file and all other third-party log files are collected and compressed
in a troubleshooting file.
16
Table 3 on page 16 lists the files included in the troubleshoot file.
Table 3: Log Files included in the troubleshoot File
LocationDescription
/var/log/SystemStatusLogSystem status log files
/var/log/jboss/*JBoss log files
/var/tmp/jboss/debug/*Service-provisioning data files
/var/log/mysqld.logMySQL error log files
/var/log/httpd/*Log files for Apache, Node Management Agent (NMA), and
Webproxy
/var/log/watchdog/*Watchdog log files
/var/log/messages/*System messages
The System Administrator can download log files in each operation mode as follows:
Server mode (See “Downloading the Troubleshooting Log File in Server Mode” on page 22.)
•
Maintenance mode (See “Downloading the Troubleshooting Log File in Maintenance Mode” on page 25.)
•
CLI mode (See “Downloading Troubleshooting System Log Files Through the Junos Space CLI” on
•
page 26.)
Customizing Log Files to Download
The System Administrator can also customize the log files to be downloaded for specific fabric nodes. For
more information about customizing node log files to download, see “Customizing Node Log Files to
Download” on page 32.
RELATED DOCUMENTATION
Customizing Node System Status Log Checking | 31
Customizing Node Log Files to Download | 32
Downloading the Troubleshooting Log File in Server Mode | 22
Downloading the Troubleshooting Log File in Maintenance Mode | 25
Downloading Troubleshooting System Log Files Through the Junos Space CLI | 26
17
Junos Space Network Management Platform Log Files Overview
IN THIS SECTION
Apache Web Server Log Files | 18
JBoss Application Server Log Files | 18
MySQL Database Log Files | 20
Node Management Agent Log Files | 20
Junos Space Network Management Platform log files contain useful information that help you to identify,
analyze, and troubleshoot issues related to Junos Space Network Management Platform. The software
components of Junos Space Network Management Platform—JBoss, Apache Web server, MySQL, and
CentOS—generate these log files.
Table 4 on page 18 lists log files related to the software components of Junos Space Network Management
Platform.
Table 4: Junos Space Network Management Platform Log Files
Description of the Log FilesSoftware Component
Log files from the Apache Web server, NMA, and Web proxyApache Web server
Log files from JBoss, Junos Space core, and hosted Junos Space applicationsJBoss
Log files from MySQL serversMySQL
Linux-based system log messagesCentOS
Log files for system statuses and Junos Space and watchdog processesNode Management Agent
In addition to the log files related to software components, you can also refer to the /var/log/install.log
log file for information about Junos Space Platform upgrades and Junos Space application installations.
Apache Web Server Log Files
18
You can view the Apache Web server log files to view information related to HTTPS requests, Apache
modules, and CGI programs.
Table 5 on page 18 lists the Apache Web server log files.
Table 5: Apache Web Server Log Files
DescriptionLog File
Logs related to incoming HTTPS requests/var/log/httpd/access_log
Error logs for both Apache Web server modules and CGI programs/var/log/httpd/error_log
Error logs related to SSL certificates/var/log/httpd/ssl_error_log
JBoss Application Server Log Files
JBoss is used as an application server in Junos Space Network Management Platform. It provides a runtime
environment for plug-and-play Junos Space applications and supports standard packaging of pluggable
applications based on the .ear file format. It also supports hot plug-and-play deployment of Junos Space
applications when the system is fully operational.
JBoss provides three configuration options: minimal, default, and all. Junos Space Network Management
Platform specifies all as the default JBoss configuration option.
Table 6 on page 19 lists the JBoss directories.
Table 6: JBoss Directories
JBoss DirectoryType of JBoss Directory
/usr/local/jbossHome directory
/var/log/jbossLog directory
/var/spool/jbossData directory
/var/tmp/jbosstmp directory
Table 7 on page 19 lists the JBoss log files available in the /var/log/jboss/servers/server1/ directory. You
can also refer to the console file available in the /var/log/jboss/ directory for console messages from
JBoss.
Table 7: Joss Log Files
DescriptionLog File Name
19
process-controller.log
host-controller.log
JBoss boot log fileboot.log
Console log fileconsole.log
Log file that contains records about starting and stopping services in
domain mode
Log file that contains information about the host controller that starts
and stops the application server
Service Provisioning application log fileprovisioning.log
JBoss Application server log fileserver.log
EJB transactions log filelong-jpa-txn.log
Network Activate log fileProvisioning.log
QoS Design log fileQos.log
Security Director log fileSD.log
The Junos Space Service Provisioning application stores XML data files in the /var/tmp/jboss/debug
directory for debugging purposes. Service request deployment, service functional audits, and any reported
deployment errors from the devices are captured and stored in these XML data files.
MySQL Database Log Files
You use the MySQL database log files to view information related to the Junos Space Network Management
Platform database.
Table 8 on page 20 lists the MySQL database log files.
Table 8: MySQL Database Log Files
DescriptionLog File
Primary log file for MySQL-related procedures/var/log/mysqld.log
Log file for slow queriesvar/lib/mysql/log-slow-queries.log
Node Management Agent Log Files
A Node Management Agent (NMA) is a daemon that runs on every Junos Space node. An NMA manages
the configuration files for the software components of Junos Space Network Management Platform—JBoss,
MySQL, and Apache. An NMA also monitors the usage of system resources, such as CPU, memory, and
disk space, and the health of the other server processes.
20
Table 9 on page 20 lists the NMA log files.
Table 9: NMA Log Files
DescriptionLog File
Logs that contain information about operations executed on the NMA/var/log/nma.log
Error logs from NMA CGI scripts/var/log/httpd/error_log
/var/log/watchdog
/var/log/SystemStatusLog
Logs related to starting and stopping processes on Junos Space Network
Management Platform
Logs related to CPU, memory, and disk space usage by Junos Space
Network Management Platform
RELATED DOCUMENTATION
Troubleshooting Log File Overview | 21
Troubleshooting Log File Overview
The troubleshooting log file is a zip or tar package that contains the log files generated by different software
components of Junos Space Network Management Platform and service provisioning data files.
You can download the troubleshooting log file from the Junos Space user interface in sever mode, by
accessing the Junos Space Appliance URL in maintenance mode, or from the Junos Space Appliance console
in CLI mode. The troubleshooting log file is downloaded as a zip package in server mode and maintenance
mode, and as a tar package in CLI mode.
Server mode (See “Downloading the Troubleshooting Log File in Server Mode” on page 22.)
•
Maintenance mode (See “Downloading the Troubleshooting Log File in Maintenance Mode” on page 25.)
•
CLI mode (See “Downloading Troubleshooting System Log Files Through the Junos Space CLI” on
•
page 26.)
You need to be assigned the system administrator role to download the troubleshooting log file in server
mode and maintenance mode.
21
Junos Space Network Management Platform automatically names the troubleshooting zip package in the
troubleshoot_yyyy-mm-dd_hh-mm-ss.zip format. The date and time is represented in the Coordinated
Universal Time (UTC) format. For example, troubleshoot_2010-04-01_11-25-12.zip.
Table 10 on page 21 lists the files in this zip package.
Table 10: List of Log Files in the Troubleshooting Log File
LocationDescription
/var/log/jboss/*JBoss log files
/var/tmp/jboss/debug/*Service provisioning data files
/var/log/mysqld.logMYSQL error log file
/var/log/httpd/*Apache, NMA, and Webproxy log files
/var/log/watchdog/*Watchdog log file
/var/log/messages/*Linux system messages
RELATED DOCUMENTATION
/var/log/SystemStatusLogCPU, RAM, and disk statistics (during past 24 hours)
Junos Space Network Management Platform Log Files Overview | 17
Downloading the Troubleshooting Log File in Server Mode | 22
Downloading the Troubleshooting Log File in Maintenance Mode | 25
Downloading Troubleshooting System Log Files Through the Junos Space CLI | 26
Downloading the Troubleshooting Log File in Server Mode
You download the troubleshooting log file in Server mode when you want to view the contents of the
troubleshooting log file and fix issues. You need to have the privileges of a System Administrator to
download the troubleshooting log file.
Before you download the troubleshooting log file in Server mode:
Ensure that you check the available disk space on the Junos Space node. The Lack Of Space error message
•
is displayed if the disk space is insufficient.
22
Ensure that a troubleshooting log download job you triggered earlier is not in progress. An error message
•
is displayed if you trigger another troubleshooting log download job while a previous download job is
in progress.
NOTE: On a multinode setup, the troubleshooting log file is stored at the following location on
the Junos Space node that completes the job: /var/cache/jboss/space-logs. You cannot download
the troubleshooting log file if this node goes down.
To download the troubleshooting log file in Server mode:
1. On the Junos Space Network Management Platform user interface, select Administration > SpaceTroubleshooting.
The Space Troubleshooting page is displayed.
2. Select whether to download the troubleshooting log file now or later.
To download the troubleshooting log file now:
•
i. Click Download.
The Collect Junos Space Logs Job Information dialog box is displayed.
ii. Click OK in the dialog box.
You can download the troubleshooting log file from the Job Management page.
iii. Double-click the ID of the troubleshooting log collection job on the Job Management page.
The Job Details dialog box is displayed.
iv. Click the Download link to access the troubleshoot_yyyy-mm-dd_hh-mm-ss.zip file in your
browser.
The filename of the troubleshoot zip file includes the server Coordinated Universal Time (UTC)
date and time. For example, troubleshoot_2010-04-01_11-25-12.zip.
23
If you are using Mozilla Firefox: In the Opening troubleshoot zip dialog box, click Save file,
•
then click OK to save the zip file to your computer using the Firefox Downloads dialog box.
If you are using Internet Explorer: From the File Download page, click Save and select a directory
•
on your computer where you want to save the troubleshoot_yyyy-mm-dd_hh-mm-ss.zip file.
NOTE: If the download job failed, the Job Details dialog box displays the reason the
job failed.
Table 11 on page 23 lists the files included in the troubleshoot_yyyy-mm-dd_hh-mm-ss.zip file.
Table 11: Log Files in the Troubleshooting Log File and Their Location
LocationLog File Description
/var/log/SystemStatusLogSystem status log file
/var/log/jboss/*JBoss log files
/var/tmp/jboss/debug/*Service provisioning data files
/var/log/mysqld.logMySQL error log file
/var/log/httpd/*Apache Web Server, NMA, and Web proxy log files
Table 11: Log Files in the Troubleshooting Log File and Their Location (continued)
Watchdog log files/var/log/watchdog/*
/var/log/messages/*Linux system log messages
–CPU, RAM, or disk statistics (for the past 24 hours)
/var/log/jbossHeap and CPU Profiling Agent (HPROF) files
To download the troubleshooting log file later:
•
i. Select the Schedule at a later time option button.
ii. Enter the date in the Date field in the DD/MM/YYYY format.
iii. Enter the time in the Time field in the hh:mm format.
24
iv. Click Download.
The troubleshooting log download job is triggered at the scheduled time. You can view the status
of the scheduled job on the Job Management page.
TIP: When you contact Juniper Technical Assistance Center, describe the problem
you encountered and provide the troubleshoot_yyyy-mm-dd_hh-mm-ss.zip file to the
JTAC representative.
3. Click Close to return to the Administration statistics page.
RELATED DOCUMENTATION
System Status Log File Overview | 15
Customizing Node System Status Log Checking | 31
Customizing Node Log Files to Download | 32
Downloading the Troubleshooting Log File in Maintenance Mode | 25
Downloading Troubleshooting System Log Files Through the Junos Space CLI | 26
Downloading the Troubleshooting Log File in Maintenance Mode
Maintenance Mode is a special mode that an administrator can use to perform system recovery or debugging
tasks while all nodes in the fabric are shut down and the Web proxy is running.
The administrator can download the troubleshoot_yyyy-mm-dd_hh-mm-ss.zip file from Maintenance Mode.
The troubleshoot zip file includes the server Coordinated Universal Time (UTC) date and time. For example,
troubleshoot_2010-04-01_11-25-12.zip.
To download the troubleshooting log file in maintenance mode, perform the following steps:
1. Connect to a Junos Space Appliance in maintenance mode by using the Junos Space Appliance URL.
For example:
https://<ipaddress>/maintenance
Where ipaddress is the address of the Junos Space Appliance.
25
The Maintenance Mode page appears.
2. Click the click here to log in link. The login dialog box appears.
3. Log in to maintenance mode by using the authorized login name and password.
4. Click OK. The Maintenance Mode Actions menu appears.
5. Click Download Troubleshooting Data and Logs. The file download dialog box appears.
6. Click Save to download the troubleshoot_yyyy-mm-dd_hh-mm-ss.zip file to the connected computer.
7. Click Log Out and Exit from Maintenance Mode.
RELATED DOCUMENTATION
Maintenance Mode Overview
System Status Log File Overview | 15
Customizing Node System Status Log Checking | 31
Customizing Node Log Files to Download | 32
Downloading the Troubleshooting Log File in Server Mode | 22
Downloading Troubleshooting System Log Files Through the Junos Space CLI | 26
Downloading Troubleshooting System Log Files Through the Junos Space
CLI
IN THIS SECTION
Downloading a System Log File by Using a USB Device | 26
Downloading System Log File by Using SCP | 28
If a Junos Space node is Up, the administrator can log in to the Junos Space node and download system
status logs for each fabric node by using the Secure Copy Protocol (SCP). If the Junos Space node is Down
but you can log in to the console of a Junos Space Appliance, you can download system status logs to a
USB drive.
26
The Retrieve Logs utility collects all system log files in the /var/log subdirectory and creates a compressed
TAR file (extension *.tgz). For more information about the log files that are written, see “System Status
Log File Overview” on page 15.
This topic includes the following sections:
Downloading a System Log File by Using a USB Device
Using the Retrieve Logs > Save to USB Device command, the administrator can download system status
logs to a connected USB device if the Junos Space node is Down and you can log in to the console.
Before you begin, ensure that the USB device is connected to the Junos Space Appliance.
1. Log in to the Junos Space Appliance using the administrator username (admin) and password.
The Junos Space Settings Menu appears, as shown.
Junos Space Settings Menu
1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> (Debug) run shell
Q> Quit
R> Redraw Menu
Choice [1-6,QR]:
27
2. Type 4 at the prompt.
The Retrieve Logs submenu appears.
Choice [1-6,AQR]: 4
1> Save to USB Device
2> Send Using SCP
A> Apply changes
M> Return to Main Menu
R> Redraw Menu
Choice [1-2,AMR]:
3. Type 1.
The following message is displayed: This process will retrieve the log files on all cluster members and
combine them into a .tar file. Once the file is created, you can copy the files onto a USB drive. Continue?
[y/n]
4. Type y to continue.
You are prompted to enter the administrator password.
5. Enter the administrator password.
The system downloads the log files from all the nodes in the fabric and combines them into a .tar file.
After the file is created, the file is coped to the USB device and a message similar to the following is
displayed: Copying 20090827-1511-logs.tar to USB drive.
NOTE: If the USB device is not ready, the following message appears: Log collection complete
If USB key is ready, press "Y". To abort, press "N".
6. After the files are copied, unmount the USB and eject it from the Junos Space Appliance.
Downloading System Log File by Using SCP
Using the Junos Space CLI Retrieve Logs > SCP command, the administrator can download system status
logs to a specific location.
To download system status logs by using SCP, perform the following steps:
28
1. Log in to the Junos Space node using the administrator username (admin) and password.
The Junos Space Settings Menu appears, as shown.
Junos Space Settings Menu
1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> (Debug) run shell
Q> Quit
R> Redraw Menu
Choice [1-6,QR]:
2. Type 4 at the prompt.
The Retrieve Logs submenu appears.
Choice [1-6,AQR]: 4
1> Save to USB Device
2> Send Using SCP
A> Apply changes
M> Return to Main Menu
R> Redraw Menu
Choice [1-2,AMR]:
3. Type 2.
The following confirmation message is displayed:
This process will retrieve the log files on all cluster members and combine them into a .tar file. Once
the file is created, you will be asked for a remote scp server to transfer the file to. Continue? [y/n]
4. Type y to continue.
You are prompted to enter the administrator password.
29
5. Enter the administrator password.
A message indicating that the log files are being collected is displayed. The process retrieves the log
files on all cluster members and combines them into a .TAR file. This might take a few minutes to
complete.
After this is completed, you are prompted to enter the IP address of the remote server.
6. Enter the IP address of the SCP server to which to transfer the file.
NOTE:
Depending on whether the Junos Space fabric is configured with only IPv4 addresses or
•
both IPv4 and IPv6 addresses, Junos Space Platform allows you to enter an IPv4 address
or either an IPv4 or IPv6 address respectively for the SCP server.
The IPv4 and IPv6 addresses that you use must be valid addresses. Refer to
•
http://www.iana.org/assignments/ipv4-address-space for the list of restricted IPv4
addresses and http://www.iana.org/assignments/ipv6-address-space for the list of restricted
IPv6 addresses.
7. Enter the remote SCP user.
8. Enter the directory on the remote SCP server where the log file should be stored; for example,
/root/tmplogs.
The remote server information that you entered is displayed. The following is a sample:
Remote scp IP: 192.0.2.0
Remote scp user: root
Remote scp path: /root/tmplogs
Is this correct? [y/n]
9. If the SCP server information is correct, type y.
If you are connecting to the SCP server for the first time, a message is displayed asking you to confirm
that you want to continue. The following is a sample message:
The authenticity of host '192.0.2.0 (192.0.2.0)' can't be established.
RSA key fingerprint is 01:70:4c:47:9e:1e:84:fc:69:3c:65:99:6d:e6:88:87.
Are you sure you want to continue connecting (yes/no)? yes
NOTE: If the SCP server information is incorrect or if you want to modify the SCP server
information, type n at the prompt, and modify the SCP server information as explained in the
preceding steps.
30
10. Type y to continue.
You are prompted to enter the password.
11. Enter the password for the SCP server.
If the credentials are correct, the file is transferred to the SCP server.
RELATED DOCUMENTATION
Maintenance Mode Overview
System Status Log File Overview | 15
Customizing Node System Status Log Checking | 31
Customizing Node Log Files to Download | 32
Downloading the Troubleshooting Log File in Server Mode | 22
Downloading the Troubleshooting Log File in Maintenance Mode | 25
Customizing Node System Status Log Checking
You customize the system status checking for a fabric node to ensure that all necessary information is
written to the /var/log/SystemStatusLog log file. You must have the privileges of a System Administrator
to customize the system status checking. You customize the system status checking by modifying the
fabric node Perl script in /usr/nma/bin/writeLogCronJob.
To customize system status checking for a fabric node, modify the writeSystemStatusLogFile sub-function
in writeLogCronJob as shown:
Downloading the Troubleshooting Log File in Server Mode | 22
Downloading the Troubleshooting Log File in Maintenance Mode | 25
Downloading Troubleshooting System Log Files Through the Junos Space CLI | 26
Customizing Node Log Files to Download
You customize the log files downloaded for a fabric node to ensure that you download all the necessary
log files. You must have the privileges of a System Administrator to customize the log files. You customize
the log files you want to download by modifying the Perl script in /var/www/cgi-bin/getLogFiles.
Modify the getLogFiles Perl script zip command as shown:
Downloading the Troubleshooting Log File in Server Mode | 22
Downloading the Troubleshooting Log File in Maintenance Mode | 25
Downloading Troubleshooting System Log Files Through the Junos Space CLI | 26
CHAPTER 3
Troubleshooting Network Devices by Using Junos
Space Debug Utilties
IN THIS CHAPTER
Junos Space Debug Utilities Overview | 33
Executing Device-Connection Debug Scripts | 38
Executing Device Import Detail Script and Java Application | 52
Executing Job Management Scripts and Java Applications | 55
Executing HornetQ Scripts | 66
33
Junos Space Debug Utilities Overview
IN THIS SECTION
Device-Connection Debug Scripts | 34
Device Import Scripts and Java Applications | 35
Job Management Scripts and Java Applications | 36
HornetQ Scripts | 37
Compare.py | 37
Junos Space debug utilities allow you to debug issues related to Junos Space nodes and devices managed
by Junos Space Network Management Platform and view details about jobs scheduled on Junos Space
Network Management Platform. Junos Space debug utilities are a collection of scripts and Java applications
stored at /var/log/space-debug/debug-utilities. These scripts and Java applications are organized under
the following categories: deviceConnection, jobManagement, deviceImport, and HornetQ. You can save
the output of the scripts at a custom location. By default, the output of the scripts is stored at the location
where the scripts are stored.
The following scripts and Java applications are available for debugging:
Device-Connection Debug Scripts
IN THIS SECTION
getDeviceInfo.sh | 34
DeviceDebugInfoCollector.sh | 34
getAllDeviceInfo.sh | 34
cleanupEditChannel.sh | 35
The device-connection debug scripts stored at /var/log/space-debug/debug-utilities/deviceConnection/
fetch and display device-connection information from DeviceDataMatrix. DeviceDataMatrix is a memory
data structure in the Junos Space Network Management Platform database that stores device-connection
information. You can also view this information through JConsole or JMXTerm.
34
The following are the device-connection debug scripts:
getDeviceInfo.sh
getDeviceInfo.sh is a script to collect device-connection information for a single device. The script output
displays the device ID (as stored in the Junos Space Platform database), IP address of the device, IP address
of the Junos Space node to which the device is currently connected, status of the edit flag on the device,
SSH control channel number, number of channels opened from the device, and details of the open channels.
DeviceDebugInfoCollector.sh
DeviceDebugInfoCollector.sh is a script to execute frequently used Junos OS debug commands on a
device. When you execute this script, SSH connections are initiated to the device from the Junos Space
node you specified. The script output displays the list of active management daemon (MGD) processes on
the device, active SSH daemon (SSHD) processes on the device, active SSH connections to Junos Space
Platform from the device, and all active SSH connections from the device. You can also view additional
details about each of these processes and SSH connections.
getAllDeviceInfo.sh
getAllDeviceInfo.sh is a script to collect device-connection information about all devices that are connected
to a Junos Space node. The script output displays the device ID (as stored in the Junos Space Platform
database), IP address of the device, IP address of the Junos Space node to which the device is currently
connected, status of the edit flag on the device, SSH control channel number, number of channels opened
from the device, and details of the open channels about all devices that are connected to a Junos Space
node. On a multinode setup, you can also collect this information for all Junos Space nodes.
cleanupEditChannel.sh
cleanupEditChannel.sh is a script to unlock the device configuration on the device. Junos Space Platform
sets a lock when you deploy a configuration from Junos Space Platform or Junos Space applications. You
use this script to unlock the device configuration if the previous deployments were erroneous and you are
currently unable to deploy the configuration from Junos Space Platform. You enter the variable false to
unlock the device configuration.
For more information about executing device-connection debug scripts, see “Executing Device-Connection
Debug Scripts” on page 38.
Device Import Scripts and Java Applications
IN THIS SECTION
cleanupDeviceImportTables.sh | 35
DB-blob-reader.jar | 35
35
The device import scripts and Java applications stored at
/var/log/space-debug/debug-utilities/deviceImport/ clear the device import tables and fetch device
inventory information or device configuration in XML format.
The following are the device import scripts and Java applications:
cleanupDeviceImportTables.sh
cleanupDeviceImportTables.sh is a script to clean data from device import tables. You can execute the
script to fix data errors during a device resynchronization process. You need to manually resynchronize
the device with the Junos Space Platform database from the user interface after you execute the script.
DB-blob-reader.jar
DB-blob-reader.jar is a Java application to collect the device information XML or interface information
XML. When you execute this application, the information from the XML is written to the
DB-blob-reader-result.txt file. This information can be useful for debugging device resynchronization
issues. You can modify the MySQL query in the DB-blob-reader.properties file and fetch information
based on that MySQL query. You can specify the following in the DB-blob-reader.properties file: device
ID (as stored in the Junos Space Platform database) and name of the RPC, device configuration, or interface.
For more information about executing device import scripts and Java applications, see “Executing Device
Import Detail Script and Java Application” on page 52.
Job Management Scripts and Java Applications
IN THIS SECTION
SystemLoadViewer.sh | 36
getJobThreadSump.sh | 36
JobInfoCollector.jar | 36
Usr/nma/bin/collectStuckJobLogFiles.pl | 36
The job management scripts and Java applications stored at
/var/log/space-debug/debug-utilities/jobManagement/ fetch information about jobs executed from the
Junos Space nodes. You can also view the output of the scripts through JConsole or JMXTerm.
The following are the job management scripts and Java applications:
36
SystemLoadViewer.sh
SystemLoadViewer.sh is a script to collect information about available memory on all Junos Space nodes
and the jobs triggered on these nodes. The script output displays information such as the memory on the
nodes, number of root jobs and subjobs on each of the nodes, type of job (root job or subjob), state of the
job (running, queued, or stopped), name of the job, queue name of the job, the time the job was created,
and the time the job was modified. The script output also displays the top five processes that consume
CPU and memory when the script is executed.
getJobThreadSump.sh
getJobThreadSump.sh is a script to view the stack trace of a specific job. You can also view the script
output through JConsole or JMXTerm.
JobInfoCollector.jar
JobInfoCollector.jar is a Java application to execute SQL queries and collect information about jobs. You
can construct the SQL query in the JobInfoCollector.properties file. This file contains a default example
query. The application can also display the hierarchy of a subjob (input as the parent job ID) and list of jobs
that are currently unscheduled. You can also input a SQL query to obtain information about jobs.
For more information about executing job management scripts and Java applications, see “Executing Job
Management Scripts and Java Applications” on page 55.
Usr/nma/bin/collectStuckJobLogFiles.pl
Usr/nma/bin/collectStuckJobLogFiles.pl is a script to collect all the troubleshooting logs and threats at
the time of a job getting stuck. This Auto Gathering tool monitors and identifies the stuck job once added
to crontab as required. Stuck jobs are the ones that are in pending or under progress for more than forty
five minutes. Once the tool identifies such jobs, it collects all the logs and thread dump from the server,
saves them in /var/tmp/stuckJobLogFiles_<timestamp>.tgz location, notifies the user via e-mail with details
such as file name, file location, node, and so on.
HornetQ Scripts
IN THIS SECTION
HornetQInfoProvider.sh | 37
HQMessageViewer.sh | 37
The HornetQ scripts stored at /var/log/space-debug/debug-utilities/hornetQ/ display the list of all JBoss
queues, of messages in a specific JBoss queue, or of jobs that are to be executed by a specific JBoss queue.
You can also view the script output through JConsole or JMXTerm.
37
The following are the HornetQ scripts:
HornetQInfoProvider.sh
HornetQInfoProvider.sh is a script to collect details about all HornetQ queues. The script output also lists
details such as consumer-count, message-count, and scheduled-count.
HQMessageViewer.sh
HQMessageViewer.sh is a script to view the list of messages in a specific JBoss queue. The script output
displays the job ID and job operation name. You can view the jobs that are queued to be executed by a
specific JBoss queue.
For more information about executing HornetQ scripts, see “Executing HornetQ Scripts” on page 66.
Compare.py
RELATED DOCUMENTATION
Junos Space Network Management Platform Log Files Overview | 17
Monitoring Network Devices and Troubleshooting Software Issues with Junos Space Network
Management Platform | 2
Executing Device-Connection Debug Scripts
IN THIS SECTION
Executing the Script to Collect Device-Connection Information | 38
Executing the Script to Collect Device Debug Information | 40
Executing the Script to Unlock the Device Configuration | 45
Executing the Script to Collect Node-Connection Information | 46
You execute the device-connection debug scripts to view information about device-connection issues
related to Junos Space nodes and devices connected to these nodes. Device-connection scripts are stored
at the following location: /var/log/space-debug/debug-utilities/deviceConnection. When you execute
these scripts, the output is stored as .txt files at the same location. You can also specify a custom path to
store the output. The following sections list the steps to execute the scripts to collect information about
device-connection issues.
38
Executing the Script to Collect Device-Connection Information
You execute the getDeviceInfo.sh script to collect device-connection information of a device.
To execute the script to collect device-connection information:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
The following is a sample output from a virtual appliance:
admin@10.206.41.183's password:
Last login: Mon Aug 17 06:17:58 2015 from 10.206.41.42
Welcome to the Junos Space network settings utility.
Initializing, please wait
Junos Space Settings Menu
1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> Expand VM Drive Size
7> (Debug) run shell
A> Apply changes
Q> Quit
R> Redraw Menu
39
Choice [1-7,AQR]: 7
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/deviceConnection at the shell prompt and press Enter.
6. (Optional) To view the list of debug scripts, type ls and press Enter.
The list of device-connection debug scripts is displayed.
7. Type ./getDeviceInfo.sh<device-IP address> and press Enter—for example, ./getDeviceInfo.sh
10.206.33.17.
The output of this command is saved to the DeviceInfo-<device-IP address>.txt file in the same directory.
The following is a sample output:
-----------------------------------------------------------Time of execution: Wed Jul 15 05:45:26 UTC 2015
8. (Optional) To save node connection information at a custom output location, type
./getDeviceInfo.sh<device-IP address> <output-file-path> and press Enter.
You can use the information from the .txt file to debug device-connection issues.
Executing the Script to Collect Device Debug Information
You execute the DeviceDebugInfoCollector.sh script to collect information about the connections and
processes on a device.
To execute the script to collect device debug information:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/deviceConnection at the shell prompt and press Enter.
6. (Optional) To view the list of debug scripts, type ls.
The list of device-connection debug scripts is displayed.
41
7. Type ./DeviceDebugInfoCollector.sh<device-IP address><device-username><node-VIP address> and
press Enter—for example, ./DeviceDebugInfoCollector.sh 10.206.32.107 user1 10.206.41.57..
8. Enter the device password.
The output from this command is saved to the DeviceDebugInfo-<device-IP address>.txt file in the
same directory.
The following is a sample output:
Time of execution: Wed Jul 15 07:43:43 UTC 2015
========================================================================================================
List of MGD processes on the device : (Command Executed - ps auxwww | sed -n
"1p; /sed -n/d; /mgd/p;")
========================================================================================================
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
user1 1841 0.0 0.0 41132 236 ?? S Fri12AM 0:10.15 /usr/sbin/mgd
- netstat -tln | egrep "Pro|\.7804"; netstat -tln | grep "\.22"). Please note
that of the listed connections, one is opened by this debug script to collect
the debug information from the device
==============================================================================================================================
Proto Recv-Q Send-Q Local Address Foreign
Address (state)
tcp4 0 0 10.206.32.107.22
10.206.41.57.43098 ESTABLISHED
43
tcp4 0 0 10.206.32.107.22
10.206.41.57.33080 ESTABLISHED
=================================================================================================================
List of open SSH connections on the device : (Command Executed - netstat -tln
| egrep "Pro|\.7804"; netstat -tln grep "\.22")
=================================================================================================================
Proto Recv-Q Send-Q Local Address Foreign
Address (state)
tcp4 0 0 10.206.32.107.58052
10.206.41.192.7804 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.57.43098 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.62.60026 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.155.85.62406 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.143.39926 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.207.70.104.36730 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.171.52993 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.33.45765 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.211.50000 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.57.33080 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.156.49032 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.40.4.38068 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.240.61583 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.240.61569 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.149.60804 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.235.59358 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.231.34530 ESTABLISHED
44
tcp4 0 0 10.206.32.107.22
10.206.41.221.48186 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.205.56.82.41163 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.161.11.161.42174 ESTABLISHED
tcp4 0 0 10.206.32.107.22
10.206.41.71.47831 ESTABLISHED
9. (Optional) To save device debug connection information at a custom output location, type
./DeviceDebugInfoCollector.sh<device-IP address> <device-username> <node-VIP address>
<output-file-path> and press Enter..
You can use the information from the .txt file to debug issues related to the connections and processes
on the device.
45
Executing the Script to Unlock the Device Configuration
You execute the cleanupEditChannel.sh script to unlock the device configuration.
To execute the script to unlock the device configuration:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/deviceConnection at the shell prompt and press Enter.
6. (Optional) To view the list of debug scripts, type ls and press Enter.
The list of device-connection debug scripts is displayed.
7. Type ./cleanupEditChannel.sh <device-IP address>false and press Enter—for example,
./cleanupEditChannel.sh 10.206.33.17 false.
You can modify the configuration on the device from the Junos Space user interface.
Executing the Script to Collect Node-Connection Information
You execute the getAllDeviceInfo.sh script to collect information about devices connected to a Junos
Space node. You can also execute the script to collect information about devices connected to all the
nodes in your Junos Space setup.
To execute the script to collect node-connection information:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
46
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/deviceConnection at the shell prompt and press Enter.
6. (Optional) To view the list of debug scripts, type ls and press Enter.
7. Type ./getAllDeviceInfo.sh <node-VIP address> and press Enter—for example, ./getAllDeviceInfo.sh
10.206.41.57.
The output from this command is saved to the DeviceInfoOutput.txt file in the same directory.
The following is a sample output:
-----------------------------------------------------------Time of execution: Wed Jul 15 05:35:21 UTC 2015
8. (Optional) To save node connection information at a custom output location, type ./getAllDeviceInfo.sh<node-VIP address> <output-file-path> and press Enter.
9. (Optional) To view connection information across all nodes, type ./getAllDeviceInfo.sh ALL-NODES
and press Enter.
You can use the information from the .txt file to debug issues related to devices connected to a single or
multiple Junos Space nodes.
RELATED DOCUMENTATION
Junos Space Debug Utilities Overview | 33
Monitoring Network Devices and Troubleshooting Software Issues with Junos Space Network
Management Platform | 2
Executing Device Import Detail Script and Java Application
IN THIS SECTION
Executing the Script to Delete Data from Device Import Tables | 52
Executing the Java Application to View Device XML | 53
You execute the device import script to delete data from device import tables. You execute the
DB-blob-reader.jar Java application to view device information in XML format. Device import script and
Java application are stored at the following location: /var/log/space-debug/debug-utilities/deviceImport.
When you execute the Java application, the output is stored as a .txt file at the same location. The following
sections list the steps to execute the script to delete device import details and Java application to view
device information.
52
Executing the Script to Delete Data from Device Import Tables
You execute the cleanupDeviceImportTables.sh script to delete data from device import tables.
To execute the script to delete data from device import tables:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
The following is a sample output from a virtual appliance:
admin@10.206.41.183's password:
Last login: Mon Aug 17 06:17:58 2015 from 10.206.41.42
Welcome to the Junos Space network settings utility.
Initializing, please wait
Junos Space Settings Menu
1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> Expand VM Drive Size
7> (Debug) run shell
A> Apply changes
Q> Quit
R> Redraw Menu
Choice [1-7,AQR]: 7
53
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/deviceImport at the shell prompt and press Enter.
6. (Optional) To view the list of device import scripts and Java applications, type ls and press Enter.
7. Type ./cleanupDeviceImportTables.sh <device-name> and press Enter. For example:
./cleanupDeviceImportTables.sh jboss netscreen build_db ABC123
Warning: Using a password on the command line interface can be insecure.
Device id from ABC123 is :XXXXX
Warning: Using a password on the command line interface can be insecure.
Finished cleaning up the import related tables for device ABC123
Executing the Java Application to View Device XML
You execute the DB-blob-reader.jar application to view the device XML information.
Ensure that you have updated the MySQL query in the DB-blob-reader.properties file before executing
the Java application. The file also contains an example configuration.
To execute the Java application and view a device XML:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
4. Type the administrator password and press Enter.
The shell prompt appears.
54
5. Type cd /var/log/space-debug/debug-utilities/deviceImport at the shell prompt and press Enter.
6. (Optional) To view the list of device import scripts and Java applications, type ls and press Enter.
7. Type /usr/bin/java -jar DB-blob-reader.jar and press Enter.
8. Enter the database username.
9. Enter the database password.
The output from this command is saved to the DB-blob-reader-result.txt file in the same directory.
You can view the output of the query you entered in the DB-blob-reader.properties file.
RELATED DOCUMENTATION
Junos Space Debug Utilities Overview | 33
Monitoring Network Devices and Troubleshooting Software Issues with Junos Space Network
Management Platform | 2
Executing Job Management Scripts and Java Applications
IN THIS SECTION
Executing the Java Application to Collect Job Information | 55
Executing the Script to View the Stack Trace of a Job | 59
Executing the Script to View Job Information on Nodes | 60
You execute job management scripts and Java applications to view information about jobs triggered from
Junos Space nodes. The JobInfoCollector.jar Java application and the job management scripts are stored
at the following location: /var/log/space-debug/debug-utilities/jobManagement. When you execute the
JobInfoCollector.jar Java application and job management scripts, the output is stored as .txt files at the
same location. You can also specify a custom path to store the output. The following sections list the steps
to execute the scripts to collect information about jobs.
55
Executing the Java Application to Collect Job Information
You execute the JobInfoCollector.jar application to collect job information. Ensure that you have updated
the MySQL query in the JobInfoCollector.properties file before executing the Java application. The file
also contains an example configuration.
To execute the Java application to collect job information:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
The following is a sample output from a virtual appliance:
admin@10.206.41.183's password:
Last login: Mon Aug 17 06:17:58 2015 from 10.206.41.42
Welcome to the Junos Space network settings utility.
Initializing, please wait
Junos Space Settings Menu
1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> Expand VM Drive Size
7> (Debug) run shell
A> Apply changes
Q> Quit
R> Redraw Menu
56
Choice [1-7,AQR]: 7
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/jobManagement at the shell prompt and press Enter.
6. (Optional) To view the list of job management scripts and Java applications, enter ls and press Enter.
7. Type /usr/bin/java -jar JobInfoCollector.jar and press Enter.
The following options will be displayed:
Please select an option from below:
1. Display job parent-children hierarchy
2. Filter from job data
3. Display jobs not yet picked up by Job Dispatcher
8. Type 1, 2, or 3 to select an option.
9. Enter the database username.
10. Enter the database password.
11. The inputs displayed depend on the option you selected.
If you selected option 1, you need to enter the parent job ID.
Enter a job ID.
•
The output from this command is saved to the JobHierarchy-<job-ID>.txt file in the same directory.
The following is a sample output if you selected 1:
You can view the hierarchy of a subjob (input as the parent job ID), list of jobs that are currently unscheduled,
or the output based on the query you entered in the JobInfoCollector.properties file.
Executing the Script to View the Stack Trace of a Job
You execute the getJobThreadDump.sh script to view the stack trace of a job.
To execute the script to view the stack trace of a job:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/jobManagement at the shell prompt and press Enter.
6. (Optional) To view the list of job management scripts and Java applications, type ls and press Enter.
7. Type ./getJobThreadDump.sh <job-ID> and press Enter.
The output from this command is saved to the JobThreadDump-<job-ID>.txt file in the same directory.
60
8. (Optional) To save the stack trace of the job at a custom output location, type ./getJobThreadDump.sh<job-ID> <output-file-path> and press Enter.
Executing the Script to View Job Information on Nodes
You execute the SystemLoadViewer.sh script to view job information on a node.
To execute the script to view job information on a node:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/jobManagement at the shell prompt and press Enter.
6. (Optional) To view the list of job management scripts and Java applications, type ls and press Enter.
7. Type ./SystemLoadViewer.sh and press Enter.
The output from this command is saved to the ./SystemLoadInfo.txt file in the same directory. The
following is a sample output from the command:
-----------------------------------------------------------Time of execution: Mon Jul 20 06:54:14 UTC 2015
=====================NODE SUMMARY======================
Node IP: 10.206.41.35
Maximum JVM memory: 2040528896
Estimated memory usage per node: 40465
Reserved memory size: 20000000
(Available Memory = Maximum JVM memor - Estimated memory usage per node - Reserved
memory)
Available Memory:2020488431
Number of first root jobs on this node:1
Number of next root jobs on this node:0
Number of sub jobs on this node:0
------------------------------------------===========================================
Node load statistics:
===========================================
Resource Id:autoresync-group:132832:user1@host:0360471000000000008G
Type:autoresync-group
SubType:132832
Context type:FIRST_ROOT_JOB
State:RUNNING
Queue:
Node IP:10.206.41.35
Creation Time:2015-07-20 06:54:13.166
Last modification time:2015-07-20 06:54:13.166
Estimated Memory:40465
===========================================
============================SYSTEM LOAD SUMMARY FOR LOCAL
NODE=============================
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/jmpvgnocf-lvvar
52772604 2584204 47373632 6% /var
======Command executed: LINES=20 COLUMNS=120 top -n 2 -b -c | tail -n
+22==================
top - 06:54:18 up 3 days, 19:01, 2 users, load average: 1.24, 0.88, 0.82
--basedir=/usr --datadir=/var/lib/mysql -31064 postgres 20 0 265m 17m 16m S 0.0 0.2 0:32.35
/usr/pgsql-9.4/bin/postmaster -p 5432 -D /var/lib/pgsql/9.4
31072 postgres 20 0 119m 1728 868 S 0.0 0.0 0:03.28 postgres: logger
process
31074 postgres 20 0 265m 42m 41m S 0.0 0.5 0:39.87 postgres:
checkpointer process
31075 postgres 20 0 265m 7304 6368 S 0.0 0.1 0:05.45 postgres: writer
process
31076 postgres 20 0 265m 6076 5156 S 0.0 0.1 0:53.84 postgres: wal writer
process
31077 postgres 20 0 265m 2688 1496 S 0.0 0.0 0:12.46 postgres: autovacuum
launcher process
31078 postgres 20 0 119m 2056 924 S 0.0 0.0 0:58.40 postgres: stats
collector process
31304 user1 20 0 61220 768 664 S 0.0 0.0 0:00.00 egrep
(mysqld|java|postgres)
65
8. (Optional) To save job information about a node at a custom output location, enter
./SystemLoadViewer.sh <output-file-path>.
You can view information such as the memory on the nodes, number of root jobs and subjobs on each of
the nodes, and so on.
RELATED DOCUMENTATION
Junos Space Debug Utilities Overview | 33
Monitoring Network Devices and Troubleshooting Software Issues with Junos Space Network
Management Platform | 2
Executing HornetQ Scripts
IN THIS SECTION
Executing the HornetQ Script to View all JBoss Queues | 66
Executing the HornetQ Script to List of Messages in a JBoss Queue | 68
You execute HornetQ scripts to fetch details about all queues from the JBoss CLI or view the list of
messages on a specific queue. HornetQ scripts are stored at the following location:
/var/log/space-debug/debug-utilities/HornetQ. When you execute these scripts, the output is stored as
.txt files at the same location. You can also specify a custom path to store the output. The following sections
list the steps to execute the scripts to fetch details about queues from the JBoss CLI.
66
Executing the HornetQ Script to View all JBoss Queues
You execute the HornetQInfoProvider.sh script to view all the JBoss queues.
To execute the script to view all JBoss queues:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
The following is a sample output from a virtual appliance:
admin@10.206.41.183's password:
Last login: Mon Aug 17 06:17:58 2015 from 10.206.41.42
Welcome to the Junos Space network settings utility.
Initializing, please wait
Junos Space Settings Menu
1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> Expand VM Drive Size
7> (Debug) run shell
A> Apply changes
Q> Quit
R> Redraw Menu
67
Choice [1-7,AQR]: 7
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/hornetQ at the shell prompt and press Enter.
6. (Optional) To view the list of HornetQ scripts, type ls and press Enter.
7. Type ./HornetQInfoProvider.sh and press Enter.
The output from this command is saved to the HornetQInfo.txt file in the same directory. The following
sample output displays one of the JBoss queues:
-----------------------------------------------------------Time of execution: Tue Jul 21 05:58:23 UTC 2015
8. (Optional) To save the list of all JBoss queues at a custom output location, type
./getDeviceInfo.sh<output-file-path> and press Enter.
You can view all the JBoss queues.
Executing the HornetQ Script to List of Messages in a JBoss Queue
You execute the HornetQInfoProvider.sh script to view the list of messages in a JBoss queue.
To execute the script to view the list of messages in a JBoss queue:
1. Log in to the CLI of the Junos Space node.
2. Enter the administrator username and password at the Junos Space login prompt and press Enter.
The default username is admin and the default password is abc123.
The Junos Space Settings Menu is displayed.
3. Enter 6 (if you are using a hardware appliance) or 7 (if you are using a virtual appliance) at the Junos
Space Settings Menu prompt to run shell commands.
You are prompted to enter your password.
The following is a sample output from a virtual appliance:
admin@10.206.41.183's password:
Last login: Mon Aug 17 06:17:58 2015 from 10.206.41.42
Welcome to the Junos Space network settings utility.
Initializing, please wait
Junos Space Settings Menu
1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> Expand VM Drive Size
7> (Debug) run shell
69
A> Apply changes
Q> Quit
R> Redraw Menu
Choice [1-7,AQR]: 7
4. Type the administrator password and press Enter.
The shell prompt appears.
5. Type cd /var/log/space-debug/debug-utilities/hornetQ at the shell prompt and press Enter.
6. (Optional) To view the list of HornetQ scripts, type ls and press Enter.
7. Type ./HornetQMessageViewer.sh<queue-name>—for example,
./HornetQMessageViewer.shResyncJobDispatcherQueue.
The output from this command is saved to the <queue-name>-messages.txt file in the same directory.
The following sample output displays the list of messages in a JBoss queue named
ResyncJobDispatcherQueue.
-----------------------------------------------------------Time of execution: Tue Jun 2 16:13:51 PDT 2015
8. (Optional) To save the list of all messages at a custom output location, type
./HornetQMessageViewer.sh<queue-name> <output-file-path> and press Enter.
You can view the list of messages in a specific JBoss queue.
RELATED DOCUMENTATION
Junos Space Debug Utilities Overview | 33
Monitoring Network Devices and Troubleshooting Software Issues with Junos Space Network
Management Platform | 2
If you have not selected the device interfaces for data collection:
•
1. Select the device on the Network Management Platform > Network Monitoring > Admin > Configure
SNMP Data Collection per Interface page.
2. In the Collect column, select Collect or Default from the drop-down list corresponding to the
interfaces.
RELATED DOCUMENTATION
Troubleshooting Device Discovery Failure | 74
Troubleshooting Devices Discovered Twice Using the Device Discovery
Workflow
Problem
Description: Using the Device Discovery Profile workflow, devices are discovered twice to Junos Space
Network Management Platform.
76
Cause
You are using the ping-only method to discover devices to Junos Space Network Management Platform.
Solution
Select the SNMP check box on the Network Management Platform > Devices > Device Discovery Profile
> Create Device Discovery Profile > Specify Probes when discovering devices using the Device Discovery
Profile workflow. Enabling the SNMP option ensures that Junos Space Network Management Platform
checks the serial number of the devices during the discovery process. This prevents the discovery process
from adding duplicate instances of the devices to Junos Space Network Management Platform.
RELATED DOCUMENTATION
Troubleshooting Device Discovery Failure | 74
CHAPTER 6
Troubleshooting Network Monitoring–Related Issues
IN THIS CHAPTER
Troubleshooting the Network Monitoring Page Is Not Available Issue | 77
Troubleshooting the Network Monitoring Page Is Not Available Issue
Problem
Description: You can navigate to all other workspaces but the Network Monitoring workspace is not
accessible.
77
Cause
The Network Monitoring service has stopped unexpectedly.
Solution
Restart the Network Monitoring service. To restart the Network Monitoring service:
1. Navigate to the Network Management .Platform > Administration > Applications page.
2. Right-click Network Management Platform and select Manage Services from the Actions menu.
3. Select Network Monitoring, then select the Restart Service icon.
RELATED DOCUMENTATION
Troubleshooting Device Discovery Failure | 74
CHAPTER 7
Troubleshooting DMI Schema–Related Issues
IN THIS CHAPTER
Troubleshooting the Nondisplay of the DMI Schema Tree Issue | 78
Troubleshooting the Nondisplay of the DMI Schema Tree Issue
Problem
Description: The DMI schema tree is not displayed.
78
Symptoms: On the Create Template Definition page, you cannot navigate the DMI schema tree or the
hierarchy of configuration options on the left.
Cause
The DMI schema is defective or corrupt.
If the topmost node (Configuration) cannot be opened to reveal the hierarchy, the schema was corrupted
during transition. (Use the grep command to search for SchemaMgr ERROR in the server.log file.)
NOTE: One defective schema does not affect other schemas, which are still available for use.
Solution
Use your own compressed TAR file. This does not require you to restart JBoss. Ensure that the Enable
Schema Overwrite check box is selected when you update the schema. For instructions to add or update
a DMI schema , see Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using the Update
Schema Menu in the Junos Space Network Management Platform Workspaces User Guide.
For instructions to create your own compressed TAR file, see Creating a Compressed TAR File for Updating
DMI Schema in the Junos Space Network Management Platform Workspaces User Guide.
RELATED DOCUMENTATION
Monitoring Network Devices and Troubleshooting Software Issues with Junos Space Network
Management Platform | 2
79
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.