Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
How to uniquely identify a device.
Old 10-20-2006, 09:27 PM How to uniquely identify a device.
Experienced Talker

Posts: 33
Trades: 0
Greetings,

It's been awhile since I've actually had to design a database schema.
Lets say you're an I.T. person at your organization and you want to development some type of inventory system that keeps track of all your servers, switches, routers, environmental monitoring units, KVM's, etc. This inventory system will use a MySQL database to organize things. Your core question is "How do I uniquely identify each one of my devices?" That's my question too.

I was thinking this over and came up with several criteria by which a device could be uniquely identified. A device could be uniquely identified by:

-serial number
-name
-IP address
-MAC address
-some database-generated number

Then I thought about the pro's and con's of each of these items:

-Serial number:
Pro's: Each device has a unique serial number.
Con's: However each serial number can have several devices. For example, virtual hosts(think VMware). One virtual host can have many virtual servers inside of it. As a result, many devices can have the same serial number.

-Name:
Pro's: Each device has a unique name. No two devices can have the same name.
Con's: ?

-IP Address:
Pro's: Each device has a unique IP address. No two devices can have the same IP address.
Con's: One device can have several IP addresses (some funky NIC setup). A virtual host that uses NAT for its virtual servers (this is probably rare though). A network device that performs NAT and has computers behind it(again, probably rare at our organization).

-MAC Address:
Pro's: Each device has a unique MAC address but do ALL devices have a MAC address? No two devices can have the same MAC address.
Con's: ?

-Some database-generated number:
Pro's: Each device would have its own unique # that would be generated by MySQL. No two devices can have the same #.
Con's: none.

So my question is: what's a solid "key" to use which can uniquely identify each device? Maybe the best option is using two keys? Or maybe there's a better key to use besides that which I've mentioned here? All suggestions are greatly appreciated.

Thank you for your time,

*Nick*
nick1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to How to uniquely identify a device.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23938 seconds with 12 queries