Tag Archives: VMware

Reconfigure virtual machine Device is a SCSI controller engaged in bus-sharing

When we were installing RAC on vmware, This error occured while adding already created hard disk with reuse option in vmware.
error
This happend because we created snapshot.
Solution is remove snapshot, add disk and after that if you want to have a snapshot take new one.

increase disk size in oracle linux on vmware

Here is video of these procedures

First of all our vmware guest operating system must be in shutdown mode.
we need to add hard disk to our box.
go to settings—>
0-1
click add, then choose hard disk.
check option use an existing virtual disk
0-1.1
then choose file which will expand.
0-1.2
add a new hard disk, go to settings and choose our disk, click utilities–expand and write new size.
0-3
power on virtual machine.

our guest system doesn’t see a new size
1
but fdisk shows  the new size
2

solution :
create new partition on /dev/sda
3
then,

[root@oel6 ~]# pvcreate /dev/sda3
  Writing physical volume data to disk "/dev/sda3"
  Physical volume "/dev/sda3" successfully created
[root@oel6 ~]# vgextend vg_oel6 /dev/sda3
  Volume group "vg_oel6" successfully extended
[root@oel6 ~]# lvextend -L +18G /dev/vg_oel6/lv_root /dev/sda3  
  Extending logical volume lv_root to 43.60 GiB
  Logical volume lv_root successfully resized
[root@oel6 ~]# resize2fs /dev/mapper/vg_oel6-lv_root 43G
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/mapper/vg_oel6-lv_root is mounted on /; on-line resizing required
old desc_blocks = 2, new_desc_blocks = 3
Performing an on-line resize of /dev/mapper/vg_oel6-lv_root to 11272192 (4k) blocks.
The filesystem on /dev/mapper/vg_oel6-lv_root is now 11272192 blocks long.

check size :
4

it’s all, enjoy with new size ūüôā

shared folder in vmware

I have windows 7 operating system and i have virtual machine vmware 6 and there is oracle enterprise linux 5.5 64 bit, i share folder for virtual machine but in linux i don’t see that shared folder.

SOLUTION :¬†¬†¬†¬†¬† click¬† VM–> install VMware Tools :

copy this two file to desktop :

run .rpm file

then extract second file and  run vmware-install.pl file in terminal with its default settings

after that, you can share folder and see it in directory: /mnt/hgfs/

that’s all. Good luck. ūüôā

install oracle linux 5.5 x64 on vmware 6

to download oracle enterprise linux 5.5 click link :

https://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=12386799

for downloading this you must have oracle account, it’s standard registration form.

now we have OS (operating system) file let start:

  1.  run vmware, file->new->virtual machine
  2. click next
  3. browse OS  .iso file and click next
  4. choose corresponding options and click next: 
  5.  choose virtual machine name and location for virtual machine files :
  6. specify disk capacity :
  7. click next and finish. now we have virtual machine for oracle linux and now install OS
  8. press enter :
  9. then choose skip and enter
  10. click next, choose language choose, choose keyboard and click YES;
  11. then click next YES;
  12. set hostname and click edit,  set ip address and netmask :
  13. choose region and click next
  14. enter password for root
  15. select customize now and click next
  16. choose this packages:                                                                                                    Desktop Environments                                                                                             GNOME Desktop Environment                                                                          Applications Graphical InternetDevelopment

    Development Libraries

    Development Tools

    GNOME Software Development

    Java Development

    Legacy Software Development

    X Software Development  (Select libxpdevel and openmotif)

    Servers

    Server Configuration Tools

    Web Server

    Windows File Server

    Base System

    Administration Tools

    Base

    Java

    Legacy Software Support (select compat-db)

    System Tools  (select sysstat , oracleasm-2.6.18-194.el5-2.0.5-1.el5.x86_64, oracleasm-support-2.1.3-1.el5.x86_64)

    X Window System

17. click next;

18. at last in this installation disable selinux and firewall.

that’s all, Good luck.¬† ūüėČ