panabit卸载,升级

panabit# ps -aux | grep pan
root    857 22.5  1.0 20716 20404  ??  R    10:00AM   3:07.88 /usr/panabit/bin/panaos
root    856  0.0  0.0  5988   444  ??  Ss   10:00AM   0:00.03 /usr/panabit/bin/panaos
root    875  0.0  0.1  5056  2776  ??  Ss   10:00AM   0:00.14 /usr/panabit/bin/ipe_httpd -u root -T gb2312 -S -E /usr/panabit/admin/admin.pem -d /usr/panabit/admin -M
root    889  0.0  0.0  1644   920  ??  Ss   10:00AM   0:00.05 /usr/panabit/bin/ipe_mgd
root    876  0.0  0.1  3624  1488  v0- S    10:00AM   0:00.13 /bin/sh /usr/panabit/bin/ipe_monitor
root    877  0.0  0.9 20180 17844  v0- S    10:00AM   0:00.49 /usr/panabit/bin/ipe_datamon
root    878  0.0  0.3  8404  6260  v0- R    10:00AM   0:01.01 /usr/panabit/bin/ipe_xping
panabit# /usr/panabit/bin/ipectrl stop
monitor is stopped!
httpd is stopped!
panabit# cd /usr/
panabit# rm -rf panabit/
panabit# rm -rf panalog/
panabit# rm -rf panaetc/
panabit# cd /root
panabit# ls
.cshrc                          .profile
.history                        Panabit1001_fb8x.tar.tar
.k5login                        Panabit_1005_fb8x.tar.gz
.lesshst                        mbox
.login
panabit# cd /usr/local/
panabit# ls
Panabit1001_fb8x                lib
Panabit1001_fb8x.tar.tar        libdata
Panabit_1005_fb8x               libexec
Panabit_1005_fb8x.tar.gz        man
bin                             sbin
etc                             share
include                         www
info
panabit# cd Panabit_1005_fb8x
panabit# ls
admin           etc             kernel
bin             ipeinstall      rdf
panabit# ./ipeinstall
There is a Panabit installed in your system, the installation
directory is "/usr/panabit"

Do you want to overrite it(y/n[n])?y

 Welcome installing panabit!

Please input the directory to install panabit [/usr/panabit]:
Please input the directory to store log [/usr/panalog]:
Please input the directory to store configuration [/usr/panaetc]:

The last time to verify your choice:
(1) The directory that you want to install is "/usr/panabit"
(2) The directory that the log to be stored is "/usr/panalog"
(3) The directory that the configuration to be stored is "/usr/panaetc"
Above are right(y/n[y])?

Creating directory "/usr/panabit" ...ok
Creating directory "/usr/panalog" ...ok

Installing Panabit to "/usr/panabit" ...ok

Initializing configurations ...ok
Saving configuration to /etc/PG.conf ...
****** Congratulations ******!
You have successfully installed Panabit on your system:
(1) The installed path is: /usr/panabit
(2) The log path is: /usr/panalog
(3) The configuration path is: /usr/panaetc

To make your system more sutiable for panabit running, it's
recomended of tuning your system according your system memory
size and cpu frequence.
Do you want to tune your system(y/n)[y]:
Your kernel configuration has been tuned as the followings:

vm.pmap.pg_ps_enabled=1
kern.ipc.nmbclusters=10240
kern.maxdsiz=2000000000
kern.hz=1000

You should restart your system to make they take effects.


Warning: your em driver has been compiled into kernel.
         To optimize panabit performance, we recommend
         you use the optimized driver panaos provides.
         To use the optimized driver, please remove em
         driver from your kernel.

Following interfaces are installed in your system:
     vr0 vr1 rl0

Please choose one of above as your admin interface: rl0
Please input ip address of admin interface: 192.168.2.11
Please input network mask of admin interface: 255.255.0.0
Please input default gateway: 192.168.1.1

The following interfaces are left for your data processing:
     vr0 vr1
Please select data interfaces: vr0 vr1


Your interface configurations are:
    Admin interface  : rl0
    Admin ip address : 192.168.2.11
    Admin netmask    : 255.255.0.0
    Default gateway  : 192.168.1.1
    Data interfaces  : vr0 vr1


Thank you for using panabit!
You can issue "/usr/panabit/bin/ipectrl start" to start panabit!
And you can also add the above command to /etc/rc.local file
to let the system automaticly start panabit at system startup!

If you want to stop the currently running panabit, you can issue
"/usr/panabit/bin/ipectrl stop" to stop it!
panabit# /usr/panabit/bin/ipectrl start
kern.jos.ipe_netdevices: vr0 vr1 -> vr0 vr1
net.inet.tcp.msl: 2000 -> 2000
cpu frequence: 3056504201
Load module "pci" ......
        vr0@bus1:5:0: 0x1106:0x3106
        vr1@bus1:6:0: 0x1106:0x3106
Load module "thread" ......
Load module "cmds" ......
Load module "dma" ......
This is standard version, no PANAOS DMA supported!
Load module "mgmt" ......
Load module "mbuf" ......
network is started!
Load module "intf" ......
Load module "bsd" ......
        interface vr0 attached, mac address 00:1C:F0:96:DB:56
Starting ipe_httpd ......
        bring interface vr0 up
ipe_httpd is started!
        interface vr1 attached, mac address 00:1E:58:9A:47:5A
        bring interface vr1 up
/usr/panabit/bin/ipe_httpd: started as root without requesting chroot(), warning only
ipe_monitor is started!
data monitor is started!
Load module "axpdesc" ......
Load module "cmds" ......
Load module "ipe" ......
Load module "dbf" ......
Load module "axpdef" ......
dbf_minit: logpath is '/usr/panalog', internal is 360
Load module "watcher" ......
dbf_load: log file not exist!
Load module "tbucket" ......
Load module "chart" ......
Load module "key" ......
Load module "keytable" ......
Load module "flow" ......
Load module "node" ......
Load module "xping" ......
Load module "port" ......
port module initialzied, max port 65536
Load module "axpgrp" ......
Load module "protocol" ......
Load module "appobj" ......
panabit#        appobj pool size 2048, entry size 48
Load module "localip" ......
Load module "iptable" ......
Load module "vlink" ......
Load module "policy_scheduler" ......
Load module "pre-config" ......
Load module "logger" ......
Load module "flow" ......
        share CPU with control plane!
Load module "config" ......
Load module "josdbf" ......
panaos startup!
xping is running ......
logger is running ......
flow is running ......

panabit#

你可能感兴趣的:(职场,卸载,休闲,Panabit)