- Community Home
- >
- HPE Community, Taiwan
- >
- HP-UX
- >
- 系統管理
- >
- 關於big-endian and little-endian一問
類別
Company
Local Language
論壇
討論平台
論壇
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
討論平台
論壇
討論平台
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
論壇
部落格
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 08:10 AM
在 06-24-2005 08:10 AM
關於big-endian and little-endian一問
Tru64 UNIX is little-endian
example
Big Endian:
byte0 byte1 byte2 byte3
J O E Y
Little Endian:
byte3 byte2 byte1 byte0
Y E O J
如果我透過nfs or ftp方式將這個檔案從hpux傳到tru64 的話,為什麼這的檔案還是可以被開啟呢?而且資料內容不變
請問
為什麼檔案會從Big Endian轉成Little Endian
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 08:22 AM
在 06-24-2005 08:22 AM
關於big-endian and little-endian一問
Look at the protocol stack of NFS service, we can find which is build up as RPC/XDR/NFS. XDR is eXternal Data Representatiol which is keeping the portable across different machine.
For more detail please reference RFC1094.
Brief from RFC 1094 as :
The Sun Network Filesystem (NFS) protocol provides transparent remote
access to shared files across networks. The NFS protocol is designed
to be portable across different machines, operating systems, network
architectures, and transport protocols. This portability is achieved
through the use of Remote Procedure Call (RPC) primitives built on
top of an eXternal Data Representation (XDR).
.
..
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 08:27 AM
在 06-24-2005 08:27 AM
關於big-endian and little-endian一問
但實際上卻是不work的
請問有其它方式來轉嗎
這樣即使跨平台我的datafile一樣可以共用
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 08:40 AM
在 06-24-2005 08:40 AM
關於big-endian and little-endian一問
platform, you have to use RMAN CONVERT option
to convert tablespace datafile formats to be
transported across different platforms.
http://www.dba-oracle.com/art_dbazine_ault_cross_plat.htm
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 08:59 AM
在 06-24-2005 08:59 AM
關於big-endian and little-endian一問
即使跨平台我的datafile一樣可以共用
>>> 不太清楚你的目的???
可以說明一下你的實際做法, 和 Oracle 的版本嗎?
不同的 Oracle 版本方法都不同喔
Eric
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 09:22 AM
在 06-24-2005 09:22 AM
關於big-endian and little-endian一問
因為跨平台移植只能用export import
rman 又不能用,這樣downtime必須很久
oracle9i on 9000/800/S16K-A 要移到 oracle 9i IA64(HPUX or Liunx)
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 10:16 AM
在 06-24-2005 10:16 AM
關於big-endian and little-endian一問
On original node:
1. Add new disk or LUN into datafile vg
2. before disk/volume sync, let db enable
online backup mode(archive mode)
3. start disk/volume sync
4. split datafile and archive log disk(new)
from vg
On new node:
5. mount disk/volume from new node
6. start and recover db from archive logs
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 06-24-2005 11:43 AM
在 06-24-2005 11:43 AM
關於big-endian and little-endian一問
Just learn from Oracle expert as follows,
Hi,
FYR..
When doing cross-platform transportable tablespaces, you can copy the datafiles directly if
their Endian formats are the same. If the Endian formats are different, you must use RMAN to
convert the datafiles before importing them to the target database. The V$TRANSPORATABLE_
PLATFORM view shows Endian format for each platform.
SQL> select platform_id, platform_name, endian_format
2 from v$transportable_platform
3 order by platform_name
SQL> /
PLATFORM_ID PLATFORM_NAME ENDIAN
----------- ----------------------------------- ----------
6 AIX-Based Systems (64-bit) Big
16 Apple Mac OS Big
15 HP Open VMS Little
5 HP Tru64 UNIX Little
3 HP-UX (64-bit) Big
4 HP-UX IA (64-bit) Big
9 IBM zSeries Based Linux Big
13 Linux 64-bit for AMD Little
10 Linux IA (32-bit) Little
11 Linux IA (64-bit) Little
12 Microsoft Windows 64-bit for AMD Little
7 Microsoft Windows IA (32-bit) Little
8 Microsoft Windows IA (64-bit) Little
1 Solaris OE (32-bit) Big
2 Solaris OE (64-bit) Big
15 rows selected.
SQL>
The V$DATABASE includes two new columns, PLATFORM_ID and PLATFORM_NAME.
--
Alex