Search This Blog

Monday, June 27, 2016

How cisco Load balancer works

Cisco ACE  Load balancer has a farm concept( a farm is a pool of target IPs).So incoming request on a port is mapped to a farm and Natting is done under a farm to send the response back to sender.

So For e.g

If a request came from a client for x.x.x.x:8008 it will land on the 8008 farm and will be routed to the farm member which is a pool of ip. The response will follow the same path as request came but while going back it will be sent back to client by the NATTED ip address .

One of the ip under 8008 farm y.y.y.1/y.y.y.2/y.y.y.3 , will send the response back to the client.Different farms have different policies for routes.In case a farm behaves in a different way it should have a different policy.

Friday, June 10, 2016

Enable flight recorder on weblogic

Add this to java options inside setDomainEnv.sh

-XX:+UnlockCommercialFeatures -XX:+FlightRecorder

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Thursday, June 9, 2016

Enable jmx weblogic

Put in startWeblogic.sh if  only for Admin server, else put in startManagedWeblogic if you want for managed server.

set JAVA_OPTIONS=%JAVA_OPTIONS% -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Saturday, June 4, 2016

Start managedweblogic with nohup

nohup ./startManagedWebLogic.sh servername  t3://xxxx:8001>>nohupxxxx.out &
nohup will prevent your process from shutting down once the terminal in which you started the process is closed.

Friday, June 3, 2016

Share internet from windows 7 to other computers via ad-hoc wifi network

In case you are short with lan cables and open ports in office and you want to share local interet from a cable to other laptops via wifinetwork, you might have to create an ad-hoc network and bridge it with the local area network.

Details below.

 

Step 1

Go to network and connections

image

Step2

Press control and select both local area connection and wireless network connection and right click --- add to bridge.

Step 3

Go to manage wireless networks

image

 

Step 4

create an ad-hoc network for other laptops to connect to your computer, name it router or whatever.

select a password and check the save the network box.(e.g network name   myrouter)

 

Step 5

Make sure you wifi antenna is on and then connect to your ad-hoc network.It should display waiting for users.

Step 6

Go to antoher computer and search for the wifi network name “myrouter” – connect to it.

Step 7

Once connected from client laptop, your computer should display the status of myrouter as connected.

Step 8

You are done , browse the internet on your client laptop which is connected to network “myrouter” hosted on your computer.

I have used connectify and other virtual router stuff but found this one more efficient and credible, more over its windows OOB so it works flawlessly.