An Oracle Technical White Paper July 2012 Red Hat Enterprise Linux to Oracle Solaris Porting Guide
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 9 Chapter 2 The Porting Process Recommended Strategy Due to both operating systems’ confo
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 99 Appendix A Security and Privileges The Oracle Solaris 11 security privileges are defin
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 100 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_FILE
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 101 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_IPC_
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 102 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_PROC
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 103 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_SYS_
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 104 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_SYS_
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 105 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_WIN_
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 106 TABLE A-1. ORACLE SOLARIS 11 SECURITY PRIVILEGES PRIVILEGE NAME DESCRIPTION PRIV_WIN_
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 107 Appendix B GCC to Oracle Solaris Studio Compiler Flag Mapping The compiler flags show
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 108 TABLE B-1. COMPILER FLAGS THAT REMAIN THE SAME GCC OPTION ORACLE SOLARIS STUDIO 12.3 O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 10 packages on top of the default installation. Hence, you will have to carefully set the P
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 109 Red Hat Enterprise Linux to Oracle Solaris Porting Guide July 2012, Version 1.0 Ora
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 11 Hence, for a large application, understanding which files within the source distribution
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 12 systems. Oracle Solaris Studio 12.x is available on both RHEL and Oracle Solaris (SPARC
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 13 Data Portability Data Migration Considerations Data migration is one of the most challen
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 14 Applications storing data that is shared between platforms can handle the endianness iss
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 15 POPULAR PROPRIETARY DATABASES Oracle 11gR2 √ √ DB2 9.7.x √ √ Sybase 15.7.x √ √
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 16 uncover a.out.uc A GUI will then appear for viewing coverage data. Memory Leak Detectio
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 17 Chapter 3 Operating System Considerations Supported Processor Architectures (Linux Ver
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 18 The processor will have to issue two different read instructions to read the complete in
Red Hat Enterprise Linux to Oracle Solaris Porting Guide What’s New in Oracle Solaris 11? ... 4 O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 19 Figure 3-3. Visual representation of how struct mydata would be padded to align with 4-
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 20 type—and even the size of the type itself—can differ. And this is exactly what happens i
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 21 The story is little different for member data in a structure, union, or class objects. T
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 22 available on Oracle Solaris, either as system calls or library functions (APIs). There a
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 23 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 24 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 25 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 26 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 27 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 28 TABLE 3-1. EQUIVALENT SYSTEM CALLS, ALTERNATIVE SYSTEM CALLS, AND WORKAROUNDS API SYNOP
Red Hat Enterprise Linux to Oracle Solaris Porting Guide GNU Compiler Collection (GCC) Versus Oracle Solaris Studio Compiler Option Mapping ...
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 29 Chapter 4 Application Development Environment Reducing Migration Costs Oracle Solaris
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 30 • C, C++, and Fortran compilers for compiling code at the command line or through the I
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 31 • Discover is a tool used by software developers to detect programming errors related t
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 32 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 33 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 34 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 35 TABLE 4-1. EQUIVALENT COMPILER FLAGS AND WORKAROUNDS GCC 4.4.5 OPTIONS ORACLE SOLARIS S
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 36 applications can have a dramatic impact on the overall performance of an application on
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 37 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 38 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide Resource Limits on Oracle Solaris 11 ... 72 Mig
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 39 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 40 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 41 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 42 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 43 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 44 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 45 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 46 TABLE 4-2. GNU COMMANDS MAPPING AND AVAILABILITY COMMAND VERSION ON RHEL LOCATION ON
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 47 Debugging Applications Many powerful tools are available on Oracle Solaris 11 for debugg
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 48 and recompile a native source file and continue executing without rebuilding the entire
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 4 Chapter 1 Introduction The purpose of this document is to enable developers to resolve
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 49 • plockstat, which is a tool implemented using DTrace to print user-level lock statisti
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 50 Chapter 5 Threads and Multiprocessing POSIX Compliance The standard POSIX.1c threads e
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 51 bash$ $( LD_ASSUME_KERNEL=2.12 ldd /bin/ls | grep libc.so |awk '{print $3}' )
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 52 take into account some minor differences in the interface, which are largely due to edge
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 53 TABLE 5-1. IMPLEMENTATION-LEVEL DIFFERENCES FUNCTION RHEL ORACLE SOLARIS 11 int pthrea
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 54 Signals in Threaded Applications The RHEL POSIX thread implementation is process-centri
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 55 applications. The number of simultaneous threads that can be accommodated is quite large
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 56 developer to specify how. Within legacy code, execution loops, in particular, often repr
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 57 % collect -r race app params % collect -r deadlock app params Finally, the results of t
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 58 Chapter 6 Migrating the Device Drivers and Kernel Device driver software is tightly co
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 5 Figure 1-1. Oracle Solaris is designed to meet the security, performance, and scalabilit
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 59 TABLE 6-2. ENTRY POINTS AND IMPLEMENTATION DIFFERENCES RHEL ORACLE SOLARIS 11 The kern
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 60 Device Driver Interface and Driver-Kernel Interface The following table lists the differ
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 61 init_module() in Linux initializes a loadable module entry. In Oracle Solaris, _init()
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 62 Best Practices for Porting Device Drivers and Kernel Modules The porting of device drive
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 63 Chapter 7 Security Security Interfaces for Developers For data centers hosting enterpr
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 64 The least privilege model includes nearly 50 fine-grained privileges as well as the basi
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 65 • A kernel cryptographic framework for kernel-level modules Note that consumers that ar
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 66 TABLE 7-1. API AND IMPLEMENTATION DIFFERENCES RHEL ORACLE SOLARIS 11 int MD5_Final(unsi
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 67 TABLE 7-1. API AND IMPLEMENTATION DIFFERENCES RHEL ORACLE SOLARIS 11 Blowfish Arcfour o
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 68 • The hardware-assisted encryption can be used to enhance Oracle Database performance w
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 6 RHEL conforms to the Linux Standard Base 4.0 (LSB 4.0) specification. The LSB is based on
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 69 Chapter 8 Runtime Environment Though RHEL and Oracle Solaris are UNIX-based operating
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 70 with the least privilege model to more securely run daemons such as httpd, which need to
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 71 Resource Controls and Runtime Limits When moving from RHEL to Oracle Solaris 11, one rea
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 72 On RHEL, after reboot, the rc.sysinit initialization script reads the /etc/sysctl.conf f
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 73 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 74 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 75 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 76 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 77 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 78 TABLE 8-1. COMMAND DIFFERENCES RHEL LEGACY COMMANDS ON ORACLE SOLARIS 11 INCOMPATIBLE O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 7 GNU Compiler Collection (GCC) and other GNU tools are also available on both RHEL and Ora
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 79 /etc/rcN.d/ directories. With this arrangement, now it is possible to have centralized c
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 80 #/sbin/chkconfig --list crond crond 0:off 1:off 2:on 3:on 4:on 5:on 6
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 81 intervention is required, system administrators can quickly identify the root cause of t
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 82 You can disable a service with the following command, where service name is the name of
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 83 Leveraging SMF Facilities in Oracle Solaris 11 The Oracle Solaris 11 SMF facility can be
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 84 Chapter 9 Infrastructure Differences Most enterprise applications have a great deal in
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 85 PAM Configuration and Differences The following table lists the PAM-related system admin
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 86 TABLE 9-2. SEQUENCE OF FUNCTION CALLS DURING PAM INVOCATION STEP-BY-STEP SEQUENCE ACTU
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 87 TABLE 9-2. SEQUENCE OF FUNCTION CALLS DURING PAM INVOCATION STEP-BY-STEP SEQUENCE ACTUA
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 88 Differences in PAM Data Structures and Function Calls The following table lists the diff
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 8 • Oracle's commitment for long-term investments • End-to-end 24 x 7 support from O
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 89 Necessary Compiler Option, Linker Options, and Linked Libraries TABLE 9-4. COMPILATION S
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 90 Chapter 10 Packaging and Distributing Applications With increasing trends towards cons
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 91 • Signature: The signature contains size, checksums, and other such package signatures.
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 92 Packaging on Oracle Solaris 11 Oracle Solaris 11 takes a new approach to package managem
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 93 installation in order to refresh the system configuration. They can also specify actions
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 94 Implementation Differences for Packaging The following table lists out the basic infrast
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 95 TABLE 10-2. SYSTEM ADMINISTRATION RHEL ORACLE SOLARIS 11 To install or upgrade a packag
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 96 TABLE 10-3. CREATING A PACKAGE RHEL ORACLE SOLARIS 11 On RHEL, consider that a tar file
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 97 TABLE 10-3. CREATING A PACKAGE RHEL ORACLE SOLARIS 11 Step 4—Specify package contents
Red Hat Enterprise Linux to Oracle Solaris Porting Guide 98 TABLE 10-4. PUBLISHING A PACKAGE RHEL ORACLE SOLARIS 11 Once the package is ready, it c
Comentarios a estos manuales