download courflags from
http://www.virtualvcp.com/content/view/26/1/
then do a
courflags "C:\Program Files (x86)\Veeam\Veeam Backup and FastSCP\VeeamShell.exe" /32BIT+"
big thanks to
http://www.everything-virtual.com/?p=279
Thursday, January 19, 2012
Monday, January 16, 2012
vmware server 2 remote client problem on linux
goto somewhere like the below
cd ~/.mozilla/firefox/r1ejwkml.default/extensions/VMwareVMRC@vmware.com/plugins
and run
./vmware-vmrc -h "localhost:8333"
cd ~/.mozilla/firefox/r1ejwkml.default/extensions/VMwareVMRC@vmware.com/plugins
and run
./vmware-vmrc -h "localhost:8333"
Saturday, January 14, 2012
Tuesday, January 10, 2012
Friday, December 16, 2011
rsync vs scp
Remember not to try to rsync like scp, DO NOT SPECIFY PATH, instead look at the [] sections in rsyncd.conf called MODULES and use the below syntax
rsync * 192.168.1.1::MODULE_NAME
REMEMBER YOU ASS
rsync * 192.168.1.1::MODULE_NAME
REMEMBER YOU ASS
Wednesday, November 30, 2011
Sunday, November 06, 2011
MS SQL Server update based on two tables
update r
set pass = x.pass
from InternetUser r inner join InternetUser x
on r.id = x.id
where r.pass = 'kjfkd9wjj2390eds9d';
Friday, November 04, 2011
Wednesday, November 02, 2011
windows server domain policy
Simple thing took sooo much of my time
to change domain group policies that effect all domain machines change the Domain Security Policy under Administrative Tools not Local Group Policy by adding it under an mmc
Also to see which group policies are in effect in the domain look at gpresult /v >gposettings.txt
to change domain group policies that effect all domain machines change the Domain Security Policy under Administrative Tools not Local Group Policy by adding it under an mmc
Also to see which group policies are in effect in the domain look at gpresult /v >gposettings.txt
Tuesday, July 19, 2011
resize disk vmware vsphere
resize the disk from vsphere client,
in linux client do a
echo 1 > /sys/bus/scsi/devices/0\:0\:0\:0/rescan
# replace 0\:0\:0\:0 with your own disk scsi id and then
resize2fs /dev/sda
PS: In case a new disk was added to the SCSI bus you need to
echo "- - -" > /sys/class/scsi_host/host0/scan
PS: In case a new disk was added to the SCSI bus you need to
echo "- - -" > /sys/class/scsi_host/host0/scan
Saturday, July 16, 2011
shrink vmware vmdk virtual disk ESXi 4
use vmware converter to create a copy of the virtual machine which needs to be powered ON for the converter to see the actual data, resize the disks also choose advanced thin for the disk type and have fun, remove the old machine later.
vmware converter helper server error
When vmware can not find the vmware helper server for conversion make sure that
1. conveter and esx server and the machine being converted are on the same lan (check the vlan property before converting)
2. the vlan on which the helper and these other machines are does have a DHCP server on, otherwise configure static IP for the helper
Tuesday, June 28, 2011
use listagg to convert columns into rows
SELECT id, LISTAGG(str, ',') WITHIN GROUP (ORDER BY str) AS name
FROM new_test
GROUP BY id;
gives you
1 a,b,c
2 d,e
3 f
from
1 a
1 b
1 c
2 d
2 e
3 f
Tuesday, June 21, 2011
previous not null values of a field in oracle
select lastprice, lag(lastprice ignore nulls,1) over (order by statdate) from daily_statistics
automount a specific directory with autofs
this is what we do
first umount your directory then mount the location you want to another directory and later create a symbolic link with the name you need
umount /usr/local/apache-tomcat-6.0.26/information-repository
rmdir /usr/local/apache-tomcat-6.0.26/information-repository
vi /etc/auto/master
/usr/local/mounts /etc/auto.nfs
vi /etc/auto.nfs
m_29 -fstype=nfs,rw 192.168.0.29:/u01/information-repository
mkdir /usr/local/mounts/m_29
ln -s /usr/local/mounts/m_29 /usr/local/apache-tomcat-6.0.26/information-repository
first umount your directory then mount the location you want to another directory and later create a symbolic link with the name you need
umount /usr/local/apache-tomcat-6.0.26/information-repository
rmdir /usr/local/apache-tomcat-6.0.26/information-repository
vi /etc/auto/master
/usr/local/mounts /etc/auto.nfs
vi /etc/auto.nfs
m_29 -fstype=nfs,rw 192.168.0.29:/u01/information-repository
mkdir /usr/local/mounts/m_29
ln -s /usr/local/mounts/m_29 /usr/local/apache-tomcat-6.0.26/information-repository
Friday, June 17, 2011
mount with UUID
get a blkid to find the UUID of the device you are after then in /etc/fstab do like this:
UUID=41c22818-fbad-4da6-8196-c816df0b7aa8 /disk1 ext3 defaults 0 0
Thursday, June 16, 2011
split the internet into 8 parts :)
1.0.0.0/255.0.0.0
2.0.0.0/254.0.0.0
4.0.0.0/252.0.0.0
8.0.0.0/248.0.0.0
16.0.0.0/240.0.0.0
32.0.0.0/224.0.0.0
64.0.0.0/192.0.0.0
128.0.0.0/128.0.0.0
2.0.0.0/254.0.0.0
4.0.0.0/252.0.0.0
8.0.0.0/248.0.0.0
16.0.0.0/240.0.0.0
32.0.0.0/224.0.0.0
64.0.0.0/192.0.0.0
128.0.0.0/128.0.0.0
Saturday, June 11, 2011
fortinet SSL VPN client automatic startup
download the client from here:
http://internal.enterprisecomponent.com/download/FortiClientSSLVPN/forticlientsslvpn_linux_4.0.2010.tar.gz
start the client and in advanced check save password and persistent connection
add the vpn client to the startup of a vnc server in ~/.vnc/xstartup
start the vncserver automatically by editing /etc/sysconfig/vncserver
and chkconifg vncserver on
Thursday, June 09, 2011
cacti add simple graph for a value from script
read this babe:
http://www.cacti.net/downloads/docs/html/how_to.html
http://www.cacti.net/downloads/docs/html/how_to.html
cacti monitor link
1. add the ip address you want to monitor as a new device
2. Add the "Unix-Ping Latency" graph template to it.
3. Add a new graph of the above template to your device.
BIG thanks to: http://www.networknet.nl/apps/wp/archives/367
2. Add the "Unix-Ping Latency" graph template to it.
3. Add a new graph of the above template to your device.
BIG thanks to: http://www.networknet.nl/apps/wp/archives/367
Subscribe to:
Posts (Atom)