Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Implementing VM Templates

JD Edwards VM Templates overview
by

Gustavo Barizon

on 19 August 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Implementing VM Templates

JD Edwards EnterpriseOne
VM Templates
A lean VM Templates concept
Gustavo Barizon
Agenda
Introduction
Before We Begin
Lean VM Templates
Installing VM Server
Local NFS Storage
Oracle VM Manager
Working With VM Templates
Post Installation Procedures
Deployment Server Installation
Development Workstation Installation
Tips & Tricks
Background
Gustavo Barizon
11 years working with JD Edwards
20 years in IT – 1992 started a “DOS” course
1995 Entrepreneur – Started a computer shop – Sell computers with internet
MIRC – IRC Operator – Working on Internet Service Provider – Linux
2002 – Start working with JD Edwards at Praxair Brazil
2007 – Moved to USA – From Rio to...

2008 – Started JDEFusion.com
2011 – Moved to...
IOWA
Rio de Janeiro – Brazil
Denver,
Colorado
2012 – First work for Oracle JD Edwards – OOW12 – Video
2013 - Summit Magazine
Before We Begin
NOT intended for PRODUCTION environments
NOT the architecture recommended by Oracle
For HOME OFFICE and SANDBOX
NEED basic skills with LINUX
Before We Begin
DOWNLOADS
3 Main Components:

VM Server 3.1.1

VM Templates

VM Manager
}
}
e-Delivery
Oracle's web site
Before We Begin
Servers
Server
Fast Processor – Xeon Recommended – Intel i5 + Acceptable
Memory – 16GB RAM Recommended
Two physical NICs – GIGABIT Ethernet
500GB Disk Space Recommended

JDEFusion Server
HP Proliant DL360 G5
16GB RAM
2 Intel Xeon Processor 3Ghz
500GB Disk – RAID 0 – No fault tolerance – Remember: TEST ONLY!!
Workstation
Desktop computer – Daily use
You may turn on / off anytime
Run VirtualBox for
Oracle VM Manager Template – Oracle Linux
Deployment Server – Windows Server 2008 R2
Development Workstation – Windows 7

JDEFusion Workstation
Intel i7 2600
16GB Ram
2TB Disk
1 NIC - GIGABIT
Before We Begin
Networking
GIGABIT – PLEASE!!!
Cables – Cat 5e
Switch – 10/100/1000 Mbps
Adaptors – USB to GIGABIT for Zentyal Server

Zentyal Server: Sony Vaio – Old Laptop with 2GB RAM
More on Zentyal:
www.zentyal.org
Gateway
Office Server
Infrastructure Manager
Single easy-to-use platform to manage all network services
FREE
Before We Begin
Storage
Internal Storage on VM Server – REMEMBER: TEST ONLY!!
Use of Network File System -
NFS

Storage Setup
Create Directory
Add the directory entry on /etc/exports
Start NFS service
Before We Begin
Lean VM Templates
KEEP IT SIMPLE!
Installing VM Server
Straight forward process
Bare metal installation
Single change on default setup: Storage
Installing VM Server
Keep it SIMPLE!!
Use eth0 for Management
Setup FIXED IP address on Zentyal or Router using
MAC Address
Enter Gateway, Primary and Secondary DNS – Zentyal
HOSTNAME: “jdevm” would be a good suggestion
AGENT Password: take a note
ROOT Password: take a note

Confirm other steps – install and reboot machine
Single change on default setup: Storage

On Review and Modify Partitioning Layout Step:

Allocate ALL disk space on
ext3 root “/” partition

Used for VM storage – NFS
Network Configuration
Installing VM Server
Internal Storage on VM Server – REMEMBER: TEST ONLY!!
Use of Network File System - NFS
Storage Setup
Create Directory
Add the directory entry on /etc/exports
Start NFS service
Storage Configuration
[root@jdevm /]# mkdir vmjde
[root@jdevm /]# vi /etc/exports

/vmjde *(rw,no_root_squash)

[root@jdevm /]# service nfs start
Oracle VM Manager
Oracle VM Manager
VirtualBox Template
Setup FIXED IP address on Zentyal or Router for VM Manager
Use Appliance Import Wizard on VirtualBox
Follow the steps
Change Password
Enter Static IP, Netmask, Gateway and DNS Server
Enter Host Name
Let the boot process to finish
Oracle VM Manager
Menu HARDWARE
Menu ACTIONS – Discover Servers
Enter the VM Server IP Address, click ADD
Enter the VM AGENT Password
Your server must be registered!
VM Server Discovery
To access the Oracle VM Manager

Open your browser – MOZILLA Firefox is recommended

http://[server_ip_address]:7001/ovm/console

Username: admin
Password: Welcome1
Oracle VM Manager
Menu HARDWARE – Tab STORAGE
Tab File Servers – Click “Register File Server” button
Enter the Name
Use “Oracle Generic Network File System” Storage Plugin
Access Host: Type your VM Server IP address
Present it to the VM Server
Storage Registration
Oracle VM Manager
Menu HARDWARE – Tab NETWORKS
Click “Create New Network” button
Select “Create a network with bonds/ports only”
Enter the network Name and brief description
Select “Virtual Machine” for Network Use
Present it to the VM Server
Select the available port
Keep as is on VLAN segment
Select “Use DHCP” on Addressing option
Setup a FIXED IP address for this port on Zentyal or Router
VM Network Creation
Oracle VM Manager
Menu HARDWARE
Click “Create Server Pool” button
Type a Server Pool Name and enter a Virtual IP address
UNCHECK Activate Cluster
Choose the Storage Location
Present to the Server
Server Pool Creation
Oracle VM Manager
Menu HOME – Tab Repositories
Click “Create New Repository” button
Type the Repository Name and choose the Storage we created
Present to the Server
Repository Setup
Oracle VM Manager
Need to import from FTP or HTTP server – HTTP is recommended
Time consuming – Took 8 hours to import DB 10/100 Network
Crashes – Specially with internal NFS
Reason for GIGABIT Networking
Pay attention with the correct files to import

3 set of files
[VM Template].img
vm.cfg
system.img
VM Template Import
Oracle VM Manager
VM Template Import
Extract the files correctly
DB has multiple volume files – follow the instructions on README.TXT
Use "cat" instead "zcat" to merge multiple volume files
Expected result after extraction:
VM Template Import
Oracle VM Manager
Move the Template File to /var/www directory – Web Server
The vm.cfg file must be specific for each template
The system.img is Oracle Linux OS – Templates requires an OS to Run
VM Template Import
Oracle VM Manager
Menu HOME – Click Server Pools
Tab Templates – Click Import Templates
VM Template Import
Oracle VM Manager
We must create VNICs to be used by Virtual Machines
Menu TOOLS – VNIC MANAGER
Set the Number of MACs to Generate to 3 – Click Generate
Virtual Network Card Interface Manager
Oracle VM Manager
Just click Clone Virtual Machine or Template after templates importing
VM Template Clone
JD Edwards Virtual Machines
Oracle VM Manager
Set Fixed IP address for VM Templates on Zentyal or Router
Virtual Machines
Database Server
Enter the Network information – Short and Long host names, IP, etc…
Enter the ENTERPRISE, WEB, DEPLOYMENT server names
Location name: “Denver” – Case Sensitive
Type “Y” on Turn Off Firewall option
Wait for Oracle DB setup
No need to setup Oracle Enterprise Manager
Check /u01/oracle-template.log file for errors

Log in as the root user
Run the configuration script below and follow the instructions

#> EOne_cfg.ksh
Virtual Machines
Enterprise Server
Enter the Network information – Short and Long host names, IP, etc…
Enter the DATABASE and DEPLOYMENT server names
Type “Y” on Turn Off Firewall option
Accept the local bin directory (leave empty) hit ENTER
The script ends
The Enterprise Server has not been started – Need to start services

Log in as the root user
Run the configuration script below and follow the instructions

#> EOne_cfg.ksh
Virtual Machines
HTML Server
Enter the Network information – Short and Long host names, IP, etc…
Enter the DATABASE , ENTERPRISE and DEPLOYMENT server names
Type “Y” on Turn Off Firewall option
The script ends
The HTML Server has not been started – Need to start services

Log in as the root user
Run the configuration script below and follow the instructions

#> EOne_cfg.ksh
Virtual Machines
Naming Conventions
Keep it SHORT and SIMPLE!!
Suffix suggestion:
.ovm.com
HTML Long host name:
e1html.ovm.com
Virtual Machines
Working With Enterprise Server
Starting Network Services
Log on Enterprise Server as jde910
Change to this directory: cd $SYSTEM/bin32
Run the RunOneWorld startup script

./RunOneWorld.sh

Check the status of services with netwm program
$ netwm

Verify Enterprise Server using PORTTEST
$ porttest JDE JDE DV900
Virtual Machines
Working With HTML Server
Starting HTML Server
Open in Console, not SSH
Log on HTML Server as oracle - # su - oracle

Start Node Manager
$ cd /u01/Oracle/Middleware/wlserver_10.3/server/bin
$ ./startNodeManager.sh &

Start WebLogic
cd /u01/Oracle/Middleware/user_projects/domains/base_domain/bin
$ ./startWebLogic.sh &
$ ./startManagedWebLogic.sh html_server
Testing the HTML Server Connection
Open your web browser
Enter the URL:

http://<web server ip>:8082/jde/owhtml
Deployment Server Installation
Regular Installation
Create a sub directory for each DVD image:

C:\DepSvr\disk1
C:\DepSvr\disk2
C:\DepSvr\disk3

Start the installation
Set Preferences to store and find ESUs - Edit / Preferences:

C:\JDEdwards\E910\Change Assistant\Downloads\ESUs

Deploy TLOVM001_20_99.par
Create Shares
Update ESUs entries
Configures the shipped install, pkg inf and ini files
Configure package feature records and manifest
Change Assistant
Developer Workstation
Regular Installation
Tips & Tricks
On Server Manager Virtual Machine:

Maybe you cannot access the VM terminal from outside. The solution is to Launch the Console inside the VM Manager, download the
ovm_rasproxy-ws.jnlp
file then run manually using the command:

$ javaws ovm_rasproxy-ws.jnlp
Tips & Tricks
The database OVS user may get
expired
not allowing to login.

To fix this log in as sysdba, run the following SQL and look for the OVS user status:
SQL> connect
SQL> user: sys as sysdba
SQL> Password: ovsadminE1
SQL> select username, account_status, expiry_date from dba_users;

SQL> alter user ovs identified by Welcome1
Tips & Tricks
On Server Manager Virtual Machine:

How to start web logic if ovmm time-out ( /etc/init.d/ovmm start )
$> su
#> cd /u01/app/oracle/Middleware/wlserver_10.3/server/bin
#> ./setWLSEnv.sh
#> ./startNodeManager.sh

#> cd /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain

#> ./startWebLogic.sh &
Tips & Tricks
On Server HTML Server:

You must add the following line at the end of your hosts file in order to enable the HTML Server services:


[ip_address] lxvmhtml.us.oracle.com
Virtual Machines
Synchronizing The Servers
You must re-run the
EOne-cfg.ksh
script.

This script execution applies and
synchronizes
the configuration values
for each JD Edwards EnterpriseOne server.

1. Run the EOne_cfg.ksh script using this command passing the -syn option:

#EOne_cfg.ksh -syn

2. Repeat this command on each of the JD Edwards EnterpriseOne applications for
the
Enterprise,

Database,
and
HTML
server.
EOne_cfg.ksh
To make a change on current settings use the following:

#>EOne_cfg -chg [ENT | DB | WB]
Full transcript