24
1 HAPPY CHINESE NEW YEAR Tower Wan [email protected] A Special Way To Manage Your Linux boxes by IM protocol

HAPPY CHINESE NEW YEAR

  • Upload
    kiona

  • View
    29

  • Download
    3

Embed Size (px)

DESCRIPTION

A Special W ay T o M anage Y our Linux boxes by IM protocol. Tower Wan [email protected]. HAPPY CHINESE NEW YEAR. Agenda. Lab Boxes Problem. Solution (robot). Implementation Enhancement. Linux IM Technology. Agenda. Lab Boxes Problem. Solution (robot). Implementation - PowerPoint PPT Presentation

Citation preview

Page 1: HAPPY CHINESE NEW YEAR

1

HAPPY CHINESE NEW YEARTower Wan [email protected]

A Special Way To Manage Your Linux boxes by IM protocol

Page 2: HAPPY CHINESE NEW YEAR

2

Agenda

Lab Boxes Problem

LinuxIM Technology

Solution(robot)

ImplementationEnhancement

Page 3: HAPPY CHINESE NEW YEAR

3

Agenda

Lab Boxes Problem

LinuxIM Technology

Solution(robot)

ImplementationEnhancement

Page 4: HAPPY CHINESE NEW YEAR

4

Lab Boxes Problem

• The server room topologies

Page 5: HAPPY CHINESE NEW YEAR

5

Lab Boxes Problem

• System admin case examples– Power off all boxes gracefully– Check OS distribution

etc.

Page 6: HAPPY CHINESE NEW YEAR

6

Lab Boxes Problem

• Useful remote sys admin means: Telnet/RSH/SSH SNMP VNC

More ?Convenient ?

Page 7: HAPPY CHINESE NEW YEAR

7

Agenda

Lab Boxes Problem

LinuxIM Technology

Solution(robot)

ImplementationEnhancement

Page 8: HAPPY CHINESE NEW YEAR

8

Linux IM Technology

• Two Foundations

www.jabber.org

www.xmpp.org

Page 9: HAPPY CHINESE NEW YEAR

9

Linux IM Technology

• Features

Usermessage

Group

Room

User

Userfile

File Share

User

Presence

User

Usermessage

Chat

Page 10: HAPPY CHINESE NEW YEAR

10

Linux IM Technology

• Features

Your Jabber Server

MSNServer

ICQServer

YahooMessenger

Server

JabberServer 1

Transport

JabberServer 2

JabberServer N

Page 11: HAPPY CHINESE NEW YEAR

11

Linux IM Technology

• Software categories– Servers (15)– Components (35)– Clients (97)– Code libraries (53)

Reference to www.jabber.org/software

Page 12: HAPPY CHINESE NEW YEAR

12

Agenda

Lab Boxes Problem

LinuxIM Technology

Solution(robot)

ImplementationEnhancement

Page 13: HAPPY CHINESE NEW YEAR

13

Solution

• Hint

Page 14: HAPPY CHINESE NEW YEAR

14

Solution

• C/S deployment

Page 15: HAPPY CHINESE NEW YEAR

15

Solution

• Workflow 1

Page 16: HAPPY CHINESE NEW YEAR

16

Solution• Workflow 2

Page 17: HAPPY CHINESE NEW YEAR

17

Agenda

Lab Boxes Problem

LinuxIM Technology

Solution(robot)

ImplementationEnhancement

Page 18: HAPPY CHINESE NEW YEAR

18

Implementation

• Server: Openfire/Jabber1.4

• Client: Gaim/Pidgin

• Library: SmackAPI

• Robot: Mobot

Page 19: HAPPY CHINESE NEW YEAR

19

Implementation

• Mobot Structure

Page 20: HAPPY CHINESE NEW YEAR

20

Implementation

• Mobot can do for you– do local admin (session less)– do remote admin (ssh)– do rdbm search

Page 21: HAPPY CHINESE NEW YEAR

21

Implementation• Mobot will do next

– Trap plugin– Fetch log files– Build SSH tunnel

Page 22: HAPPY CHINESE NEW YEAR

22

IM Solution Conclusion

• Benefit– Efficient– Easy

How do you balance?

• Defect– Less Security– !Session command

Page 23: HAPPY CHINESE NEW YEAR

23

Q & A

Page 24: HAPPY CHINESE NEW YEAR

24

THANK YOU!