We have a script that runs out of init that boils down to: export LDR_CNTRL=TEXTPSIZE=64K@STACKPSIZE=64K@SHMPSIZE=64K@LARGE_PAGE_DATA=Y /opt/tivoli/tsm/server/bin/dsmserv -u <instance id> -i <instance home dir>
(note it runs dsmserv, not rc.dsmserv) James. -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[email protected]] On Behalf Of Rhodes, Richard L. Sent: 18 March 2015 13:14 To: [email protected] Subject: Re: [ADSM-L] AIX large pages with TSM I've been experimenting with LARGE PAGES. At this time I've just been trying to get a TSM instance to come up with 64k pages. I'll play with 16mb pages later. This WORKS - manual startup after changing to the db2 owner. Su - tsmuser (db2 owner) LDR_CNTRL=TEXTPSIZE=64K@STACKPSIZE=64K@SHMPSIZE=64K@DATAPSIZE=64K ./dsmserv -i /tsmdata/tsmoc/config & This DOESN'T work - starting it via the rc.dsmserv script. <become root> LDR_CNTRL=TEXTPSIZE=64K@STACKPSIZE=64K@SHMPSIZE=64K@DATAPSIZE=64K /opt/tivoli/tsm/server/bin/rc.dsmserv -u tsmuser -i /tsmdata/${tsm}/config -q I understand why - the rc.dsmserv script performs a "su -" to the db2 instance owner. This creates a new login environment for the instance owner, and thus doesn't pass the LDR_CNTRL env var. I could use a custom script to start dsmserv, but I'm wondering how you are starting it. Q) How are you starting up dsmserv to enable LARGE PAGES? Thanks Rick ----------------------------------------- The information contained in this message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately, and delete the original message.
