bring linux apps to hp-ux 11i: it’s easier than you think mary kwan hp [email protected]

15
bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp [email protected]

Upload: derek-haynes

Post on 05-Jan-2016

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

bring Linux apps to hp-ux 11i: it’s easier than you think

mary kwan

hp

[email protected]

Page 2: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

discussion topics

• provide Linux app development benefits

• how to bring Linux apps to hp-ux 11i

• share hp-ux 11i insights for Linux apps

• q & a

Page 3: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

benefits of Linux

• low cost compared to other OSes

• Open Source– extensive toolsets– great degree of knowledge in community– freely available

• popular with developers

Page 4: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

considerthe strategy

HP-UX 11i

(ipf)

(ipf)

Sun Solaris IBM AIX HP-UX 11i(pa-risc)

HP-UX 11i(ipf)

Linux

Sun Solaris IBM AIX HP-UX 11i(pa-risc)

Linux

development

platforms

deployment

platforms

develop & deploy

on AIX

(ia-32)Linux

(ia-32)Linux

source code compatible

source code compatible

source code compatible

(ipf)

binary code

compatible

binary code

compatible

develop & deploy

on HP-UX

compilation

options

develop & deploy

on Solaris

develop & deploy

on Linux

develop & deploy

on Linuxdevelop on Linux and deploy anywhere via a recompiledevelop on hp-ux 11i for pa-risc

run on hp-ux 11i for ipf with no recompilingdevelop on Linux for ipf

run on hp-ux 11i for ipf with no recompiling

Page 5: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

how to bring Linux apps intohp-ux 11i – source compatibility

Linux porting kit

Open Source Developer’s Toolkit a collection of 50+ popular

Open Source toolsLinux-Compatible APIs work concurrently with existing

hp-ux libraries to make available 96% of Linux core APIs

Linux Software Transition Kit scanner tools to identify porting

issues and suggest recommendation for changes

Linux Porting Guide & Support Services

extensive, easy-to-use documentation showing porting steps and issues

benefits

reduce porting efforts with over 50 Open Source tools and 96% of Linux core APIs

improve productivity with scanner tools to find porting issues

simplify developer’s experience with this out-of-the-box porting kit

free download and CD at www.devresource.hp.com/LPK

Page 6: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

how to bring Linux apps intohp-ux 11i – binary compatibility

Linux runtime environment toolkit

Linux LE Itanium Runtime Environment a collection of libraries and tools,

including commands, utilities, packages, and marshalling layers

Linux Software Transition Kit scanner tools to identify porting

issues and suggest recommendation for changes

Linux Runtime Environment White Paper

extensive, easy-to-use paper documenting binary compatibility processes between Linux and HP-UX

benefits

develop on Linux, deploy to HP-UX

run “Linux” applications on HP-UX with mission critical features

reduce build and support costs for multi-OS opportunities

Page 7: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

which one to use?

Linux (IA-32) hp-ux (pa)Linux Porting Kit

(source)

hp-ux (ipf)Linux (ipf)

Linux Runtime Environment

(binary)

hp-ux (ipf)Linux (ipf) Linux Porting Kit(source)

hp-ux (ipf)Linux (IA-32) not possible

Development environmentDevelopment environment Production environmentProduction environment

Page 8: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

overview of lre

Page 9: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

program startup for Linux apps

Page 10: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

System calls

Page 11: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

Signal handling

Page 12: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

Linux runtime environment restrictions

• Linux 32 bit (x86) applications

• Applications that are bound to archive libraries through which system calls are invoked.

• Kernel intrusive applications

• Applications that directly access persistent system files, directly manipulate hardware or use Linux-specific kernel API’s

Page 13: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

hp-ux 11i insights for Linux apps deployment

• better reliability and system management

• stronger directory & security features

• world-class high availability

Page 14: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

d.h. brown 2002 function

reviewranked #1 in all five

categories: #1scalability#1reliability, availability and

serviceability#1systems management#1internet and web

application services#1directory and security

services

www.dhbrown.com

Page 15: Bring Linux apps to hp-ux 11i: it’s easier than you think mary kwan hp mary_kwan@hp.com

References

• HP-UX 11i web sitehttp://www.hp.com/go/hp-ux

• Linux web site from HPhttp://www.hp.com/go/linux

• HP’s developer & solution partner portalhttp://www.hp.com/dspp

• Linux web site from HPhttp://www.hp.com/go/LPK

Q & A

mary kwan

[email protected]