Search This Blog

Tuesday, April 19, 2005

WebCache coreok settings

To test:
Using a "release" (optimized) build:
1. Start WC, using "webcachectl start", and send it a SIGSEGV. Verify
that a tracedump file is created
2. Start WC using "webcachectl start coreok", and send it a SIGSEGV.
Verify that a core dump is created in the directory from which you ran the
webcachectl command
3. Start WC using "opmnctl startproc ias-component=WebCache" and send it a
SIGSEGV. Verify that a tracedump is created
4. Start WC using "opmnctl startproc ias-component=WebCache WCCORE=true"
and send it a SIGSEGV. Verify that a core dump is created in $ORACLE_HOME
5. Edit opmn.xml, adding the following to the WebCache component:





Restart OPMN and Web Cache and send a SIGSEGV. Verify that a core dump
is created in $ORACLE_HOME
.
Using a debug build:
.
* Try all 4 scenarios for the optimized build. They should all create
core files
.
Note: These tests should be performed prior to every release to verify that
tracedumping and core dumping is working appropriately
On Some platforms like lunux you may need to run the script
Ensure the webcache executables have the stuid flag set.
- login as root
- run $ORACLE_HOME/webcache/bin/webcache_setuser.sh setroot

Tuesday, March 29, 2005

Important Notes

We recently had the same issue. This works fine when we give http://machine.com:port//, Please try with the following.Rather than giving a line like give a line like in $OH/j2ee/mywebapp/config/default-web-site.xml Please check after this.

Saturday, March 19, 2005

RedHat cluter manager

Steps

Attach the firewire disk

[root@indl224ad etc]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
64 heads, 32 sectors/track, 76319 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 9538 9766896 83 Linux
/dev/sda2 9539 19076 9766912 83 Linux
/dev/sda3 19077 28614 9766912 83 Linux
/dev/sda4 28615 76319 48849920 5 Extended
/dev/sda5 28615 28710 98288 83 Linux
/dev/sda6 28711 28806 98288 83 Linux
/dev/sda7 28807 29761 977904 83 Linux
/dev/sda8 29762 44067 14649328 83 Linux


Here I mapped /dev/sda1 and /dev/sda2 as the quorum disks.

Enter the following in the file /etc/syconfig/rawdevices

/dev/raw/raw1 /dev/sda5
/dev/raw/raw2 /dev/sda6

And do

service rawdevices start

after this issue the command the

raw -qa

And install the redhat cluster software on both the nodes ,

Configure the redhat cluster , and run the command ,

service clumanger start

to stop the cluster ,

stop the cluster by giving the command ,

service clumanager stop
service rawdevices stop

and do the same on other machine.