Distribution of Available Capicity at Workcenters
Dear Guru's
We are facing problem when issuing Production Order on the basis of Current Date.
The proposed date is calculating on the basis of only 1 shift & 1 machine. While we
have 5 machine at a same workcenters. for e.g capcity of 1 machine is 30,000 units
& we have 2 machine so available capicity is now 60,000 units. When we issued production
& check the capacity avail & req qty. It shows like this ..
Date Req Qty Avail Capicity
15.09.08 30,000 60,000
16.09.08 30,000 60,000
We want to utilize full available capicity in a same day. The distribution % of capicity is 100%.
Can any1 answer plz?
Regards,
RM
Hello Rasid,
What i have understood is you have created two production orders, the second order scheduled in next day, even though the previous day have enough available capacity.Since u have assigned no of spilt , lead time of order should have been reduced. Now u have to reschedule the second production order to previous day.
In that case do the capacity leveling for second order at Cm21/CM25. Before that activate finite scheduling check box at capacity header of the workcenter for which Prod order created.
Then check with capacity overview at cm01.If i am wrong please explain with examples
Regards
Pradeep
Similar Messages
-
After successfully signing up for the Apple Volume Purchasing Program, I went in to purchase a quantity of apps. The only distribution method that was available was the MDM. Our company does not have a MDM. I need redeemable codes. How do I get that option? I am using a PC.
Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?
No. Only apps purchased from the App Store can be re downloaded for free including updates. -
Capacity planning: capacity available at all workcenters
Dear all,
We have configured all the requirement for capacity availability check. the planned order is showing overload of capacity. but while doing conversion and checking in production order i am getting "capacity available at all work centers, which is actually overloaded.
Can anyone suggest how to resolve this?
Regards,
SharmilaSharmila,
I will assume this is a new implementation. Have you calculated the basic load yet?
http://help.sap.com/erp2005_ehp_06/helpdata/EN/60/13e30b133a11d3bf550000e83235ee/frameset.htm
http://help.sap.com/erp2005_ehp_06/helpdata/EN/60/13e314133a11d3bf550000e83235ee/frameset.htm
Best regards,
DB49 -
Is SAP Software Distribution Center available?
Hello Guru,
In the past, I can go to the link to download IDES Solution or IDES ECC6 SR2.
But Today I got to there again but I can not see anything. T_T
What's happen about my User? My AUTH has been changed, hasn't it?
So I just would like to know other guy can access the download link or not?
Regards and Thank you very much.
Path:
Installations and Upgrades => SAP Application Components => IDES SOLUTIONS (I don't see anything).
Installations and Upgrades => SAP Application Components => SAP ERP (I see only SAP ERP 2004).Some times ago same case appeared with me also. I raised an OSS message and they have updated the link on our customer number. There was some mapping problem with SAP side
Regards,
Subhash -
What is an upgrade distribution system?
In Apple discussion document 2465 [ https://discussions.apple.com/docs/DOC-2465 ] I found this question and answer:
Q: Are there any pitfalls to watch out for?
A: With all upgrades, backing up your data at least twice has been a given. Hardware can fail independently of downloads and upgrades, though may happen simultaneously. Software may be found to be incompatible that has not been tested with the new upgrade, or combination of other software that might be installed with the upgrade. It is also strongly recommended once your backup is complete, to shut down your computer, remove all but Apple wired keyboard and mouse (notebooks remove all input devices). Then once done, reboot, and go directly to the upgrade distribution system available.
Third party system tools, modification, and "maintenance" applications should be verified as compatible, or removed until known to be compatible. Check with developers how to remove if it is essential to use Lion before those applications become compatible. Most "maintenance" tools that deal with system cache, prebinding, are not really maintenance tools. Ask on forum when are the appropriate times to use them before assuming they should be used for upgrades or otherwise.
What is an upgrade distribution system?
Thanks.Well, if you happen to have several computers that run the same versions of software
and have similar need to upgrade them, essentially offline to not duplicate the costs of
bandwidth activity (and thus perhaps lose access due to overage fee or penalty) the
idea to download copies in a more traditional sense may be more difficult than with the
previous versions of OS X. With up to three Macs at similar OS X version build series,
it made sense to save all of the download compressed document or application files to
share with the other computers, to install & update them offline. And fully restore them
should the need arise, with complete copies of upgrade & updates, saved offline.
Now these require an Apple ID and other steps, the path isn't quite as clear. There may
be a path but it isn't as simple as copying a .zip file to a USB flash drive, and plug that
drive into another Mac, and drag the file to its desktop in Finder. It may be that simple
if you were to get the download without the baggage of ownership tags it may imply.
This is an area I haven't gotten into much, with only one Mac tied to an Apple ID.
The latest OS X is Mavericks 10.9.5, it is OK. I don't push it much with only 4GB RAM.
And the other computers mostly run Leopard 10.5.8. One Tiger 10.4.11. Another that
is seldom turned on, Mac OS8.6 (PowerMac 7600.) None are networked by server.
You could say I kinda made a mistake and kept a new old-stock Mini quad core server
that was ordered in December, so here it is. Although it asks on occasion for me to get
the AppleCare Plan, and extra RAM (it can use 16GB) it has two 1-TB HDDs. Sadly
both are only 5400-RPM rotational, not 7200-RPM; to supplement data transfer time.
Anyway, if you get a fair deal on a refurbished or new-old-stock i7 Mini quad core, it
may be a server model with dual hard drives. You could upgrade them & the RAM too.
And choose to not use the Server. With less RAM, now discontinued model runs OK
with the as-shipped Mavericks. Older stock was said to have Mountain Lion. Better yet
in situation where RAM and system resources are less. Yosemite likes even more...
Well, have fun with it, if possible...
Good luck & happy computing! -
How to send report output to two detinations at a time from command line?
Hi ,
how to send my report to two detinations at a time from command line i.e FILE and Mail ?
i created batchfile in that i mentioned one line for file(DESTYPE=FILE) perpose and another line for mail perpose(DESTYPE=Mail).i don't want to mention to lines.
i want to send my report out put two destinations at a time insted of running two times.
thx in advance.....
raghuhello,
did you try to use distribution for that ? check out the reports distribution facilities available in 6i.
regards,
the oracle reports team -
How to use embeddable EJB container (Java EE 6 / EJB 3.1) on Mac OS?
To my understanding, the intent of the embeddable EJB 3.1 container is - among others - to support out-of-container testing. I've created a JUnit test case that uses glassfish embeddable for integration testing of ejb 3.1 Light ejbs. I run the tests using Maven.
I have one general problem and one problem specific to Mac OS (I'm not able to use the embeddable container at all on Mac OS).
1. First the general problem: the ejb container does not inject or publish classes that are on the test class-path only:
src>main>java>MyEjb.class
src>test>java>MyTestEjb.class
The test case looks like this:
public class TestCase1b {
static EJBContainer container;
@BeforeClass
public static void initEjbContainer() {
container = EJBContainer.createEJBContainer();
for ( Object property : System.getProperties().keySet() ) {
System.out.print(property + " : ");
System.out.println(System.getProperty((String)property));
@Test
public void canTestWithTransaction() throws NamingException, NotSupportedException, SystemException {
Context ctx = container.getContext();
OrderServiceTesterEjb orderServiceTester = (OrderServiceTesterEjb) ctx
.lookup("java:global/classes/OrderServiceTesterEjb");
Assert.assertNotNull(orderServiceTester.testCreateOrderWithTransaction());
@AfterClass
public static void closeEjbContainer() {
container.close();
The idea with a test-ejb is to mimic the way I typically perform junit integration testing with Spring: the test database i preloaded with test data. Each test-method of the junit test case starts a transaction, invokes the service, evaluates the state of the database and finally performs a rollback. My idea was to mimic that by creating a test ejb (Stateless, REQUIRES_NEW), that injects the EJB to test, calls the method to test, evaluates the result or db state and finally sets rollbackonly before returning. The problem is that the test case can lookup ejbs in src/main/java, but not the "test" ejbs in src/test/java. My workaround is to include the test-EJBs in src/main/java which I think is not acceptable.
2. Next the Mac-problem:
The Mac OS JDK 1.6 contains version 1.0 of javax.annotation (jsr 250). EJBs developed with Java EE 6 depends on version 1.1 of javax.annotation. Specifically, one typically need @Resource(lookup=... and @DataSourceDefinition of javax.annotation.sql which are both missing in the JDK. I can compile my EJBs by adding the javaee-api-6.0.jar library to my classpath. But when running unit tests with maven (as described above), a runtime error is reported, stating that the lookup-property of the @Resource annotation is undefined. This is logical, since the boot classpath should have precedence. So I added javaee-api-6.0.jar to the lib/endorsed directory of the jre. Unfortunetely, this triggers a segmentation fault of the Mac OS JVM when running the test. I have no other workaround than switching to windows. Any help / hints are much appreciated.
/JohanJust as an update, we're soon to release the WLS 11g R1 PS2 update, which will contain WLS 10.3.3 just to confuse things.
As part of that, we're distributing for the first time, an additional .zip version of WLS to make it easier for developers.
The zip file distribution has no GUI installer -- it's a simple case of unzip, run a script it provides, then start the server.
The zip file distribution has been specifically tested on Mac OS X and the WLS config/domain scripts automatically adjust as necessary for the Mac OS X java environment.
Once the zip file distribution is available, we hope that developing against WLS on Mac OS X (and Windows/Linux) will be an easier task.
-steve- -
I am working in crm 5.0 . When I am trying to create a badi it always needs an enhancement spot. I do not have much idea about enhancement spot. Please give me step by step method for creating badi in crm 5.0. I know how to create badi in crm 4
Hi Sucheta,
To create BADI in CRM 5.0,
1. Go to SE 18, give the enhancement spot like following are standard ones:(its all about the purpose of creating a badi as its one of the enhancemen type so asks fro the spot where to enhance) with its techincal details:
Table Name ENH_EDT_LAYOUT
Field Name OBJECT1
Data Element ENH_ED_OBJ
The Standard enhancement Spots are:
/CEM/LRO_CUST_FIELDS EM/CREI interface: Customer extension fiel
/CRMS/CMG_PART_DETER Case Management: BAdI Partner Determinatio
/CRMS/CMG_REC_ATTR BAdI: Attributes for Links in Case Record
/CRMS/GET_PART_PPF_C BAdI: Partner Determination for Actions
/LIME/COLLECTOR BAdI to Fill Collections in LIME
/LIME/CUST BAdI for LIME Customizing
/LIME/DISPATCHER BAdI for Distribution of LIME Documents
/LIME/DOC_CHECK BAdI for Static Checks of Incoming Documen
/LIME/MASTER_DATA BAdI to Read Master Data for LIME
/LIME/QCI LIME QCI Converter
ARC_ADD_TABLE Extending the Structure Definition for Arc
ARC_CRM_ACT_ON BAdI for Archiving Object CRM_ACT_ON
ARC_CRM_COMP BAdI for Archiving Object CRM_COMP
ARC_CRM_GAG For Archiving Object CRM_GAG
ARC_CRM_GAP For Archiving Object CRM_GAP
ARC_CRM_IPMCON BAdI for Archiving Object CRM_IPMCON
ARC_CRM_IPMPUC BAdI for Archiving Object CRM_IPMPUC
ARC_CRM_IPMSAC BAdI for Archiving Object CRM_IPMSAC
ARC_CRM_LEAD BAdI for Archiving Object CRM_LEAD
ARC_CRM_LEAS For Archiving Object CRM_LEAS
ARC_CRM_OPPT BAdI for Archiving Object CRM_OPPT
ARC_CRM_SACONT BAdI for Archiving Object CRM_SACONT
ARC_CRM_SALDOC BAdI for Archiving Object CRM_SALDOC
ARC_CRM_SDBPBL Enhancement Spot for Archiving Object CRM_
ARC_CRM_SDBSOL For Archiving Object CRM_SDBSOL
ARC_CRM_SERORD BAdI for Archiving Object CRM_SERORD
ARC_CRM_SRCONT BAdI for Archiving Object CRM_SRCONT
ARC_CRM_SRVCON BAdI for Archiving Object CRM_SRVCON
ARC_CRM_SUR BAdI for Archiving Object CRM_SUR
ARC_CRM_UBBPOL BAdI for Archiving Object CRM_UBBPOL
ARC_SCMG Enhancements for Case Archiving
ARC_SRM_GSP Enhancements for Record Archiving
BADI_IBASE_IBARC IBase: Archiving
BADI_MI_SYNC_SERVICE BADI use in the Sync Service "MI_HOST"
BADI_MSA50 BAdis created for MSA5.0
BADI_MSE50 BAdis created for MSE 5.0
BADI_NUMBER_GET_NEXT
BADI_SORTER BAdI for sorting BAdI implementations
BADI_SORTER_TEST Test for BADI_SORTER_LAYER
BADI_TEST_SYNCSERVICE BADI_TEST_SYNCSERVICE
BADIS_SEU BAdIs for SEU
BDT_XCHNG_CREATE_SET Influence XCHNG Indicator during Creation
BIZC_CONFIGURATION Business Content: Configuration
BIZC_PRECONFIGURATION Business Content: Preconfiguration
BRF BRF-Releated BAdI Enhancements
BUPA_INITIAL_SCREEN
BUPA_LOCK Locking of a Business Partner
BUPA_MASK_LIST_ITEM SAP BP: Exit for masking the de-personalized fields of t
BUPA_OUTBOUND Business Partner Data Exchange (Outbound)
BUPA_PARTNER_CATEGORY Partner category for non update roles
BUPA_UOM Unit of Measure System for Each Partner/Address
BUPR_LOCK Locking of a Business Partner Relationship
CACL_MAIN01 BAdI for Required Field Check
CGPL_FETCH_RELATIONS Find the Linked Projects/Tasks Not Yet Loaded
CLEAR_DB_SAVE Clearing Tool: Exits of the (B)API Functions
COM_MERGE_DATA_SET Set Type-Specific Implementations
COM_PRODUCT_BSP_SPOT Enhancement Spot for PC UI Product Master
COM_PRODUCT_SE Spot for Searching for Product/Ind. Object Using Search
COM_SE_F4 SES: F4 Search Help integration
CRM_ATTR_PERS_CONTRO Editing Customer Attributes
CRM_BUPA_TFW_MEMORY TFW: Buffer Evaluation
CRM_CMG_ALT_CASE_APP Alternative Case Applications
CRM_CMG_BSP_EXT Case BSP Framework Extension SPOT
CRM_CMG_CASE_ACCESS Control for Processes in Case Management ("Internal Even
CRM_CMG_CASE_BOR_KEYS To get the external keys of the case linked BOs
CRM_CMG_NOTES_ACCESS Control for Processes of Case Notes
CRM_CONFIG_GRID_PRICE BAdI for Pricing of Matrix Products
CRM_CREI Entitlement Management Complaints and Returns Processing
CRM_ESELLING_SEARCH Enhancements in Internet Sales
CRM_ESERVICE_SEARCH Enhancements in E-Service
CRM_FINANCE_PAYMENT_SUM Read Payment Schedules for Lease
CRM_FS_BSP_MODEL_IL_FSBP Enhancement Spot for Business Partner PC-UI
CRM_FS_BSP_MODEL_IL_FSQ Enhancements for FS Quotation
CRM_IC_EXT_SPOT IC Web Client Rule Driven Interaction
CRM_IPM_AVAIL_CALC_GRP IPM: Calculate Rights Availability (Rights Groups)
CRM_IPM_AVAIL_ORD_CR_GRP IPM: Create an Order for Available Rights (Rights Groups
CRM_ISPS_GAP Grantor Managament Enhancements for Application
CRM_IST_PROD_FILTER Filtering of Items Determined in Bundle Explosion
CRM_IST_XI_CONF_MAPFROM_STATUS Define XI Status if XI Distribution is Available at the
CRM_LEAS_LINK_CREATE Generates Links Between Financing Items
CRM_MASTER_AGREEMENT BAdIs for Outline Agreement Selection
CRM_MI Investigation
CRM_PRODUCT_ATTRTEXT_SPOT Product Attribute Text Spot
CRM_UBB_PREBILLING Enhancements for UBB Prebilling
CWB_EXTERNAL
DD_ENQU_LISTENER Listener for Enqueues
EFG_PRINT_PARAMS Print Parameter
EFG_SPOOL_OUTPUT BAdI for Status of Spool Output Requests
ES_ENHCROSS_REBUILD Rebuild ENHCROSS
ES_ENHCROSS_UPDATE Entry for AFTER-IMPORT method for conversion of ENHCROSS
ES_SAPLOMCV_BADI BAdIs for Conversion Exit
EXTRACT_DATA Data selection for IPC
FKKCORR_EXP_9992 Correspondence: Example - Definition of Corresp. Type 99
FPB_PERS_GENERAL Personalization: General Enhancements for Framework
FSBP_ALIAS_BAPI_EXTENSION BAdIs for Aliases for Parameter Extension
FSBP_CREDT_STANDNG_BAPI_EXTEND BAPI Parameter Extensions for Credit Standing Data
HRTM00_TL_CALCULATION Talent Management: Enhancement Spot for Calculating Stat
IS_OIL_ACTIVE BAdI for Determining Whether Industry Business Solution
MDF_FND_CRT MDF Fund create
MDS_CTRL_ACT_CHECK Additional Checks for Maintenance View MDSV_CTRL_OPT_A
MDS_CTRL_PPO Post-Processing Office Call from the Controller
MISYNCSERVICE Badi for SyncService (MI)
OA_BADI_LINK BADI for ArchiveLink Links
PLM_AUDIT_SAP_TXT Audit Management: Platform-Specific Connection for Long
PLM_AUDIT_TEXT_ID Definition of Text Types for Each Audi
RCM_REC_WD
RCM_RECORD_BADI RCM: BAdIs for the Record
RCV_BP_ISOLATION Business Partner Decoupling
SCMA_TREE_STATUS
SFW_SWITCH_CHANGED Subsequent processing after switch cha
SOLAR_DOCUMENT_EXITS
SRM_DOC_ACT_AUTH_C SP Document -Enhancment spot for activ
SUSR_CUA_STATUS_SWITCH Status Change of the CUA Connection
WD_BADI Web Dynpro: BAdI Definitions
WF_BWP_DYN_COLUMN Set Dynamic Columns in Inbox
WF_BWP_OBJ_ATTRIBUTE Set Default Attributes for Objects in
WF_BWP_SELECT_FILTER Filter for Inbox Selection
YY_ORDER_SAVE Testing purpose
2.You can create also new enhancement spot (your Own) and create a BADI definition in the second Screen under the tab "Enhancement Spot Element Definition" for both ZZ as well as standard enahcement spots(in change Mode).
For More Information just go through the Link:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/da/1c40425c459923e10000000a155106/frameset.htm
Hope this will help you
Regards,
Arjun
<b>Reward points if it helps</b> -
How to get SO data on PR creation using exit EXIT_SAPLMEQR_001 ?
Dears,
I have a requirement which involves activation of PR creation from SO.
I have activated the exit EXIT_SAPLMEQR_001to assign source suply according to non standard rules.
The thing is that I need to have the field VBAK-VTWEG (Distribution Channel) available to make my source supply assignments because vendors are classified based on field VTWEG.
The only fields I have available are these ones:
""Local Interface:
*" IMPORTING
*" VALUE(I_BQPIM) LIKE BQPIM STRUCTURE BQPIM
*" VALUE(I_BANFN) LIKE EBAN-BANFN OPTIONAL
*" VALUE(I_BNFPO) LIKE EBAN-BNFPO OPTIONAL
*" TABLES
*" T_SOURCES STRUCTURE SRC_DETERM
*" CHANGING
*" VALUE(C_BQPEX) LIKE BQPEX STRUCTURE BQPEX
I tried to Sales Order from table EBKN...
SELECT SINGLE VBELN INTO lv_VBELN from EBKN WHERE BANFN = EBAN-BANFN AND BNFPO = EBAN-BNFPO.
The thing is that at the time the exit runs, the PR BANFN doesnt exist yet, thus, I cant find any reference SO.
The only avaliable/interesting fields I have in this exit are:
I_BQPIM-MATNR 810101
I_BQPIM-WERKS 0050
I_BQPIM-MATKL 40206
I_BQPIM-OLDAT 00000000
I_BQPIM-NEDAT 20101122
I_BQPIM-BESKZ
I_BQPIM-SOBES
I_BQPIM-OLMNG 0.000
I_BQPIM-NEMNG 1.000
I_BQPIM-OLBSM 0.000
I_BQPIM-NEBSM 0.000
I_BQPIM-BSART ZTPS
I_BQPIM-BSTYP B
I_BQPIM-PSTYP 5
I_BQPIM-BSAKZ
I_BQPIM-KZVBR V
I_BQPIM-KNTTP Z
I_BQPIM-SEQU
I_BQPIM-VORGA B
I_BQPIM-KUNNR 0000000882
I_BANFN 4000000176
I_BNFPO 00050
And a list of source suppliers based on inforecords.
Also no Distribution channel available or sales order information.
Any ideas on how this could be achieved?
Thank you in advance for any constructive suggestions,
João CabritaHi John,
Thanks for your suggestion. To be honest I also thought about a similar solution and applied it, though I thought it was not so clean as the one I used after.
I have checked the ABAP stack and saw where we were "loosing" the VBAK-VTWEG.
On the exit code I have done something like this:
DATA: lv_vtweg TYPE vbak-vtweg,
l_stru_name(20) TYPE c VALUE '(SAPFV45E)VBAK'.
FIELD-SYMBOLS: -vtweg.
And problem was solved.
Cheers,
João Cabrita -
my Macbook Pro with 2.16GHz Intel Core Duo (Mac OS X v10.4 Tiger) can convert to Lion?
ToyooThese are some of the most common Questions (Q) and Answers (A) about Lion:
Q: What are the system requirements of the Lion upgrade?
A: Core2Duo, Core i3, i5, i7, and Xeon Intel CPUs with 2 GB of RAM in a Macintosh computer with 2 GB of RAM, and 4 GB (7 GB after installed) for downloading from the Mac App Store (Available in 10.6.6 and later). Unofficially, past upgrades have arbitrarily also required an additional 15% of the hard drive to be free for data.
Q: What applications are compatible with Lion?
A: http://roaringapps.com/apps:table provides a nice third party editable listing for people to include the compatible applications. Many of these compatibility entries came from before Lion's release. Please verify they are correct now that it has been released, and help edit it for more accurate data. Be sure to include any update version of Lion post release that you have found is or is not compatible with it, for the help of others who may be upgrading to Lion the first time. Additionally, as it was released, there is no Rosetta. This means any application that is stated to be PowerPC in the System Profiler, will not work with Lion, and needs a comparable application or upgrade to be compatible. The System Profiler is in Apple menu -> About This Mac -> More Info. Intel and Universal applications are on the whole supported, though may still need some tweaking before every feature is compatible.
Q: Are there any pitfalls to watch out for?
A: With all upgrades, backing up your data at least twice has been a given. Hardware can fail independently of downloads and upgrades, though may happen simultaneously. Software may be found to be incompatible that has not been tested with the new upgrade, or combination of other software that might be installed with the upgrade. It is also strongly recommended once your backup is complete, to shut down your computer, remove all but Apple wired keyboard and mouse (notebooks remove all input devices). Then once done, reboot, and go directly to the upgrade distribution system available. Third party system tools, modification, and "maintenance" applications should be verified as compatible, or removed until known to be compatible. Check with developers how to remove if it is essential to use Lion before those applications become compatible. Most "maintenance" tools that deal with system cache, prebinding, are not really maintenance tools. Ask on forum when are the appropriate times to use them before assuming they should be used for upgrades or otherwise.
Q: How can I get from 10.4 or 10.5 to 10.6.6?
A: Purchase a 10.6 retail installer from an Apple retail or third party reseller. It has a picture of a Snow Leopard on the DVD, and does not say Upgrade, Dropin, or OEM. Install it, and then install the 10.6.6 combo update from:
http://support.apple.com/kb/DL1349
Q: Is it true that I can only get it from the Mac App Store?
A: Presently this truth is based on current documentation as of the writing of this article. It may change, but we can't speculate as to its change. It has a better chance of changing if users request something different at:
http://www.apple.com/feedback/macosx.html
Q: What limitations might one encounter if it doesn't change?
A: First off the 7 GB space limitation on the hard disc after it is installed. Secondly, the size of the download file requires significant time, unless you have a high speed broadband connection. Times expected are below -
4 GB at:
5Mbps is 2 hours.
at 1 Mbps is 10 hours.
at 384 kbps is 27 hours.
at 56k kbps is 184 hours (nearly 8 days).
If you include the 10.6.6 combo update of 1.06 GB
add 29 minutes for 5 Mbps
145 minutes (2 and 25 minutes) for 1 Mbps
6 and a half hours for 384kbps
A 24 hour day and 15 hours (for a total of a minimum of 39 hours) for 56kbps
Remember the retail 10.6 currently does not include the App Store, and those upgrading from 10.5.8 or earlier will need to both buy the retail 10.6, and download the combo 10.6.6 update, not to mention ensure they have the correct processor and 2 GB of RAM. Finally once it is available, you'll have find out how long approximately it takes to install after the download is complete.
These times do not include installation time, which on a MacBook Pro 3,1 15" installing on a Firewire 800 Newertech Voyager with WD10ACS-322J80 drive, 10.6.7, took 1 hour and a half to complete the installation from double clicking the install command to the registration screen. These times may vary by connection speeds from a non-dedicated connection, or background application usage of the internet. Any applications running when the installation process begins might interfere with the installation itself, and they should be quit first.
The installer just before it starts has in its package contents an InstallESD.dmg file a DVD burnable image to install on additional computers in the home without downloading over again. So if you desire to reinstall without an extra internet download, extract that file, by selecting the installer in the dock, and control-clicking it, and revealing it in the Finder. Next Control-mouse click it, and select show package contents. Inside that folder is a Shared Support folder. That's where you find the DMG.
Q: If I purchased a Mac recently, can I get it cheaper?
A: Yes, visit http://www.apple.com/macosx/uptodate/ for details.
Q: When will Lion become available?
A: It became available July 20, 2011.
Q: Which Macs can run Lion?
A: Look at Apple menu -> About This Mac -> More Info, and see if you meet the Machine ID and RAM requires under the hardware. 2 GB is required for all These Machine IDs will run Lion:
Mac Mini 2,1 and later
MacBook 2,1 and later.
iMac 5,1 and later.
All MacBook Air.
MacBook Pro 2,1 and later
All MacPros.
The Macs with the Machine IDs below will not run Lion (x can be any number):
Mac Mini 1,x or PowerMac x,x
MacBook 1,x
MacBook Pro 1,x
iMac 4,x, 3,x, 2,x, 1,x
Authored by a brody
-
I'm building Erlang/OTP R12B-4(*) on a T1000 server and seeing this error:
gcc: Internal error: Segmentation Fault (program cg)
Please submit a full bug report to
<URL:http://forum.java.sun.com/forum.jspa?forumID=905>.
I had the same error with the 4.0.3 which came installed on the system.
The context of the error is:
gcc -g -O3 -fomit-frame-pointer -I/usr/local/src/otp_src_R12B-4/erts/sparc-sun-solaris2.10 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wa,-xarch=v8plusa -Ibeam -Isys/unix -Isys/common -Isparc-sun-solaris2.10/opt/smp -Isparc-sun-solaris2.10 -Izlib -Ipcre -Ihipe -I../include/internal -I../include/internal/sparc-sun-solaris2.10 -c beam/erl_bif_info.c -o obj/sparc-sun-solaris2.10/opt/smp/erl_bif_info.o
gcc: Internal error: Segmentation Fault (program cg)
Please submit a full bug report to
<URL:http://forum.java.sun.com/forum.jspa?forumID=905>.
make[3]: *** [obj/sparc-sun-solaris2.10/opt/smp/erl_bif_info.o] Error 1
make[3]: Leaving directory `/usr/local/src/otp_src_R12B-4/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/usr/local/src/otp_src_R12B-4/erts/emulator'
make[1]: *** [smp] Error 2
make[1]: Leaving directory `/usr/local/src/otp_src_R12B-4/erts'
gmake: *** [emulator] Error 2
(*) http://erlang.org/download/otp_src_R12B-4.tar.gz$ gcc --version
sparc-sun-solaris2.10-gcc (GCC) 4.0.3 (gccfss)
This is the version installed with the latest Solaris 10 5/09:
vances@earl$ pkginfo -l SUNW0gccfss
PKGINST: SUNW0gccfss
NAME: GCC for SPARC(R) Systems
CATEGORY: application
ARCH: sparc
VERSION: 4.0.3
BASEDIR: /opt
PSTAMP: sacrum20061020151241
INSTDATE: Jan 13 2009 22:10
STATUS: completely installed
FILES: 538 installed pathnames
7 linked files
62 directories
31 executables
354905 blocks used (approx)
The Erlang/OTP source distribution is available here:
http://erlang.org/download.html -
Shocked ! Featured apps in adobe market place - 30 downloads quanp slideshow
Hi,
I am confused, how does adobe choose the featured app in adobe market place. I am shocked to see today morning that quanp slideshow an app which was downloded only 30 times and not even rated once was in featured app, now it has 90 downlods.
Same case for another featured app peypa paper downloaded less than other apps. Atleast if any highest rated app is there i would have been happy.
Also for months staff picks are same. Adobe Wake up! We are already late in montezation. If we keep adobe market place like this. App developers like us will loose confidence. We together have to prove adobe flash platform no1 and make droid ahead of any other phones and adobe market place no 1 store than any istore in world
Cheers
SureshWe want as many developers to be successful with their applications as possible and make money. To enable this, we are making a number of distribution channels available through Melrose. You can get placement in the Intel AppUp Center as well as the Adobe AIR Marketplace. Over time, additional stores will be available. Please submit your app into Melrose and reach millions of users.
Regarding choice of featured apps, each store has their own ways to feature applications. All the featured apps are high quality apps that demonstrate the capabilities of the Flash Platform. -
EngLab - Open source mathematical/engineering platform
Hello all,
I'm new to Archlinux and quite exited with it. Anyway, some colleagues of mine from the University and me have created an engineering platform for the Linux platform, although Windows builds are also available. If you like check it out, but be aware that it's still on an early development stage.
(I hope this is the right board to post this )
Website: http://englab.sourceforge.net/
Now that I am into Arch I'm going to make some research and create a build system for it to run on Arch and with your help maybe enter the AUR.
Here is our press presentation for the first big release (now we're on 0.2.1alpha):
We are pleased to inform you that the 0.2alpha release of the open-source program EngLab has been published.
Our site is located to englab.sourceforge.net . You can download it from https://sourceforge.net/project/showfil … _id=206384
EngLab is a cross-compile mathematical platform with a C like syntax, intended to be used both by engineers and users with little programming knowledge. The initiative has been taken from a group of students a year ago.
Our goal is to develop an easy-to-use computaion and simulation platform with a C++ like syntax. We have adopted Matlab's structure philoshophy and C++ 's structured language syntax. There are various toolboxes (packages of functions relative to a certain scientific field), which depend on open-source libraries.
The EngLab distribution is available in two ways: there are two basic Englab releases, EngLab Console and EngLab GUI. EngLab Console allows EngLab's execution through the console(Linux or Windows). EngLab GUI gives the opportunity of using EngLab through a graphical user interface. EngLab GUI is implemented with the use of the open-source library wxWidgets 2.8, providing additional usability compared to EngLab Console edition. EngLab GUI is independent, so there is no need for EngLab Console to be installed, in order to properly install and execute EngLab GUI.
Toolboxes are distributed as seperate packages. Their installation is possible either through EngLab Console or EngLab GUI. The reason is that those toolboxes depend on open-source libraries that have to be previously installed. So as the user not to be forced to install those libraries directly, user can install packages and toolboxes at his/her own will.
For the time being, EngLab Console edition is available for Windows and Linux and Englab GUI is available for Linux only.
Until now EngLab has the following features :
- 16 types of variable declaration (int, float, ...)
- Variable declaration with unlimited number of dimensions.
- Loop structures (for, while, ...)
- Arithmetic, logical and binary operations
- Constant number declaration (pi, phi, ...)
- Graphical manipulation of variable values of any dimension (Englab GUI)
- Adjustable graphical environment (Englab GUI)
- Editor for writing *.eng functions (Englab GUI)
- Command history for the last 5 sessions
- Immediate access to variables, constants and functions (EngLab GUI)
- Recent files opened through EngLab (EngLab GUI)
Toolboxes that have been fully or partially implemented:
- a package containing fundamental functions of C (trigonemetric, hyperbolic trigonometrical, ...)
- a package containing some statistic functions
- a package containing functions that allow convertions of the variable type
All these toolboxes accompany the basic two EngLab editions, since they do not depend on another open-source library. Moreover, some other toolboxes have been partially implemented:
- a package that contains functions for the manipulation of 2-D matrices (determinant, inverse array, ...). This package depends on the open-source library NewMat10.
- a package that contains functions for image processing. This package depends on the open-source library CImg.
- a package that contains functions for image processing. This package depends on the open-source library OpenCV.
Also, we develop
- a toolbox for visual data representation(plots etc)
- a toolbox that contains functins for manipulating polyonymials, root detection, computation of integrals and derivatives, special functions and more.
Those two toolboxes will be available in the next releases.
The disadvantage is the number of EngLab developers, which does not allow EngLab's quick development. Thus, helping us would be welcomed.
You can help us with the following two ways:
- By reporting bugs, which you have observed during EngLab execution. You can report bugs in https://sourceforge.net/tracker/?group_ … tid=997443 . Moreover, you can suggest new features that would improve EngLab's usability and performance. New features can be suggested in https://sourceforge.net/tracker/?group_ … tid=997446 .
- If you would like to get more into EngLab, you can become EngLab developers and help us. That requires C++ knowledge.
If you have read till here, that's a good sign. Wink
You could ask questions in the mailing list [email protected] or in the forum .
EngLab development team :
Bugfest development team :
Serenis Charalampos - PhD student of the Department of Electrical and Computer Engineering of Aristotle University of Thessaloniki(Greece).
Tsardoulias Emmanouil - PhD student of the Department of Electrical and Computer Engineering of Aristotle University of Thessaloniki(Greece).
Gavves Efstratios - Dipl. Engineer of the Department of Electrical and Computer Engineering of Aristotle University of Thessaloniki(Greece).
Parastatidis Nikolas - Postgraduate student of the Department of Electrical and Computer Engineering of Aristotle University of Thessaloniki(Greece).
Also contributed:
Gkekas Christos - Dipl. Engineer of the Department of Electrical and Computer Engineering of Aristotle University of Thessaloniki(Greece).
Vogianou Thanassis - PhD student of the Department of Electrical and Computer Engineering of Aristotle University of Thessaloniki(Greece).We are glad to announce that version 0.3 of Englab has been released. The new version contains several bug fixes and improvements in the kernel, a new and advanced GUI based on the Qt toolkit and toolboxes with several functions. Amongst the featured toolboxes are:
- cimgbox, image processing and manipulation toolbox
- plotbox, toolbox for plotting graphs and figures
- dspbox, toolbox for Digital Signal Processing and audio processing
as dynamic (external) toolboxes and:
- analogfilters, toolbox for analog filter design
- unit conversions toolboxes, complex numbers toolbox, polynomials toolbox, stats toolbox etc.
as static (internal) toolboxes.
Englab is available for GNU/Linux, Unix (not tested) and Windows32 platforms.
For GNU/Linux
- Platform-independent
The source tarballs are available at:
http://sourceforge.net/project/showfile … _id=206384
- Debian/Ubuntu (and other Debian-based distributions)
Precompiled deb packages are available for download here:
http://sourceforge.net/project/showfile … _id=292500
or to use our Debian repository, simply add it to your package sources by appending the following lines to /etc/apt/sources.list
deb http://englab.bugfest.net/debian unstable main
deb-src http://englab.bugfest.net/debian unstable main
(Please note that you need to have root permission in order to edit the sources.list file)
- Archlinux
PKGBUILD scripts are available in AUR:
http://aur.archlinux.org/packages.php?O … _Search=Go
or in sourceforge:
http://sourceforge.net/project/showfile … _id=292585
and also precompiled Arch packages exist in our Archlinux repository. In your /etc/pacman.conf add the following lines for the i686 architecture:
[englab]
Server = http://englab.bugfest.net/arch/i686
and for the x86_64 architecture:
[englab]
Server = http://englab.bugfest.net/arch/x86_64
then execute:
# pacman -Syu
to allow pacman to synchronize with the repository and:
# pacman -Ss englab
to see all the available packages.
- Fedora
RPM packages can be downloaded from sourceforge:
http://sourceforge.net/project/showfile … _id=324683
For Windows
Download the zip from sourceforge:
http://sourceforge.net/project/showfile … _id=324502
and unzip it to the directory of your choice.
For possible bugs, feature requests and any comments you may have please send us an e-mail at:
[email protected]
Thank you! -
RV document posting line item wise in FBL5N tcode
Dear Experts,
I had posetd the Invoice to accounts with 3 line items. While checking the FBL5N report the Rv doument no is displaying 3 items i.e. repective line item wise prices are displayed. But my requirement is i want to check the doument wise i.e. all line items rolling up to singlke price. How to achied this.
Regards
abhiHi Lakshmi,
We are using ECC 6.0 Version i am unable to find the path as per your reply wherein Perform Document Summarization for Sales and Distribution is available in PERIODIC PROCESSING> Integration> SD. But what settings needs to be done when i check the Perform Document Summarization for Sales and Distribution system is asking for Ref Transaction and when i check Billing document header it is in display mode with New Entries required.
My requirement is i am posting a Invoice with 2 line items ( service related Billing). Please find the below report in FBL5N
6700147 6700147 RV 22.07.2009 22.07.2009 123.00
6700147 6700147 RV 22.07.2009 22.07.2009 222.00.
But the accounting document No is same. i need one A/c No 67000147 and the total amount has 345.
Regards
jayanth -
Intalling Postgresql in solaris 10
I have downloaded the postgresql package from
www.postgresql.org/download/bittorent
i have unziped the files. i dont know how to continue with the installation.Here is some documentation to get you started......It available online.
Author : Chris Drawater
Date
: May 2005
Version : 1.2
PostgreSQL 8.0.02 for J2EE applications on Solaris 10
Abstract
Advance planning enables PostgreSQL 8 and its associated JDBC driver to be quickly deployed in a
basic but resilient and IO efficient manner.
Minimal change is required to switch JDBC applications from Oracle to PostgreSQL.
Document Status
This document is Copyright � 2005 by Chris Drawater.
This document is freely distributable under the license terms of the GNU Free Documentation License
(http://www.gnu.org/copyleft/fdl.html). It is provided for educational purposes only and is NOT
supported.
Introduction
This paper documents how to deploy PostgreSQL 8 and its associated JDBC driver in a basic but both
resilient and IO efficient manner. Guidance for switching from Oracle to PostgreSQL is also provided.
It is based upon experience with the following configurations =>
PostgreSQL 8.0.2 on Solaris 10
PostgreSQL JDBC driver on Windows 2000
using the PostgreSQL distributions =>
postgresql-base-8.0.2.tar.gz
postgresql-8.0-311.jdbc3.jar
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p1/10
Page 2
Background for Oracle DBAs
For DBAs coming from an Oracle background, PostgreSQL has a number of familiar concepts including
Checkpoints
Tablespaces
MVCC concurrency model
Write ahead log (WAL)+ PITR
Background DB writer
Statistics based optimizer
Recovery = Backup + archived WALs + current WALs
However , whereas 1 Oracle instance (set of processes) services 1 physical database, PostgreSQL differs in
that
1 PostgreSQL �cluster� services n * physical DBs
1 cluster has tablespaces (accessible to all DBs)
1 cluster = 1 PostgreSQL instance = set of server processes etc ( for all DBs) + 1 tuning config +
1 WAL
User accts are cluster wide by default
There is no undo or BI file � so to support MVCC, the �consistent read� data is held in the tables
themselves and once obsolete needs to be cleansed out using the �vacuum� utility.
The basic PostgreSQL deployment guidelines for Oracle aware DBAs are to =>
Create only 1 DB per cluster
Have 1 superuser per cluster
Let only the superuser create the database
Have one user to create/own the DB objects + n* endusers with appropriate read/write access
Use only ANSI SQL datatypes and DDL.
Wherever possible avoid DB specific SQL extensions to ensure cross-database portability
IO distribution & disc layouts
It is far better to start out with good disc layouts rather than reto-fix for a production database.
As with any DBMS, for resilience, the recovery components ( eg. backups , WAL, archived WAL logs)
should kept on devices separate from the actual data.
So the basic rules for resilience are as follows.
For non disc array or JBOD systems =>
keep recovery components separate from data on dedicated discs etc
keep WAL and data on separate disc controllers
mirror WAL across discs ( preferably across controllers) for protection against WAL spindle loss
For SAN based disc arrays (eg HP XP12000) =>
keep recovery components separate from data on dedicated LUNs etc
use Host Adapter Multipathing drivers (such as mpxio) with 2 or more HBAs for access to SAN .
Deploy application data on mirrored/striped (ie RAID 1+0) or write-cache fronted RAID 5 storage.
The WAL log IO should be configured to be osync for resilience (see basic tuning in later section).
Ensure that every PostgreSQL component on disc is resilient (duplexed) !
Recovery can be very stressful�
Moving onto IO performance, it is worth noting that WAL IO and general data IO access have different IO
characteristics.
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p2/10
Page 3
WAL sequential access (write mostly)
Data sequential scan, random access write/read
The basic rules for good IO performance �.
use tablespaces to distribute data and thus IO across spindles or disc array LUNs
keep WAL on dedicated spindles/LUNs (mirror/stripe in preference to RAID 5)
keep WAL and arch WAL on separate spindles to reduce IO on WAL spindles.
RAID or stripe data across discs/LUNs in 1 Mb chunks/units if unsure as what chunk size to use.
For manageability, keep the software distr and binaries separate from the database objects.
Likewise, keep the system catalogs and non-application data separate from the application specific data.
5 distinct storage requirements can be identified =>
Software tree (Binaries, Source, distr)
Shared PG sys data
WAL logs
Arch WAL logs
Application data
For the purposes of this document , the following minimal set of FS are suggested =>
/opt/postgresql/8.0.2
# default 4 Gb for software tree
/var/opt/postgresql
# default 100 Mb
/var/opt/postgresql/CLUST/sys
# default size 1Gb for shared sys data
/var/opt/postgresql/CLUST/wal
# WAL location # mirrored/striped
/var/opt/postgresql/CLUST/archwal
# archived WALs
/var/opt/postgresql/CLUST/data
# application data + DB sys catalogs # RAID 5
where CLUST is your chosen name for the Postgres DB cluster
For enhanced IO distribution , a number of �/data FS (eg data01, data02 etc) could be deployed.
Pre-requisites !
The GNU compiler and make software utilities (available on the Solaris 10 installation CDs) =>
gcc (compiler) ( $ gcc --version => 3.4.3 )
gmake (GNU make)
are required and should be found in
/usr/sfw/bin
Create the Unix acct
postgres
in group dba
with a home directory of say /export/home/postgresql
using
$ useradd utility
or hack
/etc/group then /etc/passwd then run pwconv and then passwd postgres
Assuming the following FS have been created =>
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p3/10
Page 4
/opt/postgresql/8.0.2
# default 4 Gb for the PostgreSQL software tree
/var/opt/postgresql
# default 100 Mb
create directories
/opt/postgresql/8.0.2/source
# source code
/opt/postgresql/8.0.2/distr
# downloaded distribution
all owned by user postgres:dba with 700 permissions
To ensure, there are enough IPC resources to use PostgreSQL, edit /etc/system and add the following lines
=>
set shmsys:shminfo_shmmax=1300000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=200
set shmsys:shminfo_shmseg=20
set semsys:seminfo_semmns=800
set semsys:seminfo_semmni=70
set semsys:seminfo_semmsl=270 # defaults to 25
set rlim_fd_cur=1024
# per process file descriptor soft limit
set rlim_fd_max=4096
# per process file descriptor hard limit
Thenn on the console (log in as root) =>
$ init 0
{a} ok boot -r
Download Source
Download the source codes from http://www.postgresql.org (and if downloaded via Windows, remember
to ftp in binary mode) =>
Distributions often available include =>
postgresql-XXX.tar.gz => full source distribution.
postgresql-base-XXX.tar.gz => Server and the essential client interfaces
postgresql-opt-XXX.tar.gz => C++, JDBC, ODBC, Perl, Python, and Tcl interfaces, as well as multibyte
support
postgresql-docs-XXX.tar.gz => html docs
postgresql-test-XXX.tar.gz => regression test
For a working, basic PostgreSQL installation supporting JDBC applications, simply use the �base�
distribution.
Create Binaries
Unpack Source =>
$ cd /opt/postgresql/8.0.2/distr
$ gunzip postgresql-base-8.0.2.tar.gz
$ cd /opt/postgresql/8.0.2/source
$ tar -xvof /opt/postgresql/8.0.2/distr/postgresql-base-8.0.2.tar
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p4/10
Page 5
Set Unix environment =>
TMPDIR=/tmp
PATH=/usr/bin:/usr/ucb:/etc:.:/usr/sfw/bin:usr/local/bin:n:/usr/ccs/bin:$PATH
export PATH TMPDIR
Configure the build options =>
$ cd /opt/postgresql/8.0.2/source/postgresql-8.0.2
$ ./configure prefix=/opt/postgresql/8.0.2 with-pgport=5432 --without-readline
CC=/usr/sfw/bin/gcc
Note => --enable-thread-safety option failed
And build =>
$ gmake
$ gmake install
On an Ultra 5 workstation, this gives 32 bit executables
Setup Unix environment
Add to environment =>
LD_LIBRARY_PATH=/opt/postgresql/8.0.2/lib
PATH=/opt/postgresql/8.0.2/bin:$PATH
export PATH LD_LIBRARY_PATH
Create Database(Catalog) Cluster
Add to Unix environment =>
PGDATA=/var/opt/postgresql/CLUST/sys
# PG sys data , used by all DBs
export PGDATA
Assuming the following FS has been created =>
/var/opt/postgresql/CLUST/sys
# default size 1Gb
where CLUST is your chosen name for the Postgres DB cluster,
initialize database storage area, create shared catalogs and template database template1 =>
$ initdb -E UNICODE -A password
-W
# DBs have default Unicode char set, user basic passwords, prompt for super user password
Startup, Shutdown and basic tuning of servers
Check servers start/shutdown =>
$ pg_ctl start -l /tmp/logfile
$ pg_ctl stop
Next, tune the PostgreSQL instance by editing the configuration file $PGDATA/postgresql.conf .
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p5/10
Page 6
First take a safety copy =>
$ cd $PGDATA
$ cp postgresql.conf postgresql.conf.orig
then make the following (or similar changes) to postgresql.conf =>
# listener
listen_addresses = 'localhost'
port = 5432
# data buffer cache
shared_buffers = 10000
# each 8Kb so depends upon memory available
#checkpoints
checkpoint_segments = 3
# default
checkpoint_timeout = 300
# default
checkpoint_warning = 30
# default � logs warning if ckpt interval < 30s
# log related
fsync = true
# resilience
wal_sync_method = open_sync
# resilience
commit_delay = 10
# group commit if works
archive_command = 'cp "%p" /var/opt/postgresql/CLUST/archwal/"%f"'
# server error log
log_line_prefix = '%t :'
# timestamp
log_min_duration_statement = 1000
# log any SQL taking more than 1000ms
log_min_messages = info
#transaction/locks
default_transaction_isolation = 'read committed'
Restart the servers =>
$ pg_ctl start -l /tmp/logfile
Create the Database
This requires the FS =>
/var/opt/postgresql/CLUST/wal
# WAL location
/var/opt/postgresql/CLUST/archwal
# archived WALs
/var/opt/postgresql/CLUST/data
# application data + DB sys catalogs
plus maybe also =>
/var/opt/postgresql/CLUST/backup
# optional for data and config files etc as staging
area for tape
Create the clusterwide tablespaces (in this example, a single tablespace named �appdata�) =>
$ psql template1
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p6/10
Page 7
template1=# CREATE TABLESPACE appdata LOCATION '/var/opt/postgresql/CLUST/data';
template1=# SELECT spcname FROM pg_tablespace;
spcname
pg_default
pg_global
appdata
(3 rows)
and add to the server config =>
default_tablespace = 'appdata'
Next, create the database itself (eg name = db9, unicode char set) =>
$ createdb -D appdata -E UNICODE -e db9
# appdata = default TABLESPACE
$ createlang -d db9 plpgsql
# install 'Oracle PL/SQL like' language
WAL logs are stored in the directory pg_xlog under the data directory. Shut the server down & move the
directory pg_xlog to /var/opt/postgresql/CLUST/wal and create a symbolic link from the original location in
the main data directory to the new path.
$ pg_ctl stop
$ cd $PGDATA
$ mv pg_xlog /var/opt/postgresql/CLUST/wal
$ ls /var/opt/postgresql/CLUST/wal
$ ln -s /var/opt/postgresql/CLUST/wal/pg_xlog $PGDATA/pg_xlog
# soft link as across FS
$ pg_ctl start -l /tmp/logfile
Assuming all is now working OK, shutdown PostgreSQL & backup up all the PostgreSQL related FS
above� just in case�!
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p7/10
Page 8
User Accounts
Create 1 * power user to create/own/control the tables (using psql) =>
$ pgsql template1
create user cxd with password 'abc';
grant create on tablespace appdata to cxd;
Do not create any more superusers or users that can create databases!
Now create n* enduser accts to work against the data =>
$pgsql template1
CREATE GROUP endusers;
create user enduser1 with password 'xyz';
ALTER GROUP endusers ADD USER enduser1;
$ psql db9 cxd
grant select. on <table>. to group endusers;
JDBC driver
A pure Java (Type 4) JDBC driver implementation can be downloaded from
http://jdbc.postgresql.org/
Assuming the use of the SDK 1.4 or 1.5, download
postgresql-8.0-311.jdbc3.jar
and include this in your application CLASSPATH.
(If moving JAR files between different hardware types, always ftp in BIN mode).
Configure PostgreSQL to accept JDBC Connections
To allow the postmaster listener to accept TCP/IP connections from client nodes running the JDBC
applications, edit the server configuration file and change
listen_addresses = '*'
# * = any IP interface
Alternatively, this parameter can specify only selected IP interfaces ( see documentation).
In addition, the client authetication file will need to edited to allow access to our database server.
First take a backup of the file =>
$ cp pg_hba.conf pg_hba.conf.orig
Add the following line =>
host db9
cxd
0.0.0.0/0
password
where , for this example, database db9, user cxd, auth password
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p8/10
Page 9
Switching JDBC applications from Oracle to PostgreSQL
The URL used to connect to the PostgreSQL server should be of the form
jdbc:postgresql://host:port/database
If used, replace the line (used to load the JDBC driver)
Class.forName ("oracle.jdbc.driver.OracleDriver");
with
Class.forName("org.postgresql.Driver");
Remove any Oracle JDBC extensions, such as
((OracleConnection)con2).setDefaultRowPrefetch(50);
Instead, the row pre-fetch must be specified at an individual Statement level =>
eg.
PreparedStatement pi = con1.prepareStatement(�select�.�);
pi.setFetchSize(50);
If not set, the default fetch size = 0;
Likewise, any non ANSI SQL extensions will need changing.
For example sequence numbers
Oracle => online_id.nextval
should be replaced by
PostgreSQL => nextval('online_id')
Oracle �hints� embedded within SQL statements are ignored by PostgreSQL.
Now test your application!
Concluding Remarks
At this stage, you should now have a working PostgreSQL database fronted by a JDBC based application,
and the foundations will have been laid for :
A reasonably level of resilience (recoverability)
A good starting IO distribution
The next step is to tune the system under load� and that�s another doc�
Chris Drawater has been working with RDBMSs since 1987 and the JDBC API since late 1996, and can
be contacted at [email protected] or [email protected] .
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p9/10
Page 10
Appendix 1 � Example .profile
TMPDIR=/tmp
export TMPDIR
PATH=/usr/bin:/usr/ucb:/etc:.:/usr/sfw/bin:usr/local/bin:n:/usr/ccs/bin:$PATH
export PATH
# PostgreSQL 802 runtime
LD_LIBRARY_PATH=/opt/postgresql/8.0.2/lib
PATH=/opt/postgresql/8.0.2/bin:$PATH
export PATH LD_LIBRARY_PATH
PGDATA=/var/opt/postgresql/CLUST/sys
export PGDATA
� Chris Drawater, 2005
PostgreSQL 8.0.2 on Solaris, v1.2
p10/10
Maybe you are looking for
-
How can i play an avi movie on my mac using 10.10.3
I'm using Macbook Pro Version 10.10.3 I'm trying to play an .AVI movie I downloaded and can't get it to open. I saw a solution online named VLC, but am not sure if I should trust it. The other question is if I did use it would it interfere with norma
-
Help navigating my own code view...
ok, the particulars... mac, dw 8 (using it since way back in ver 2 - but hand-coding for years), more than enough power/ram for dw even though it's not relevant to the question... i'm usually about 70/30 in split view with code being the primary, or
-
Front Row freezing in the movies menu
Hi, I got my new Macbook last week, last weekend I ran all the updates, including FR, and everything seemed to work fine. Last night trying was the first time I went into the "Shared" video folder in the FR menu, and after that while trying to exit F
-
What's the point of updates - if..
Why do the upgrades tend to mess up my other applications? DVD Studio Pro - Bluetooth. I just feel what's the point of getting upgrades now. I did the Pro Application Support application which did take care of my DVD SP - however shouldn't upgrades b
-
Program error trying to open files
Since upgrading to Mavericks anytime i try to open files by going to file,open it says "Could not complete your request because of a program error".. I have uninstalled and reinstalled and also tried using the cleanup tool but still getting that erro