Monday, December 15, 2008

Windows whereis

Save this script into whereis.bat, copy it into executable folder such as c:\windows

@echo off

setlocal
set FOUNDFLAG=0

:# Add the current directory to the path for duration of this program only.
set PATH=%PATH%;.

if exist "%~$PATH:1" ( echo Found at %~$PATH:1  && set FOUNDFLAG=1)

:# We want to look for each of the possible extensions that could be executed.
:# Replace . with space.
set SPEC=%PATHEXT:.= %

:# Replace ; with nothing.
set SPEC=%SPEC:;=%

:#Iterate across extensions, checking for each one on the path.
for %%a in (%SPEC%) do call :CHECK %1.%%a

goto :CLEANUP


:CHECK

if exist "%~$PATH:1" ( echo Found at %~$PATH:1 && set FOUNDFLAG=1 )

goto :EOF

:CLEANUP
if not %FOUNDFLAG% == 1 echo No runnable file found for %1
endlocal
goto :EOF

Sunday, December 14, 2008

Learn Unix/Linux system in 10 minutes ...

Want to learn Unix in 10 minutes?

http://freeengineer.org/learnUNIXin10minutes.html

Unix command summary, credit to University of Utah

For basic tutorial in Malay, I made a copy from Trunasuci to make sure it available for everyone..

http://adlinux.blogdrive.com/

credit to Mr Arafat aka Trunasuci for the great tutorial … My first Redhat Linux installation a couple years ago was done by referring to this tutorial.

Who am I?

Saturday, November 8, 2008

Differences between active-active and active-passive


Table 1-1: Difference between active-active and active-passive

Active-active

Active-passive

Setup: Two Adaptive Servers are configured as companion servers, each with independent workloads. These companions run on the primary and secondary nodes, respectively, as individual servers until one fails over.

Setup: A single Adaptive Server runs either on the primary node or on the secondary node. The Adaptive Server runs on the primary node before a fail over and the secondary node after fail over.

Failover: When fail over occurs, the secondary companion takes over the devices, client connections, and so on from the primary companion. The secondary companion services the failed-over clients, as well as any new clients, until the primary companion fails back and resumes its activities.

Failover: When a system fails over, the Adaptive Server and its associated resources are relocated to, and restarted on, the secondary node.

Failback: Failback is a planned event during which the primary companion takes back its devices and client connections from the secondary companion to resume its services.

Failback: Failback is a planned fail over or relocation of the Adaptive Server and its resources to the primary node. Failback is not required, but can be done for administrative purposes.

Client Connection failover: During failover, clients connect to the secondary companion to resubmit their uncommitted transactions. During failback, clients connect to the primary companion to resubmit their transactions. Clients with the failover property reestablish their connections automatically.

Client Connection failover: During failover and failback, clients connect to the same Adaptive Server to resubmit uncommitted transactions. Clients with the failover property reestablish their connections automatically.

excerpt from http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.ase_15.0.ha_avail/html/ha_avail/ha_avail3.htm

Wednesday, October 29, 2008

GNS3 - The Journey of Cisco PIX Firewall / Graphical Network Simulator


Well, start with manually install the Microsoft Loopback adapter in Windows XP


http://support.microsoft.com/kb/839013

LinkWithin

Related Posts with Thumbnails