7. Create /u01/staging directory, transfer oracleasmlib-2.0.4-1.el5.i386.rpm file
there using FTP (or any other method), and install the package.
[root@localhost ~]# mkdir /u01/staging
[root@localhost ~]# chown grid:oinstall /u01/staging
<FTP TRANSFER>
[root@localhost ~]# cd /u01/staging
[root@localhost staging]# ls ora*
oracleasmlib-2.0.4-1.el5.i386.rpm
[root@localhost staging]# rpm -Uvh oracleasmlib-2.0.4-1.el5.i386.rpm
8. Why install VMware tools?
• Improved video performance
• Mouse synchronization with host OS
• Improved mouse performance
• Copy and paste between host OS and guest OS
• Not required to be installed
16. Configure hangcheck timer kernel module and activate
changes at runtime.
/etc/modprobe.conf
options hangcheck-timer hangcheck_tick=30 hangcheck_margin=600
/etc/rc.local
/sbin/modprobe hangcheck-timer
Execute the following command:
/sbin/modprobe -v hangcheck-timer
17. Modify /etc/hosts. Replace the IP addresses to your IP addresses.
127.0.0.1 localhost.localdomain localhost
10.66.0.226 tom.localhost tom
10.66.0.228 tom-vip.localhost tom-vip
10.10.10.26 tom-priv.localhost tom-priv
10.66.0.227 jerry.localhost jerry
10.66.0.229 jerry-vip.localhost jerry-vip
10.10.10.27 jerry-priv.localhost jerry-priv
10.66.0.230 acme.localhost acme
18. Assign rules to control ownership and permission attributes on
shared storage devices.
/etc/udev/rules.d/50-udev.rules
KERNEL=="sdb1", OWNER="grid", GROUP="oinstall", MODE="0640"
KERNEL=="sdc1", OWNER="grid", GROUP="oinstall", MODE="0640"
KERNEL=="sdd1", OWNER="grid", GROUP="oinstall", MODE="0640"
KERNEL=="sde1", OWNER="grid", GROUP="oinstall", MODE="0640"
Activate the change at runtime by execuing:
/sbin/start_udev
19. Increase user limits for users grid and oracle.
/etc/profile (and/or /etc/bashrc)
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
20. "Hack" nslookup to avoid installation errors.
1. Rename the original nslookup file to nslookup.orig:
mv /usr/bin/nslookup /usr/bin/nslookup.orig
2. Create the new nslookup file with the contents below:
#!/bin/bash
# Replace 10.66.0.114 with your primary DNS
# Replace 10.66.0.230 with your SCAN IP address
HOSTNAME=${1}
if [[ $HOSTNAME = "acme" ]]; then
echo "Server: 10.66.0.114"
echo "Address: 10.66.0.114#53"
echo "Non-authoritative answer:"
echo "Name: acme"
echo "Address: 10.66.0.230"
else
/usr/bin/nslookup.orig $HOSTNAME
fi
3. Change the privileges on the newly created file:
chmod 755 /usr/bin/nslookup
23. Deactivate the NTP service.
/sbin/service ntpd stop
chkconfig ntpd off
mv /etc/ntp.conf /etc/ntp.conf.original
rm /var/run/ntpd.pid
chkconfig --list ntpd
24. Create new virtual machine jerry as a copy of virtual machine tom.
• Shutdown virtual machine tom.
• Create Windows directory C:Virtual Machinesjerry
• Copy all contents of C:Virtual Machinestom to C:Virtual Machinesjerry
• Rename all files with names that contain string “tom” to replace it with “jerry”.
• Edit file C:Virtual Machinesjerryjerry.vmx and replace all occurrences of string “tom” with string “jerry”.
• Go to the VMware Server Home Page.
• Click on “Add Virtual Machine to Inventory” in the “Commands” section.
• Select "standard" -> "jerry" -> "jerry.vmx" and click "OK".
• Select “I _copied it” on the warning pane and click “OK”
25. Start newly created Virtual Machine "jerry". Login as root and open
Network Configuration window.