Web Console Guide(en)

WebConsole_Guide_en

WebConsole_Guide(en)

WebConsole_Guide(en)

WebConsole_Guide(en)

WebConsole_Guide_en

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 17

DownloadWeb Console Guide(en)
Open PDF In BrowserView PDF
KBEngine
WebConsole
Guide

Table of contents

Environment Confiuration.......................................................3

1. Requirements........................................................................... 3

2. Setup............................................................................................ 3

Operation Steps...........................................................................3

1. Start the server..................................................................3

2. Loiin system.......................................................................4

Server Manaiement Functions................................................5

1. User Manaiement.............................................................5

2. Cluster Manaiement.........................................................7

3. Performance Analysis.......................................................9

4. Loi View.............................................................................12

5. State Diairam..................................................................13

6. Python Console................................................................14

7. Watcher..............................................................................15

8. SpaceViewer.....................................................................16

(一) Environment Confguration

1. Requirements
Python Version: Python3.X (recommended 3.3 or above)
Djanio Version: 1.8.9

2. Setup
1) First, install the matchini Djanio module for Python. If you do
not want to install Djanio, there are two options:




If
you
are
usini
python2.6.6,
enter
into
the
“kbe/tools/server/djanio_packaies" directory and extract the
Djanio-1.6.11.tar.iz fle (unzip to the current directory);
If you are usini python2.7 or above, io to the
“kbe/tools/server/djanio_packaies” directory and extract the
Djanio-1.8.9.tar.iz fle (unzip to the current directory).

2) Modify
sync_db.bat,
sync_db.sh
and
run_server.bat,
run_server.sh to match the path to the python you are usini.
On frst run you need to initialize the data:






python3.3 + djanio 1.8.9 under windows, run “sync_db.bat”
python3.3 + djanio 1.8.9 under linux, run “sync_db.sh”;
python2.6 + djanio 1.6.11 under linux, run “sync_db_dj1.6.sh”;
python2.6 + djanio 1.6.1 under windows, please refer to
“sync_db_dj-1.6.sh” and build a .bat fle.

(二) Operation Steps

1. Start the server




Linux: Run the run_server.sh script, or deploy to niinx. In a
browser, open “http://xxx.xxx.xxx.xxx:8000/wc/” for access
where “xxx.xxx.xxx.xxx” is the Linux machine’s IP address;
Windows: Run run_server.bat (make sure to chanie python
folder in run_server.bat to your own python folder) and open
“http://xxx.xxx.xxx.xxx:8000/wc/” in a web browser, where
”xxx.xxx.xxx.xxx” is the machine’s IP address.

2. Login System
The initial loiin requires a default username and password to
loiin to the user manaiement interface and create a new
administrative user:




When usini the Web Console for the frst time, the default
loiin account is “Admin” and the default password is
“123456”, this account is also the only backiround
administrative account. Please promptly chanie your
password after loiin.
The frst time you use the Admin account to enter the
backiround, you need to create a server manaiement
account usini your user account name and UID. After creatini
a new user account, loi out of Admin and loi into the new
user.






The backiround environment is python3.3 + djanio 1.8.9, and
python2.6.6 + djanio-1.6.11 under linux. Tests passed.
All functions of the Web Console are derived from the
KBEniine server. Therefore, to use the functions of the
console, it must be ensured that the server process runs
correctly.
If you have any questions, please ask them on the KBEniine
official forum.

2-1-1 登录界面

(三) Server Management Functions

1. User Management

1) Account Management
On this paie, you can manaie users who use the Web Console,
or manaie Administrator accounts.

3-1-1-1 Account Manaiement Interface

2) Management user creation











Account name: Loiin account;
Nickname: Displayed after loiin;
Loiin password: Any combination of alphanumeric characters;
Confrm password: Enter the password aiain;
Operatini System user: Linux system user name who is
runnini KBE server. Please iinore under Windows.
Operatini System uid: Linux system user uid. Make sure to
enter the uid of the user runnini KBE server, otherwise it
cannot be manaied. Please iinore under Windows.
KBE_ROOT: The KBE_ROOT directory. Defaults to the root of
the current Web Console. (can be empty)
KBE_RES_PATH: The KBE_RES_PATH directory. Defaults to the
root of the current Web Console. (can be empty)
KBE_BIN_PATH: The KBE_BIN_PATH directory. Defaults to the
root of the current Web Console. (can be empty)

Note: Because there can be multiple KBEs on a sinile server,
each
manaied
system
uses
User,
UID,
KBE_ROOT,
KBE_RES_PATH, KBE_BIN_PATH and cannot be referenced by other
users.

3-1-2-1 New account

3) Modify user
Enter the new user properties and click OK to modify.

3-1-3-1 Account editini

4) Change password
Enter the new password twice and click Modify.

3-1-4-1 Password Modifcation

2. Cluster Management

1) Server Management
In the “Server Manaiement” paie, you can manaie and view
resource consumption of started KBE processes.






STOP operation: Stop current process.
KILL operation: Kill current process.
Start new component: Start new KBE service or component.
Stop the server: Stop the current KBE server and all processes.
Save current server confiuration: Save the current KBE server
process confiuration.

3-2-1-1 Server Manaiement Interface

2) Start new component
On this paie you can create any number of component
processes within the server cluster.

3-2-2-1 Start new component interface

3) All daemon status
Here you can view machine information and resources for all KBE
processes in the server cluster.

3-2-3-1 All daemon status

4) Server confgurations
On this paie you can load and delete previously saved server
confiurations.

3-2-4-1 Server confiurations

3. Performance Analysis
Here you can select the component process you want to analyze.

3-3-0-1 Component process selection screen

1) TickProfle
On this paie you can query the tick profle. The query duration is
empty, with a default lenith of 10 seconds. Click the bars on the
iraph to see details.

3-3-1-1 TickProfle screen

2) Cprofle
Here you can perform cprofle analysis queries. The query
duration is empty with a default lenith of 10 seconds.

3-3-2-1 Cprofle screen

3) Pyprofle
Here you can perform pyprofle analysis queries. The query
duration is empty with a default lenith of 10 seconds.

3-3-3-1 PyProfle screen

4) Eventprofle
Here you can analyze event profle information. The query
duration is empty with a default lenith of 10 seconds.

3-3-4-1 EventProfle screen

5) Networkprofle
Here you can analyze network performance information. The
query duration is empty with a default lenith of 10 seconds.

3-3-4-1 NetWorkProfle screen

4. Log View

1) Real-time log
This paie provides real-time loi viewini and flterini. Click on
the arrow for a drop down flterini menu. Use this paie to view loi
data from all KBEniine processes.

3-4-1-1 Real-time loi interface

3-4-1-2 Real-time loi flterini

5. State Diagram
The State Diairam paie provides a linear chart of the current
state of cellapp and baseapp. Click the name to see line iraphs for
each components individual processes.

3-5-1-1 Component overview paie

3-5-1-2 Component processes paie

6. Python Console
On this paie you can connect a python console (throuih telnet)
to a sinile process and enter commands to be executed by clickini
the send button on the console paie.

3-6-1-1 Python Console Process Selection Paie

3-6-1-2 Python Console Paie

7. Watcher
The watcher provides developers with a sinile view of all the
status information for a sinile component process (attributes,
response speed, etc.) and updates the data to the process watcher
paie in real time.

3-7-1-1 Watcher Process Selection Paie

3-7-1-2 Watcher Operation Paie

8. SpaceViewer
In SpaceViewer, you can see the distribution of entities in all
Spaces in the iame. The space list on the left is updated as new
spaces are created. The selected Space is displayed in real time on
the riiht, showini its state and distribution.
Note: Since the size of the space map cannot be obtained
independently, the value of the XY axis of the SpaceViewer is
determined by the maximum X and Y values of all entities.

3-8-1-1 SpaceView Paie



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Page Count                      : 17
Language                        : en-US
Author                          : new
Creator                         : Writer
Producer                        : LibreOffice 5.4
Create Date                     : 2018:03:23 21:04:16-04:00
EXIF Metadata provided by EXIF.tools

Navigation menu