June 28, 2008
June 27, 2008
Binary Digit Conversion
When ever I want to convert big numbers representing memory of Computer memory, hard disk, and data I usually use this tool to know the exact conversion easily …and quick.
If u want to download a light wait tool please download it from here …
MemoryCaliculator.htm_Download
If u want go for online tool it is here
June 26, 2008
DB2 FAQ’s
/* default css */ table { font-size: 1em; line-height: inherit; } div, address, ol, ul, li, option, select { margin-top: 0px; margin-bottom: 0px; } p { margin: 0px; } body { margin: 6px; padding: 0px; font-family: Verdana, sans-serif; font-size: 10pt; background-color: #ffffff; } @media screen { html.pageview { background-color: #f3f3f3 !important; } body { min-height: 1100px; } * html body { height: 1100px; } .pageview body { border-top: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 2px solid #bbb; border-bottom: 2px solid #bbb; width: 648px !important; margin: 15px auto 25px !important; padding: 40px 50px; } /* IE6 */ * html.pageview body { overflow-x: auto; } } h6 { font-size: 10pt } h5 { font-size: 11pt } h4 { font-size: 12pt } h3 { font-size: 13pt } h2 { font-size: 14pt } h1 { font-size: 16pt } blockquote {padding: 10px; border: 1px #DDD dashed } a img {border: 0} .pb {height: 1px} div.google_header, div.google_footer { position: relative; margin-top: 1em; margin-bottom: 1em; } /* Table of contents */ .editor div.writely-toc { background-color: #f3f3f3; border: 1px solid #ccc; } .writely-toc > ol { padding-left: 1.5em; font-weight: bold; } ol.writely-toc-subheading { padding-left: 1em; font-weight: normal; } .writely-toc-none { list-style-type: none; } .writely-toc-decimal { list-style-type: decimal; } .writely-toc-upper-alpha { list-style-type: upper-alpha; } .writely-toc-lower-alpha { list-style-type: lower-alpha; } .writely-toc-upper-roman { list-style-type: upper-roman; } .writely-toc-lower-roman { list-style-type: lower-roman; } .writely-toc-disc { list-style-type: disc; } /* end default css */ /* custom css */ /* end custom css */ /* ui edited css */ body { font-family: Times New Roman; font-size: 12.0pt; line-height: normal; background-color: #ffffff; } /* end ui edited css */ /* editor CSS */ .editor a:visited {color: #551A8B} .editor table.zeroBorder {border: 1px dotted gray} .editor table.zeroBorder td {border: 1px dotted gray} .editor table.zeroBorder th {border: 1px dotted gray} .editor div.google_header, .editor div.google_footer { border: 2px #DDDDDD dashed; position: static; width: 100%; min-height: 2em; } .editor .misspell {background-color: yellow} .editor .pb { border-top: 1px dashed #C0C0C0; border-bottom: 1px dashed #C0C0C0 } .editor .writely-comment { font-size: 9pt; line-height: 1.4; padding: 1px; border: 1px dashed #C0C0C0 } /* end editor CSS */ function DoPageLoad() { if (typeof parent.DesignPageHasLoaded != ‘undefined’) { parent.DesignPageHasLoaded(“ddqrs5q4_1dvpf4478:1″); } }
Start an instance
As an instance owner on the host running db2, issue the following command
$ db2start
Stopping the instance
$ db2stop
Connect to the database as instance owner
$ db2
as a user of the database:
$source ~instance/sqllib/db2cshrc (csh users)
$ . ~instance/sqllib/db2profile (sh users)
$ db2 connect to databasename
Create a table
$ db2-> create table employee
(ID SMALLINT NOT NULL,
NAME VARCHAR(9),
DEPT SMALLINT CHECK (DEPT BETWEEN 10 AND 100),
JOB CHAR(5) CHECK (JOB IN (‘Sales’, ‘Mgr’, ‘Clerk’)),
HIREDATE DATE,
SALARY DECIMAL(7,2),
COMM DECIMAL(7,2),
PRIMARY KEY (ID),
CONSTRAINT YEARSAL CHECK (YEAR(HIREDATE) > 1986 OR SALARY > 40500) )
A simple version:
db2-> create table employee ( Empno smallint, Name varchar(30))
Create a schema
If a user has SYSADM or DBADM authority, then the user can create a schema with any valid name. When a database is created, IMPLICIT_SCHEMA authority is granted to PUBLIC (that is, to all users). The following example creates a schema for an individual user with the authorization ID ‘joe’
CREATE SCHEMA joeschma AUTHORIZATION joe
Create an alias
The following SQL statement creates an alias WORKERS for the EMPLOYEE table:
CREATE ALIAS WORKERS FOR EMPLOYEE
You do not require special authority to create an alias, unless the alias is in a schema other than the one owned by your current authorization ID, in which case DBADM authority is required.
Create an Index:
The physical storage of rows in a base table is not ordered. When a row is inserted, it is placed in the most convenient storage location that can accommodate it. When searching for rows of a table that meet a particular selection condition and the table has no indexes, the entire table is scanned. An index optimizes data retrieval without performing a lengthy sequential search. The following SQL statement creates a
non-unique index called LNAME from the LASTNAME column on the EMPLOYEE table, sorted in ascending order:
CREATE INDEX LNAME ON EMPLOYEE (LASTNAME ASC)
The following SQL statement creates a unique index on the phone number column:
CREATE UNIQUE INDEX PH ON EMPLOYEE (PHONENO DESC)
Drop a database:
Db2 drop database sample
Alter tablespace
Adding a Container to a DMS Table Space You can increase the size of a DMS table space (that is, one created with the MANAGED BY DATABASE clause) by adding one or more containers to the table
space. The following example illustrates how to add two new device containers (each with 40 000 pages) to a table space on a UNIX-based system:
ALTER TABLESPACE RESOURCE
ADD (DEVICE ‘/dev/rhd9′ 10000,
DEVICE ‘/dev/rhd10′ 10000)
The following SQL statement drops the table space ACCOUNTING:
DROP TABLESPACE ACCOUNTING
You can reuse the containers in an empty table space by dropping the table space but you must COMMIT the DROP TABLESPACE command, or have had AUTOCOMMIT on, before attempting to reuse the containers. The following SQL statement creates a new temporary table space called TEMPSPACE2:
CREATE TEMPORARY TABLESPACE TEMPSPACE2 MANAGED BY SYSTEM USING (‘d’)
Once TEMPSPACE2 is created, you can then drop the original temporary table space TEMPSPACE1 with the command: DROP TABLESPACE TEMPSPACE1
Add Columns to an Existing Table
When a new column is added to an existing table, only the table description in the system catalog is modified, so access time to the table is not affected immediately. Existing records are not physically altered
until they are modified using an UPDATE statement. When retrieving an existing row from the table, a null or default value is provided for the new column, depending on how the new column was defined. Columns that are added after a table is created cannot be defined as NOT NULL: they must be defined as either NOT NULL WITH DEFAULT or as nullable. Columns can be added with an SQL statement. The following statement uses the ALTER TABLE statement to add three columns to the EMPLOYEE table:
ALTER TABLE EMPLOYEE
ADD MIDINIT CHAR(1) NOT NULL WITH DEFAULT
ADD HIREDATE DATE
ADD WORKDEPT CHAR(3)
GrantPermissions by Users
The following example grants SELECT privileges on the EMPLOYEE table to the user HERON:
GRANT SELECT ON EMPLOYEE TO USER HERON
The following example grants SELECT privileges on the EMPLOYEE table to the group HERON:
GRANT SELECT ON EMPLOYEE TO GROUP HERON
GRANT SELECT,UPDATE ON TABLE STAFF TO GROUP PERSONNL
If a privilege has been granted to both a user and a group with the same name, you must specify the GROUP or USER keyword when revoking the privilege. The following example revokes the SELECT privilege on the EMPLOYEE table from the user HERON:
REVOKE SELECT ON EMPLOYEE FROM USER HERON
To Check what permissions you have within the database
SELECT * FROM SYSCAT.DBAUTH WHERE GRANTEE = USER AND GRANTEETYPE = ‘U’
SELECT * FROM SYSCAT.COLAUTH WHERE GRANTOR = USER
At a minimum, you should consider restricting access to the SYSCAT.DBAUTH, SYSCAT.TABAUTH, SYSCAT.PACKAGEAUTH, SYSCAT.INDEXAUTH, SYSCAT.COLAUTH, and SYSCAT.SCHEMAAUTH catalog views. This would prevent information on user privileges, which could be used to target an authorization name for break-in, becoming available to everyone with access to the database. The following statement makes the view available to every authorization name:
GRANT SELECT ON TABLE MYSELECTS TO PUBLIC
And finally, remember to revoke SELECT privilege on the base table:
REVOKE SELECT ON TABLE SYSCAT.TABAUTH FROM PUBLIC
Delete Records from a table
db2-> delete from employee where empno = ’001′
db2-> delete from employee
The first example will delete only the records with emplno field = 001 The second example deletes all the records
Import Command
Requires one of the following options: sysadm, dbadm, control privileges on each participating table or view, insert or select privilege, example:
db2->import from testfile of del insert into workemployee
where testfile contains the following information 1090,Emp1086,96613.57,55,Secretary,8,1983-8-14
or your alternative is from the command line:
db2 ” import from ‘testfile’ of del insert into workemployee”
db2
db2 import from test file of del insert into workemployee
Load Command:
Requires the following auithority: sysadm, dbadm, or load authority on the database:
example: db2 “load from ‘testfile’ of del insert into workemployee”
You may have to specify the full path of testfile in single quotes
Authorization Level:
One of the following:
sysadm
dbadm
load authority on the database and
INSERT privilege on the table when the load utility is invoked in INSERT mode, TERMINATE mode
(to terminate a previous load insert operation), or RESTART mode (to restart a previous load insert
operation)
INSERT and DELETE privilege on the table when the load utility is invoked in REPLACE mode,
TERMINATE mode (to terminate a previous load replace operation), or RESTART mode (to restart a
previous load replace operation)
INSERT privilege on the exception table, if such a table is used as part of the load operation.
Caveat:
If you are performing a load operation and you CTRL-C out of it, the tablespace is left in a load pending state. The only way to get out of it is to reload the data with a terminate statement
First to view tablestate:
Db2 list tablespaces show detail will display the tablespace is in a load pending state.
Db2tbst
Here is the original query
Db2 “load from ‘/usr/seela/a.del’ of del insert into A”;
If you break out of the load illegally (ctrl-c), the tablespace is left load pending.
To correct:
Db2 “load form ‘/usr/seela/a.del’ of del terminate into A”;
This will return the table to it’s original state and roll back the entries that you started loading.
If you try to reset the tablespace with quiesce, it will not work . It’s an integrety issue
DB2BATCH- command
Reads SQL statements from either a flat file or standard input, dynamically prepares and describes the statements and returns an answer set: Authorization: sysadmin .and Required Connection -None..eg
db2batch -d databasename -f filename -a userid/passwd -r outfile
DB2expln – DB2 SQL Explain Tool
Describes the access plan selection for static SQL statements in packages that are stored in the DB2 common server systems catalog. Given the database name, package name ,package creator abd section
number the tool interprets and describes the information in these catalogs.
DB2exfmt – Explain Table Format Tool
DB2icrt – Create an instance
DB2idrop – Dropan instance
DB2ilist – List instances
DB2imigr – Migrate instances
DB2iupdt – Update instances
Db2licm – Installs licenses file for product ;
db2licm -a db2entr.lic
DB2look – DB2 Statistics Extraction Tool
Generates the updates statements required to make the catalog statistics of a test database match those of a production. It is advantageous to have a test system contain asubset of your production system’s data.
This tool queries the system catalogs of a database and outputs a tablespace n table index, and column information about each table in that database Authorization: Select privelege on system catalogs Required
Connection – None. Syntax
db2look -d databasename -u creator -t Tname -s -g -a -p -o
Fname -e -m -c -r -h
where -s : generate a postscript file, -g a graph , -a for all users in the database, -t limits output to a particular tablename, -p plain text format , -m runs program in mimic mode, examples:
db2look -d db2res -o output will write stats for tables created in db
db2res in latex format
db2look -p -a -d db2res -o output – will write stats in plain text format
DB2 -list tablespaces show detail
displays the following information as an example:
Tablespaces for Current Database
Tablespace ID = 0
Name = SYSCATSPACE
Type = System managed space
Contents = Any data
State = 0×0000
Detailed explanation:
Normal
Total pages = 2925
Useable pages = 2925
Used pages = 2925
Free pages = Not applicable
High water mark (pages) = Not applicable
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 32
Number of containers = 1
db2tbst – Get tablespace state.
Authorization – none , Required connection none, syntax db2tbst tabpespace-state:The state value is part of the output of list tablespaces example
db2tbst 0X0000 returns state normal
db2tbst 2 where 2 indicates tablespace id 2 will also work
DB2dbdft – environment variable
Defining this environment variable with the database you want to connect to automatically connects you to the database . example setenv db2dbdft sample will allow you to connect to sample by default.
CLP – Command Line Processor Invocation:
db2 starts the command line processor. The clp is used to execute database utilities, sql statements and online help. It offers a variety of command options and can be started in :
1. interactive mode : db2->
2. command mode where each command is prefixed by db2
3. batch mode which uses the -f file input option
Update the configuration in the database :
Db2 =>update db cfg for sample using maxappls 60
MAXFILOP = 64 2 – 9150
db2 => update db cfg for sample using maxappls 160
db2 => update db cfg for sample using AVG_APPLS 4
db2 =>update db cfg for sample using MAXFILOP 256
can see updated parameters from client
tcpip ….. not started up properly Check the DB2COMM variable if it it is set
db2set DB2COMM
How to terminate the database if processes are still attached:
db2 force applications all
db2stop
db2start
db2 connect to dbname (locally)
How to trace logs withing the db2diag.log file:
Connections to db fails:
Move the db2diag.log from the sqllib/db2dump directory to some other working directory ( mv db2diag.log
db2 update dbm cfg using diaglevel 4
db2stop
db2start
db2trc on -l 8000000 -e 10
db2 connect to dbname (locally)
db2trc dump 01876.trc
db2trc flw 01876.trc 01876.flw
db2trc fmt 01876.trc 01876.fmt
db2trc off
Import data from ascii file to database
db2 ” import from inp.data of del insert into test”
db2 “load from ‘/cs/home/tech1/seela/inp.data’ of del insert into seela.seela”
db2
Revoke permissions from the database from public:
db2 => create database GO3421
DB20000I The CREATE DATABASE command completed successfully.
Now I want to revoke connect, createtab bindadd on database from public
On server: db2 => revoke connect , createtab, bindadd on database from public
Now on client, as techstu, I tried to connect to go3421
db2 => connect to go3421
SQL1060N User “TECHSTU ” does not have the CONNECT privilege. SQLSTATE=08004
Now I have to grant connect privilege to group ugrad
On server:
db2 => grant connect, createtab on database to group ugrad
DB20000I The SQL command completed successfully.
Tested on client I can connect successfully.
Now on the client, I can connect as a student, list tables but not select. I
can still describe tables
To prevent this:
On server
revoke select on table syscat.columns from public
Now on client, I cannot describe but also on my tables.
db2 => revoke select on table syscat.columns from public
DB20000I The SQL command completed successfully.
db2 => grant select on table syscat.columns to group ugrad
On server:
db2 => revoke select on table syscat.indexes from public
DB20000I The SQL command completed successfully.
select * from syscat.dbauth will display all the privileges for
dbadm authority:
DBADMAUTH CREATETABAUTH BINDADDAUTH CONNECTAUTH
NOFENCEAUTH IMPLSCHEMAAUTH LOAD AUTH
select
TABNAME,DELETEAUTH,INSERTAUTH,SELECTAUTH from
syscat.tabauth
grant connect, createtab
grant connect, createtab on database to user techstu
to group ugrad
Instance Level Authority
db2 get dbm cfg
db2 get admin cfg
db2 get db cfg
CLP using filename on the command line
Db2 -f filename.clp
The -f option directs the clp to accept input from file.
Db2 +c -v +t infile .. The option can be prefixed by a + sign or turned on by a letter with a -sign
+c is turned off, -v turned on and -f turned on
c is for commit, v for verbose and f for filename
-t termination character is set to semicolon
June 24, 2008
Trip to Madurai – Rameswaram – Kanyakumari – 3
Trip (Sashay) To Madhurai – Rameswaram – Kanyakumari
Trip to Madhurai-Rameswaram-Kanyakumari – 1
Trip to Madurai – Rameswaram – Kanyakumari – 2
Gents has to visit the temple with out wearing a shirt. The main entrance to the temple is through the northern gate though the deity is facing east. The eastern entrance is kept closed except on special occasions when the deity is taken out for ceremonial bath. Three corridors surround the sanctum. The outer corridor has no special shrines, but after a walk round it the devotees cross the ‘Navarathiri mandapam’ and a pathway leads to the second corridor encircling the shrine. There stands the flag mast or ‘Kodisthambam’. From here you can have a clear view of the Goddess. A move further forward will take you in front of the sanctum. The Goddess stands with rosary in one hand as if in prayer. It is believed that Parasurama installed the Idol made of blue stone. After worshipping the Goddess, the devotees walk around the inner corridor where the shrines of Vinayagar and Thiagasundary can be seen.
After this we moved to Triveni Sangamam. As Kanyakumari is the southernmost tip of India which unites the Bay of Bengal, the Indian Ocean & the Arabian Sea. The confluence of the seas is termed as “Triveni Sangamam”.We can find different colors of sands in the beaches.we can see the difference of seas with the color of the sea water when mixed.When we see from the sky we can easily see difference between seas.Next we moved to Gandhi memorial.Gandhi Mandapam is near the Kumari Amman Temple where the ash of Mahatma Gandhi is preserved. The Mandapam is designed in such a manner that on every October 2nd, the rays of the sun fall on the spot where the ash is kept.Then we moved to Vivekanada rock.We have to go there by Lunch.They will charge 30 R/- per head.
This is just 400 metres away from the shores offerry serviceSwami Vivekananda mediated and this turned to be an important event in his life. Kanyakumari and we can reach this rock with the help of the available there. This is the place where One can have a wonderful experience here where the three seas mingle and the architecture of this memorial is appreciable. There is a Meditation Hall here. A Book Store containing the teachings & works of Swami Vivekananda is also available.
On the vivekanada rock I found this lotus.Though there are many flowers, lotus has always its special attraction.I really like this.
From this we can see tiruvalluru Statue.
Which is very big.
Next we saw the remaining places church,light house and topview point we finished lunch and took rest in room for some time and at 3 :40 PM we started to Nagarcoil, from where I booked bus to bangalore.And exactly by 5 PM we reached Nagarcoil bustop.ABT travels bus is really good and i felt it almost like Kesineni’s bus.
Thats how we finished our trip and reached bangalore at 8 AM.
June 23, 2008
Trip to Madurai – Rameswaram – Kanyakumari – 2
Trip Plan
Trip to Madhurai-Rameswaram-Kanyakumari – 1
Trip to Madurai – Rameswaram – Kanyakumari – 3
Second Day – Rameswarm
Second day We get refreshed in Madurai itself and started to Mattittavani bustand from periyar bus-stand(as we are staying just beside periyar bus stop).Mattidavni is 7 KM from periyar.Immediately we got bus to rameswaram and we started around 8:15 AM.It took almost 4 Hrs to reach Rameswaram.The route is good.once we are reaching sea shore area we feel fishy smell all the way.
The only wonderful thing on the way is the rail bridge(Pamban bridge) built in Bow shape.Which is designed in such a way that it splits into two pieces when ships crossing it.Just beside this a road bridge will be there on which we will travel by bus.
This temple is also big and we can see very very big Nandi in premises. And the temple corridor is very big and beautiful.After Darshan we had tamil style meals near temple itself and we started visiting village.Actually all the Auto people are maintaing same rate 100 R/- to see places in village and 250 R/- to see Danshkoti along with the places in village. We booked auto to see all places in village.Among all Rama Padam in sree chakram, Doordarshan TV Tower, Floating rocks in anjaneya temple,Seeta Rama Temple etc are worth watching.
After seeing all these places we spent all the time in beach which is just .5 KM from temple and then we waited for bus for which we made already reservation to go to kanyakumari and the bus was too bad
and seats were worst and even the route itself is worst.My suggestion for readers and visitors is to go back to madurai same day itself and then go to kanyakumari from madurai.At last with so many hurdles we reached Kanyakumari next day morning exactly to see sunrise.
FireFox -3 Out now !!
Latest Fire fox browser is now Firefox 3.0
and you can start downloading it from here
Download Firfox 3.0
So Hurry up..
Start browsing using Firefox 3.0
June 22, 2008
Trip to Madhurai-Rameswaram-Kanyakumari – 1
As planned Total TRIP went very well except one journey from Rameswaram to Kanyakumari.
Trip Plan
Trip to Madhurai-Rameswaram-Kanyakumari – 1
Trip to Madurai – Rameswaram – Kanyakumari – 2
Trip to Madurai – Rameswaram – Kanyakumari – 3
We reached Madhurai(Temple city) around 7:45 AM. Railway station is very near to Meenakshi amman temple and Periyar Bus stand. So we decided to take lodge near to temple.
After getting refreshed in room we immediately started moving to temple.One the way we finished breakfast and reached the Temple which is 5 minutes walk from Periyar bus stop.Temple so big so it took around 4 Hrs(9 AM to 12 :30 Pm) for us to see all the temple. I paid 50 R/- to use the camera in temple premises. But we should not take the photos in any of the main temples.
There are 12 massive gopurams in the temple, the four tallest gopurams at the outer walls (The tallest is the southern gopuram, measuring 49 metres). There are four entrances. We should enter from east gopuram .One should see the meenakshi amman first and then we have to see the sundareeswar temple.All the gopurams are covered as there is some painting work is going on.
The main entrance is to the Meenakshi Amman shrine. There are two main temples in the entire meenakshi temple one is Meenakshi amman kovil and another is Sundareeswara temple.We took special darshan tickets,and entered in to temple.The good thing I observed in all the temples is, if we took the special darshan ticket we can see the god from very close.(In other places special darshan is totally intend to cross big lines easily).No doubt one who will see the Meenakshi temple closely and deeply will get rid of their sins.Meenakshi amma looks so beautiful in the oil deepas(I didn’t see any electrical lights in any of the temples in this whole trip.Meenakshi amma holding a parrot and flowers in her hand looks amazing.Mukkera on her nose shines even in the dark oil lamps lighting also.
The temple plan looks like the below
A lotus shaped city is said to have been built by the Pandyan king Kulasekhara around the siva linga worshipped by Indra in the forest of Kadamba trees. When Lord Siva came to bless them, nectar dripped from his matted locks & hence the city was named Madhurapuri (madhu – honey), & is now known as Madurai.The Kampathadi Mandapam and Velli Ambalam are situated in the outer corridor. The scenes from the wedding cermeony of Sundareswarar & Meenakshi are depicted in the pillars of this hall. This place is one of the 5 (Pancha Sabhais) sabhas of Nataraja where Siva dances. (The other dance halls are Chidambaram, Tiruvaalankadu, Tirunelveli and Kutralam). There is a unique idol of Nataraja dancing with his right leg raised to the shoulder instead of the left. The Lord is considered to have danced thus, at the request of King Rajasekara Pandyan. Since the idol of Nataraja is covered with silver leaves, it is called Velli (silver) Ambalam.
Golden Lotus Tank
Potramarai Kulam, the sacred pond measuring 165 ft by 120 ft inside the temple is a very holy site for the devotees and people go around the lake before entering the main shrine. The etymology for the word means, the Pond with the Golden Lily and as the Lily that grows in it has a golden color. According to the legend, Lord Shiva promised to a stork that no fish or other marine life would grow here and thus no marine animals are found in the lake.In the Tamil legends, the lake is supposed to be a judge for judging a worth of a new literature. Thus, authors place their works here and the poorly written works are supposed to sink and the scholastic ones are supposed to float.
Next wonderful thing in the temple is 1000 pillars Hall, which they are using it as art museum.it is also really worth seeing as they kept the all history and photographs of the temple along with the ancient sculptures and coins etc.
After darshan and dinner we took 1 hr rest in room and immly at 3 PM started to Algar koil and Thripura kundam.We booked a cab for up and down journey to cover both of these places.Algar koil is 20 KM from periyar bus stop in south side where as thripura kundam is 10 km to periyar bus stop to north.so first we visited the algarkoil and then went to thripurakundam via perioyar bus stand itself.
Azhagar Kovil
Located 21 kms northwest of Madurai is a Vishnu Temple on a picturesque wooded hill.
Here ‘Vishnu’ presides as Meenakshi’s brother ‘Azhgar’. During the Chitrai festival in April/May, when the celestial marriage of Meenakshi to Sundareswarar is celebrated, Azhagar travels to Madurai. A gold processional icon called the Sundararajar is carried by devotees in procession from Azhagar Kovil to Madurai for wedding ritual.Azhagar Kovil is very old temple with long black rock statues of balaji,sridevi and budevi can be seen.
Palamudhirsolai, one of the six abodes of Lord Subramanya is on the same hill, about 4 kms. above. A natural spring called Nuburagangai where pilgrims bath, is located here.to go to Palamudhirsolai we will be getting buses which will charge 10R/-.On the hill we can see subramnya swamy and mahalkshmi ammavaru as well as waterfalls.
In azhagar koil we can see wondeful sculptures in different dance poses as well as narasimha swamys rare action poses.
Next we visited subramnaya temple in a cave called thripura kundam.There we can see virabdra temple in the left of entrance.
Then after dinner we took rest.started journey to Rameswaram next day morning.
June 18, 2008
How to transfer files between 2 windows machines ?
The basic thing to start with is we need to have at least one machine enabled with FTP.
So lets assume none of the machines are having FTP enabled.
So to enable FTP on windows follow the following steps in the url.
How to enable FTP
Once u enabled the FTP on any of the servers it is well known to us to transfer files using FTP from one to other either using internet explorer or using command prompt.
How to FTP
June 17, 2008
Network Calculators – Subnet Mask Calculator
Subnetting concepts are always tricky to me …when I go through I understand very clearly but when comes to practice I confused many times …hence I generally refer ones the following link always before giving subnet ranges …
Why subnetting ?
Subnetting
More abt subnetting
Basics and depth abt subnetting – Detailed explanation
Subnetting Tutor by CISCO
Many people who works in telecoms domain will face a situation to know the Possible IP ranges for a given subent.
So The following link surely helps people in calculating the
Subnet Mask,IP range etc.
N/W Calculator
IP Calculator
My Subnetting Example :
Problem :
We have been allocated a 130.16.0.0 IP address for our network. We wish to subnet this into 13 subnets and allow for the expansion in the near future. ?
Devise an IP subnet plan, giving the network, first host, last host and broadcast IP addresses for each subnet. Also specify the subnet mask you would use.
1. Calculate required number of bits to borrow for subnetting.
130 is a class B address so we can borrow from 2 to 14 bits
4 bits borrowed give us (24-2 ) = 14 subnets (not much room for expansion)
5 bits borrowed give us (25-2 ) = 30 subnets (plenty room for expansion)
So we choose to borrow 5 bits for the host part of the class B address.
This leaves 11 bits for hosts = 211-2 hosts = 2046 hosts per subnet (all 0’s and all 1’s cannot be used)
(In this question, the number of host required per subnet have not been specified (but they may be)!
2. Calculate the subnet mask
Subnet mask has all 1’s in the network+subnet part of the address.
Hence 11111111 11111111 11111000 00000000
= 255.255.248.0
3. Calculate all subnet network addresses
(in the 5 bits we have borrowed we count up sequentially from 00001 to 11110 (all 0’s and all 1’s cannot be used)
NB All 0’s in the host part refer to the subnet itself.
1st subnet = 130.16.00001 000.00000000 = 130.16.8.0
2nd subnet = 130.16.00010 000.00000000 = 130.16.16.0
3rd subnet = 130.16.00011 000.00000000 = 130.16.24.0
4th subnet = 130.16.00100 000.00000000 = 130.16.32.0
5th subnet = 130.16.00101 000.00000000 = 130.16.40.0
6th subnet = 130.16.00110 000.00000000 = 130.16.48.0
7th subnet = 130.16.00111 000.00000000 = 130.16.56.0
8th subnet = 130.16.01000 000.00000000 = 130.16.64.0
9th subnet = 130.16.01001 000.00000000 = 130.16.72.0
10th subnet = 130.16.01010 000.00000000 = 130.16.80.0
11th subnet = 130.16.01011 000.00000000 = 130.16.88.0
12th subnet = 130.16.01100 000.00000000 = 130.16.96.0
13th subnet = 130.16.01101 000.00000000 = 130.16.104.0
14th subnet = 130.16.01110 000.00000000 = 130.16.112.0
15th subnet = 130.16.01111 000.00000000 = 130.16.120.0
16th subnet = 130.16.10000 000.00000000 = 130.16.128.0
17th subnet = 130.16.10001 000.00000000 = 130.16.136.0
18th subnet = 130.16.10010 000.00000000 = 130.16.144.0
19th subnet = 130.16.10011 000.00000000 = 130.16.152.0
20th subnet = 130.16.10100 000.00000000 = 130.16.160.0
21th subnet = 130.16.10101 000.00000000 = 130.16.168.0
22th subnet = 130.16.10110 000.00000000 = 130.16.176.0
23th subnet = 130.16.10111 000.00000000 = 130.16.184.0
24th subnet = 130.16.11000 000.00000000 = 130.16.192.0
25th subnet = 130.16.11001 000.00000000 = 130.16.200.0
26th subnet = 130.16.11010 000.00000000 = 130.16.208.0
27th subnet = 130.16.11011 000.00000000 = 130.16.216.0
28th subnet = 130.16.11100 000.00000000 = 130.16.224.0
29th subnet = 130.16.11101 000.00000000 = 130.16.232.0
30th subnet = 130.16.11110 000.00000000 = 130.16.240.0
4 Calculate all address of the first host, last host and broadcast on each subnet.
First host is 1 in the host ID field (11 bits) = 000 00000001
Last host is 1 less than all 1’s in the host ID field (11 bits) = 111 11111110
Broadcast is all 1’s in the host ID field (11 bits) = 111 11111111
1st subnet =130.16.00001 000.00000000 = 130.16.8.0
First Host =130.16.00001 000.00000001 = 130.16.8.1
Last Host =130.16.00001 111.11111110 = 130.16.15.254
Broadcast =130.16.00001 111.11111111 = 130.16.15.255
2nd subnet =130.16.00010 000.00000000 = 130.16.16.0
First Host =130.16.00010 000.00000001 = 130.16.16.1
Last Host =130.16.00010 111.11111110 = 130.16.23.254
Broadcast =130.16.00010 111.11111111 = 130.16.23.255
3rd subnet =130.16.00011 000.00000000 = 130.16.24.0
First Host =130.16.00011 000.00000001 = 130.16.24.1
Last Host =130.16.00011 111.11111110 = 130.16.31.254
Broadcast =130.16.00011 111.11111111 = 130.16.31.255
4th subnet =130.16.00100 000.00000000 = 130.16.32.0
First Host =130.16.00100 000.00000001 = 130.16.32.1
Last Host =130.16.00100 111.11111110 = 130.16.39.254
Broadcast =130.16.00100 111.11111111 = 130.16.39.255
5th subnet =130.16.00101 000.00000000 = 130.16.40.0
First Host =130.16.00101 000.00000001 = 130.16.40.1
Last Host =130.16.00101 111.11111110 = 130.16.47.254
Broadcast =130.16.00101 111.11111111 = 130.16.47.255
6th subnet =130.16.00110 000.00000000 = 130.16.48.0
First Host =130.16.00110 000.00000001 = 130.16.48.1
Last Host =130.16.00110 111.11111110 = 130.16.55.254
Broadcast =130.16.00110 111.11111111 = 130.16.55.255
7th subnet =130.16.00111 000.00000000 = 130.16.56.0
First Host =130.16.00111 000.00000001 = 130.16.56.1
Last Host =130.16.00111 111.11111110 = 130.16.63.254
Broadcast =130.16.00111 111.11111111 = 130.16.63.255
8th subnet =130.16.01000 000.00000000 = 130.16.64.0
First Host =130.16.01000 000.00000001 = 130.16.64.1
Last Host =130.16.01000 111.11111110 = 130.16.71254
Broadcast =130.16.01000 111.11111111 = 130.16.71.255
9th subnet =130.16.01001 000.00000000 = 130.16.72.0
First Host =130.16.01001 000.00000001 = 130.16.72.1
Last Host =130.16.01001 111.11111110 = 130.16.79.254
Broadcast =130.16.01001 111.11111111 = 130.16.79.255
10th subnet =130.16.01010 000.00000000 = 130.16.80.0
First Host =130.16.01010 000.00000001 = 130.16.80.1
Last Host =130.16.01010 111.11111110 = 130.16.87.254
Broadcast =130.16.01010 111.11111111 = 130.16.87.255
11th subnet =130.16.01011 000.00000000 = 130.16.88.0
First Host =130.16.01011 000.00000001 = 130.16.88.1
Last Host =130.16.01011 111.11111110 = 130.16.95.254
Broadcast =130.16.01011 111.11111111 = 130.16.95.255
12th subnet =130.16.01100 000.00000000 = 130.16.96.0
First Host =130.16.01100 000.00000001 = 130.16.96.1
Last Host =130.16.01100 111.11111110 = 130.16.103.254
Broadcast =130.16.01100 111.11111111 = 130.16.103.255
13th subnet =130.16.01101 000.00000000 = 130.16.104.0
First Host =130.16.01101 000.00000001 = 130.16.104.1
Last Host =130.16.01101 111.11111110 = 130.16.111.254
Broadcast =130.16.01101 111.11111111 = 130.16.111.255
14th subnet =130.16.01110 000.00000000 = 130.16.112.0
First Host =130.16.01110 000.00000001 = 130.16.112.1
Last Host =130.16.01110 111.11111110 = 130.16.119.254
Broadcast =130.16.01110 111.11111111 = 130.16.119.255
15th subnet =130.16.01111 000.00000000 = 130.16.120.0
First Host =130.16.01111 000.00000001 = 130.16.120.1
Last Host =130.16.01111 111.11111110 = 130.16.127.254
Broadcast =130.16.01111 111.11111111 = 130.16.127.255
16th subnet =130.16.10000 000.00000000 = 130.16.128.0
First Host =130.16.10000 000.00000001 = 130.16.128.1
Last Host =130.16.10000 111.11111110 = 130.16.135.254
Broadcast =130.16.10000 111.11111111 = 130.16.135.255
17th subnet =130.16.10001 000.00000000 = 130.16.136.0
First Host =130.16.10001 000.00000001 = 130.16.136.1
Last Host =130.16.10001 111.11111110 = 130.16.143.254
Broadcast =130.16.10001 111.11111111 = 130.16.143.255
18th subnet =130.16.10010 000.00000000 = 130.16.144.0
First Host =130.16.10010 000.00000001 = 130.16.144.1
Last Host =130.16.10010 111.11111110 = 130.16.151.254
Broadcast =130.16.10010 111.11111111 = 130.16.151.255
19th subnet =130.16.10011 000.00000000 = 130.16.152.0
First Host =130.16.10011 000.00000001 = 130.16.152.1
Last Host =130.16.10011 111.11111110 = 130.16.159.254
Broadcast =130.16.10011 111.11111111 = 130.16.159.255
20th subnet =130.16.10100 000.00000000 = 130.16.160.0
First Host =130.16.10100 000.00000001 = 130.16.160.1
Last Host =130.16.10100 111.11111110 = 130.16.167.254
Broadcast =130.16.10100 111.11111111 = 130.16.167.255
21th subnet =130.16.10101 000.00000000 = 130.16.168.0
First Host =130.16.10101 000.00000001 = 130.16.168.1
Last Host =130.16.10101 111.11111110 = 130.16.175.254
Broadcast =130.16.10101 111.11111111 = 130.16.175.255
22th subnet =130.16.10110 000.00000000 = 130.16.176.0
First Host =130.16.10110 000.00000001 = 130.16.176.1
Last Host =130.16.10110 111.11111110 = 130.16.183.254
Broadcast =130.16.10110 111.11111111 = 130.16.183.255
23th subnet =130.16.10111 000.00000000 = 130.16.184.0
First Host =130.16.10111 000.00000001 = 130.16.184.1
Last Host =130.16.10111 111.11111110 = 130.16.191.254
Broadcast =130.16.10111 111.11111111 = 130.16.191.255
24th subnet =130.16.11000 000.00000000 = 130.16.192.0
First Host =130.16.11000 000.00000001 = 130.16.192.1
Last Host =130.16.11000 111.11111110 = 130.16.199.254
Broadcast =130.16.11000 111.11111111 = 130.16.199.255
25th subnet =130.16.11001 000.00000000 = 130.16.200.0
First Host =130.16.11001 000.00000001 = 130.16.200.1
Last Host =130.16.11001 111.11111110 = 130.16.207.254
Broadcast =130.16.11001 111.11111111 = 130.16.207.255
26th subnet =130.16.11010 000.00000000 = 130.16.208.0
First Host =130.16.11010 000.00000001 = 130.16.208.1
Last Host =130.16.11010 111.11111110 = 130.16.215.254
Broadcast =130.16.11010 111.11111111 = 130.16.215.255
27th subnet =130.16.11011 000.00000000 = 130.16.216.0
First Host =130.16.11011 000.00000001 = 130.16.216.1
Last Host =130.16.11011 111.11111110 = 130.16.223.254
Broadcast =130.16.11011 111.11111111 = 130.16.223.255
28th subnet =130.16.11100 000.00000000 = 130.16.224.0
First Host =130.16.11100 000.00000001 = 130.16.224.1
Last Host =130.16.11100 111.11111110 = 130.16.231.254
Broadcast =130.16.11100 111.11111111 = 130.16.231.255
29th subnet =130.16.11101 000.00000000 = 130.16.232.0
First Host =130.16.11101 000.00000001 = 130.16.232.1
Last Host =130.16.11101 111.11111110 = 130.16.239.254
Broadcast =130.16.11101 111.11111111 = 130.16.239.255
30th subnet =130.16.11110 000.00000000 = 130.16.240.0
First Host =130.16.11110 000.00000001 = 130.16.240.1
Last Host =130.16.11110 111.11111110 = 130.16.247.254
Broadcast =130.16.11110 111.11111111 = 130.16.247.255
WWW – W3 Schools
I love things learning on my own, I love to do some creative and smart things on web, It is really fun doing always for me,Playing with images , making more stylish pages visiting all possible Google links, this is how i usually pass my time in front of my lappy.When I started learning about web pages building and its development techniques and tips most of the time very basic level introductions and explanations about use of tags or etc were given extraordinarily in w3schools site.
So I love to use this for most of my doubts.
I am sure one who is beginner will love to njoy this …
So have a look at my favorite Web building Tips in CSS and other in the following links.
1.w3schools
2.CSS Introductions
3.CSS More
4.CSS Guide
5.CSS Tutorials
6.CSS Tutor