Author Archives: Dave - Page 4

java 7 download

wget --no-cookies --no-check-certificate  --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-x64.rpm"

Infiniband OMNIOS – iscsi setup

Remember that 0xFFFF is the default pKey and create your partition.

# dladm create-part -l ibp0 -P 0xFFFF pFFFF.ibp0
# ifconfig pFFFF.ibp0 plumb
# ifconfig pFFFF.ibp0 10.0.0.1/24 up

to make the interface come up automatically on reboot read here:

http://docs.oracle.com/cd/E19082-01/820-3070/getpc/index.html

http://www.c0t0d0s0.org/archives/6140-Less-known-Solaris-Features-iSCSI-with-COMSTAR.html

vyatta – xenserver

http://myvirtualfunction.net/archives/128

Change Pool Master

List all hosts

xe host-list

Promote slave

xe pool-designate-new-master host-uuid=

If the pool master is down… We need to promote a slave forcibly to master by….

xe pool-emergency-transition-to-master

xe pool-recover-slaves

More Info
and More Info

Xenserver Pool slave loses management interface

Can ping XenServer Master, and can Ping Management interface – however XenAPI appears down?

pool-emergency-reset-master master-address=

This will reset the management interface and should bring back up networking for dom0

too many files in directory to delete?

find . -name ‘*.net*’ | xargs rm

change *.net to whatever is necessary.

this will iterate through each file name and apply RM to it.

rm -f * will not work where there are too many files as it simply appends each file name to form a massive string.

xfs Maintenance

http://st-on-it.blogspot.com.au/2008/02/how-to-defragment-your-xfs-partition.html

http://serverfault.com/questions/406069/why-are-my-xfs-filesystems-suddenly-consuming-more-space-and-full-of-sparse-file

XFS on Centos 6 32bit – not compatible with life

XFS will not operate on Centos 6 32bit, you must use the 64bit version.

eom

nmap port scanning

nmap -p80 10.1.1.0/24 -oG – | grep 80/open

Will display all ports in the /24 that have port 80 open

Crontab

yum install vixie-cron crontabs
/sbin/chkconfig crond on
/sbin/service crond start