Thursday, June 23, 2011

How to get IP of Mouse

This command will get IP of Mouse:

nodeattr -c mds=secondary

How to start nodes on cluster from terminal

Check the state of all nodes on cluster:

[admin@client5544-oem ~]$ pm -q
on:      
off:     ssltest[00-05]
unknown:

Here all 6 nodes turned OFF. Now we now its name and we should turn it ON:

[admin@client5544-oem ~]$ pm -1 ssltest[00-05]

Now check the state of all nodes on cluster again:

[admin@client5544-oem ~]$ pm -q
on:     ssltest[00-05]    
off:
unknown:

Done

Links to examples of how to use Vector class in Java

Java class Vector example link #1:

http://webcache.googleusercontent.com/search?q=cache:R0E18-chhhoJ:www.roseindia.net/java/beginners/vectordemo.shtml+vector+java+example&cd=1&hl=ru&ct=clnk&client=safari&source=www.google.com


Java class Vector example link #2 (it is a bad example - anonymous constructor is written with small letter):



Java class Vector example link #3:

All links are results of the Google search, yep... that way )