Sunday, March 29, 2009
AIX Backup in short and sweet
Another option is LVM snapshot for your system/important directories and then tar/pipe them to lzma (faster/better than bzip2). You can write the scripts yourself or search for somebody else's on google.LVM snapshotting allows you to also capture the logical volumes and only needs the space that the delta data would require. You can back up the snapshot and ensure a consistent state, then destroy the snapshot.
OPEN SOURCE DISASTER RECOVERY SOFTWARE: http://www.mondorescue.org/
You can also try STORIX but it's not free
Sunday, February 1, 2009
Ciphering/Encryption
http://en.wikipedia.org/wiki/Sha1
To view the installed cryptographic ciphers in Linux
#cat /proc/crypto
name : crc32c
driver : crc32c-generic
module : kernel
priority : 0
type : digest
blocksize : 32
digestsize : 4
name : sha1
driver : sha1-generic
module : kernel
priority : 0
type : digest
blocksize : 64
digestsize : 20
Friday, January 30, 2009
Major and Minor numbers
?? what... major and minor number....
Don't worry, I am going to tell about major and minor number... ;-)
To access any device, Operating System must be told what to do. All the routines for the specific device is jointly referred as Device Driver.
All devices controlled by the same device driver have common MAJOR number. MINOR number is used to identify the different devices and their controllers.
In another language, it can be said that: MAJOR number tells what kind of device it is and MINOR number tells about the characterstics/location of the device.
http://www.linux-tutorial.info/modules.php?name=MContent&pageid=94
Sunday, January 4, 2009
Concept on SAN and Switches
In above block diagram of SAN system, we can see mulitple servers : AIX, HP, LINUX and may be SUN, WINDOWS etc connected to storage like EMC, SAN, HITACHI (HDS) through Fibre Channel.
In between Servers and Storage, we can see Switches also called as Fabric. This switch allows the soft zoning in between the servers and storage avoiding direct connection between Servers and Storage.
(SOFT ZONING: It is the logical connection rather than hard connection between the servers and storage )
In switch, we can activate and deactivate the created the zone in between Servers and Storage.
Wait!!! I am missing something..
To create the zoning in between the Server and the Storage, you must have WWPN (World Wide Port Name) of either ends.
FYI there is a GUI software called as EFCM for SAN managementt.
==============================================================
Another thing to notice in above block diagram is that, each server goes to storage via two switches. Why should we use multi path?
Simple answer: For redundancy and multi path allows 2X speed of the data transfer.
Now the next question arises: What controls the multipath?
It's the multi-pathing software installed in the Servers. There are various types of mulitpating softwares. Basically there is MPIO (Multi Path I/O) which is default installed in AIX server.
There is another software: SDD (Subsystem Device Driver) that also controls multipath.
It really depends upon your choice to use either MPIO or SDD.
Multipath can also be considered as the technique employed for Load Balancing.
=============================================================
You know there are many questions in my mind.. ;-)
Now how does the Server recognize the different vendors Storage devices?
It's real easy answer.... It's again the software/filesets.. It's like a device driver which we call Host Attachment Software/Package.
Now the bottom line concept for the SAN system to work, there are three softwares running in the servers: OS, Multipathing software and Host Attachment Software.
================================================================
Are you interested in Switch Trunking? If yes, you can go through it, ok.. Otherwise skip it.. :-)
(FYI: If the ports connected by ISL, the port is called as E Port. Similarly if connected by Fiber, the port is called as F Port. If nothing connected , the port is called G Port)
In SAN system, Domain ID represents Switch. Usually you will find the following notation:
97(1) which implies Switch 1 Port 97
Go and find about QLogic and Emulex...
Hey by the way, I am trying to share only my knowledge. Don't rely 100% in it.. bcoz technology is ever changing. I am trying to update my every postings.
Saturday, January 3, 2009
WWPN (World Wide Port Name)
For the pretty clear concept of FIBRE CHANNEL go to :
http://www.pcmag.com/encyclopedia_term/0,2542,t=Fibre+Channel&i=43129,00.asp
IBM server series
To run AIX server
- IBM Power Blade servers
- IBM Power 520 Express
- IBM Power 550 Express
- IBM Power 560 Express
- IBM Power 570
- IBM Power 575
- IBM Power 595
i series: To run ios
Power Systems including AS/400, iSeries, and System i
Z series: Mainframe computers (developed only by IBM)
http://www-03.ibm.com/systems/z/hardware/index.html
DS series: for data storage
X series: x86 architectures INTEL processors;
x86 servers for Windows and Linux
e.g for HMC (Hardware Management Console) server
Sunday, December 28, 2008
How do I install the Administration web app in TOMCAT?
If you install Tomcat 5.5 binaries, the Administration web app is not bundled with it; this describes how to add the Administration web app to your Tomcat 5.5 installation. (Tomcat 4.1 comes with the Administration web app as part of the binary).
The following refers to a Tomcat 5.5 set up on Windows 2000, so your path names will be different on *nix platforms. In this example, Tomcat 5.5.17 in installed in c:\Program Files\Apache Software Foundation\Tomcat 5.5 (this is my CATALINA_HOME).
Unzip or untar (be careful to use GNU tar) the file containing the administration web app files (eg. apache-tomcat-5.5.17-admin.zip) to a temporary directory, eg. c:\temp.
Copy c:\temp\apache-tomcat-5.5.17\conf\Catalina\localhost\admin.xml to the directory c:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost.
Copy the entire directory tree c:\temp\apache-tomcat-5.5.17\server\webapps\admin
to the directory c:\Program Files\Apache Software Foundation\Tomcat 5.5\server\webapps. This is an overlay, so \server\webapps is just pointing you to the \server\webapps, and the admin directory with its contents will be the only thing you see added there.
Add a line to your c:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml file so that you have a user who has admin role. For example, add this line just before the last line (containing ) of the file:
Restart Tomcat.
Now when you visit
http://localhost:8080/admin you should see a page that asks for a user name and password. If you still see the "no longer loaded" error message in your browser, you must either force a full reload of the web page (in Firefox, hold down Shift key while clicking on the Reload button) or just restart your browser completely.