Вы находитесь на странице: 1из 9

1. Download the course textbook PDF from ftp://congsa.ibm.com/gsa/projects/d/db2sap/.

(a) For the DB2 LUW Administration for SAP class, download and print the file:
DB2 LUW Administration for SAP.pdf

(b) For the DB2 LUW for SAP BI class, download and print the files:
DB2 LUW for SAP BI.pdf
DB2 LUW for SAP BI Lab Exercises.pdf

Print and bind double-sided copies of this document for each person who will be attending
the course.

2. Ensure that the latest VMware Workstation 6 is downloaded and installed on each classroom
PC. You can also use the latest VMware player, if you do not have access to the Workstation
software and licenses. Both can be found for download at
http://www.vmware.com/downloads.

3. Download the VMware image and SAPGUI from ftp://congsa.ibm.com/gsa/projects/d/db2sap/


and copy them to each classroom computer. They must be downloaded to a disk formatted
as NTFS (FAT file systems do not support files this large). The files you require are:

DB2SAP_TestDrive_V95_090309.part01.exe 716800 KB 3/10/2009 11:18:00 AM


DB2SAP_TestDrive_V95_090309.part02.rar 716800 KB 3/10/2009 11:18:00 AM
DB2SAP_TestDrive_V95_090309.part03.rar 716800 KB 3/10/2009 11:21:00 AM
DB2SAP_TestDrive_V95_090309.part04.rar 716800 KB 3/10/2009 11:22:00 AM
DB2SAP_TestDrive_V95_090309.part05.rar 716800 KB 3/10/2009 11:24:00 AM
DB2SAP_TestDrive_V95_090309.part06.rar 716800 KB 3/10/2009 11:25:00 AM
DB2SAP_TestDrive_V95_090309.part07.rar 716800 KB 3/10/2009 11:28:00 AM
DB2SAP_TestDrive_V95_090309.part08.rar 716800 KB 3/10/2009 11:28:00 AM
DB2SAP_TestDrive_V95_090309.part09.rar 716800 KB 3/10/2009 11:31:00 AM
DB2SAP_TestDrive_V95_090309.part10.rar 716800 KB 3/10/2009 11:31:00 AM
DB2SAP_TestDrive_V95_090309.part11.rar 716800 KB 3/10/2009 11:35:00 AM
DB2SAP_TestDrive_V95_090309.part12.rar 716800 KB 3/10/2009 11:36:00 AM
DB2SAP_TestDrive_V95_090309.part13.rar 716800 KB 3/10/2009 11:40:00 AM
DB2SAP_TestDrive_V95_090309.part14.rar 387770 KB 3/10/2009 11:39:00 AM

SAPGUI_710.exe 280942 KB 03/03/2008

4. With all DB2SAP rar files in the same directory, execute


DB2SAP_TestDrive_V95_090309.part01.exe to extract the VMware image onto a drive with
at least 60GB of free space.
5. Run the SAPGUI_710.exe to install SAP GUI. On the SAP Front End Installer Product
Selection screen, ensure only the options shown below are selected. You will need about 1G
of space to install SAP GUI. (It is slightly under 300MB installed, plus you require about
650MB temp space for the install image from the SAPGUI_710.exe self-extracting archive.)
6. Add our SAP Test Drive system into SAPGUI.

Open SAPGUI by clicking the icon on your windows desktop. Click the “New Item” button.
Click Next, and then enter the following parameters and click Finish.

Description = N4S
Application Server = n4shost.sapdemo.com
System Number = 42
System ID = N4S

If you are using VMware Player, continue with steps 7 and 8.

If you are using VMware Workstation, skip ahead to step 9.


7. Add the Linux Test Drive virtual machine into our windows hosts file.

From a Windows command prompt, run the command “ipconfig”. In the output, look for the
VMNet8 adapter. You should see something like this:

Write down the 3rd tuple in the IP address. In the example above, the IP address is
192.168.85.1, and therefore, the 3rd tuple is 85. You will need this number for future steps.

Open the %SystemRoot%\system32\drivers\etc\hosts file in an editor. Append the following


line at the end of this file:

192.168.85.100 n4shost.sapdemo.com n4shost

Note that the bold-face 85 should be changed to match the 3rd tuple of your VMnet8 adapter.

8. Change the IP address of the Linux virtual machine. Start the Linux virtual machine and login
as root with the password passw0rd (password with a zero). Right-click on the desktop and
select “Open Terminal”. Run “yast2”, and then click Network Devices -> Network Card.
Click Next, and then for all adapters listed, click the adapter and then click the Edit button to
change the IP address.
Change the 3rd tuple in the IP address to the same number as the 3rd tuple in your windows
VMNet8 adapter. In our example, this is 85, so our IP address is 192.168.85.100.

Next, click on the Routing button and make the same change there. In our example (using
85), we will change this to 192.168.85.2.

Click next to apply the changes. If more than one adapter exists in your virtual machine,
remember to make the same IP Address change for all adapters. Click Next until the
changes are applied and the window closes.

Open a new terminal window and run ifconfig. The output should now show your new IP
address (192.168.##.100, where ## is your 3rd tuple from the VMnet8 adapter) in the second
line of the ifconfig output.
If the IP address is not correct, restart the linux virtual machine (on the command line, run
“shutdown –h now”, and then restart from VMware Player after it shuts down).

Skip ahead now to step 10, because step 9 is only for VMware Workstation setup.

9. If you are using VMware Workstation, network configuration is much simpler. First, open
the virtual machine in VMware, but do not start the virtual machine yet. If the host PC
has 3GB of RAM, then increase the memory allocated to the virtual machine. From the
VMware top menu bar, select VMÆSettings and increase the memory to 1800MB. Then,
start the virtual machine, login as root, open a new terminal window and run ifconfig.
This will display the IP address of your Linux host in the second line of the ifconfig output.
Note the 3rd tuple, which in this example, is 205.
In the top VMware menu bar, click Edit -> Virtual Network Settings (as shown above) to
open the Virtual Network Editor. Click the right arrow (>) beside the VMnet8 network
adapter, and select the Subnet option.

In the Subnet window, change the IP address to 192.168.205.0. Note that the 3rd tuple
(in our example, 205) should match the 3rd tuple in the IP address of your Linux virtual
machine (ifconfig output).

10. Test that your windows machine can communicate with the Linux virtual machine.

On your windows machine, open a new command window and make sure you can
successfully ping the linux vm (ping n4shost). This should successfully receive a response
from the Linux virtual machine.
11. Change the system time and time zone for the Linux machine.

From yast2, click System -> Date and Time. Change the time zone to the time zone of your
country, and then make sure the Linux system time is the same as the time on your windows
machine.

12. Change the language and keyboard layout settings (if necessary)

If you would like language and keyboard settings that are not US-English, then run yast2 and
click System -> Language. Change the language to the language you wish, and check the
box to adapt the keyboard layout to your new language setting.

13. Open a new Linux terminal window, and run “su – n4sadm” to switch to the n4sadm user.
Then, run “startsap” to start SAP on the Linux machine. When this finishes, open SAPGUI
from the windows desktop icon, and double-click the N4S entry to connect. If you are
prompted with a login screen, then everything is properly configured.

14. If you are able to image the first classroom PC that you have setup, then Ghost or copy the
image of the first PC to the remaining classroom machines.

If you are not able to image the classroom PCs, and if you are not familiar enough with VMware
NAT network configuration to be comfortable configuring the Linux networking, then you may stop
after completing step 6. The instructor can help with steps 7 through 12 the day before the class
begins. A Minimum of steps 1 through 6 must be done before the instructor arrives!!
Otherwise, there will not be enough time to setup the classroom machines before the course
starts.

Have a great DB2SAP training session!

Вам также может понравиться