Você está na página 1de 22

Getting Started

SAP NetWeaver 7.0-Java-VMware-Trial


February 2008
TABLE OF CONTENTS
1 The SAP NetWeaver 7.0-Java-VMware-Trial..................................................... 1
1.1. Purpose ........................................................................................................................... 1
1.2. Content............................................................................................................................ 1
1.2.1 SAP NetWeaver Components .............................................................................. 1
1.2.2 Demo Scenario........................................................................................................ 1
1.3. Prerequisites................................................................................................................... 1
1.4. License keys................................................................................................................... 2
1.5. Disclaimer/Restrictions/Licenses ................................................................................ 2

2 Getting Started.................................................................................................... 3
2.1. Users ............................................................................................................................... 3
2.2. Ports................................................................................................................................. 3
2.3. Starting the System ....................................................................................................... 5
2.4. Installing the license...................................................................................................... 7
2.5. Other Required Software.............................................................................................. 9
2.6. Stopping the System ................................................................................................... 10
2.7. The SLES10 desktop .................................................................................................. 12
2.8. Additional tools for System management ................................................................ 14
1 THE SAP NETWEAVER 7.0-JAVA-VMWARE-TRIAL
1.1. Purpose
The SAP NetWeaver 7.0-Java-VMware-Trial provides a complete system and a scenario and
development tools addressing the Development of SAP Composite Applications with
NetWeaver 7.0. The target of this system is to provide a comprehensive set for self-education
and trainings. The technology is based is the SAP NetWeaver 7.0 SP11, J2EE-Stack only.
The system is created as a virtual machine (“image”) which means that your computer will act
as a host for a SAP NetWeaver installation running with its own SUSE Linux Enterprise
Server operating system.

1.2. Content
1.2.1 SAP NetWeaver Components
• SAP NetWeaver 7.0 Components
o WebAS - J2EE Engine
o EP 7.0
o CAF GP and CAF Core
o CAF Visual Composer
o Adobe Document Service

1.2.2 Demo Scenario


The system includes the First Day Composite Application Demo Scenario. The main focus of
this Scenario is the development with the Composite Application Framework and how it can
be used as a development platform. To accompany the scenarios, we are using an example,
which is related to an Employee Self Services.

For the detailed scenario documentation see these Articles on SDN:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d09a7f72-3d59-
2a10-63a9-cca3873a6132

1.3. Prerequisites
The prerequisites for the laptop option are:
• Hard Drive with 40 GB free based on USB2 or Firewire connectivity. External HDD
requires running at 7.200 rpm.
• VMware Player (free download here: http://www.VMware.com/download/player/)
or VMware Workstation 5.0
• Main memory: 2GB with 1.5GB reserved for VMware Player/Workstation
• Laptop powered by a CPU > 1,5Ghz (please use the laptop connected to your power
supply)
• Please be aware of the image setup size of about 17 GB (before you start any copy
activities)
1.4. License keys

• Request the license key for your SAP NetWeaver 7.0-Java-VMware-Trial by entering
your data here: http://www.sap.com/minisap/ You should receive an e-mail
shortly after sending the data with a license file and instructions on how to install the
license.

• To use SAP Interactive Forms by Adobe, you must install the necessary credential file
and activate it using a unique password. Download the latest credential and
password from SDN:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70aa7
5cc-6ac3-2910-c78c-ade192ec861e

1.5. Disclaimer/Restrictions/Licenses
• Tip: In case you encounter difficulties with empty an IP address when running with
VM Workstation, check that your DHCP settings are correct and your Virtual DHCP
is started.
• Please do not change settings like memory allocations etc., unless you know what you
are doing!
• LICENSES: The SAP NetWeaver 7.0-Java-VMware-Trial was build as a trial-system
and is not intended for production use.
2 GETTING STARTED
2.1. Users
Besides the root user, the installed system uses the following OS users, we strongly
recommend that you change the passwords of all these users, including the password of the
root user:
Username Password Comments

welcome1 MaxDB Administration Server User


ctbadm sap123 SAP System Administrator
sapctb sap123 Database Connect User
sapctbdb sap123 J2EE Database User

SAP System Users:


Username Password Comments

root sap123 Super user of the SuSE Linux


CTB_ADMIN sap123 Administrator for WebAS and Enterprise Portal
– used for design time and development
purposes
Administrator sap123 Super Administrator
<NW Developer welcome1 SDM deployment from the IDE
Studio>
SDM welcome1 SDM Password for administrator
Visual Administrator sap123 Admin password
superdba sap123 Local J2EE database user
14132 sap123 User (Jamie Miller) for different scenarios

2.2. Ports
Application Port Comments

J2EE 50000
Apache 80 Web server for the start page
SDM 3901 Used by e.g. Developer studio
2.3. Starting the System
Steps for starting the Operating System (1)
Start your VMware Player and
select the NetWeaver7.0-Java-
VMware-TrialCTB.vmx file.
The virtual machine starts
automatically.

The very first time you start the


image, you are asked to create a
new identifier.

Leave the default value “Create”


and confirm.

After that the Linux System will be


started and you will see the starting
of some service.
The SAP NetWeaver startup will
take about 10-15 minutes. During
this time you will see this screen,
indicating the current state:
The image should take about 15-
20 minutes to start.
When it’s started you should see
this screen:

Now write down the IP address of


the virtual machine, which can be
found on the login screen.

Changing the hosts file


You must now change the hosts file on the host-machine (your PC). This file is consulted at each
web connection and it allows you to create mappings between domain names and IP addresses.

Change the host-entry manually


The file is found under:
C:\Windows\System32\drivers\etc

Open the file „hosts“ with notepad


and enter the IP (here 192.168.
142.131) followed by ivml2005.

From now on, all requests to the


“ivml2005” on the host-machine
will be redirected to the Virtual
Machine.

Start page of the NetWeaver7.0-Java-VMware-Trial


You can now access the startpage
using your browser:
=> URL “http://ivml2005/”

2.4. Installing the license

Start the Visual Administrator


from the startpage
(http://ivml2005/)

Click on Connect and enter


sap123 as password.
You need to change you pw at
first logon.
Then open the cluster tree:
Server0 -> Services -> Licensing
Adapter
Write down the hardware key,
you need this when requesting
the license.

Request the license key for your SAP NetWeaver 7.0-Java-VMware-Trial by entering your data in
the section http://www.sap.com/minisap/.

Click on
Install license from file
License is now installed.
2.5. Other Required Software
Adobe SVG-Viewer 3.03
In order to run the Visual Composer
Scenario, you need to install the
Adobe SVG-Viewer 3.03 which is
available for free by Adobe.

To download the Adobe SVG-


Viewer point your browser to the
website:
http://www.adobe.com/svg/viewer
/install/mainframed.html
Scroll down the page until to get to
the download area and install the
Adobe SVG-Viewer for your
operating system, e.g. Windows XP.

Click the link and click on run. Or


download the SVGViewer.exe and
install it locally.

Click on Run. No Setup wizard will


appear. All installation steps are
done automatically. The Adobe
SVG-Viewer installs itself in the
background.
Now enter the link below in your
browser to test whether you need to
install AdobeControl :
http://ivml2005:50000/webdynpro/
dispatcher/sap.com/npi~master~
adobe~agree/ConfidentialityApp
Click on “install” if a pop-up
appears.

2.6. Stopping the System


Steps for stopping the System
After your session, you have the option to shut down all systems (server and operating
system) or set the image in a suspended mode.
Please notice following recommendation:
• Use the suspended mode only to boost the startup just before a session. You could do
this e.g. the evening before your presentation after you have run through the
scenarios.
• Never use the suspended mode on a regularly basis due to potential inconsistencies
with timestamps.

A: Normal shutdown:
Click on Shut Down in the login
screen and give the password.
The complete system including
SAP NetWeaver will shut down.
Wait until the VMware Player
window disappears.
The next time you start the
image, it will be normally
booted.
B: Suspended Mode: Open the
Preferences in the VM Player.

B: Suspended Mode: Make sure


the option “Suspend the virtual
machine” is selected.

B: Suspended Mode: When you


exit the VMware, the image will
be suspended.
The next time you start the
image, it will be set to the state it
was before you suspended it.
A final recommendation:
Always stop the hardware
(external HDD) before removing
it to avoid potential data loss!
2.7. The SLES10 desktop
In some cases, you will have to log in the virtual machine for administration purposes.
Login and desktop
First log in the virtual machine with
the “root” username and the
“sap123” password, as mentioned on
the login screen.

On the desktop, you can find some


useful tools to help you to :
• Restart the network ;
• Check the status of SAP
NetWeaver ;
• Launch the SAP J2EE Engine
Config Tool.
Restarting the network after a change
in the network configuration for
example (it automatically updates the
IP Address shown on the login
screen, if a change is detected).

Checking the status of SAP


NetWeaver (green for started, orange
if some processes are running, and
gray for stopped).

The J2EE Engine GUI Config Tool


enables offline configuration of J2EE
Engine cluster elements concerning
service’s and manager’s properties,
adding new server processes,
changing Java parameters, exporting
the system configuration to an XML
file, and so on.
It especially enables to manage the
Secure Store File, which contains the
path to the secure store properties
file. This file contains secure data for
connecting to the database or Visual
Administrator (and is encrypted for
security reasons).
2.8. Additional tools for System management
The SAP Management Console (SAP MC)
The SAP MC is a browser-based, platform-independent user interface providing basic
monitoring and administration of SAP systems (technically, it's a Java applet running in a
Java Runtime Environment on the front end host).
The SAP MC allows you to monitor and perform basic administration tasks on SAP systems
centrally, thus simplifying system administration. Among other things, it provides the
following functions:

• Monitor and control (start, stop, or restart) SAP systems (ABAP and Java) and its
instances with a single tool.
• Display SAP log and trace files, start profiles, instance parameters, the system
environment, SAP environment, and so on.
• Display and control Java and ABAP processes.
• Monitor system alerts.

To start the SAP MC, click on the


“SAP Management Console” link
from the start page.

Confirm the pop-up by clicking on


the “Start” button.

You have now to add instances


manually, using the push button
"Add new instance".
Then you have to specify the host
parameters of the SAP system you
want to display.
Click on the button shown on the
picture.

Choose the system you want to add.


In our case, you will have to add the
2 instances server from the host
ivml2005.
Confirm with “OK”.

You can try to ping the chosen


system, and you should be able to
see this :

Press the “Finish” button and add the


other system in the same way.
You should have the same screen as
on the picture.
The colors may be different
regarding the state of each instance
(green if the server is started, gray if
it is stopped and orange for
intermediate states).

By right-clicking on an instance, you


can interact with it (like restarting the
J2EE engine for example).

You can also take a look at the


Developer Trace.

The Software Deploy Manager (SDM)


The SDM is a tool with which you can manage and deploy software packages (Software
Deployment Archives and Software Component Archives) that you receive from SAP.
To start the SDM, click on the
“Software Deploy Manager” link
from the start page.

Click on “Run”.

Click on the “Connect to SDM


Server” push button.
(NOTE: only one user can be
connected to SDM Server at the
same time, which means that you are
not able to deploy a project in the
SAP NetWeaver Developer Studio if
you are logged in the SDM GUI)

Enter the password (see 2.1 for more


details).

Once you are logged on, you can see


on the SDM Repository the available
information about the target systems
and deployed components.
The following target systems are
possible:
• File system
• Database
• J2EE Engine
When you expand a target system
node, you see the SCAs and SDAs
that are assigned to it.
You can also deploy or undeploy
some SCAs/SDAs and see the log
messages from the SDM work steps.
For more detailed information about SDM,
please visit http://help.sap.com.
Copyright
© Copyright 2007 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the
express permission of SAP AG. The information contained herein may be changed without prior
notice.
Some software products marketed by SAP AG and its distributors contain proprietary software
components
of other software vendors.
Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390,
OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli,
Informix, i5/OS, POWER, POWER5, OpenPower and PowerPC are trademarks or registered
trademarks of
IBM Corporation.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered
trademarks of
Adobe Systems Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are
trademarks or
registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web
Consortium, Massachusetts Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology
invented
and implemented by Netscape.
MaxDB is a trademark of MySQL AB, Sweden.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services
mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP
AG in
Germany and in several other countries all over the world. All other product and service names
mentioned
are the trademarks of their respective companies. Data contained in this document serves
informational
purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and
its
affiliated companies ("SAP Group") for informational purposes only, without representation or warranty
of any
kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only
warranties for SAP Group products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.
These materials are provided “as is” without a warranty of any kind, either express or implied,
including but
not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-
infringement.
SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or
consequential damages that may result from the use of these materials.
SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other
items
contained within these materials. SAP has no control over the information that you may access
through the
use of hot links contained in these materials and does not endorse your use of third party web pages
nor
provide any warranty whatsoever relating to third party web pages.
Any software coding and/or code lines/strings (“Code”) included in this documentation are only
examples and
are not intended to be used in a productive system environment. The Code is only intended better
explain
and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness
and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused
by the usage of the Code, except if such damages were caused by SAP intentionally or grossly
negligent.

Você também pode gostar