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

Download Report

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

A Special Way To Manage Your
Linux boxes by IM protocol
Tower Wan
[email protected]
HAPPY CHINESE NEW YEAR
1
Agenda
Lab Boxes
Problem
Solution
(robot)
Implementation
Enhancement
Linux
IM Technology
2
Agenda
Lab Boxes
Problem
Solution
(robot)
Implementation
Enhancement
Linux
IM Technology
3
Lab Boxes Problem
• The server room topologies
4
Lab Boxes Problem
• System admin case examples
– Power off all boxes gracefully
– Check OS distribution
etc.
5
Lab Boxes Problem
• Useful remote sys admin means:
 Telnet/RSH/SSH
 SNMP
 VNC
More ?
Convenient ?
6
Agenda
Lab Boxes
Problem
Solution
(robot)
Implementation
Enhancement
Linux
IM Technology
7
Linux IM Technology
• Two Foundations
www.jabber.org
www.xmpp.org
8
Linux IM Technology
• Features
Presence
Chat
User
message
User
User
File Share
Room
User
message
file
User
Group
User
9
Linux IM Technology
• Features
Transport
Yahoo
Messenger
Server
MSN
Server
ICQ
Server
Your
Jabber Server
Jabber
Server 1
Jabber
Server N
Jabber
Server 2
10
Linux IM Technology
• Software categories
– Servers (15)
– Components (35)
– Clients (97)
– Code libraries (53)
Reference to www.jabber.org/software
11
Agenda
Lab Boxes
Problem
Solution
(robot)
Implementation
Enhancement
Linux
IM Technology
12
Solution
• Hint
13
Solution
• C/S deployment
14
Solution
• Workflow 1
15
Solution
• Workflow 2
16
Agenda
Lab Boxes
Problem
Solution
(robot)
Implementation
Enhancement
Linux
IM Technology
17
Implementation
•
•
•
•
Server: Openfire/Jabber1.4
Client: Gaim/Pidgin
Library: SmackAPI
Robot: Mobot
18
Implementation
• Mobot Structure
19
Implementation
• Mobot can do for you
– do local admin (session less)
– do remote admin (ssh)
– do rdbm search
20
Implementation
• Mobot will do next
– Trap plugin
– Fetch log files
– Build SSH tunnel
21
IM Solution Conclusion
• Benefit
– Efficient
– Easy
• Defect
– Less Security
– !Session command
22
Q&A
23
THANK YOU!
24