Feeds:
Posts
Comments

If you running out of disk space on your windows 2003 server which running on your virtual machine then what will you do???

Have you ever been in this kind situation before…..???? if you’ve been…welcome to the club……..
I am assuming that you use VMware Server and windows as your guest os right?
Let’s get down into the business……

If you have vmware workstation installled on your computer, please go to the program directory and then execute the following command on windows command line :
C:\Program Files\VMware\VMware Workstation>vmware-vdiskmanager.exe -x 1000Gb Nama_Image_Vmware.vmdk
in bahasa means that we asked vdiskmanager to expand hardisk space for our image file to 1000 Gb.
Take a look at the the log message and read carefully what it said.
If every things go exactly like we want then continue to next step.
C:\>cd “Program Files\VMware\VMware Workstation”

C:\Program Files\VMware\VMware Workstation>vmware-vdiskmanager.exe -x 950Gb “f:\
Contribute\Windows Server 2003 Standard Edition.vmdk”
Using log file C:\DOCUME~1\Admin\LOCALS~1\Temp\vmware-Admin\vdiskmanager.log
Grow: 100% done.
The old geometry C/H/S of the disk is: 1044/255/63
The new geometry C/H/S of the disk is: 124014/255/63
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
utility in the virtual machine to expand the size of the
partitions. For more information, see:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647

C:\Program Files\VMware\VMware Workstation>

Now hat our partition had been enlarge, but windows still see the old partition. So how are we gonna tell windows that he has larger disk space then before. Windows 2003 can not help you with disk management. We need third party tools like backtract or knoopix or ubuntu live cd. We neet Gparted or Qtparted.
Now set your virtual machine to boot from cdrom and turn on the vm server.Wait until you’ll see the xwindows comes up. Find
qtparted. Run the program but don’t forget to run as root. I am using backtrack live cd for doing this kind of thing. Since we want to extend our partition, you must dismount your server image before running qtparted. Otherwise you can’t resize it’s partition while their were on active status. I am using #umount /dev/sda1 (since their recognize mine as sda device)

When qtparted running, you will see your windows partition still using the old partition, now you can edit the partition table and enlarge to the maximum disk space which is 950 Gb and then click apply button. Wait for 2-3 minutes qtparted will write to existing tabel. If everythings fine then you can restart your virtual machine but now start from hardisk rather then cdrom.

You will notice that the first thing Windows 2003 server will do is to do scandisk your partition. It means that windows now see that he has more space then before. You can calm down now coz you are 99% sure.
Wait until it show you welcome screen, enter your username and password. Go to my computer, right click on your c drive and see how much disk space you have right now…….if you sure……. you can now go to sleep…….. thank’s God…

another great experiences…. do you wanna share yours…feel free to write your comment…

great link from uncle google:
http://doknir.blogspot.com/2006/07/expand-resizeenlarge-virtual-disk.html
http://www.seandeasy.com/expanding-a-drive-within-a-vmware-image/

Virtual Private Network atau VPN adalah membuat koneksi khusus antara server dan client melalui koneksi internet yang ada untuk melindungi hubungan server client. Salah satunya adalah menggunakan software opensource yang terdapat pada server Ubuntu 7.10 (Gutsy) yakni OpenVPN dan OpenVPN-GUI

Server Configurations:
Router ip address is 192.168.1.1
Server ip address is 192.168.50.2/24

Step 1
Install openvpn on ubuntu
#sudo apt-get install openvpn

Create a public key and place it to appropriate directory
#cd /etc/openvpn
#openvpn –genkey –secret static.key
You will have new public key file called static.key on your /etc/openvpn directory

Create configuration file called openvpn.conf
#touch openvpn.conf
#vi openvpn.conf

paste this configuration into your openvpn directory :

###########################################
##My OpenVPN Server configurations
##Created on December 25 2007
############################################
dev tun

ifconfig 10.8.0.1 10.8.0.2

secret /etc/openvpn/static.key

comp-lzo

port 5000

keepalive 10 60

ping-timer-rem

persist-tun

persist-key

user root

group root

daemon

save it with :qw!

Start the openvpn daemon with :

#/etc/init.d/openvpn start

Check with command ps -ax | grep openvpn

On client side please download OpenVPN GUI for windows openvpn-2.0.9-gui-1.0.3-install.exe
Install on your windows environment.

Create configuration file called home.ovpn

###########################################
##My Home OpenVPN configurations
##Created on December 25 2007
############################################
remote 192.168.50.2
dev tun

ifconfig 10.8.0.2 10.8.0.1

secret static.key

comp-lzo

port 5000

keepalive 10 60

ping-timer-rem

persist-tun

persist-key

user root

group root

Save under your C:\Program Files\OpenVPN\Config
Don’t forget to copy secret.key on your ubuntu server to your C:\Program Files\OpenVPN\Config

Now double click on your openvpn-gui icon. Click connect to your home.
If Success then you will be assign new ip address which is 10.8.0.2

Now you have just created tunnel to communicate between your windows client and you ubuntu server.

rgds,

Ehc

Kadang-kadang kita perlu merefresh windows kita. Yang pertama-tama dilakukan yang pasti adalah “backup”. Setalah refresh selesai dilakukan, yang harus dilakukan kemudian adalah merestore backup ke windows yang baru.
Beberapa kejadian yang dialami adalah sometimes even you’re an administrator you can not open folder Document and Setting.
That’s because you’re not owner of that folder.
Mati lah awak………gimana caranya yah.. ternyata security policy thd folder yg backup terbawa juga ke windows yang baru.
How to make it works for us….
Yang pertama yang harus diketahui bahwa default properties pada sebuah folder terdiri dari 3 tab yaitu General, Sharing dan Customize.lalu dimana tab untuk security???????
Go to explore, click tools – folder options. Choose view tabs and on advance setting scroll to the buttom, you will see Simple File Sharing with checkbox marked. Uncheck that share folder and click ok. Done.
Nah untuk membuka My Document yang terproteksi tadi, silahkan right click on that document, you will see Security tab, clcik advance. On Owner tab, find local administrator and then add him as owner and apply to all folder and files. Done.

Double click on your folder now and see how it goes…

Wasalam,

EHC

Pagi-pagi datang kekantor, salah satu virtual server (windowz 2003) gak mau jalan……
What’s going bro….. ada apa lagi hari ini yah….
Setelah di cek sepertinya host servernya restart and vmserver gak bisa meload salah satu file snapshotnya….errornya bahwa server host tidak bisa meng”lock” salah satu file snapshot dari virtual server tersebut….

Mau cari-cari di uncle Google atau coba-coba hacking file registry vmwarenya yah?
Pilihan jatuh why not di coba-coba dulu dan kalo mentok baru tanya ke uncle.

Mulailah pencarian di /var/lib/vmware/nama_server/
Setelah di teliti (the reason why i choose linux as vmware host cause everything threats as file) ternyata karena machine mati dengan tiba-tiba, vmware tidak sempat melepas writelock pada salah satu snapshot. Sehingga sewaktu server dihidupkan it says that file is locked.
Whay i did is just rename the file xxxxxxx.WRITELOCK to xxxxxxx.WRITELOCK1.

Restart the machine again…and Alhamdulillah it’s working……..

New experience for me..

Inalillah… mengerikan kayanya kata-kata yg cocok dengan keadaan minggu lalu. Salah satu volume di server mengalami masalah sehingga mempengaruhi ketersedian service yang dihost di volume tersebut.
Salah satu gejalanya adalah koneksi client ke server menurun drastis… no wonderlah…….
RAID1 juga tidak membantu, karena once your pool is corrupted and it will copy the save problem to other harddisk.

Doing verify pool is not gonna help cause it just gives you report that your pool has error bla bla bla…..
but I still did the verify option (according to support.novrll.com). After waiting for 1 ,5 hours it’s stucked… tambah panik gak sih…
So the last option is “rebuild pool”. I started the rebuild at 11:00 PM and finished at 3:30 AM.
Alhamdulillah berhasil… the next step is to delete the snapshot and metadata from old pool and let the program created new one for you. You know what it took me 6 hours to complete the task. Everyone in the office was screaming like hell….what happen with email, when can we access our mailbox and so on)…
After that ,the server was restarted and i load all the service again….alhamdulillah until now the problem doesn’t come back anymore……

God..i need a rest.. :)

Ubuntu Gutsy….

Saya udah lama menggunakan linux khususnya SuSE, tetapi tertarik dengan teman-teman di ubuntu-id

so minggu kemarin udah coba instal dinotebook tercinta dan alhamdulillah berhasil sekarang sedang menunggu DVD repository nya dari juragan kambing.ui.edu yang mudah-mudahan datang minggu ini…

so ibaratnya lagi masuk mode “waiting” atau cocoknya “listening mode” sampe ada koneksi ke port saya ini hehehe….

Continue Reading »

The answer is YES,

Just run REGEDIT.EXE (windowser) and then go to HKEY_CURRENT_USERS, look into softwareyahoopager and test
Create new DWORD with name “plural” and give value “2″ then save it.
Double click on your YM icon once again, enter your other YM ID and see how it goes……..
That’s all

rgds,

EHC

The same solution you can find also in library :

Prasetyo

Ngga tau nih kalo lagi mood nulis kayanya mau nulis lagi padahal biasanya malessss banget….
Mau share aja buat presentasi powerpoint supaya jalan secara otomatis walaupun di pc yang gak ada program powerpoint sekalipun.
So let’s go down to bussiness:
Powerpoint yg udah jadi (bukan yg masih diracik) di simpan di satu folder berikut dengan file2 pendukungnya apakah itu file music atau video.
Go to main menu – pilih Publish dan Package for CD

pptviever pack n go
Click on Option menu
ppt viewer pnd option
Click OK and then click on Copy to Folder (pilih folder sesuka hatimu)
pptviewer copy to folder
Waktu yang dibutuhkan tergantung dengan banyaknya file yang terlink dengan powerpoint yang kita buat dan besar dari file powerpoint kita juga. Pengalaman saya sekitar 5 menit untuk file powerpoint sebesar 400 mb dengan satu file music sebesar 3,5 mb.
Setelah selesai gunakan program default windows untuk menulis ke cd blank atau third party software seperti poweriso,magic iso atau nero.
Powerpoint akan secara otomatis mengcopykan program powerpoint viewer dengan file-file pendukungnya kedalam folder yang kita buat tadi plus file autorun.inf serta playlist.txt tang berisikan nama file powerpoint kita. Nice and Easy.
Sekarang waktunya untuk mencoba dan hasilnya adalah…… it works.

wasalam,

EdwinHC

Baru sempet nulis lagi nih…..

Ada temen dikantor yang komplain karena kalo dimau pindah2 drive di open dialognya office (terutama excel) kok membutuhkan waktu yang lumayan lama….what’s going wrong…?

Uncle Google help me a lot to find a solution, which i thought was very helpful

Yang harus kita lakukan adalah sedikit “hacking” system registry windows yakni pada:

Go to HKEY_CURRENT_USER\software\Microsoft\office.110\common\OpenFind
Create new DWord DisableAutoSelect and set value 1

Restart your computer and see how it goes…..

Thx Uncle Google

Backup Accpac Remotely

Setelah berbulan-bulan memikirkan bagaimana caranya agar temen2 di Finance dan Accounting bisa melakukan backup secara otomatis dengan meminimalkan keharusan melakukan a dan b, akhirnya terpecahkan sudah. Cuma bisa bilang Alhamdulillah….akhirnya ya Allah….

Salut kepada netcat (swiss army knife) sebelumnya, tools yang satu ini bener-bener membantu kerjaanku. So mulai sekarang tidak ada lagi teriakan atau telp: ” mas tolong dibackup dong databasenya….bla..bla..bla…”. Now I can say , you are all grown up..you can do it by your self” hehehehe……

If you like to know how did i do the remote backup…. di next posting kali yah… kerjaan laen udah nunggu..

cape deh… :)

Met puasa buat semuanya…

wasalam,

Edwin
Continue Reading »

« Newer Posts - Older Posts »