Shutdown SMG

  1. Stop ss7boost
    [root@b3 smg]# ps axj | grep ss7boost
        1  3947  3947  3947 ?     -1 S<s    0   0:00 ./ss7boost_i_0.2.43.37diag
    [root@b3 smg]# ss7box/ss7boost_i_0.2.43.37diag --term
    Xyganda Technology, Inc. ss7boost Revision 0.2.43.37diag
    I:../common/toolbox.c:stop_daemon:success killing process:pid follows:3947
    ss7boost_i_0.2.43.37diag stopped
  2. Stop sangoma_mgd
    [root@b3 smg]# sangoma_mgd -hup
    [4560] 2006-10-10 17:17:08 sangoma_mgd.c:3653 woomera_startup() 
    Killing PID 3951[3951] 2006-10-10 17:17:08 sangoma_mgd.c:
    808 woomera_shutdown() Woomera SHUTDOWN Complete.
    Ending TxSeq = 20
  3. Stop ss7box if it runs on this platform
    [root@b3 smg]# ps axj | grep ss7box
        1  2380  2380  2380 ?           -1 S<s      0   0:00 ss7box/ss7boxd_i_0.3.55
    [root@b3 smg]# kill 2380
  4. Stop the wanpipes controlled by ss7box
    [root@b3 smg]# wanrouter status
    
    Devices currently active:
            wanpipe2
    
    
    Wanpipe Config:
    
    Device name | Protocol Map | Adapter       | IRQ | Slot/IO | If's | CLK | Baud rate |
    wanpipe2    | N/A          | A102/2D/4/4D/8| 11  | 9       | 2    | EXT | 0         |
    
    Wanrouter Status:
    
    Device name | Protocol | Station | Status        |
    wanpipe2    | AFT HDLC | N/A     | Connected     |
    
    [root@b3 smg]# wanrouter stop wanpipe2
    
    Shutting down wanpipe2 interface: w2g1
    Shutting down wanpipe2 interface: w2g16
    Shutting down wanpipe2 interface: w2g16xmtp2
    Shutting down device: wanpipe2
    No devices running, Unloading Modules
  5. Ensure that xmtp2km is not loaded
    [root@b3 smg]# lsmod | grep xmtp2km

Created by: mike last modification: Tuesday 17 of October, 2006 [19:17:04 UTC] by mike

The original document is available at http://www.ss7box.com/tiki-index.php?page=Shutdown%20SMG