08 November 2010

Ubuntu 10.04 Server Edition & LVM management

LVM is quite new to me but once u understand the whole concept, u cant live without it!!

below website is DAMN good reference to manage LVM in Ubuntun 10.04 Server Edition. Check it out..

http://www.server-world.info/en/note?os=Ubuntu_10.04&p=lvm&f=3

i managed to configure 2 x 500GB SATA HDD and make it appear in 1 big group ie. 1TB so my Samba will see only 1 big partition.

hooray !!

30 October 2010

Create ISO file from any Folder in Linux / Windows

In Windows, u can use Folder2ISO program.. damn good freeware :)


In Linux, just use mkisofs command, very powerful...

syntax is easy..

mkisofs -o [outputfilename.iso] -J -R [foldername]

-o = output
-J = enable Joliet function
-R = enable Rock Ridge function

e.g.

dindon@dindon-laptop:~/Desktop$ mkisofs -o amir.iso -J -R amir-cv
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using AMIR_000.DOC;1 for /Amir Irman App Letter.docx (Amir_Irman_Bahruddin.doc)
Total translation table size: 0
Total rockridge attributes bytes: 363
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
262 extents written (0 MB)

07 October 2010

Citrix XenServer - Export VM

taken from Citrix XenCenter 5.6 :)

You can export VMs, snapshots and templates using the Export as Backup dialog box. If the VM you want to export is running, you must shut it down before attempting to export it.

When you export a VM, a complete copy of the VM (including disk images) is stored as a single file on your local machine, with a .xva file extension. The VM export/import feature can be used in a number of different ways:

As a convenient backup facility for your VMs. An exported VM file can be used to recover an entire VM in the event of disaster.

As a way of quickly copying a VM, for example, a special-purpose server configuration that you use many times. You simply configure the VM the way you want it, export it, and then import it to create copies of your original VM.

As a simple method for moving a VM to another server.

Note: It may not always be possible to run an imported VM that was exported from another server with a different CPU type. For example, a Windows VM created on a server with an Intel® VT Enabled CPU, then exported, may not run when imported to a server with an AMD-VTM CPU.

Procedure
In the Resources pane, select the VM, right-click, and then click Export as Backup on the shortcut menu. Alternatively, on the VM menu, click Export as Backup.

Enter a name for the export file and specify the folder where you want it to be saved.

To have the export file verified, select the Verify export on completion check box at the bottom of the dialog box. Be aware that verification may take some time.

Click Save to begin exporting the file.

The export progress is displayed in the status bar at the bottom of the XenCenter window and on the Logs tab.

To cancel an export in progress, click on the Logs tab, find the export in the list of events, and click the Cancel button.

Exporting a VM may take some time, depending on its size and the speed and bandwidth of the network connection between the server and XenCenter.