Oct 29, 2009

How to Create a Zpool and Zones in Solaris ?

Description: Creating a zpool / Zones

Platform: SUN

Model: Server

Category: Install

Problem statement: Zpools and Zone Creation

RCA Summary: N.A

Solution: N.A

Work around: Find it Below

Creating a zpool

ZFS uses device names or partition names when dealing with pools and devices. For a device, this will be something like c1t0d0 (for a SCSI device) or c1d1 (for an IDE device). For a partition, it will be something like c1t0d0s0 (for a SCSI device)or c1d1s0 (for an IDE device). This example creates a pool that is mirrored using two disks.

1. To create a zpool in the global zone, use the zpool create command. Typically, you use two devices to provide redundancy.

Global# zpool create mypool mirror c2t5d0 c2t6d0

Note that the zpool create command may fail if the devices are in use or contain some types of existing data (e.g. UFS file system). If they are in use, you will need to unmount them or otherwise stop using them. If they contain existing data you can use the -f (force) flag to override the safety check, but be sure that you are not destroying any data you

want to retain.

2. Examine the pool properties using the zpool list command.

Global# zpool list

clip_image002

This shows you that there is one zpool, named mypool, with a capacity of 199GBytes.

Creating a Zone

To show ZFS working in an environment that is isolated from other applications on the system, you need to create a zone.

To create a zone:

1. Create a directory where the zone file system will reside, using the mkdir command. Be sure to chose a location where the file system has at least 80MBytes of available space.

Global# mkdir /zones

Note that in this example, for the sake of brevity, the root file system of the zone is a UFS file system.

2. Configure the zone (myzone), using the zonecfg command, and specify the location of the zone's files (/zones/myzone). Use the following series of commands.

Global# zonecfg -z myzone

myzone: No such zone configured

Use 'create' to begin configuring a new zone

zonecfg:myzone> create

zonecfg:myzone> set zonepath=/zones/myzone

zonecfg:myzone> verify

zonecfg:myzone> commit

zonecfg:myzone> exit

Again, for the purpose of streamlining, this example uses a very minimal zone. For more details on creating zones see the Solaris Containers How To Do Stuff guide at:

www.sun.com/software/solaris/howtoguides/containersLowRes.jsp

3. Install the zone by using the zoneadm.

Global# zoneadm -z myzone install

Preparing to install zone <myzone>

[Output from zoneadm, this may take a few mins]

4. Boot the zone to complete the installation, using the zoneadm command.

Global# zoneadm -z myzone boot

5. Use the zlogin command to connect to the zone console.

Global# zlogin -C myzone

[Connected to zone 'myzone' console]

[Initial zone boot output, service descriptions are loaded etc.]

It may take a short while for the first boot to configure everything, load all the service descriptors, and so on. You will

need to answer the system configuration details. Some suggestions are:

Terminal=(12)X Terminal Emulator (xterms)

Not Networked

No Kerberos

Name service = None

Time Zone = your-time-zone

root passwd = (Your choice – remember it though!)

The zone will reboot after you have provided the configuration information.

6. Before you can proceed to the next stage, the configured zone needs to be shutdown (configuration changes are only applied when the zone boots).

Global# zlogin myzone init 5

References:

How to Create a Zpool and Zones in Solaris ?

Description: Creating a zpool / Zones

Platform: SUN

Model: Server

Category: Install

Problem statement: Zpools and Zone Creation

RCA Summary: N.A

Solution: N.A

Work around: Find it Below

Creating a zpool

ZFS uses device names or partition names when dealing with pools and devices. For a device, this will be something like c1t0d0 (for a SCSI device) or c1d1 (for an IDE device). For a partition, it will be something like c1t0d0s0 (for a SCSI device)or c1d1s0 (for an IDE device). This example creates a pool that is mirrored using two disks.

1. To create a zpool in the global zone, use the zpool create command. Typically, you use two devices to provide redundancy.

Global# zpool create mypool mirror c2t5d0 c2t6d0

Note that the zpool create command may fail if the devices are in use or contain some types of existing data (e.g. UFS file system). If they are in use, you will need to unmount them or otherwise stop using them. If they contain existing data you can use the -f (force) flag to override the safety check, but be sure that you are not destroying any data you

want to retain.

2. Examine the pool properties using the zpool list command.

Global# zpool list

clip_image002

This shows you that there is one zpool, named mypool, with a capacity of 199GBytes.

Creating a Zone

To show ZFS working in an environment that is isolated from other applications on the system, you need to create a zone.

To create a zone:

1. Create a directory where the zone file system will reside, using the mkdir command. Be sure to chose a location where the file system has at least 80MBytes of available space.

Global# mkdir /zones

Note that in this example, for the sake of brevity, the root file system of the zone is a UFS file system.

2. Configure the zone (myzone), using the zonecfg command, and specify the location of the zone's files (/zones/myzone). Use the following series of commands.

Global# zonecfg -z myzone

myzone: No such zone configured

Use 'create' to begin configuring a new zone

zonecfg:myzone> create

zonecfg:myzone> set zonepath=/zones/myzone

zonecfg:myzone> verify

zonecfg:myzone> commit

zonecfg:myzone> exit

Again, for the purpose of streamlining, this example uses a very minimal zone. For more details on creating zones see the Solaris Containers How To Do Stuff guide at:

www.sun.com/software/solaris/howtoguides/containersLowRes.jsp

3. Install the zone by using the zoneadm.

Global# zoneadm -z myzone install

Preparing to install zone <myzone>

[Output from zoneadm, this may take a few mins]

4. Boot the zone to complete the installation, using the zoneadm command.

Global# zoneadm -z myzone boot

5. Use the zlogin command to connect to the zone console.

Global# zlogin -C myzone

[Connected to zone 'myzone' console]

[Initial zone boot output, service descriptions are loaded etc.]

It may take a short while for the first boot to configure everything, load all the service descriptors, and so on. You will

need to answer the system configuration details. Some suggestions are:

Terminal=(12)X Terminal Emulator (xterms)

Not Networked

No Kerberos

Name service = None

Time Zone = your-time-zone

root passwd = (Your choice – remember it though!)

The zone will reboot after you have provided the configuration information.

6. Before you can proceed to the next stage, the configured zone needs to be shutdown (configuration changes are only applied when the zone boots).

Global# zlogin myzone init 5

References:

Evolution of Fourth Generation Wireless Communication System

International Mobile Telecommunications-Advanced (IMT Advanced), 4th Generation, is the next technological strategy in the field of wireless communications. A 4G system will upgrade existing communication networks and is expected to provide a comprehensive and secure IP based solution where facilities such as voice, data and streamed multimedia will be provided to users on an "Anytime, Anywhere" basis and at much higher data rates compared to previous generations.

This article deals with the evolution and concepts of a 4th Generation Wireless Communication System.

Features of 4G Wireless Systems

4G is being developed to accommodate the QOS and rate requirements set by forthcoming applications like wireless broadband access, Multimedia Messaging Service (MMS), video chat, mobile TV, HDTV content, Digital Video Broadcasting (DVB), minimal services like voice and data, and other services that utilize bandwidth.

  • A spectrally efficient system (in bits/s/Hz and bits/s/Hz/site).
  • High network capacity: more simultaneous users per cell.
  • A nominal data rate of 100 Mbit/s while the client physically moves at high speeds relative to the station, and 1 Gbit/s while client and station are in relatively fixed positions as defined by the ITU-R.
  • A data rate of at least 100 Mbit/s between any two points in the world.
  • Smooth handoff across heterogeneous networks.
  • Seamless connectivity and global roaming across multiple networks.
  • High quality of service for next generation multimedia support (real time audio, high speed data, HDTV video content, mobile TV, etc).
  • Interoperability with existing wireless standards.
  • An all IP, packet switched network.

Motivation for 4G Research Before 3G Has Not Been Deployed?

  • 3G performance may not be sufficient to meet needs of future high-performance applications like multi-media, full-motion video, wireless teleconferencing. We need a network technology that extends 3G capacity by an order of magnitude. 
  • There are multiple standards for 3G making it difficult to roam and interoperate across networks. we need global mobility and service portability
  • 3G is based on primarily a wide-area concept. We need hybrid networks that utilize both wireless LAN (hot spot) concept and cell or base-station wide area network design. 
  • We need wider bandwidth.
  • Researchers have come up with spectrally more efficient modulation schemes that can not be retrofitted into 3G infrastructure
  • We need all digital packet networks that utilize IP in its fullest form with converged voice and data capability.

Internet Speeds

2.5G is the interim solution for current 2G networks to have 3G functionality. 2.5G networks are being designed such that a smooth transition (software upgrade) to 3G can be realized.2.5G networks currently offer true data speeds up to 28kbps.

In comparison, the theoretical speed of 3G can be up to 2 Mbps, i.e., approximately 200 times faster than previous 2G networks. This added speed and throughput will make it possible to run applications such as streaming video clips. It is anticipated that 4G speeds could be as high as 100 Mbps. Thus, 4G will represent another quantum leap in mobile Internet speeds and picture quality.

4G could bring connection speeds of up to 50 times faster than 3G.

4G Applications

One of the most notable advanced applications for 4G systems is location based services. 4G location applications would be based on visualized, virtual navigation schemes that would support a remote database containing graphical representations of streets, buildings, and other physical characteristics of a large metropolitan area. This database could be accessed by a subscriber in a moving vehicle equipped with the appropriate wireless device, which would provide the platform on which would appear a virtual representation of the environment ahead.

For example, one would be able to see the internal layout of a building during an emergency rescue. This type of application is sometimes referred to as "Telegeoprocessing", which is a combination of Geographical Information Systems (GIS) and Global Positioning Systems (GPS) working in concert over a high-capacity wireless mobile system.

Telegeoprocessing over 4G networks will make it possible for the public safety community to have wireless operational functionality and specialized applications for everyday operations, as well as for crisis management.

The emergence of next generation wireless technologies will enhance the effectiveness of the existing methods used by public safety.

3G technologies and beyond could possibly bring the following new features to public safety:

Virtual navigation

As described, a remote database contains the graphical representation of streets, buildings, and physical characteristics of a large metropolis. Blocks of this database are transmitted in rapid sequence to a vehicle, where a rendering program permits the occupants to visualize the environment ahead. They may also "virtually" see the internal layout of buildings to plan an emergency rescue, or to plan to engage hostile elements hidden in the building.

Tele-medicine

A paramedic assisting a victim of a traffic accident in a remote location could access medical records (e.g.-rays) and establish a video conference so that a remotely based surgeon could provide “on-scene” assistance. In such a circumstance, the paramedic could relay the victim's vital information (recorded locally) back to the hospital in real time, for review by the surgeon.

Crisis-management applications

These arise, for example, as a result of natural disasters where the entire communications infrastructure is in disarray. In such circumstances, restoring communications

quickly is essential. With wideband wireless mobile communications, both limited and complete communications capabilities, including Internet and video services, could be set up in a matter of

hours. In comparison, it may take days or even weeks to re-establish communications capabilities when a wire line network is rendered inoperable.

Comparing Key Parameters of 4G with 3G

 

3G

4G

Major Requirement Driving Architecture

dominantly voice driven - data was always add on

Converged data and voice over IP

Network Architecture

Wide area cell-based

Hybrid - Integration of Wireless LAN (WiFi, Bluetooth) and wide area

Speeds

384 Kbps to 2 Mbps

20 to 100 Mbps in mobile mode

Frequency Band

Dependent on country or continent (1800-2400 MHz)

Higher frequency bands (2-8 GHz)

Bandwidth

5-20 MHz

100 MHz (or more)

Switching Design Basis

Circuit and Packet

All digital with packetized voice

Access Technologies

W-CDMA, 1xRTT, Edge

OFDM and MC-CDMA (Multi Carrier CDMA)

Forward Error Correction

Convolutional rate 1/2, 1/3

Concatenated coding scheme

Component Design

Optimized antenna design, multi-band adapters

Smarter Antennas, software multiband and wideband radios

IP

A number of air link protocols, including IP 5.0

All IP (IP6.0)

Limitations of 4G

Although the concept of 4G communications shows much promise, there are still limitations that must be addressed.

Operating area

Although 2G networks are becoming more ubiquitous, there are still many areas not served. Rural areas and many buildings in metropolitan areas are not being served well by existing wireless networks. This limitation of today’s networks will carry over into future generations of wireless systems.

The hype that is being created by 3G networks is giving the general public unrealistic expectations of always on, always available, anywhere, anytime communications. The public must realize that although high-speed data communications will be delivered, it will not be equivalent to the wired Internet – at least not at first. If measures are not taken now to correct perception issues, when 3G and later 4G services are deployed, there may be a great deal of disappointment associated with the deployment of the technology, and perceptions could become negative. If this were to happen, neither 3G nor 4G may realize its full potential.

Cost

The equipment required to implement a next generation network is still very expensive. Carriers and providers have to plan carefully to make sure that expenses are kept realistic.

One technique currently being implemented in Asian networks is a Pay-Per-Use model

of services. This model will be difficult to implement in the United States, where the public is used to a service-for-free model (e.g., the Internet).

Conclusions

4G networks may eventually deliver on all the promises. At times, it seems that technological advances are being made on a daily basis. These advances will make high speed data/voice-over-Internet-protocol (VoIP) networks a reality.

In the meantime, it is important for industry to develop a strong 3G offering that is palatable for the general public. Equally as important, industry must ensure that expectations are realistic and that services meet and exceed those expectations.

If all goes according to what the industry envisions, it may be sooner, rather than later that we will see wireless communications evolve. This evolution will give the general public as well as the public safety community amazing functionality from the convenience of a single handheld device.

References

Evolution of Fourth Generation Wireless Communication System

International Mobile Telecommunications-Advanced (IMT Advanced), 4th Generation, is the next technological strategy in the field of wireless communications. A 4G system will upgrade existing communication networks and is expected to provide a comprehensive and secure IP based solution where facilities such as voice, data and streamed multimedia will be provided to users on an "Anytime, Anywhere" basis and at much higher data rates compared to previous generations.

This article deals with the evolution and concepts of a 4th Generation Wireless Communication System.

Features of 4G Wireless Systems

4G is being developed to accommodate the QOS and rate requirements set by forthcoming applications like wireless broadband access, Multimedia Messaging Service (MMS), video chat, mobile TV, HDTV content, Digital Video Broadcasting (DVB), minimal services like voice and data, and other services that utilize bandwidth.

  • A spectrally efficient system (in bits/s/Hz and bits/s/Hz/site).
  • High network capacity: more simultaneous users per cell.
  • A nominal data rate of 100 Mbit/s while the client physically moves at high speeds relative to the station, and 1 Gbit/s while client and station are in relatively fixed positions as defined by the ITU-R.
  • A data rate of at least 100 Mbit/s between any two points in the world.
  • Smooth handoff across heterogeneous networks.
  • Seamless connectivity and global roaming across multiple networks.
  • High quality of service for next generation multimedia support (real time audio, high speed data, HDTV video content, mobile TV, etc).
  • Interoperability with existing wireless standards.
  • An all IP, packet switched network.

Motivation for 4G Research Before 3G Has Not Been Deployed?

  • 3G performance may not be sufficient to meet needs of future high-performance applications like multi-media, full-motion video, wireless teleconferencing. We need a network technology that extends 3G capacity by an order of magnitude. 
  • There are multiple standards for 3G making it difficult to roam and interoperate across networks. we need global mobility and service portability
  • 3G is based on primarily a wide-area concept. We need hybrid networks that utilize both wireless LAN (hot spot) concept and cell or base-station wide area network design. 
  • We need wider bandwidth.
  • Researchers have come up with spectrally more efficient modulation schemes that can not be retrofitted into 3G infrastructure
  • We need all digital packet networks that utilize IP in its fullest form with converged voice and data capability.

Internet Speeds

2.5G is the interim solution for current 2G networks to have 3G functionality. 2.5G networks are being designed such that a smooth transition (software upgrade) to 3G can be realized.2.5G networks currently offer true data speeds up to 28kbps.

In comparison, the theoretical speed of 3G can be up to 2 Mbps, i.e., approximately 200 times faster than previous 2G networks. This added speed and throughput will make it possible to run applications such as streaming video clips. It is anticipated that 4G speeds could be as high as 100 Mbps. Thus, 4G will represent another quantum leap in mobile Internet speeds and picture quality.

4G could bring connection speeds of up to 50 times faster than 3G.

4G Applications

One of the most notable advanced applications for 4G systems is location based services. 4G location applications would be based on visualized, virtual navigation schemes that would support a remote database containing graphical representations of streets, buildings, and other physical characteristics of a large metropolitan area. This database could be accessed by a subscriber in a moving vehicle equipped with the appropriate wireless device, which would provide the platform on which would appear a virtual representation of the environment ahead.

For example, one would be able to see the internal layout of a building during an emergency rescue. This type of application is sometimes referred to as "Telegeoprocessing", which is a combination of Geographical Information Systems (GIS) and Global Positioning Systems (GPS) working in concert over a high-capacity wireless mobile system.

Telegeoprocessing over 4G networks will make it possible for the public safety community to have wireless operational functionality and specialized applications for everyday operations, as well as for crisis management.

The emergence of next generation wireless technologies will enhance the effectiveness of the existing methods used by public safety.

3G technologies and beyond could possibly bring the following new features to public safety:

Virtual navigation

As described, a remote database contains the graphical representation of streets, buildings, and physical characteristics of a large metropolis. Blocks of this database are transmitted in rapid sequence to a vehicle, where a rendering program permits the occupants to visualize the environment ahead. They may also "virtually" see the internal layout of buildings to plan an emergency rescue, or to plan to engage hostile elements hidden in the building.

Tele-medicine

A paramedic assisting a victim of a traffic accident in a remote location could access medical records (e.g.-rays) and establish a video conference so that a remotely based surgeon could provide “on-scene” assistance. In such a circumstance, the paramedic could relay the victim's vital information (recorded locally) back to the hospital in real time, for review by the surgeon.

Crisis-management applications

These arise, for example, as a result of natural disasters where the entire communications infrastructure is in disarray. In such circumstances, restoring communications

quickly is essential. With wideband wireless mobile communications, both limited and complete communications capabilities, including Internet and video services, could be set up in a matter of

hours. In comparison, it may take days or even weeks to re-establish communications capabilities when a wire line network is rendered inoperable.

Comparing Key Parameters of 4G with 3G

 

3G

4G

Major Requirement Driving Architecture

dominantly voice driven - data was always add on

Converged data and voice over IP

Network Architecture

Wide area cell-based

Hybrid - Integration of Wireless LAN (WiFi, Bluetooth) and wide area

Speeds

384 Kbps to 2 Mbps

20 to 100 Mbps in mobile mode

Frequency Band

Dependent on country or continent (1800-2400 MHz)

Higher frequency bands (2-8 GHz)

Bandwidth

5-20 MHz

100 MHz (or more)

Switching Design Basis

Circuit and Packet

All digital with packetized voice

Access Technologies

W-CDMA, 1xRTT, Edge

OFDM and MC-CDMA (Multi Carrier CDMA)

Forward Error Correction

Convolutional rate 1/2, 1/3

Concatenated coding scheme

Component Design

Optimized antenna design, multi-band adapters

Smarter Antennas, software multiband and wideband radios

IP

A number of air link protocols, including IP 5.0

All IP (IP6.0)

Limitations of 4G

Although the concept of 4G communications shows much promise, there are still limitations that must be addressed.

Operating area

Although 2G networks are becoming more ubiquitous, there are still many areas not served. Rural areas and many buildings in metropolitan areas are not being served well by existing wireless networks. This limitation of today’s networks will carry over into future generations of wireless systems.

The hype that is being created by 3G networks is giving the general public unrealistic expectations of always on, always available, anywhere, anytime communications. The public must realize that although high-speed data communications will be delivered, it will not be equivalent to the wired Internet – at least not at first. If measures are not taken now to correct perception issues, when 3G and later 4G services are deployed, there may be a great deal of disappointment associated with the deployment of the technology, and perceptions could become negative. If this were to happen, neither 3G nor 4G may realize its full potential.

Cost

The equipment required to implement a next generation network is still very expensive. Carriers and providers have to plan carefully to make sure that expenses are kept realistic.

One technique currently being implemented in Asian networks is a Pay-Per-Use model

of services. This model will be difficult to implement in the United States, where the public is used to a service-for-free model (e.g., the Internet).

Conclusions

4G networks may eventually deliver on all the promises. At times, it seems that technological advances are being made on a daily basis. These advances will make high speed data/voice-over-Internet-protocol (VoIP) networks a reality.

In the meantime, it is important for industry to develop a strong 3G offering that is palatable for the general public. Equally as important, industry must ensure that expectations are realistic and that services meet and exceed those expectations.

If all goes according to what the industry envisions, it may be sooner, rather than later that we will see wireless communications evolve. This evolution will give the general public as well as the public safety community amazing functionality from the convenience of a single handheld device.

References

Oct 26, 2009

FuseBox - Web Application Framework

Introduction:

Fusebox is a framework for building web applications. It is meant to make your applications easier to create and maintain. It helps in structuring the application and break things down into discreet pieces. Fusebox is proved to be a standard and the popular application architecture for ColdFusion.

Features of Fusebox:

1. Structured architecture - Scalability, Maintainability, Modularity.

2. Facilitates team development.

3. Self-documents your application.

4. Allows repeatability.

5. Large community.

6. Proven but evolving.

7. Community-driven.

8. Extensible - Fusebox for PHP, JSP, ASP.

9. Quick to learn.

10. Free.

Description on FuseBox:

Fusebox is the powerful and standard framework to create the dynamic web sites or web based applications such as ColdFusion or PHP. Fusebox is a framework for building Web Applications. A Fusebox application is made up of Circuits. A Circuit corresponds to a directory in your application. Within each circuit are one or more Fuseactions. A Fuseaction is a request handler. And finally, a Fuseaction does its work by executing one or more Fuses. Fuses are individual CFML templates such as display files. Fusebox is the most popular and oldest framework for ColdFusion.

The framework uses XML configuration files to define the application settings as well as declaring what each Circuit does and how Fuseactions within each Circuit execute. There is a core set of XML grammar that is used to create these files.

Fusebox does not force the Model-View-Controller (MVC) pattern or Object-Oriented Programming (OOP) on the developer. However, either or both of these development approaches can be used with Fusebox.

Fusebox applications can be created with any text based development tool or even a basic text editor like Notepad or TextEdit. Fusebox 4 and above use XML, so having XML friendly tools is often useful.

General Fusebox Theory:

  • Index.cfm is controller - all interaction goes through the Fusebox via Fuseactions.
  • Multiple index.cfms for sections of the site, called circuits.
  • Root index.cfm handles global variables, root requests.
  • Index.cfm acts via cfcase, including files (fuses) and logic.
  • If a circuit blows up, the entire site is not blacked out.
  • Electrical fuse box metaphor.
  • Circuits are modular, thus reusable.

New Extended Fusebox (Hal-style) standard calls for no home application:

  • All circuits standalone with individual cfapplication tags and no global variable dependencies – cfparam all vars.
  • All circuit index.cfms are cfincluded, not cflocationed.

Circuit:

A circuit is a cohesive group of related fuseactions. A Fusebox application is made up of one or (more often) multiple circuits.

The circuit’s elements define each circuit in the Fusebox application. The circuits' elements contain one or more circuit elements. Each circuit has an attribute such as alias, path, and parent.

Example for a Circuit:

<circuits>

<circuit alias=”document1” path=”member1” parent=””\>

<circuit alias=”document2” path=”member2” parent=””\>

<circuit alias=”document3” path=”member3” parent=””\>

</circuits>

Fuseaction:

A fuseaction is a request handler, usually for a public method. When a Circuit gets a request to perform some action, it receives the request in the form of a fuseaction. A fuseaction is passed or defined for every request the user makes to the application.

Fuse:

A fuse is an individual, atomic code file. Fuses are the most basic building block of a Fusebox application. When a fuseaction is passed to a circuit, one or more fuse files are called to actually fulfill the request. A fuse is always a private, so fuses are never called directly by a user making a request to a Fusebox application.

File Naming Conventions (Fuses):

  • app_globals.cfm – File defines variables, instantiates application

request.mainDSN, request.webroot, request.mypath

§ <cfif not IsDefined(“application.applicationname”)> <cfapplication name=“blah”></cfif>

  • dsp_filename.cfm - Display file

§ Only file that contains HTML or any output to browser

  • act_filename.cfm - Action file

§ Only file allowed to perform actions on the database – updates, inserts, deletes, selects allowed, but only in conjunction with action

  • qry_filename.cfm - Query file

§ Extremely modular file can be called “willy-nilly” throughout application, performs selects on database

Core Files:

The core files are the set of ColdFusion or PHP files that comprise the Fusebox framework.The core files are the files needed to actually implement Fusebox. Core Files are available when the FuseBox framework is downloaded.

First Steps (Pre-Coding):

  • Produce a quality specification
    • Nothing Fusebox specific here
  • Use fUseML or another modeling tool to make the design including directory structure
    • fUseML is derived from the UML.
    • Build design taking index.cfm interaction (Fuseactions) into account.
  • Create stringent Fusedocs for all fuses
    • Fuses should not be dependant on any variables not explicitly stated.
    • Make assertions if necessary.

Sample Application:

<fusedoc fuse="FBX_Circuits.cfm">

<responsibilities>

I define the Circuits structure used with Fusebox 3.0

</responsibilities>

<io>

<out>

<string name="fusebox.circuits.*" comments="set a variable for each circuit name" />

</out>

</io>

</fusedoc>

<cfset fusebox.circuits=StructNew()>

<cfset fusebox.circuits.home="home">

Creating A Fusebox Application:

  1. Create the index.cfm files
  2. Create Fuseactions in index.cfm
  3. Create Fusedocs for fuses
  4. Write fuses
  5. Stand back and marvel

Create the Index.cfm Files:

  • Every directory (circuit application) has one index.cfm file.
  • Index.cfm controls all the Fuseactions of that circuit application.
  • It is the Fusebox.
  • All links and form submissions go to the index.cfm.
  • It is a single cfswitch statement with multiple cfcase statements.
  • Each cfcase is a different Fuseaction.

Example:

index.cfm?fuseaction=document.login

Here, central controller is index.cfm and it receives the fuseaction message of document.login.

Document is the circuit name and login is the fuseaction name.

The Fusebox Code:

<!--index.cfm-->

<cf_formURL2attributes>

<cfinclude template=“app_globals.cfm”>

<cfparam name=“attributes.fuseaction” default=“login”>

<cfswitch expression=“#attributes.fuseaction#”>

<cfcase value=“login”>

<cfif blah>

<cf_do_logic>

</cfif>

<cfinclude template=“dsp_UserLogin.cfm”>

</cfcase>

</cfswitch>

Create the Fuseactions:

  • A Fuseaction may cfinclude .htm/.cfm; cfmodule; cflocation; contain limited cfml
  • A Fuseaction may NOT display anything to the browser or contain “open” SQL
  • Determine what steps are needed to complete each Fuseaction
  • Add those steps inside each cfcase statement

The Fusebox Code:

<cfcase value=“MainPage”>

<cfif client.IsLoggedIn>

<cflocation purl=“index.cfm?fuseaction=login”>

<cfelse>

<cfinclude template=“dsp_HomePage.cfm”></cfif>

</cfcase>

<cfcase value=“InsertRecord”>

<cfinclude template=“act_InsertNewEmployee.cfm”>

<cfmodule template=“conf/index.cfm?fuseaction=main&ID=7”>

</cfcase>

Extended Fusebox:

  • Version 2 calls for multiple Fuseboxes to be tied together with cflocation or cfmodule.
  • Version 3 ties Fuseboxes together with cfincludes ONLY.
  • There are no longer “circuit” and “home” apps – all index.cfms function standalone – loosely coupled.
  • Any Fusebox can cfinclude any other Fusebox without knowing or caring what variables are used or what the Fusebox’s architecture is.
  • When the Fuseboxes are collected, they are called from the highest Fusebox only using “dot-notation” href and form action.
  • All hrefs and form actions call the current index.cfm which, when Fuseboxes are cfincluded, means the highest Fusebox in the chain, without having to recode links.

<a href=“index.cfm?fuseaction=catalog.view&ID=3&cat=2”>

<a href=“catalog/index.cfm?fuseaction=view&ID=3&cat=2”>

  • But this Fusebox can in turn, be called by a higher Fusebox…

Extended Fusebox Code:

<cfswitch expression=“#listfirst(attribs.fuseaction,“.”)#”>

<cfcase value=“cat”>

<cfset attribs.fuseaction=listRest(attribs.fuseaction,“.”)>

<cfinclude template=“../dir/cat/index.cfm>

</cfcase>

<cfcase value=“members”>

<cfset attribs.fuseaction=listRest(attribs.fuseaction,“.”)>

<cfinclude template=“/apps/index.cfm”>

</cfcase>

<cfcase value=“Info”>

<cfinclude template=“qry_ExCheck.cfm”>

<cfinclude template=“dsp_FormPage.cfm”>

</cfcase>

</cfswitch>

Challenges Presented by Fusebox:

The standard Fusebox challenges apply here: some people adapt more quickly than others, and debugging can sometimes be a challenge. In particular, Fusebox 4 can be a challenge for developers unfamiliar with the xml grammar, and moving smoothly between production and development mode can throw new developers for a loop. These are minor potholes, however – well outweighed by the advantages.

Benefits to using Fusebox:

  • Increased productivity
  • Increased code reusability
  • Easier code maintenance
  • More productive team development
  • Allows developers at the client sites to work on the same source code with Duo developers.

Fusedoc Documentation Standard:

  • A Fusedoc outlines responsibilities, customizations, and expectations of fuses, and is unique to each fuse.
  • No fuse can assume the existence of any variable unless it is noted in the Fusedoc for that fuse.
  • Once completed, a Fusedoc should provide all the information needed to code the fuse – no interaction with application architects or previous specifications should be needed.

Conclusion:

Fusebox framework is used in ColdFusion or PHP for developing the secure web application. Fusebox uses design and technology to create experiences that empower people to share, connect and interact.

Reference:

FuseBox - Web Application Framework

Introduction:

Fusebox is a framework for building web applications. It is meant to make your applications easier to create and maintain. It helps in structuring the application and break things down into discreet pieces. Fusebox is proved to be a standard and the popular application architecture for ColdFusion.

Features of Fusebox:

1. Structured architecture - Scalability, Maintainability, Modularity.

2. Facilitates team development.

3. Self-documents your application.

4. Allows repeatability.

5. Large community.

6. Proven but evolving.

7. Community-driven.

8. Extensible - Fusebox for PHP, JSP, ASP.

9. Quick to learn.

10. Free.

Description on FuseBox:

Fusebox is the powerful and standard framework to create the dynamic web sites or web based applications such as ColdFusion or PHP. Fusebox is a framework for building Web Applications. A Fusebox application is made up of Circuits. A Circuit corresponds to a directory in your application. Within each circuit are one or more Fuseactions. A Fuseaction is a request handler. And finally, a Fuseaction does its work by executing one or more Fuses. Fuses are individual CFML templates such as display files. Fusebox is the most popular and oldest framework for ColdFusion.

The framework uses XML configuration files to define the application settings as well as declaring what each Circuit does and how Fuseactions within each Circuit execute. There is a core set of XML grammar that is used to create these files.

Fusebox does not force the Model-View-Controller (MVC) pattern or Object-Oriented Programming (OOP) on the developer. However, either or both of these development approaches can be used with Fusebox.

Fusebox applications can be created with any text based development tool or even a basic text editor like Notepad or TextEdit. Fusebox 4 and above use XML, so having XML friendly tools is often useful.

General Fusebox Theory:

  • Index.cfm is controller - all interaction goes through the Fusebox via Fuseactions.
  • Multiple index.cfms for sections of the site, called circuits.
  • Root index.cfm handles global variables, root requests.
  • Index.cfm acts via cfcase, including files (fuses) and logic.
  • If a circuit blows up, the entire site is not blacked out.
  • Electrical fuse box metaphor.
  • Circuits are modular, thus reusable.

New Extended Fusebox (Hal-style) standard calls for no home application:

  • All circuits standalone with individual cfapplication tags and no global variable dependencies – cfparam all vars.
  • All circuit index.cfms are cfincluded, not cflocationed.

Circuit:

A circuit is a cohesive group of related fuseactions. A Fusebox application is made up of one or (more often) multiple circuits.

The circuit’s elements define each circuit in the Fusebox application. The circuits' elements contain one or more circuit elements. Each circuit has an attribute such as alias, path, and parent.

Example for a Circuit:

<circuits>

<circuit alias=”document1” path=”member1” parent=””\>

<circuit alias=”document2” path=”member2” parent=””\>

<circuit alias=”document3” path=”member3” parent=””\>

</circuits>

Fuseaction:

A fuseaction is a request handler, usually for a public method. When a Circuit gets a request to perform some action, it receives the request in the form of a fuseaction. A fuseaction is passed or defined for every request the user makes to the application.

Fuse:

A fuse is an individual, atomic code file. Fuses are the most basic building block of a Fusebox application. When a fuseaction is passed to a circuit, one or more fuse files are called to actually fulfill the request. A fuse is always a private, so fuses are never called directly by a user making a request to a Fusebox application.

File Naming Conventions (Fuses):

  • app_globals.cfm – File defines variables, instantiates application

request.mainDSN, request.webroot, request.mypath

§ <cfif not IsDefined(“application.applicationname”)> <cfapplication name=“blah”></cfif>

  • dsp_filename.cfm - Display file

§ Only file that contains HTML or any output to browser

  • act_filename.cfm - Action file

§ Only file allowed to perform actions on the database – updates, inserts, deletes, selects allowed, but only in conjunction with action

  • qry_filename.cfm - Query file

§ Extremely modular file can be called “willy-nilly” throughout application, performs selects on database

Core Files:

The core files are the set of ColdFusion or PHP files that comprise the Fusebox framework.The core files are the files needed to actually implement Fusebox. Core Files are available when the FuseBox framework is downloaded.

First Steps (Pre-Coding):

  • Produce a quality specification
    • Nothing Fusebox specific here
  • Use fUseML or another modeling tool to make the design including directory structure
    • fUseML is derived from the UML.
    • Build design taking index.cfm interaction (Fuseactions) into account.
  • Create stringent Fusedocs for all fuses
    • Fuses should not be dependant on any variables not explicitly stated.
    • Make assertions if necessary.

Sample Application:

<fusedoc fuse="FBX_Circuits.cfm">

<responsibilities>

I define the Circuits structure used with Fusebox 3.0

</responsibilities>

<io>

<out>

<string name="fusebox.circuits.*" comments="set a variable for each circuit name" />

</out>

</io>

</fusedoc>

<cfset fusebox.circuits=StructNew()>

<cfset fusebox.circuits.home="home">

Creating A Fusebox Application:

  1. Create the index.cfm files
  2. Create Fuseactions in index.cfm
  3. Create Fusedocs for fuses
  4. Write fuses
  5. Stand back and marvel

Create the Index.cfm Files:

  • Every directory (circuit application) has one index.cfm file.
  • Index.cfm controls all the Fuseactions of that circuit application.
  • It is the Fusebox.
  • All links and form submissions go to the index.cfm.
  • It is a single cfswitch statement with multiple cfcase statements.
  • Each cfcase is a different Fuseaction.

Example:

index.cfm?fuseaction=document.login

Here, central controller is index.cfm and it receives the fuseaction message of document.login.

Document is the circuit name and login is the fuseaction name.

The Fusebox Code:

<!--index.cfm-->

<cf_formURL2attributes>

<cfinclude template=“app_globals.cfm”>

<cfparam name=“attributes.fuseaction” default=“login”>

<cfswitch expression=“#attributes.fuseaction#”>

<cfcase value=“login”>

<cfif blah>

<cf_do_logic>

</cfif>

<cfinclude template=“dsp_UserLogin.cfm”>

</cfcase>

</cfswitch>

Create the Fuseactions:

  • A Fuseaction may cfinclude .htm/.cfm; cfmodule; cflocation; contain limited cfml
  • A Fuseaction may NOT display anything to the browser or contain “open” SQL
  • Determine what steps are needed to complete each Fuseaction
  • Add those steps inside each cfcase statement

The Fusebox Code:

<cfcase value=“MainPage”>

<cfif client.IsLoggedIn>

<cflocation purl=“index.cfm?fuseaction=login”>

<cfelse>

<cfinclude template=“dsp_HomePage.cfm”></cfif>

</cfcase>

<cfcase value=“InsertRecord”>

<cfinclude template=“act_InsertNewEmployee.cfm”>

<cfmodule template=“conf/index.cfm?fuseaction=main&ID=7”>

</cfcase>

Extended Fusebox:

  • Version 2 calls for multiple Fuseboxes to be tied together with cflocation or cfmodule.
  • Version 3 ties Fuseboxes together with cfincludes ONLY.
  • There are no longer “circuit” and “home” apps – all index.cfms function standalone – loosely coupled.
  • Any Fusebox can cfinclude any other Fusebox without knowing or caring what variables are used or what the Fusebox’s architecture is.
  • When the Fuseboxes are collected, they are called from the highest Fusebox only using “dot-notation” href and form action.
  • All hrefs and form actions call the current index.cfm which, when Fuseboxes are cfincluded, means the highest Fusebox in the chain, without having to recode links.

<a href=“index.cfm?fuseaction=catalog.view&ID=3&cat=2”>

<a href=“catalog/index.cfm?fuseaction=view&ID=3&cat=2”>

  • But this Fusebox can in turn, be called by a higher Fusebox…

Extended Fusebox Code:

<cfswitch expression=“#listfirst(attribs.fuseaction,“.”)#”>

<cfcase value=“cat”>

<cfset attribs.fuseaction=listRest(attribs.fuseaction,“.”)>

<cfinclude template=“../dir/cat/index.cfm>

</cfcase>

<cfcase value=“members”>

<cfset attribs.fuseaction=listRest(attribs.fuseaction,“.”)>

<cfinclude template=“/apps/index.cfm”>

</cfcase>

<cfcase value=“Info”>

<cfinclude template=“qry_ExCheck.cfm”>

<cfinclude template=“dsp_FormPage.cfm”>

</cfcase>

</cfswitch>

Challenges Presented by Fusebox:

The standard Fusebox challenges apply here: some people adapt more quickly than others, and debugging can sometimes be a challenge. In particular, Fusebox 4 can be a challenge for developers unfamiliar with the xml grammar, and moving smoothly between production and development mode can throw new developers for a loop. These are minor potholes, however – well outweighed by the advantages.

Benefits to using Fusebox:

  • Increased productivity
  • Increased code reusability
  • Easier code maintenance
  • More productive team development
  • Allows developers at the client sites to work on the same source code with Duo developers.

Fusedoc Documentation Standard:

  • A Fusedoc outlines responsibilities, customizations, and expectations of fuses, and is unique to each fuse.
  • No fuse can assume the existence of any variable unless it is noted in the Fusedoc for that fuse.
  • Once completed, a Fusedoc should provide all the information needed to code the fuse – no interaction with application architects or previous specifications should be needed.

Conclusion:

Fusebox framework is used in ColdFusion or PHP for developing the secure web application. Fusebox uses design and technology to create experiences that empower people to share, connect and interact.

Reference:

Top 10 Tips to make Windows Vista High Performance

Windows Vista is a great looking operating system with some awesome features, but it can be slow, unless you’ve got a hugely powerful PC to run it. For most computers however, a few quick Vista tweaks can make a massive difference in the speed of Vista for everyday use.

Here are the list of recommended Vista performance and speed tweaks:

1. Turn off Windows Search Indexing

Windows Vista search indexing is constantly reviewing files on your system to make their contents available for quick searching. This is handy, but can severely impact system performance.
To disable this constant indexing:

  • Click Start then Computer
  • Right Click the C: Drive
  • On General Tab, Uncheck Index this drive for faster searching
  • On the subsequent dialog box, Select Include subfolders and files

2. Turn off Remote Differential Compression

Remote Differential Compression measures the changes in files over a network to transfer them with minimal bandwidth rather than transferring an entire file that has previously been moved. By constantly checking for file changes, this service can hinder system performance.
To disable this service:

  • Open Control Panel
  • Switch to Classic View
  • Select Program Features
  • Choose Turn Windows features on and off
  • Scroll down and uncheck Remote Differential Compression

3. Turn off Automatic Windows Defender Operation

Windows Defender real-time protection against malware continues to run despite having Automatic operation disabled.
To disable this feature:

  • Open Control Panel
  • Select Windows Defender
  • Choose Tools from the top menu
  • Select Options
  • Uncheck Auto Start at the bottom of the window

4. Turn off Automatic Disk Defragmentation

Windows Vista and its always-on defragment feature isn’t really that necessary and can cause system slow down. Just remember to run a defrag manually every week or so.
To disable this:

  • Click Start then Computer
  • Right Click the C: Drive
  • Select the Tools Tab
  • Uncheck Run on a schedule

5. Add a 2GB or higher USB Flash drive to take advantage of Windows Ready Boost (Additional Memory Cache)

Ready Boost is Microsoft’s name for using a USB thumb/flash drive to provide some quick access memory the operating system can use as extra RAM. The Ready Boost system can significantly improve system performance.
To set this up:

  • Insert a USB Flash Drive (preferably 2GB or more)
  • Click Start then Computer
  • Right Click the USB Drive in My Computer
  • Select the Ready Boost Tab
  • Choose Use this device
  • Select as much space as you can free up for RAM usage vs. Storage

6. Turn off Windows Hibernation

Windows hibernation background services can use a large amount of system resources. If you don’t use the Hibernate feature on a regular basis you may want to disable it to give Vista a performance boost.
To disable Hibernation:

  • Select the Control Panel then Power Options
  • Click Change Plan Settings
  • Click on Change Advanced Power Settings
  • Expand the Sleep selection
  • Expand the Hibernate After selection
  • Crank the selector down to zero
  • Click Apply

7. Turn off System Restore

Analysis and restore point creation by Windows Vista can eat a fair amount of system resources. Disabling this service will obviously mean the system restore feature in Vista will not be available in the event of a system crash. Change this at your own risk.

  • Control Panel>System
  • Click System Protection on the left panel
  • Uncheck the main system drive
  • Agree to the confirmation

8. Disable User Access Control (UAC)

This much-loathed new Vista feature attempts to protect your system from malware infection by making you manually confirm a whole host of everyday user operations. While it doesn’t directly impact performance, it can be annoying and might be more hassle than good.
To disable User Access Control:

  • Click Start then Control Panel
  • Select User Accounts
  • Select Turn User Account Control on or off
  • Uncheck User Account Control Box
  • Restart as recommended

9. Disable excess Windows Services that Auto-Launch at Startup

Just like Windows XP, Vista ships with all kinds of services enabled that load at startup and may never be used by most users.
To see what loads at startup and disable the ones you likely won’t be needing (they can always be started manually later):

  • Click Start then Control Panel
  • Select Administrative Tools
  • Choose System Configuration
  • Click the Services Tab
  • You can safely deselect:

o Offline Files (unless you’re using Offline File Sync)

o Tablet PC Input Service (unless you have a tablet PC)

o Terminal Services

o Windows Search (If you have already disabled indexing)

o Fax (unless you’re using a fax modem)

10. Disable Excess Windows Features

Windows ships with other features that are listed separately in the Vista operating system from the startup services.
You can view and disable these features by:

  • Clicking Start then Control Panel
  • Select Program Features
  • On the left panel, select Turn Windows Features on or off
  • You can safely deselect:

o Indexing Service

o Remote Differential Compression

o Tablet PC Optional Components

o Windows DFS Replication Service

o Windows Fax & Scan (unless you use a modem for faxing)

o Windows Meeting Space (unless you use the Live Meeting Service)

Top 10 Tips to make Windows Vista High Performance

Windows Vista is a great looking operating system with some awesome features, but it can be slow, unless you’ve got a hugely powerful PC to run it. For most computers however, a few quick Vista tweaks can make a massive difference in the speed of Vista for everyday use.

Here are the list of recommended Vista performance and speed tweaks:

1. Turn off Windows Search Indexing

Windows Vista search indexing is constantly reviewing files on your system to make their contents available for quick searching. This is handy, but can severely impact system performance.
To disable this constant indexing:

  • Click Start then Computer
  • Right Click the C: Drive
  • On General Tab, Uncheck Index this drive for faster searching
  • On the subsequent dialog box, Select Include subfolders and files

2. Turn off Remote Differential Compression

Remote Differential Compression measures the changes in files over a network to transfer them with minimal bandwidth rather than transferring an entire file that has previously been moved. By constantly checking for file changes, this service can hinder system performance.
To disable this service:

  • Open Control Panel
  • Switch to Classic View
  • Select Program Features
  • Choose Turn Windows features on and off
  • Scroll down and uncheck Remote Differential Compression

3. Turn off Automatic Windows Defender Operation

Windows Defender real-time protection against malware continues to run despite having Automatic operation disabled.
To disable this feature:

  • Open Control Panel
  • Select Windows Defender
  • Choose Tools from the top menu
  • Select Options
  • Uncheck Auto Start at the bottom of the window

4. Turn off Automatic Disk Defragmentation

Windows Vista and its always-on defragment feature isn’t really that necessary and can cause system slow down. Just remember to run a defrag manually every week or so.
To disable this:

  • Click Start then Computer
  • Right Click the C: Drive
  • Select the Tools Tab
  • Uncheck Run on a schedule

5. Add a 2GB or higher USB Flash drive to take advantage of Windows Ready Boost (Additional Memory Cache)

Ready Boost is Microsoft’s name for using a USB thumb/flash drive to provide some quick access memory the operating system can use as extra RAM. The Ready Boost system can significantly improve system performance.
To set this up:

  • Insert a USB Flash Drive (preferably 2GB or more)
  • Click Start then Computer
  • Right Click the USB Drive in My Computer
  • Select the Ready Boost Tab
  • Choose Use this device
  • Select as much space as you can free up for RAM usage vs. Storage

6. Turn off Windows Hibernation

Windows hibernation background services can use a large amount of system resources. If you don’t use the Hibernate feature on a regular basis you may want to disable it to give Vista a performance boost.
To disable Hibernation:

  • Select the Control Panel then Power Options
  • Click Change Plan Settings
  • Click on Change Advanced Power Settings
  • Expand the Sleep selection
  • Expand the Hibernate After selection
  • Crank the selector down to zero
  • Click Apply

7. Turn off System Restore

Analysis and restore point creation by Windows Vista can eat a fair amount of system resources. Disabling this service will obviously mean the system restore feature in Vista will not be available in the event of a system crash. Change this at your own risk.

  • Control Panel>System
  • Click System Protection on the left panel
  • Uncheck the main system drive
  • Agree to the confirmation

8. Disable User Access Control (UAC)

This much-loathed new Vista feature attempts to protect your system from malware infection by making you manually confirm a whole host of everyday user operations. While it doesn’t directly impact performance, it can be annoying and might be more hassle than good.
To disable User Access Control:

  • Click Start then Control Panel
  • Select User Accounts
  • Select Turn User Account Control on or off
  • Uncheck User Account Control Box
  • Restart as recommended

9. Disable excess Windows Services that Auto-Launch at Startup

Just like Windows XP, Vista ships with all kinds of services enabled that load at startup and may never be used by most users.
To see what loads at startup and disable the ones you likely won’t be needing (they can always be started manually later):

  • Click Start then Control Panel
  • Select Administrative Tools
  • Choose System Configuration
  • Click the Services Tab
  • You can safely deselect:

o Offline Files (unless you’re using Offline File Sync)

o Tablet PC Input Service (unless you have a tablet PC)

o Terminal Services

o Windows Search (If you have already disabled indexing)

o Fax (unless you’re using a fax modem)

10. Disable Excess Windows Features

Windows ships with other features that are listed separately in the Vista operating system from the startup services.
You can view and disable these features by:

  • Clicking Start then Control Panel
  • Select Program Features
  • On the left panel, select Turn Windows Features on or off
  • You can safely deselect:

o Indexing Service

o Remote Differential Compression

o Tablet PC Optional Components

o Windows DFS Replication Service

o Windows Fax & Scan (unless you use a modem for faxing)

o Windows Meeting Space (unless you use the Live Meeting Service)

Ways to improve the booting time of system

Most often I encounter a problem at my workplace which irks users. Waiting for your system boot up might be a test of your patience. There are certain programs that are configured to run automatically at Windows start up, but in case there are too many of them running unnecessarily it might slow down your system's boot up time as well as its performance.

I figured out few ways by which we can improve the speed and performance of the system.

1. Optimizing Bios

BIOS (Basic Input/output system) first boots your system and then delegates the control of your computer to operating system. In bios, usually you can do two things to boot the computer a little faster.

Set the right boot device order

This is the most common problem in computers. The configuration of booting is set to boot from Floppy driver or from CDROM / DVD drive and when both these fail it looks for your hard drive for boot records. That wastes a lot of time. To modify the BIOS you have press the F2 key(in some systems it is DEL key). As you enter the BIOS look for boot device order or BOOT option and set your Hard drive to look first for boot records.

2. Change BOOT.INI

This tip will help your Windows XP start up faster. Click on Start, then Run and type msconfig. Wait till a new Window pops up. Look for the BOOT.INI tab, you will get to see a box labeled Timeout, and a numerical value. By default, it is set at 30 seconds of waiting time before booting. Change this to 3 seconds.

3. Dual Operating systems - Off dual boot options

In case you have more than one operating system installed in your  PC, say for instance you have both Windows Vista and Windows 7 beta installed. In that case your PC displays a menu asking which operating system you want to load. In case, if you don't select an operating system within 30 seconds the default operating system is gets loaded.

Follow the same method as in above point.  Move to the Msconfig and select the Boot tab. Change the number to a lower setting say 5 seconds, so that you have enough time to make your choice.

4. Prefetch

This is a simple hack for Windows XP to speed up your booting.  Simply browse to the Windows folder (Ex: C:\WIndows). Look for the Prefetch folder. Delete all the files in the Prefetch folder.

In order to tweak it you need to edit a registry key. Follow the steps below

Step 1:
Open regedit and browse to the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters

Step 2: Under this key look for a value - EnablePrefetcher

It contains 4 possible values

Set the value to 2 and reboot. This will allow us to keep the advantage of caching system files and stop clogging the system with applications.

6. Hibernation

Hibernation enables the system to close and open faster than the normal speed. For Windows XP you can do the following to activate Hibernation

Step 1: Go to Start >Control Panel >Power Options

Step 2: Click on the Hibernate tab

Step 3: Check the box that reads Enable Hibernation

Step 4: Click on the Advanced tab and change the Power buttons option if you want to hibernate by pressing the sleep button or the power button. Alternately, you can hold the Shift key while in the Turn Off Computer menu you can get the option to hibernate.

Step 5: Restart your PC every week or so to clear your computer

7. Clean the registry

The more the size of your Windows registry the longer it takes to boot the OS. Use registry cleaners to clean up the registry. You can try the free ones like easy cleaner software.

8. Adding RAM

Faster hardware enables faster boot up. There is no easier and more effective way to speed up your boot than to improve the hardware's performance.

9. Get rid of extra users

To secure Windows Vista you might create different user accounts or a password-protected user account. However, in case you are the only person who uses the system you can save the boot time by having just one account with no password. This would speed up the time it takes to load Windows Vista as won't have to load the User Account log-in screen and wait for the password.

10. Defrag your drive

Defragmentation of your hard drives allows your PC to find and access the files faster. This will also help your computer to run and load faster than usual. To run the Disk Defragmenter in Windows Vista type defrag in the start button.

For Windows XP follow the steps below for defragmentation

Step1:Open My Computer.

Step2: Right-click the local disk volume that you want to defragment, and then click properties.

Step3: On the Tools tab, click Defragment Now.

Step 4: Click Defragment

11. Removing all fonts which are rarely used

Uninstalling unused fonts frees up a whole lot of memory of Windows and eventually reduces the time to boot your system.

1. Simply go to Window’s Fonts Folder. Select all fonts that you never/rarely use and just press the DEL key.

Though I do not like the first method because it deletes all the fonts. Here is effective process to retain the fonts and still delete them from that folder.

2. Simply stop the loading up of unused fonts at system startup (instead of completely deleting them). For this, just COPY all unused fonts from the Window’s Fonts Folder and PASTE them at any other location on hard drive. Now DELETE all the unused Fonts (those you recently copied to another location) from the Window’s Fonts Folder.

The next time Windows Boots up, it will definitely be faster than previous boots.

Ways to improve the booting time of system

Most often I encounter a problem at my workplace which irks users. Waiting for your system boot up might be a test of your patience. There are certain programs that are configured to run automatically at Windows start up, but in case there are too many of them running unnecessarily it might slow down your system's boot up time as well as its performance.

I figured out few ways by which we can improve the speed and performance of the system.

1. Optimizing Bios

BIOS (Basic Input/output system) first boots your system and then delegates the control of your computer to operating system. In bios, usually you can do two things to boot the computer a little faster.

Set the right boot device order

This is the most common problem in computers. The configuration of booting is set to boot from Floppy driver or from CDROM / DVD drive and when both these fail it looks for your hard drive for boot records. That wastes a lot of time. To modify the BIOS you have press the F2 key(in some systems it is DEL key). As you enter the BIOS look for boot device order or BOOT option and set your Hard drive to look first for boot records.

2. Change BOOT.INI

This tip will help your Windows XP start up faster. Click on Start, then Run and type msconfig. Wait till a new Window pops up. Look for the BOOT.INI tab, you will get to see a box labeled Timeout, and a numerical value. By default, it is set at 30 seconds of waiting time before booting. Change this to 3 seconds.

3. Dual Operating systems - Off dual boot options

In case you have more than one operating system installed in your  PC, say for instance you have both Windows Vista and Windows 7 beta installed. In that case your PC displays a menu asking which operating system you want to load. In case, if you don't select an operating system within 30 seconds the default operating system is gets loaded.

Follow the same method as in above point.  Move to the Msconfig and select the Boot tab. Change the number to a lower setting say 5 seconds, so that you have enough time to make your choice.

4. Prefetch

This is a simple hack for Windows XP to speed up your booting.  Simply browse to the Windows folder (Ex: C:\WIndows). Look for the Prefetch folder. Delete all the files in the Prefetch folder.

In order to tweak it you need to edit a registry key. Follow the steps below

Step 1:
Open regedit and browse to the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters

Step 2: Under this key look for a value - EnablePrefetcher

It contains 4 possible values

Set the value to 2 and reboot. This will allow us to keep the advantage of caching system files and stop clogging the system with applications.

6. Hibernation

Hibernation enables the system to close and open faster than the normal speed. For Windows XP you can do the following to activate Hibernation

Step 1: Go to Start >Control Panel >Power Options

Step 2: Click on the Hibernate tab

Step 3: Check the box that reads Enable Hibernation

Step 4: Click on the Advanced tab and change the Power buttons option if you want to hibernate by pressing the sleep button or the power button. Alternately, you can hold the Shift key while in the Turn Off Computer menu you can get the option to hibernate.

Step 5: Restart your PC every week or so to clear your computer

7. Clean the registry

The more the size of your Windows registry the longer it takes to boot the OS. Use registry cleaners to clean up the registry. You can try the free ones like easy cleaner software.

8. Adding RAM

Faster hardware enables faster boot up. There is no easier and more effective way to speed up your boot than to improve the hardware's performance.

9. Get rid of extra users

To secure Windows Vista you might create different user accounts or a password-protected user account. However, in case you are the only person who uses the system you can save the boot time by having just one account with no password. This would speed up the time it takes to load Windows Vista as won't have to load the User Account log-in screen and wait for the password.

10. Defrag your drive

Defragmentation of your hard drives allows your PC to find and access the files faster. This will also help your computer to run and load faster than usual. To run the Disk Defragmenter in Windows Vista type defrag in the start button.

For Windows XP follow the steps below for defragmentation

Step1:Open My Computer.

Step2: Right-click the local disk volume that you want to defragment, and then click properties.

Step3: On the Tools tab, click Defragment Now.

Step 4: Click Defragment

11. Removing all fonts which are rarely used

Uninstalling unused fonts frees up a whole lot of memory of Windows and eventually reduces the time to boot your system.

1. Simply go to Window’s Fonts Folder. Select all fonts that you never/rarely use and just press the DEL key.

Though I do not like the first method because it deletes all the fonts. Here is effective process to retain the fonts and still delete them from that folder.

2. Simply stop the loading up of unused fonts at system startup (instead of completely deleting them). For this, just COPY all unused fonts from the Window’s Fonts Folder and PASTE them at any other location on hard drive. Now DELETE all the unused Fonts (those you recently copied to another location) from the Window’s Fonts Folder.

The next time Windows Boots up, it will definitely be faster than previous boots.

Security Certificate Error While Opening Web-sites

clip_image001

clip_image002

clip_image003

Let’s see the reasons for such errors and what to do in such case.

Fix:

The main reasons for such errors are:

  • Your Computer’s date is set to a wrong value
  • The Security Certificate has really expired
  • The web-site is not trustable

Most common reason for such security certificate error is that the certificates are valid for a certain period of time, and if your computer’s date is set to other than the current date or correct date, there are high chances that you will get this warning. So the first thing to check when you receive such error is to check your computer’s date and time settings. If the date time keep re-setting again and again, then change the CMOS battery.

When you have set the date settings, you will most probably not see this error again. But if you see the Security Certificate error, then either the certificate of the website has really expired as it had to be renewed from time to time, or the site is not trustable.

TIP: Never ever put your important login id or password on such pages if you see the Security certificate error.

If you know any other solutions, please post in comments block.

Security Certificate Error While Opening Web-sites

clip_image001

clip_image002

clip_image003

Let’s see the reasons for such errors and what to do in such case.

Fix:

The main reasons for such errors are:

  • Your Computer’s date is set to a wrong value
  • The Security Certificate has really expired
  • The web-site is not trustable

Most common reason for such security certificate error is that the certificates are valid for a certain period of time, and if your computer’s date is set to other than the current date or correct date, there are high chances that you will get this warning. So the first thing to check when you receive such error is to check your computer’s date and time settings. If the date time keep re-setting again and again, then change the CMOS battery.

When you have set the date settings, you will most probably not see this error again. But if you see the Security Certificate error, then either the certificate of the website has really expired as it had to be renewed from time to time, or the site is not trustable.

TIP: Never ever put your important login id or password on such pages if you see the Security certificate error.

If you know any other solutions, please post in comments block.

Text Widget

Copyright © Vinay's Blog | Powered by Blogger

Design by | Blogger Theme by