Sponsored Content
Operating Systems AIX IBM TDS/SDS (LDAP) - can I mix endianness among servers in an instance ? Post 303039611 by maraixadm on Thursday 10th of October 2019 11:16:25 AM
Old 10-10-2019
ibm sez yes it's supported. we'll give it a whirl. will update with highlights.

--- Post updated at 11:16 ---

Quote:
Originally Posted by zxmaus
well endianness only matters for binary data not text data. If I understand you correctly you want to transfer text data only so that should work fine. If you however need something runnable you would need to run it through a converter and recompile.
ibm suppt said that replication does the same ops on the recipient that were done on the originator to effect the change in the first place. which says to me all the data sent in replication must be text, I'll check that with tcpdump when I get time. I suspect it falls down on binary blobs like image data/video saved in attributes, but we don't have any of those so we don't care. Passwords might be fun too but OTOH those have their own handling including cryptosync, so I expect they're correct.

In general, my reading (is it correct ?) of this is that it's about correct layer6 implementation, and Sun took care of that over 30 years ago with XDR for RPC, later standardized into the notion of network byte order.
Editorial Comment:
so WTF isn't this implemented correctly like everywhere? I know, development resources. IBM was always careful about this up until the bugly edges where they went into the weeds sometimes, but were responsive when bugs were found. Heard from a colleague that another (newer) non-IBM package didn't replicate right cause their flaming binary index wasn't handled right across platforms. Seriously ?

that was cool, I made my own editorial tags and whaddya know, someone had implemented them. who knew... Smilie
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

HP-UX 10.2 servers interoperability with IBM mass storage devices

Does anyone have succesfully interconnected HP-UX 10.2 HP 9000 K370 servers with A6885A HBA's, with an IBM Fastt storage server? I need to replace integrate both platforms. Interoperability matrices from manufacturers do not certified such integration. Thanks for anybody's help. (0 Replies)
Discussion started by: raltmannr
0 Replies

2. UNIX for Dummies Questions & Answers

Is no LDAP unusual for 40+ solaris servers?

I am the new jr admin on a solaris team (2 people). We have over 40 solaris servers (v8 and v9) yet no LDAP to manage it all. Is this unusual? So, if we need to add a new user, we have to add him 40x. Thanks in advance ~R (1 Reply)
Discussion started by: abstractrick
1 Replies

3. AIX

IBM Servers Documentation

Hello dear friends, I wanrt to document our servers configuration but have no Idea which softweare should I use for documenting server environment.. maybe anyone can suggest me which software should I use.. thanks in Advance (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

4. AIX

executable problems with shell script in IBM servers

We have a java stand alone application running currently on sun Solaris system. The java application runs on Jdk 1.4. We are reshooting this java application to new Ibm servers. There are 10 unix scripts for this application. All scripts works well except one shell script, This shell... (2 Replies)
Discussion started by: poojagupta
2 Replies

5. AIX

Mix LDAP and LOCAL user on AIX

Hello, I'm currently trying to mix local and LDAP users on an AIX 7.1. I've triied many things. My LDAP Server in on a CentOS - OpenLDAP (which works fine with linux). I'm currently stuck on AIX at how to declare LDAP AND Local users. Here's what i did : /usr/sbin/mksecldap -c -h 'ldap03'... (15 Replies)
Discussion started by: AIX_user_324891
15 Replies
DECLARE(7)							   SQL Commands 							DECLARE(7)

NAME
DECLARE - define a cursor SYNOPSIS
DECLARE cursorname [ BINARY ] [ INSENSITIVE ] [ SCROLL ] CURSOR FOR query [ FOR { READ ONLY | UPDATE [ OF column [, ...] ] ] INPUTS cursorname The name of the cursor to be used in subsequent FETCH operations. BINARY Causes the cursor to fetch data in binary rather than in text format. INSENSITIVE SQL92 keyword indicating that data retrieved from the cursor should be unaffected by updates from other processes or cursors. Since cursor operations occur within transactions in PostgreSQL this is always the case. This keyword has no effect. SCROLL SQL92 keyword indicating that data may be retrieved in multiple rows per FETCH operation. Since this is allowed at all times by PostgreSQL this keyword has no effect. query An SQL query which will provide the rows to be governed by the cursor. Refer to the SELECT statement for further information about valid arguments. READ ONLY SQL92 keyword indicating that the cursor will be used in a read only mode. Since this is the only cursor access mode available in PostgreSQL this keyword has no effect. UPDATE SQL92 keyword indicating that the cursor will be used to update tables. Since cursor updates are not currently supported in Post- greSQL this keyword provokes an informational error message. column Column(s) to be updated. Since cursor updates are not currently supported in PostgreSQL the UPDATE clause provokes an informational error message. OUTPUTS DECLARE CURSOR The message returned if the SELECT is run successfully. WARNING: Closing pre-existing portal "cursorname" This message is reported if the same cursor name was already declared in the current transaction block. The previous definition is discarded. ERROR: DECLARE CURSOR may only be used in begin/end transaction blocks This error occurs if the cursor is not declared within a transaction block. DESCRIPTION
DECLARE allows a user to create cursors, which can be used to retrieve a small number of rows at a time out of a larger query. Cursors can return data either in text or in binary format using FETCH [fetch(7)]. Normal cursors return data in text format, either ASCII or another encoding scheme depending on how the PostgreSQL backend was built. Since data is stored natively in binary format, the system must do a conversion to produce the text format. In addition, text formats are often larger in size than the corresponding binary format. Once the information comes back in text form, the client application may need to con- vert it to a binary format to manipulate it. BINARY cursors give you back the data in the native binary representation. As an example, if a query returns a value of one from an integer column, you would get a string of 1 with a default cursor whereas with a binary cursor you would get a 4-byte value equal to control-A (^A). BINARY cursors should be used carefully. User applications such as psql are not aware of binary cursors and expect data to come back in a text format. String representation is architecture-neutral whereas binary representation can differ between different machine architectures. PostgreSQL does not resolve byte ordering or representation issues for binary cursors. Therefore, if your client machine and server machine use dif- ferent representations (e.g., ``big-endian'' versus ``little-endian''), you will probably not want your data returned in binary format. However, binary cursors may be a little more efficient since there is less conversion overhead in the server to client data transfer. Tip: If you intend to display the data in ASCII, getting it back in ASCII will save you some effort on the client side. NOTES Cursors are only available in transactions. Use to BEGIN [begin(7)], COMMIT [commit(7)] and ROLLBACK [rollback(7)] to define a transaction block. In SQL92 cursors are only available in embedded SQL (ESQL) applications. The PostgreSQL backend does not implement an explicit OPEN cursor statement; a cursor is considered to be open when it is declared. However, ecpg, the embedded SQL preprocessor for PostgreSQL, supports the SQL92 cursor conventions, including those involving DECLARE and OPEN statements. USAGE
To declare a cursor: DECLARE liahona CURSOR FOR SELECT * FROM films; COMPATIBILITY
SQL92 SQL92 allows cursors only in embedded SQL and in modules. PostgreSQL permits cursors to be used interactively. SQL92 allows embedded or modular cursors to update database information. All PostgreSQL cursors are read only. The BINARY keyword is a PostgreSQL extension. SQL - Language Statements 2002-11-22 DECLARE(7)
All times are GMT -4. The time now is 04:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy