You can use RCLI and vifs command. More info at
http://www.vm-help.com/esx/esx3i/esx_3i_rcli/vifs.php
Examples:
List files in datastore directory:
vifs --server 192.168.4.4 --username root --password ***** --dir "[Datastore1]/win2k3"
Download file from ESX3i Datastore:
vifs --server 192.168.4.4 --username root --dc ha-datacenter --password ***** --get "[Datastore1] /win2k3/win2k3-flat.vmdk" my-clone.vmdk
Notes:
File write speed around 1MBps only
I believe the Next Generation Computing is Software Defined Infrastructure on top of the robust physical infrastructure. You can ask me anything about enterprise infrastructure (virtualization, compute, storage, network) and we can discuss it deeply on this blog. Don't hesitate to contact me.
Saturday, May 09, 2009
Tuesday, March 31, 2009
Saturday, March 14, 2009
On demand VNC server with GDM
Each user can login (via ssh) to *nix server and start vncserver. Then he can login to X11 desktop via VNC viewer with defined vnc password. But it's far far away from nice solution. Much better solution is to setup vncserver as xinetd service.
First of all you have to define new service in particular port. Add line bellow into /etc/services
First of all you have to define new service in particular port. Add line bellow into /etc/services
vnc1024 5901/tcp # VNC & GDMnow create service description for xinetd. Go to directory /etc/xinetd.d
cd /etc/xinetd.dand create file vnc1024
service vnc1024Move to runlevel 3
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 1024x800 -depth 16 -once -fp unix/:7100 -securitytypes=none
}
init 3Restart xinetd
/etc/init.d/xinetdMove back to runlevel 5
init 5And that's it. Now try connect via VNCviewer to port 6901
Wednesday, February 18, 2009
DR & BC of virtualized datacenters
Virtualization significantly helps to implement Disaster Recovery and Business Continuity scenarios. But some one can think that he can install VMware SRM software and DR&BC solution is ready. It's common mistake. VMware SRM is just arround 5% of DR&BC solution. You have to concider right technology and proper proceses with respect of your particular environment. Right technology means storage replications, network high availabaility across datacenters, automation, etc.
Nice article about VMware implementation conciderations is at http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1347066_mem1,00.html?track=NL-915&ad=689280&asrc=EM_NLN_5870851
Nice article about VMware implementation conciderations is at http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1347066_mem1,00.html?track=NL-915&ad=689280&asrc=EM_NLN_5870851
Tuesday, February 17, 2009
Configuration Point-to-Point OpenVPN link
I like OpenVPN because it's simple and it does what you need - VPN.
Let's assume that we have two un*x like servers with OpenVPN software and regular OS user openvpn in group openvpn. One server has IP address 192.168.4.10 and second 192.168.4.100.
In server 192.168.4.10 use following configuration file (openvpn.conf):
remote 192.168.4.100
ifconfig 10.0.0.1 10.0.0.2
dev tun0
port 5001
proto udp
secret /usr/local/etc/openvpn/secret.key
ping 10
comp-lzo
verb 5
mute 10
user openvpn
group openvpn
In server 192.168.4.100 use following configuration file (openvpn.conf):
remote 192.168.4.10
ifconfig 10.0.0.2 10.0.0.1
dev tun0
port 5001
proto udp
secret /usr/local/etc/openvpn/secret.key
ping 10
comp-lzo
verb 5
mute 10
user openvpn
group openvpn
In one of this two servers create secret.key by issuing following command:
openvpn --genkey --secret /usr/local/etc/openvpn/secret.key
Finaly:
Somehow (for example scp) copy secret key to second server into correct location and run openvpn daemons on both servers. On servers new network interface appears (tap) with IP addresses (10.0.0.1 and 10.0.0.2) and you can ping these 10.0.0.1-2 IP addresses over secure VPN link.
Here we go.
Let's assume that we have two un*x like servers with OpenVPN software and regular OS user openvpn in group openvpn. One server has IP address 192.168.4.10 and second 192.168.4.100.
In server 192.168.4.10 use following configuration file (openvpn.conf):
remote 192.168.4.100
ifconfig 10.0.0.1 10.0.0.2
dev tun0
port 5001
proto udp
secret /usr/local/etc/openvpn/secret.key
ping 10
comp-lzo
verb 5
mute 10
user openvpn
group openvpn
In server 192.168.4.100 use following configuration file (openvpn.conf):
remote 192.168.4.10
ifconfig 10.0.0.2 10.0.0.1
dev tun0
port 5001
proto udp
secret /usr/local/etc/openvpn/secret.key
ping 10
comp-lzo
verb 5
mute 10
user openvpn
group openvpn
In one of this two servers create secret.key by issuing following command:
openvpn --genkey --secret /usr/local/etc/openvpn/secret.key
Finaly:
Somehow (for example scp) copy secret key to second server into correct location and run openvpn daemons on both servers. On servers new network interface appears (tap) with IP addresses (10.0.0.1 and 10.0.0.2) and you can ping these 10.0.0.1-2 IP addresses over secure VPN link.
Here we go.
Sunday, February 15, 2009
Scripting reference manuals
Command line reference for Windows, Bash, Oracle, and SQL Server
http://www.ss64.com/index.html
http://www.ss64.com/index.html
Friday, January 30, 2009
Creating the 64 KB aligned partition with Diskpart.exe
Once you are at the command prompt, use Diskpart.exe to create an aligned partition. To do so, type in the following:
diskpart
select disk 0
create partition primary align=64
You can now exit diskpart by typing 'exit'.
Thursday, January 08, 2009
Tuesday, January 06, 2009
Monday, January 05, 2009
Tuesday, December 23, 2008
Top 10 PowerShell scripts that VMware administrators should use
Top 10 PowerShell scripts that VMware administrators should use
By Eric Siebertpublished: Wednesday, December 10 2008
http://www.virtual-strategy.com/Eric-Siebert-s-Top-10/Top-10-PowerShell-scripts-that-VMware-administrators-should-use.html
Tuesday, December 09, 2008
iSCSI on FreeBSD
FreeBSD iSCSI howto
http://www.cyberciti.biz/faq/freebsd-iscsi-initiator-howto/
FreeBSD network link agregation
http://www.freebsd.org/doc/en/books/handbook/network-aggregation.html
http://www.cyberciti.biz/faq/freebsd-iscsi-initiator-howto/
FreeBSD network link agregation
http://www.freebsd.org/doc/en/books/handbook/network-aggregation.html
Thursday, November 27, 2008
Friday, November 21, 2008
ESX Server, IP Storage, and Jumbo Frames
Very good article about setting end-to-end Jumbe Frames on VMware environment.
http://blog.scottlowe.org/2008/04/22/esx-server-ip-storage-and-jumbo-frames/
Note: even it's not supported solution yet
http://blog.scottlowe.org/2008/04/22/esx-server-ip-storage-and-jumbo-frames/
Note: even it's not supported solution yet
Saturday, October 11, 2008
UBNT Wispstation - default config
UBNT: WispStation board - 22 dBm AP/klient (5 GHz)
| Default IP | 192.168.1.20 |
|---|---|
| Default name | ubnt |
| Default password | ubnt |
Friday, October 10, 2008
System Information for Windows
SIW is an advanced System Information for Windows tool that gathers detailed information about your system properties and settings and displays it in an extremely comprehensible manner.
http://www.gtopala.com/
This tool is extremely useful when you need to get your activation code from already installed Windows OS. When this tool does not work you can try KeyFinder
http://magicaljellybean.com/keyfinder/
http://www.gtopala.com/
This tool is extremely useful when you need to get your activation code from already installed Windows OS. When this tool does not work you can try KeyFinder
http://magicaljellybean.com/keyfinder/
Wednesday, October 01, 2008
New VMware technologies are comming ...
Look at web-casts bellow to see what new technologies are coming from VMware.
VMware FT (Fault Tolerance)
http://download3.vmware.com/vdcos/demos/FT_Demo_800x600.html
VMWare Distributed Virtual Switch
http://download3.vmware.com/vdcos/demos/DVS_Demo_800x600.html
Host Profiles
http://download3.vmware.com/vdcos/demos/Hostprofiles_Linked_VC_800x600.html
Storage vMotion (GUI)
http://download3.vmware.com/vdcos/demos/Storage_VMotion_800x600.html
VMware FT (Fault Tolerance)
http://download3.vmware.com/vdcos/demos/FT_Demo_800x600.html
VMWare Distributed Virtual Switch
http://download3.vmware.com/vdcos/demos/DVS_Demo_800x600.html
Host Profiles
http://download3.vmware.com/vdcos/demos/Hostprofiles_Linked_VC_800x600.html
Storage vMotion (GUI)
http://download3.vmware.com/vdcos/demos/Storage_VMotion_800x600.html
Citrix XenServer & EqualLogic Storage Integration
No words are needed. Just watch demo at http://bits.xensource.com/demo/Dell/eql/xenserver_equallogic_demo.htm
Sunday, August 24, 2008
How to crimp RJ45 connector?
There are two norms EIA TIA 568A and 568B. Look at picture.

Nice article with more information is at http://www.ertyu.org/steven_nikkel/ethernetcables.html

Nice article with more information is at http://www.ertyu.org/steven_nikkel/ethernetcables.html
Thursday, July 24, 2008
VirusTotal
Virustotal is a service that analyzes suspicious files and facilitates the quick detection of viruses, worms, trojans, and all kinds of malware detected by antivirus engines. More information...
Subscribe to:
Posts (Atom)