Wednesday, July 16, 2014

Partitions and Volumes

Hard Disks perform a very simple function – to store data and then reliably retrieve it on command. However, before any information can be stored on a hard disk it must be both partitioned and formatted with a file system. A hard disk can contain multiple partitions and file-systems. As you will learn later this can be extremely useful.
A partition is a persistent division of a physical hard drive into logical segments. Each partition appears to the user like a separate hard drive. Volume is the terminology used by post-Windows 2000 machines for partition. Volumes are much more flexible in their configuration than the more rigid partitions.
Partitioning a hard drive makes each segment behave like a separate disk. This is ideal for dual-booting different operating systems.

Basic Partitions

Primary Partitions

  • There may be up to 4 Primary Partitions per physical disk.
  • The Boot partition may only be located on a primary partition.

Extended Partitions

  • Extended Partitions can use up any free space not used by the Primary Partitions.
  • You may have up to 3 Primary partitions and one extended partition on any physical disk.
  • Extended Partitions need to be further divided into Logical DOS drives.

Logical-DOS Partitions

  • Logical Partitions are placed inside the extended partition.
  • The number of Logical partitions you may have is only limited by the number of free drive letters.
  • The boot partition cannot be placed on a logical partition.

Basic Partitions

The oldest Windows operating system is always installed first as the newer operating system normally writes a new boot record.
A Logical Drive can contain an operating system but never the System partition.
Different Partitions may contain a File Systems not used by Windows, so if an additional operating system is required it can also be installed on the non Windows partition.

Creating a Primary Partition

To create a Primary Partition from within Windows 2003/XP, the Disk Management Utility is used. To access Disk Management, click on Start.
Right-click on My Computer.
Select Manage.
Computer Management will appear. Click on Disk Management.
Disk Management will appear. From this screen you may view, create and delete partitions.  To create a new Primary partition on Disk 1 right-click on the unallocated space on Disk 1.
From the choices menu, select New Partition.
The New Partition Wizard will appear. Select Next to continue.
The Partition Type page will appear. Select the type of partition required. Primary Partition is selected here. Click Next to continue.
Select a size for the new partition, in this case we will chose 2048MB.
Click on Next to Continue.
A drive may be made to appear as a folder on an existing drive (This is called Mounting). The Default Drive is the next available drive letter, in this case D. Select Next to continue.
You can also choose a Volume Label, which can be used to identify the volume. In order for the partition to be used by the operating system it will have to be formatted with a file system. NTFS is the file-system of choice for a Windows Server 2003 system. Click Next to accept the default values.
The summary page will appear. To close the wizard and create the partition click Finish.
The new Primary partition is now displayed on Disk 1 and has been assigned the drive letter D:.
The new partition also appears in My Computer.

Creating an Extended Partition

To create a new Extended Partition the Disk Management Utility is used. To create a new Extended Partition on Disk 1, right-click on the Unallocated space on Disk 1.
Select New Partition.
The New Partition Wizard will appear. Select Next to continue.
The Partition Type page will appear. Select Extended Partition.
…and then hit Next.
Specify the size of the partition. The maximum amount of space available on this disk is 2039 MB. To accept the default click Next.
The summary page will appear. To close the wizard and create the partition click Finish.
The new Extended Partition is displayed on Disk 1. In order to use the partition, logical drives will have to be created inside it.
N.B. The extended partition does not appear in My Computer as an extended partition without any formatted logical drives cannot hold any data.

Creating a Logical Drive

To create a new Logical Drive within the Extended Partition, right click on the Extended Partition on Disk 1.
Select New Logical Drive.
The New Partition Wizard will appear. Select Next to continue.
Logical Drive is selected, click Next to continue.
To specify the Logical Drive size click in the “Partition size in MB” box and change the value.
1024MB will create a 1GB Logical Drive . Click Next to continue.
A drive may be made to appear as a folder on an existing drive (This is called Mounting). The Default Drive is the next available drive letter, in this case E.
Select Next to continue.
NTFS has been selected for the file system. Select “Volume label” in order to give the new partition a recognizable name.
The new Logical Drive has been named WebSite, this describes the data the Logical Drive may contain. Click Next to continue
The summary page will appear. To close the wizard and create the Logical Drive , click Finish.
The new Logical Drive is now displayed inside the Extended Partition on Disk 1 and has been labeled WebSite (E:).
Similarly, the new Logical Drive appears in My Computer and is ready for use.

Partitions and VolumesDynamic Volumes

Because of the limitations of basic partitions, dynamic volumes where introduced in Windows 2000 and continue to be supported in Windows XP and Windows Server 2003.
Dynamic volumes offer more flexibility than standard partitions. One of the main reasons for using dynamic volumes is to make use of volume sets (which are covered later).
Unfortunately pre-Windows 2000 computers cannot read or utilise dynamic volumes, furthermore you should not use dynamic volumes in a dual-boot environment even if all the operating systems are capable of supporting dynamic disks.
Dynamic Volumes are only supported on Windows 2000/XP/2003.
There is no limit to the number of volumes you may have on a disk.
Dynamic Volumes may be fault tolerant.
There are no Primary, Logical or Extended volumes.

Friday, July 11, 2014



Power Management and UPS

A computer’s Basic Input/Output System (BIOS) is software through which the operating system communicates with hardware devices. Advanced Configuration and Power Interface (ACPI) is the current standard for the way the BIOS works. Windows supports not only ACPI but also some BIOS versions based on older Advanced Power Management (APM) designs. Some machines aren’t capable of supporting the ACPI standard, and in some the APM feature actually conflicts. Consult the HCL and be prepared to disable APM in the BIOS.
Power consumption of a computer’s  devices or an entire system can be reduced using Power Options. This is done by choosing a power scheme, a collection of settings that manages the computer’s power usage. A user can create his or her own power schemes ,or use the schemes provided with Windows. Power consumption of a computer’s  devices or an entire system can be reduced using Power Options. This is done by choosing a power scheme, a collection of settings that manages the computer’s power usage. A user can create his or her own power schemes ,or use the schemes provided with Windows. Power Options are available to any Windows XP machine, but they are especially important  to preserve battery life for laptop users.
Start > Control Panel > reveals this window.
If Power Options are available on the machine, this icon will be seen. Click on it……and the Power Options applet is revealed.  The tabs available may vary from machine to machine, but these are typically seen on a desktop machine.
This is the more complex display typically seen on a laptop computer.
The current settings are for a light use desktop computer. Note the power-hungry monitor will shut down if it’s idle for 20 minutes, but the hard drives remain live for a quick resumption of working.  In this configuration the monitor and the hard drive shut down to preserve battery power.  These settings can be altered to give a more ruthless power saving.  Save these changes to make a  new Power Option.
Once given a distinctive name, the option becomes available for future use.  The drop down window reveals the list of ready-made power options.
A basic ready-made option can be selected and used as it is, or settings for the monitor and hard drive can be modified for each option.
This tab presents an unimpressive set of choices. The option to have the indicator on the taskbar is a useful one, however.
Hibernation will allow you to save your computer’s current state before powering down. This will allow you to reboot the computer quickly, returning you to your previous session.

UPS Devices

Power Management and UPSThese come in all shapes and sizes but essentially do the same job. In the event of a mains failure they provide emergency battery power to keep a system alive until it can be safely shut down, or until the power is restored.
A UPS device should do its basic job merely by being plugged in. However, it can only be configured by starting the UPS service.
First, the device has to be identified to the system.
Once a device has been selected options for configuration become available…Choose one, and click finish.
While the basic UPS function works as soon as the unit is plugged in, the configurable settings only work when the UPS Service is started. Unfortunately, no clue appears on screen as to whether the service is running or not. Delve into Administrative tools for this…
This list of services is accessed through Computer Management > Services.  The service needs to be started manually. (Right-clicking brings up the required menu.)

Hardware in Windows XP/2003

Hardware Support; Windows XP/2003 includes support for numerous devices, including DVD, multiple monitors, cameras and wireless communication.
Plug and Play (PnP); Plug and Play is a standard that allows hardware to configure itself, with the least amount of user-intervention.
Universal Serial Bus (USB); Allows you to connect devices to your computer without restarting.  USB1 runs at 1 to 12Mb/sec, USB2 at 480Mb/sec and both support Plug and Play.
Power Management; Supports APM (Advanced Power Management).  Supports ACPI (Advanced Configuration and Power Interface)

Interrupt Requests (IRQ)

Devices work by interrupting the processor. Once a device has the processor’s attention it can send or retrieve data or carry out a function.  The interruption of the processor’s run time is called an Interrupt Request (IRQ). Each device has an IRQ so the processor knows which device is asking for its time.

Hardware in Windows XP/2003Interrupt Requests (IRQ) Conflicts

Here, both the Printer and the Network Card are using the same IRQ number. This has confused the processor, so it doesn’t know which device to service.

Input/Output (I/O) addresses

Sometimes devices CAN share IRQ numbers. Consider this case of two COM ports.  Every device on the computer has a unique address, called an I/O address. This address acts like a mailbox number that the processor uses to communicate with the device.  While here, both COM ports share an IRQ number but they have different I/O numbers. All I/O numbers must be unique and cannot be shared.

Direct Memory Access

Using DMA, a device can directly transfer data to the RAM without using the processor, thus freeing up the processor for other tasks.  . If two devices tried to use the same DMA channel, this would cause a hardware conflict.

Multiple Displays

Multiple Display Support. Windows XP/2003 adds support for up to nine display adapters.  Any video adapters used for multiple displays must either be PCI or AGP cards.  All video adapters must support multiple displays including any on-board cards.
On-board Video Adapters. If the the on-board video card is to be used as well as a separate video adapter, then install Windows XP/2003 before installing the new device.  Windows setup will disable any on-board video card if a separate video-adapter is located.  In some systems the BIOS will disable the on-board card if another adapter is found, there may be no way to overcome this.
Configuration. One video adapter must be set as the primary. This adapter cannot be switched off as the other adapters will use it as a marking point when extending the desktop.

Device Manager

Hardware is administered through the Device Manager utility, which is the user’s main administrative interface with a machine’s hardware.
It can be used to:
  • Check the configuration of hardware devices
  • Install or update drivers
  • Remove or disable hardware
This utility can be accessed from Start > Settings > Control Panel >  System > Hardware tab > Device Manager.
Alternatively, right-click on My Computer > Properties > Hardware tab > Device Manager.
A device can be uninstalled from this window. When the device is selected, the window changes subtly.
Note this icon. Hardware changes can be detected in the device by clicking this.
This feature is available from the Action menu or from right-clicking on an item. If the item is expanded, more operations are available:
Note these icons. Hardware devices can be disabled or deleted from here.  Alternatively, right-click on the highlighted device, or click on the Action button.  You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. Domain wide policies must also permit this!
An Exclamation Mark indicates a device has a problem. Generally this will be a driver issue.
A red cross indicates that the device has been disabled.
To check the properties of a hardware item, double click on the icon, or right click and select Properties.
The message that a device is working properly does not always means it’s doing what is required of it.  Devices can be enabled or disabled as required dependent upon the hardware profile required.
The number and type of tabs varies according to the particular Hardware Device selected.  The Driver tab allows you to configure drivers for the device. A driver is a software interface that allows the operating system to use the hardware.
Common to all devices is the Resources Tab. This lists the computer resources used by the particular device to interact with the processor  and the computer memory.  Any conflict reported here implies that changes have to be made to the IRQ or I/O resources allocated to this device.

Thursday, June 5, 2014

Networking

Why use a Network?

Quite simply explained we use networks for communication between computers, sharing of data and peripherals. In the business world we use networks for ease of administration and to cut costs.
Sharing data example imagine an office with 5 secretaries working on 5 different computers, one requires a file from another computer in a non networked office this file would have to be written to a portable media then loaded onto the computer. In a networked office the file could be accessed via the network from a shared folder.
Sharing peripherals example the same office with 5 secretaries working on 5 different computers, in order to print their work each computer would need to have a printer attached. In a networked office you could have one shared printer, cutting costs.


What do you need?

A common language or protocol (TCP/IP IPX/SPX, APPLE TALK) is a convention or standard that controls or enables the connection, communication, and data transfer between two computing endpoints.
A common language or protocol (TCP/IP IPX/SPX, APPLE TALK) is a convention or standard that controls or enables the connection, communication, and data transfer between two computing endpoints.
Cabling BNC,Cat5, fibre optic
Hardware NIC(Network Interface Card), router, switch, hub, modem wireless access point.
Network Service (DNS, WINS, DHCP).

NetworkingNetwork Hardware

Network Interface Card

A network card, network adapter, network interface card or NIC is a piece of computer hardware designed to allow computers to communicate over a computer network. It has a MAC address. Every network card has a unique 48-bit serial number called a MAC address, which is written to ROM carried on the card. Every computer on a network must have a card with a unique MAC address. The IEEE is responsible for assigning MAC addresses to the vendors of network interface cards. No two cards ever manufactured should share the same address.

Hubs

An Ethernet hub or concentrator is a device for connecting multiple twisted pair or fibre optic Ethernet devices together, making them act as a single segment. It works at the physical layer of the OSI model, repeating the signal received at one port out each of the other ports (but not the original one). The device is thus a form of multiport repeater. Ethernet hubs are also responsible for forwarding a jam signal to all ports if it detects a collision. Hubs also often come with a BNC and/or AUI connector to allow connection to legacy 10BASE2 or 10BASE5 network segments. The availability of low-priced Ethernet switches has largely rendered hubs obsolete but they are still seen in older installations and more specialist applications.

Switches

A network switch or switch for short is a networking device that performs transparent bridging (connection of multiple network segments with forwarding based on MAC addresses) at full wire speed in hardware. As a frame comes into a switch, the switch saves the originating MAC address and the originating (hardware) port in the switch’s MAC address table. This table often uses content-addressable memory, so it is sometimes called the “CAM table”. The switch then selectively transmits the frame from specific ports based on the frame’s destination MAC address and previous entries in the MAC address table. If the destination MAC address is unknown, for instance, a broadcast address or (for simpler switches) a multicast address, the switch simply transmits the frame out of all of the connected interfaces except the incoming port. If the destination MAC address is known, the frame is forwarded only to the corresponding port in the MAC address table.

Hubs VS Switches

A hub, or repeater, is a fairly unsophisticated broadcast device. Any packet entering any port is broadcast out on every port and thus hubs do not manage any of the traffic that comes through their ports. Since every packet is constantly being sent out through every port, this results in packet collisions, which greatly impedes the smooth flow of traffic. A switch isolates ports, meaning that every received packet is sent out only to the port on which the target may be found (assuming the proper port can be found; if it is not, then the switch will broadcast the packet to all ports except the port the request originated from). Since the switch intelligently sends packets only where they need to go the performance of the network can be greatly increased.

Routers

A router is a computer networking device that forwards data packets across a network toward their destinations, through a process known as routing. A router acts as a junction between two or more networks to transfer data packets among them. A router is different from a switch. A switch connects devices to form a Local area network (LAN).
One easy illustration for the different functions of routers and switches is to think of switches as local streets, and the router as the junctions with the street signs. Each house on the local street has an address within a range on the street. In the same way, a switch connects various devices each with their own IP address(es) on a LAN. Routers connect networks together the way that on-ramps or major junctions connect streets to both main roads and motorways. The street signs at the junctions the (routing table) show which way the packets need to flow.

Wireless

Wireless Access Point (WAP) A wireless access point (AP) connects a group of wireless stations to an adjacent wired local area network (LAN). An access point is similar to an Ethernet hub, but instead of relaying LAN data only to other LAN stations, an access point can relay wireless data to all other compatible wireless devices as well as to a single (usually) connected LAN device, in most cases an Ethernet hub or switch, allowing wireless devices to communicate with any other device on the LAN.
Wireless Routers A wireless router integrates a wireless access point with an Ethernet switch and an Ethernet router. The integrated switch connects the integrated access point and the integrated Ethernet router internally, and allows for external wired Ethernet LAN devices to be connected as well as a (usually) single WAN device such as a cable modem or DSL modem. A wireless router advantageously allows all three devices (mainly the access point and router) to be configured through one central configuration utility, usually through an integrated web server. However one disadvantage is that one may not decouple the access point so that it may be used elsewhere.

Cables

Cable Terminology

10BASE2 (also known as cheapernet or thinnet) is a variant of Ethernet that uses thin coaxial cable. The 10 comes from the maximum transmission speed of 10 Mbit/s (millions of bits per second). The BASE stands for baseband signaling, and the 2 represents a rounded up shorthand for the maximum segment length of 185 metres (607 feet).
10BASE5 (also known as thicknet) is the original “full spec” variant of Ethernet cable. The 10 refers to its transmission speed of 10 Mbit/s. The BASE is short for baseband signalling as opposed to broadband, and the 5 stands for the maximum segment length of 500 metres.
10BASE-T is an implementation of Ethernet which allows stations to be attached via twisted pair cable. The name 10BASE-T is derived from several aspects of the physical medium. The 10 refers to the transmission speed of 10 Mbit/s. The BASE is short for baseband.The T comes from twisted pair, which is the type of cable that is used
100BASE-T is any of several Fast Ethernet 100 Mbit/s CSMA/CD standards for twisted pair cables, including: 100BASE-TX (100 Mbit/s over two-pair Cat5 or better cable). The segment length for a 100BASE-T cable is limited to 100 metres

Coaxial

Coaxial cable is an electrical cable consisting of a round conducting wire, surrounded by an insulating spacer, surrounded by a cylindrical conducting sheath, usually surrounded by a final insulating layer. It is used as a high-frequency transmission line to carry a high-frequency or broadband signal.
BNC connectors were commonly used on 10base2 thin Ethernet networks, both on cable interconnections and network cards, though these have largely been replaced by newer Ethernet devices whose wiring does not use coaxial cable.

CAT 5

Category 5 cable, commonly known as Cat 5, is an unshielded twisted pair cable type designed for high signal integrity. Category 5 has been superseded by the Category 5e specification. This type of cable is often used in structured cabling for computer networks such as Gigabit Ethernet, although they are also used to carry many other signals such as basic voice services, token ring.
Category 5 cable included four twisted pairs in a single cable jacket. It was most commonly used for 100 Mbit/s networks, such as 100BASE-TX Ethernet
Cat5 cable uses an RJ-45 (Registered Jack-45) connector at each end of the cable with a fixed wiring scheme. The ends are then crimped on to the cable

Wiring SchemeNetworking

Patch or straight through cables have Wiring scheme 1 at both ends of the cable and are used to connect computers to network wall sockets or hubs.
Crossover cables have Wiring scheme 1 at one end of the cable and Wiring scheme 2 at the other. These cables are used to connect network hardware together e.g. PC to PC, hub to hub.

Protocols

A protocol (TCP/IP IPX/SPX, APPLE TALK) is a convention or standard that controls or enables the connection, communication, and data transfer between two computing endpoints. Sending and receiving systems need to use the same protocol unless a gateway service sits between networks and translates from one to the other.
Most protocols specify one or more of the following properties:
  • Detection of the underlying physical connection (wired or wireless), or the existence of the other endpoint or node
  • Handshaking
  • Negotiation of various connection characteristics
  • How to start and end a message
  • How to format a message
  • What to do with corrupted or improperly formatted messages (error correction)
  • How to detect unexpected loss of the connection, and what to do next
  • Termination of the session or connectio

NetBIOS

NetBIOS is an acronym for Network Basic Input/Output System. The NetBIOS API allows applications on separate computers to communicate over a local area network. NetBIOS must be enabled for Windows File and Print Sharing to work.
NetBIOS provides three distinct services:
  • Name service for name registration and resolution
  • Session service for connection-oriented communication
  • Datagram distribution service for connectionless communication.
Name service In order to start Sessions or distribute Datagrams, an application must register its NetBIOS name using the Name service. NetBIOS names are 16 bytes in length
Session service Session mode lets two computers establish a connection for a “conversation,” allows larger messages to be handled, and provides error detection and recovery. In NBT, the session service runs on TCP port 139.
Datagram distribution service Datagram mode is “connectionless”. Since each message is sent independently, they must be smaller; the application becomes responsible for error detection and recovery. In NBT, the datagram service runs on UDP port 138.

IPX/SPX (NWLINK)

Internetwork Packet Exchange (IPX) is the OSI-model Network layer protocol in the IPX/SPX protocol stack. The IPX/SPX protocol stack is supported by Novell’s NetWare network operating system. Because of Netware’s popularity through the late 1980s into the mid 1990s, IPX became a popular internetworking protocol. Novell derived IPX from Xerox Network Services’ IDP protocol. IPX usage is in general decline as the boom of the Internet has made TCP/IP nearly universal. Computers and networks can run multiple network protocols, so almost all IPX sites will be running TCP/IP as well to allow for Internet connectivity. It is also now possible to run Novell products without IPX, as they have supported both IPX and TCP/IP since NetWare reached version 5.
Sequenced Packet Exchange (SPX) is a transport layer protocol (layer 4 of the OSI Model) used in Novell Netware networks. The SPX layer sits on top of the IPX layer (layer 3 – the network layer) and provides connection-oriented services between two nodes on the network. SPX is used primarily by client/server applications.
NWLink is a IPX/SPX-compatible protocol developed by Microsoft and used in its Windows NT product line.NWLink is Microsoft’s version of Novell’s IPX/SPX Protocol. The Microsoft version of NWLink includes the same level of functionality as the Novell Protocol. NWLink includes a tool for resolving NetBIOS names.NWLink packages data to be compatible with client/server services on NetWare Networks. However, NWLink does not provide access to NetWare File and Print Services. To access the File and Print Services the Client Service for NetWare needs to be installed.

AppleTalk

AppleTalk is a suite of protocols developed by Apple Computer for computer networking. It was included in the original Macintosh (1984) and is now used less by Apple in favour of TCP/IP networking.
AppleTalk contains two protocols aimed at making the system completely self-configuring. The AppleTalk address resolution protocol (AARP) allowed AppleTalk hosts to automatically generate their own network addresses, and the Name Binding Protocol (NBP) was essentially a dynamic DNS system which mapped network addresses to user-readable names.
For interoperability Microsoft maintains the file services for Macintosh and the print services for Macintosh

TCP/IP

The Internet protocol suite is the set of communications protocols that implement the protocol stack on which the Internet and most commercial networks run. It is sometimes called the TCP/IP protocol suite, after the two most important protocols in it: the Transmission Control Protocol (TCP) and the Internet Protocol (IP), which were also the first two defined.The Internet protocol suite like many protocol suites can be viewed as a set of layers, each layer solves a set of problems involving the transmission of data, and provides a well-defined service to the upper layer protocols based on using services from some lower layers. Upper layers are logically closer to the user and deal with more abstract data, relying on lower layer protocols to translate data into forms that can eventually be physically transmitted.The OSI model describes a fixed, seven layer stack for networking protocols. Comparisons between the OSI model and TCP/IP can give further insight into the significance of the components of the IP suite, but can also cause confusion, as TCP/IP consists of only 4 layers.
The four layers in the DoD model, from bottom to top, are:
  • The Network Access Layer is responsible for delivering data over the particular hardware media in use. Different protocols are selected from this layer, depending on the type of physical network.
  • The Internet Layer is responsible for delivering data across a series of different physical networks that interconnect a source and destination machine. Routing protocols are most closely associated with this layer, as is the IP Protocol, the Internet’s fundamental protocol.
  • The Host-to-Host Layer handles connection rendezvous, flow control, retransmission of lost data, and other generic data flow management. The mutually exclusive TCP and UDP protocols are this layer’s most important members.
  • The Process Layer contains protocols that implement user-level functions, such as mail delivery, file transfer and remote login.

Network Services

DNS (Domain Naming System)

The Domain Name System (DNS) stores and associates many types of information with domain names, but most importantly, it translates domain names (computer hostnames) to IP addresses. It also lists mail exchange servers accepting e-mail for each domain. In providing a worldwide keyword-based redirection service, DNS is an essential component of contemporary Internet use.
The DNS pre-eminently makes it possible to attach easy-to-remember domain names (such as “es-net.co.uk”) to hard-to-remember IP addresses (such as 270.146.131.206). People take advantage of this when they recite URLs and e-mail addresses.

WINS (Windows Internet Naming Service)

Windows Internet Naming Service (WINS) is Microsoft’s implementation of NetBIOS Name Server (NBNS) on Windows, a name server and service for NetBIOS computer names. Effectively, it is to NetBIOS names what DNS is to domain names – a central mapping of host names to network addresses. However, the mappings have always been dynamically updated (e.g. at workstation boot) so that when a client needs to contact another computer on the network it can get its up-to-date DHCP allocated address. Networks normally have more than one WINS server and each WINS server should be in push pull replication; the favoured replication model is the hub and spoke, thus the WINS design is not central but distributed. Each WINS server holds a full copy of every other related WINS system’s records. There is no hierarchy in WINS (unlike DNS), but like DNS its database can be queried for the address to contact rather than broadcasting a request for which address to contact. The system therefore reduces broadcast traffic on the network, however replication traffic can add to WAN / LAN traffic.

DHCP (Dynamic Host Configuration Protocol)

The Dynamic Host Configuration Protocol (DHCP) automates the assignment of IP addresses, subnet masks, default routers, and other IP parameters. The assignment usually occurs when the DHCP configured machine boots up or regains connectivity to the network. The DHCP client sends out a query requesting a response from a DHCP server on the locally attached network. The DHCP server then replies to the client with its assigned IP address, subnet mask, DNS server and default gateway information.The assignment of the IP address usually expires after a predetermined period of time, at which point the DHCP client and server renegotiate a new IP address from the server’s predefined pool of addresses. Configuring firewall rules to accommodate access from machines who receive their IP addresses via DHCP is therefore more difficult because the remote IP address will vary from time to time. Administrators must usually allow access to the entire remote DHCP subnet for a particular TCP/UDP port. Most home routers and firewalls are configured in the factory to be DHCP servers for a home network. ISPs (Internet Service Providers) generally use DHCP to assign clients individual IP addresses.DHCP is a broadcast-based protocol. As with other types of broadcast traffic, it does not cross a router.

APIPA (Automatic Private IP Addressing)

If computers are unable to pick an address up from a DHCP server they use Automatic Private IP Addressing (APIPA). This means the computer will assign itself a random address between 169.254.0.1 – 169.254.254.254/16, allowing it to communicate with other clients who are also using APIPA.
Automatic Private IP Addressing (APIPA), this allows unknowledgeable users to connect computers, networked printers, and other items together and expect them to work. Without Zeroconf or something similar, a knowledgeable user must either set up special servers, like DHCP and DNS, or set up each computer by hand.

Networks

A Local Area Network (LAN) is a computer network covering a small local area, like a home, office, or small group of buildings such as a home, office, or college. Current LANs are most likely to be based on switched Ethernet or Wi-Fi technology running at 10, 100 or 1,000 Mbit/s.The defining characteristics of LANs in contrast to WANs (wide area networks) are: their much higher data rates; smaller geographic range; and that they do not require leased telecommunication lines.
A Personal Area Network (PAN) is a computer network used for communication among computer devices (including telephones and personal digital assistants) close to one person. The reach of a PAN is typically a few metres and may use Bluetooth, wireless or USB for connection.
A Wide Area Network (WAN) is a computer network covering a wide geographical area, involving a vast array of computers. This is different from personal area networks (PANs), metropolitan area networks (MANs) or local area networks (LANs) that are usually limited to a room, building or campus. The most well-known example of a WAN is the Internet. WANs are used to connect local area networks (LANs) together, so that users and computers in one location can communicate with users and computers in other locations

Sunday, May 18, 2014

கணனியின் வேகத்தை அதிகரிக்க 10 வழிகள்


இன்றைய தொழில்நுட்ப உலகில் பெரும்பாலோனார் கணனி பயன்படுத்துகிறோம். பல நேரங்களில்  இக்கணனியின் வேகம் குறைந்து நம்மை எரிச்சலூட்டுகின்றன.
எனவே உங்கள் கணனியின் வேகத்தை அதிகரிக்கப்பதற்கான 10 வழிகளைக் காண்போம்.
1. உங்கள் கணனியின் RAM எனப்படும் Random Access Memoryன் அளவை அதிகப்படுத்தவும். ஒரு சாதாரண கணனிக்கு 1GB போதுமானது. அதன் நினைவகத்தின் அளவை அதிகரிக்க அதிகரிக்க வேகமும் அதிகரிக்கும். இப்போது RAM ன் விலை மிகவும் மலிவுதான்.
2. கணனியில் ஏற்கனவே நிறுவியிருக்கக் கூடிய தேவையற்ற மென்பொருட்களை நீக்கிவிடுங்கள் . புதிதாகக் கணனி வாங்கியிருந்தால் கூட அத்துடன் ஏராளமான தேவையற்ற மென்பொருட்களையும் நிறுவி இருப்பார்கள்.

அவற்றில் சில மென்பொருட்கள் மட்டுமே நமக்குப்பயன்படும். மீதி அனைத்தையும் நிராகரித்து நீக்கிவிடவும்.
பழைய கணனியிலும் தேவையற்ற மென்பொருட்கள் இருப்பின் அனைத்தையும் நீக்கிவிடவும். அவற்றிற்குரிய Copy இருந்தால் அதை மட்டும் CD / DVD ல் ஏற்றி burn செய்துகொள்ளவும்.
3. FireFox, Chrome, IE என்று ஒன்றுக்கு மேற்பட்ட browsersஐ நிறுவி இருந்தால் அவற்றில் ஏதேனும் ஒன்றை மட்டும் வைத்துக்கொண்டு மீதியை uninstall செய்துவிடவும்.
4. G-Talk, Yahoo Messenger, Live Messenger என்று ஒன்றுக்கு மேற்பட்ட அரட்டை அடிக்கும் பயன்பாடுகளைத் தனித்தனியாக நிறுவி இருந்தால் எல்லாவற்றையும் uninstall செய்துவிட்டு, digsby (http://www.digsby.com/) போன்ற ஒரே ஒரு instant messenger (நேரடி அரட்டை அரங்கம்) ஐ நிறுவிக் கொள்ளவும்.
5. கணனியில் Windows இயங்குதளமானது boot ஆகும்போது நிறையப் பயன்பாடுகளும் இணைந்தே தொடங்கும். இதற்கு auto startup என்று பெயர்.
இப்படி ஏராளமான பயன்பாடுகளும் விண்டோஸ் இயங்குதளத்துடன் தொடங்கினால் அதன் வேகம் மிகக் குறைந்துவிடும். http://www.revouninstaller.com/ பயன்படுத்தி தேவையற்ற தானியங்கிப் பயன்பாடுகளைக் கழித்துவிடவும்.
6. Startup Delayer ஐ இறக்கி அதைப் பயன்படுத்தி Autoloading பயன்பாடுகளை நீக்கிவிடலாம்.
7. Windows பயனர்கள் அதன் தேவையில்லாத animation தொந்தரவுகளால் அதன் வேகம் குறைவதை உணர்ந்திருப்பார்கள். MyComputerல் right click செய்து, advanced tabல் settingsல், Performanceல் Animate WindowsWhen minimizing and maximizing என்கிறதை disable செய்யவும். மேலும் தேவையில்லாதவற்றையும் disable செய்யவும்.
8. Desktopல் இருக்கும் குறுக்குவழிச் சுட்டிகளுக்கான படங்களை அகற்றிவிடலாம். எனது நண்பர் ஒருவர் 50க்கு மேற்பட்ட desktop icons வைத்திருந்தார். அதனாலேயே அவரது கணனியின் வேகம் மிகக் குறைந்தது. தேவையில்லாத desktop ஐகான்ஸ் எல்லாவற்றையும் நீக்கியபின்னர் கணனியின் வேகம் அதிகரித்தது.
9. கணனியில் ஒரு நெருப்புச்சுவர் (firewall), வைரஜ்எதிர்ப்பான் (anti virus), ஸ்பைவேர் எதிர்ப்பான் (anti spyware) கண்டிப்பாகத் தேவை. அவற்றை அடிக்கடி புதுப்பித்துக்க கொண்டே இருக்கவேண்டும்.
10. ஆனால் இணையத்துடன் இணைந்திருக்காத தனிக் கணனிகள் மற்றும் வெளியிடத்து Floppy, CD, DVD, Pen Drive போன்றவற்றை அனுமதிக்காத கணனிகளில் மேலே கூறிய firewall, antivirus, antispyware போன்ற எதுவும் நிறுவாமல் இருந்தால் அதன் வேகம் மும்மடங்கு ஆகும் என்பதில் ஐயமில்லை

Saturday, May 10, 2014

Meta Data:

Meta data is “data about data”. An item of metadata describes the specific characteristics about an individual data item. In databases, metadata describes the structural components of tables and their elements. For example, metadata about an element could include data types, name of data, size and many more characteristics about that element. It would also give information about the tables the database is storing, information, such as length of fields, number of columns, where the tables are located and other pertinent information. One of the main uses for met data is to provide a link between the information creator and the information users. Meta data allows the users to speed up the search for individual data. This is done by being able to set parameter for searches, allowing the filtering of unwanted information. Meta data can be stored either internally, in the same file as the data or externally, in a separate area. Both have advantages and disadvantages. I f the data is stored internally, the meta data is together with the data making more easily accessible to view or change. However, this method creates high redundancy. If metadata is stored externally, the searches can become more efficient. There is no redundancy but getting to this metadata may be a little more technical. There are certain formats that most be used, such as Uniform Resource Identifier(URI) to get to the meta data, if this format is not used the meta data becomes in accessible. All the metadata is stored in a data dictionary or a system catalog. All programs that access data in the database work through a DBMS. The DBMS use the data dictionary to look up the required components and relationships. Any changes made to the database structure are automatically recorded in the data dictionary. This makes the data dictionary manager’s job a lot easier, because any modification of programs that are affected by changed structure is not necessary.

UPDATE
Metadata
Metadata at the most basic level is simply defined as “data about data”. An item of metadata describes the specific characteristics about an individual data item. In the database realm, metadata is defined as, “data about data, through which the end-user data are integrated and managed.” (Rob & Coronel, 2009)  Metadata in a database typically store the relationships that link up numerous pieces of data.  “Metadata names these fields, describes the size of the fields, and may put restrictions on what can go in the field (for example, numbers only).” (Sheldon, 2001).

“Therefore, metadata is information about how data is extracted, and how it may be transformed. It is also about indexing and creating pointers into data. Database design is all about defining metadata schemas.” (Sheldon, 2001)  Meta data can be stored either internally, in the same file as the data, or externally, in a separate area.  If the data is stored internally, the metadata is together with the data, making it more easily accessible to view or change. However, this method creates high redundancy. If metadata is stored externally, the searches can become more efficient. There is no redundancy but getting to this metadata may be a little more technical.

All the metadata is stored in a data dictionary or a system catalog. The data dictionary is most typically an external document that is created in a spreadsheet type of document that stores the conceptual design ideas for the database schema.  The data dictionary also contains the general format that the data, and in effect the metadata, should be.  Metadata is an essential aspect to database design, it allows for increased processing power, due to the fact that it can help create pointers and indexes. 

This image is an example of a database schema that includes the metadata type that it is as well as the information it is, including the size of information it can hold.
Database schema
Buck9544Added by Buck9544

Rob, P., & Coronel, C. (2009). Database Systems Design, Implementation, And Management. Boston: Course Technology.
Sheldon, T. (2001). Metadata. Retrieved 12 03, 2009, from Linktionary: http://www.linktionary.com/m/metadata.html

UPDATE 10/14/2011

Definition
Metadata is defined as data that describes other data. Metadata can be divided into two main types: structural and descriptive. Structural metadatadescribes the design structure and their specifications. This type of metadata describes the containers of data within a database. Descriptive metadatadescribes instances of application data. This is the type of metadata that is traditionally spoken of and described as “data about the data.” A third type is sometime identified called Adminitstrative metadata. Administrative metadata provides information that helps to manage other information, such as when and how a resource was created, file types and other technical information.
Metadata makes it easier to retrieve, use, or manage information resources by providing users with information that adds context to the data they’re working with. Metadata can describe information at any level of aggregation, including collections, single resources, or component part of a single resource. Metadata can be embedded into a digital object or can be stored separately
Web pages contain metadata called metatags.
Examples:
e.g. A .mp3 audio file contains metadata that describes the length of the song, the artist, etc.
e.g. A word document contains metadata such as last time modified, length, author, etc.
References

System catalog in DBMS: Tracking details of database objects


System catalog is a collection of tables in a database which are used by the DBMS for describing the structure of the database. System catalog is created automatically whenever a database is created. System catalogs can also be accessed by the users of the database. A user can access the system catalog to get more info about the structure of a database. However, a user can only read the system catalog and he can’t modify it. Since modifying the system catalog will result in the modification of the structure of the entire database. System catalog can also be used to access query tools where a user can select different tables easily.
System catalog tracks the details of the following database objects:
1) Columns: System catalog maintains all the necessary information related to every column in a database. For Example, name of a column, associated table, size, data type, etc.
2) Tables: A system catalog maintains all the necessary information related to every table in a database. For Example: name of a table, owner, size, number of columns, etc.
3) Views: System catalog maintains all the necessary information related to every view in a database. For Example: name, owner, query which defines the view, etc.
4) Users: System catalog maintains all the necessary information related to every user in a database. For Example: user name, password, etc.
5) Privileges: It maintains all the necessary information related to every set of privileges in a database. For Example: name of grantor, name of grantee, privileges granted, object on which privileges are granted, etc.