Agent discovery with multiple oraInventory (and multiple owners)

Hello,
For various reasons, I have three different users which own Oracle software. These all have their own oraInventory locations (and I therefore have multiple oraInst.loc files in /var/opt/oracle ... yes this is Solaris).
In terms of installing/upgrading software, this configuration works well enough. But for Grid Control...not so sure that this configuration works.
When I installed the software I had only two of the three users installed and configured. The Grid Control installation picked up entries in /var/opt/oracle/oratab and discovered my other Oracle Home.
I've just added a new user and a new set of software (AS 10gR2). After doing this, I wanted to get it to appear in GC, so I went over to my EM user (oracleem) and tried an "agentca -d". Got this message:
===
The ORACLE_HOME=/u00/oracleem/OracleHomes/agent10g doesn't exist in the oraInventory specified in /u00/oracle/oraInventory, Please specify the correct oraInventory location using -i option
===
Okay, fair enough...it wants the inventory that corresponds to my agent installation; so I issue: agentca -d -i /var/opt/oracle/oraInst_em.loc
===
Stopping the agent using /u00/oracleem/OracleHomes/agent10g/bin/emctl stop agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
Running agentca using /u00/oracleem/OracleHomes/agent10g/oui/bin/runConfig.sh ORACLE_HOME=/u00/oracleem/OracleHomes/agent10g ACTION=Configure MODE=Perform RESPONSE_FILE=/u00/oracleem/OracleHomes/agent10g/response_file RERUN=TRUE INV_PTR_LOC=/var/opt/oracle/oraInst_em.locInvalid OracleHome Location
===
Er, oops. "Invalid OracleHome Location". Not too helpful since I have so many :) Can't find a logfile that has any more useful information either...
This leads me to suspect one of three things:
1. I am going about this in completely the wrong way
or
2. The tool can't handle my wierd configuration
or
3. The tool can handle it, I'm doing basically the right thing, and there is something wrong somewhere
So, which is it, and if it is 1 I'd ask "what is the right way" and if 2 I'd ask "where is there a useful logfile?"
Thanks,
:-Phil

Ah, well...indeed. Basically, these three owners are volatile...I have one for EM (which is pretty static), one for databases ( ~oracle gets "rm -rf"-ed about twice annually), and one for AS (~oracleas gets "rm -rf"-ed twice annually, but on a different 'schedule' if we can call it that).

Similar Messages

  • Entity with multiple owners

    I'm trying to find how I can set up an entity which is owned by 5 different entities and has an element of external ownership. This entiy and its 5 partial owners all belong to one legal hierarchy of entities but are in different nodes in the hierarchy.  Additionally, some of the ownership is equity based (one line equity entry) and some of the ownership is consolidated (with appropriate minority interest reflected on the financial statements.   Once set up, I want to be able to run the automated consolidation and elimination entries.
    Thank you

    Hey Tara,
    In BPC, when you define a dimension of type ENTITY you can have a property called "OWNER". This property allows you to specify the owner of this particular entity. All nodes in the hierarchy in BPC show up as members as well. Therefore, you can specify the owner for all base members and nodes. Additionally, if you have multiple owners of an entity, you can populate this in the "Maintain Dimension Members" for the entity dimension and owner property. Within the owner column, you can have multiple BPC users there by using commas to separate the users.
    Now how this works:
    1. Work Status locking allows the different owners to set and control their own entities.
    2. Additionally, within work status settings, you can specify that either the owner, manager, or both can control this entity. The manager is the owner of the parent of this member and the owner is the user in the owner property of the entity.
    NOTE: Keep in mind that the hierarchy that defines this relationship doesn't have to be PARENTH1. It can be any hierarchy. You can set this by defining the APPROVALORG web admin parameter.
    Once you set this up, you can use the automated consolidation and elimination.
    Cheers,
    Prakash
    Solution Manager - Financial Performance Management
    (Product Manager - BPC)
    Business Objects, an SAP Company

  • TimesTen 7.0.6.9: Replication Agent fails with Error 17029 and 8191

    The replication agent failed to start with error 17029 and 8191.
    /etc/hosts look like:
    1.1.1.1 server1.tt.com server1 => `hostname` returns this
    2.2.2.2 server1-2.tt.com server1-2
    SQL statement to create a replication schema looks like:
    CREATE REPLICATION AAA.R1
    MASTER dsn1 on server1-2
    SUBSCRIBER dsn2 on server2
    STORE dsn1 on "server1-2" PORT 17013
    STORE dsn2 on "server2" PORT 17013;
    call ttRepStart();
    call ttRamPolicySet('always');
    call ttRepPolicySet('always');
    quit
    This fails with
    17029: This store (dsn1 on server1.tt.com) is not involved as a local store in replication scheme AAA.R1
    8191: This store (dsn1 on server1.tt.com) is not involved in a replication scheme
    In addition, replication files are created with dsn1 as a prefix.
    I added ttHostNameSet('server1-2'); before ttRepStart(), but it did not seem to take effect. I also tried ROUTE statement; however, the error did not disappear.
    How can I make this work?

    Yes you have to specify the hostname output in the replication DDL.
    This is what you can find in the replication Doc
    "When specifying the host for a data store in a replication element, you should always use the name returned by the hostname command, as replication uses the this same host name to verify that the current host is involved in the replication scheme. Replication schemes may not be created that do not include the current host.
    If a host contains multiple network interfaces (with different IP addresses), you should specify which interfaces are to be used by replication using the ROUTE clause. You must specify a priority for each interface. Replication tries to first connect using the address with the highest priority."

  • Can't save site, UIDs with multiple owner: imageframe owned by pagepageitem and baselink

    I'm in a huge pickle and need help - I did all this work to a site and can't save it, when I do, it crashes with the following error:
    I can reopen muse and it recovers all my work, but how do I fix this? Is it because of the 2014.3 update?  I can't even get it saved to send support a copy of it... help!

    Send the .muse file. If you've made a large number of unsaved changes, please send both the .muse file (if any) and the Recovery folder found in
    Mac: "~/Library/Preferences/com.adobe.AdobeMuseCC.2014.3/Local Store" (copy and paste into the Go > Go To Folder dialog in the Finder)
    Windows: "%appdata%/com.adobe.AdobeMuseCC.2014.3/Local Store" (copy and paste into a file explorer window)
    In both cases above, include everything between the quotes (including the tilde ~ on the Mac) in the copy/paste, but not the quotes themselves.
    Send the files to [email protected] along with a link to this thread. If the files are larger than 20Mb you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc. (If you use a service, please include your return e-mail address in the body of the message, since not all services include it in the sharing invite they send.) Thanks.

  • UAR Approvals for roles with multiple owners

    Hi All,  We have in many cases, two role owners for roles defined in CUP. When running the UAR, both owners are notified.
    However, when one of the owners submits the approved/removals UAR request, the request closes out and the other owner does not have the opportunity to validate the request also.
    Any suggestions how to be able to accomodate both owners?
    The UAR CAD option is out of scope since it makes no sense to upload and maintain 4000 roles in the CAD.
    Thanks! -Dylan

    FYI, We were not able to find an acceptable workflow solution but decided to restrict access via authorization. We will allow the role primary Role Owner to make the UAR line item updates but not allow the Role Owner to submit the UAR.
    The Secondary Role Owner will be allowed to Submit final version of the UAR.
    Role makeup:
    ZAE_UAR_ROLE_OWNER (UAR Role Owner Approver)
    AE.ViewAccessEnforcer
    AE.ViewRemoveAccess
    AE.ViewApprove
    AE.ViewSaveRequest
    ZAE_UAR_QUARTERLY_OWNER (UAR Quarterly Owner Approver)
    AE.ViewAccessEnforcer
    AE.ViewSubmitRequest
    Hopefully, more workflow flexibility is will be built-in to the UAR just like with normal CUP requests.
    Best Regards, Dylan

  • Joining conditions for accounts with multiple owners

    Hi Team,
    I am stuck getting the query for this requirement. Below is my requirement how to get this using SQL query
    Thanks,Eshwar.
    Please don't forget to Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful. It will helpful to other users.

    PFB code
    Declare @t1 table(CnsmrID int,Name Varchar(20))
    Declare @t2 table(AccntID int,CnsmrID int,col2 Varchar(20))
    Declare @JoinTab table(IP int,CnsmrID int,AccntID Varchar(20))
    insert into @t1
    select 1,'acb' union all
    select 2,'bcd'
    insert into @t2
    select 1,1,'Value1' union all
    select 2,2,'Value2'
    insert into @JoinTab
    select 1,1,1 union all
    select 2,2,1 union all
    select 2,2,2
    select a.CnsmrID, a.AccntID,c.Name from @JoinTab a
    left outer join @t2 b on a.CnsmrID=b.CnsmrID and a.AccntID=b.AccntID
    left outer join @t1 c on a.CnsmrID=c.CnsmrID
    where b.CnsmrID is null
    Thanks
    Saravana Kumar C

  • Getting ORA-00903:invalid table name with both system and table owner

    Hi All,
    Oracle version 9.2
    I'm trying to retrieve some information from a few tables and import them to Excel. I haven't got much idea about ORACLE, but I'm not able to do anything.
    I open SQL PLus, and use CONNECT SYSTEM/[email protected] AS SYSDBA
    The console shows connected.
    I use select table_name,owner from dba_tables where owner='USER1';
    I can see the tables I want to access in the output.
    I do select * from USER1.TABLE1 and also tried with select * from TABLE1, both return ORA-00903:invalid table
    I also tried to connect with "CONNECT USER1/[email protected]" also shows connected, but then same error ORA-00903:invalid table
    Could anyone guide me so I can find out whats going on wrong??
    Thanks.. Best regards!

    Great! this worked! At least now I know I can read the data.
    Now I would like to get the data from this table into Excel 2007, but I can't install Office in the ORACLE server, so I have setup my client computer (Windows 2003 server with Excel 2007).
    I installed the ORACLE ODBC driver, and put the TNSName.ora file into the network admin folder.
    I successfully create the ODBC connector, and try connection is successfull. However, when I try to get the data, Excel send an error saying that it cannot list the tables!
    Anyway, any simple solution will do. If there is an easy way of making ORACLE create for example a CSV file with all the data from the table it will be good as well. What would be the easiest way?

  • My sister gave daughter her ipod touch....i want to download games onto it. How do I disassociate the ipod with my sister and change owner to my daughter? I have an itunes account, but my downloads are not going onto the ipod

    Want the ipod to say my daughter's name not my sisters? Is this possible?

    Set it up as a new device using the instructions in this Apple support document.
    How to set up your iPhone, iPad, or iPod touch as a new device
    B-rock

  • Family with multiple iPods and multiple iTunes - can we share songs?

    I am sure I am not the only one in this situation. There are 4 computers in our house, and 3 individuals with there own iPods. Can one iPod owner who has her own library on her PC go to my son's PC and connect to his iTunes Library to get just one song that he purchased? She tried to "drag" a song from his library onto her iPod, but it wouldn't allow her to. She got some message saying her iPod already has it's own library. Are you saying she can't get one song that I paid for? How are we able to share songs on multiple PCs?

    If you want to connect and use an iPod on more than one computer or with more than one library you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. The content of iTunes and the iPod are not syncronised in this mode so the two can be different. You can directly access the content of the iPod and play it through iTunes and you can drag and drop whatever you want to the iPod from either library:.
    Using iPod with Multiple computers
    Managing content manually on iPod and iPhone
    Syncing Music to iPod
    Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device: Safely Disconnect IPod
    You might also want to look at this article: iTunes: How to Share Your Music

  • Security issue with the SGA and multiple installation group.

    Hi,
    Documentation ARE WRONG:
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e10743/preparing.htm#TDPRC131
    # useradd -u 1100 –g oinstall -G dba -d /home/oracle -r oracle
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10816/typinstl.htm#CWSOL156
    # useradd -u 1100 -g oinstall -G dba oracle
    The "-g" and "-G" must be exchange!
    In an advanced installation with multiple Oracle users call them ( ora1, ..., orai, ..., oran )
    with multiple OSdba group defined users call them ( dba1, ..., dbai, ..., dban)
    Associate each oracle user to a dba group with the same number and the install group as oracle told it.
    User ora1 group dba1
    User orai group dbai
    User oran group dban
    Now make the software installationS with the group OSinstall ( install) as written in the documentation, in 3 Oracle_home
    Call the oracle_home1, oracle_home2, oracle_home3
    Now check semaphores, Sharedmemory and files!
    ipcs -msa
    IPC status from <running system> as of Thu Apr 29 12:14:06 CEST 2010
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
    Shared Memory:
    m 16777246 0x6525858 rw-rw-- oracle2 install oracle2 install 36 5368725504 3479 4298 12:10:01 12:10:31 16:30:45
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME
    Semaphores:
    s 50331701 0xb7892c1a ra-ra-- oracle2 install oracle2 install 202 16:30:47 16:30:45
    s 50331700 0xb7892c19 ra-ra-- oracle2 install oracle2 install 202 no-entry 16:30:45
    s 50331699 0xb7892c18 ra-ra-- oracle2 install oracle2 install 202 12:13:48 16:30:45
    ls -l $OSD/oradata/*/*/* | sed s/oracle/oracle2/
    -rw-r----- 1 oracle2 install 11600384 Apr 14 18:30 /app1/oracle/admin/ora11g/oradata/ORA11G/changetracking/o1_mf_5wcsdcfh_.chg
    -rw-r----- 1 oracle2 install 11600384 Apr 15 15:08 /app1/oracle/admin/ora11g/oradata/ORA11G/changetracking/o1_mf_5wf7787k_.chg
    -rw-r----- 1 oracle2 install 11600384 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/changetracking/o1_mf_5wg8jggf_.chg
    -rw-r----- 1 oracle2 install 16695296 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/controlfile/o1_mf_5wg4j9go_.ctl
    -rw-r----- 1 oracle2 install 524296192 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_aud__dol_5wg4mntr_.dbf
    -rw-r----- 1 oracle2 install 104865792 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_aud__dol_5wg4mp3v_.dbf
    -rw-r----- 1 oracle2 install 209723392 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_example_5wg4ml5z_.dbf
    -rw-r----- 1 oracle2 install 419438592 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_stat_dba_5wg4mmhg_.dbf
    -rw-r----- 1 oracle2 install 2097160192 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_sys_undo_5wg4kf8n_.dbf
    -rw-r----- 1 oracle2 install 2097160192 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_sys_undo_5wg4lss2_.dbf
    -rw-r----- 1 oracle2 install 1363156992 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_sysaux_5wg4k1xf_.dbf
    -rw-r----- 1 oracle2 install 1048584192 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_system_5wg4jp26_.dbf
    -rw-r----- 1 oracle2 install 209723392 Apr 28 22:01 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_temp0_5wg4l302_.tmp
    -rw-r----- 1 oracle2 install 209723392 Apr 15 16:06 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_temp1_5wg4lsod_.tmp
    -rw-r----- 1 oracle2 install 104865792 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_users_5wg4l33f_.dbf
    -rw-r----- 1 oracle2 install 104858112 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_1_5wg4jb44_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 28 21:00 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_2_5wg4jdn6_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 28 22:00 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_3_5wg4jgw8_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 29 03:00 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_4_5wg4jk64_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 29 13:01 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_5_5wg4jmcd_.log
    ls -l $OH/bin/oracle | sed s/oracle/oracle2/
    -rwsr-s--x 1 oracle2 install 256263032 Apr 14 13:54 /app1/oracle/product/11.2.0_64/db_1/bin/oracle*
    That the evidence the documentation provide you a wrong way to do it!
    François LANGE

    The right document syntax for this is:
    UNIX: Do I Need To Use The "oinstall" Group? (Doc ID 463052.1)
    FRançois

  • How to achieve no-downtime solution deployment on farms with multiple WFEs and LB

    Taking SharePoint Solution Deployer, my opensource PowerShell deployment script, to the next level,
    Bill Simser got me the idea of making the deployment even more smooth on farms with multiple WFEs and load balancer in order to achieve a no-downtime deployment
    The basic idea is to deploy the solutions on each WFEs one-by-one by
    1. Taking one WFE offline
    2. Installing the solution with the -local switch
    //Solution deployment
    Install-SPSolution -Identity <solutionname>.wsp –GACDeployment –CASPolicies –Local
    // Solution upgrade
    Update-SPSolution -Identity <solutionname>.wsp -LiteralPath LocalPathOfTheSolution.wsp -GacDeployment -Local
    3. Run post-deployment actions on the WFE (ie. restart services, recycle apppools or IIS reset, warmup server), which my script already does for each server
    4. Take WFE online again
    5. Repeat step 1-4 for all other WFEs
    I am struggling with three things here:
    1. The whole deployment process could be quite risky when something goes wrong in between. And in order to roll back I would require the original solution if it was already deployed before (which I can back up of course before I replace
    it)
    Anything which involves changing the content dbs should of course be done after the solutions is deployed to the whole farm, so this should not hurt in this case.
    Anyway MSDN says that the "DeployLocal" method (which I assume is the same as the -local switch in PS ) should be only used
    for
    troubleshooting purposes.
    So it would be great to hear about anyones experiences with it
    2. As there can be different types of load balancers (hardware, software) which might not be configurable through my script I assume that taking out the WFE from the the load balancer may not always be possible.
    So I thought about just taking the server offline.
    I haven't found an option yet to take only one server in the farm offline (without removing it from the farm of course), so maybe I miss something. Any ideas?
    3. Before taking a single WFE offline, I would like to assure that this server does not have any open sessions, operations of users ongoing. Unfortunately I found only the possibility to quiesce the whole farm, but not a single
    server. Am I missing something?
    Appreciate any ideas which might point me in the direction to solve the overall goal!
    SharePoint Architect, Speaker, MCP, MCPD, MCITP, MCSA, MCTS, Scrum Master/Product Owner
    Blog: www.matthiaseinig.de, Twitter:
    @mattein
    CodePlex: SharePoint Software Factory,
    SharePoint Solution Deployer

    Hi Mike, 
    unfortunately not. I tried several different approaches but didn't really success reliably with any of them. So eventually I gave up on it.
    Interesting idea though that Eric Hasley is commenting on the blog post you mentioned.
    "There is another approach that has worked for me in the past.  Because the deployment to each server is handled through a timer job,
    by stopping the timer service in a controlled fashion you can rollout your solution without incurring any user outage."
    It could work like that (in theory).
    Stop the SPTimerV4 on all servers in the farm apart from one.
    Take out the one to deploy to from the NLB
    Wait until it has no connections
    Deploy the solutions on it in the ordinary way (eg. with my
    SharePoint Solution Deployer ;))
    Put it back into the NLB and take the others out
    Wait until they have no connections left
    Activate the timer service on the others servers and let them deploy
    Put them back into the NLB
    No clue if this is actually working and you still have the problem with the NLB, so it could take a while.
    Also I am not certain what happens in state 5 if users use different versions of your solutions at the same time (old version on the remaining open connections, new version on the updated server)
    I do not have a suitable farm at hand to play with it though, so can't test it.
    Cheers
    Matthias
    Matthias Einig, CEO, SharePoint MVP
    Blog: www.matthiaseinig.de, Twitter:
    @mattein
    Projects: SharePoint Code Analysis Framework (SPCAF),SharePoint Code Check (SPCop),
    SharePoint Software Factory,
    SharePoint Solution Deployer

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • Object with multiple states and slider in folio are rasterized, settings seem correct.

    I am having trouble keeping An object with multiple text states from being rasterized, as well as a slider that is also rastering.
    I have read that you are supposed to set the folio and article up to be .pdf and that the slider should have the vector option chosen.
    I haven't found anything for the multi state object to for these settings.
    What happens is when I output the folio to Adobe Content Viewer, only the text in those items is rasterized. All other text is crisp. Tested on both iPad Mini and iPad Retina and the both are blurry.
    Is there a way to force the vector option? It seems even with the correct options selected it is still rastering the test in interactive elements.
    Thanks!

    Here is the MSO with the folio.
    Here is the Slider with folio overlays panel.

  • Working with multiple users and computers, but shared data

    Sorry if this is posted in a poor place, I'm not sure where the best place is. This is sort of a general questions.
    For a long time, my wife and I have had either one computer, or two machines but one has definitely been just a terminal. We've basically set up all of our data to be one one primary machine, and if we want to view/edit that data we have to use that machine.
    We just got a new MacBook Pro and I would like to be able to use two machines as equals. Sadly, this idea of multiple computers, with two users and some shared data is really giving me difficulty. I was wondering if anyone has any suggestions on how to best manage things like:
    Synchronizing portions of our contact list (We share about 50% of the combined library -- we don't have to share all though).
    How to manage iPhoto so that we can each have access to the photos. As an added difficulty (or maybe this is easier?) my Wife just wants to have access to the pictures for viewing and sharing on Facebook/Picassa/etc. I am the only one who wants to edit, correct and cull our library. That said, I always edit when I first put the data on the machine, and almost never again; so it would be fine to have one (or both accounts) set up as view only for the iPhoto data.
    How to manage iTunes so that we can each have access to the music. As a super awesome bonus, it would be great if we could have three libraries: His, Hers and Shared. Maybe as much as 30% of our music library is similar, the rest just gets in the way.
    What is the best solution people have found for calendars? (I'm thinking two separate calendars, and we each subscribe to each others iCal feed)
    Mail.app and bookmark synching is not really a problem for us.
    Two extra points:
    * One machine is portable, and the other isn't. Ideally, when the laptop is out of the house, both machines should still have reasonable access to the shared data. That is: Just dumping things in the shared folder won't work because when the laptop is out of the house we will be disconnected from the source data.
    * We just got a second iPhone. This means that both of us will be taking photos/video separately and trying to synch back to the master data store.
    * Basically, I'm trying to minimize data duplication as much as possible, and just synchronize the systems to each other.
    Thanks a ton in advance. If anyone has any suggestions at all, I would love to hear them. Including "This is in the wrong forum, go ask here instead..."

    So you have a desktop Mac and a laptop Mac, right? Two user accounts (and a third admin account) on each computer, right?
    I profess that I haven't tried this, but here is how I would approach your problem:
    Sharing Music and Photos between multiple user accounts on the same computer: 
    See if http://forums.macrumors.com/showthread.php?t=194992 and http://forums.macrumors.com/showthread.php?t=510993 provide any useful information to assist you in this endeavor.
    Sharing across multiple computers:
    Turn on file sharing on the Desktop (System Preferences > Sharing). Now you can mount the Desktop as an external drive on the laptop's Desktop. Copy the music and photo folders across. Will take awhile to do the first time. Then, for future use, get a copy of the donationware CarbonCopyCloner or equivalent. You can use CCC to selectively sync specific folders from one computer to the other. There may be a hassle with digital copyright issues on music and movies, though.
    Calendars:
    As you have suggested yourself, publishing yours and subscribing to hers is probably the best way to do it, on the same computer. Across computers, syncing with CCC or equivalent would probably be the way to go.

  • Find and replace with multiple files and with a watch folder

    I am trying to create a watch folder that uses red_menace script to:
    1. Have a folder that receives multiple xml files that run the script one by one.
    2. then move the files to an output folder.
    I tried modifying the set TheFIle to choose file -- the original text file to:
    with multiple selections allowed
    But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
    Thanks!
    The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
    Here's what i got so far:
    on open
    set TheFIle to choose file -- the original text file
    set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
    set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
    set TheText to read TheFIle -- get the text to edit
    set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
    Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
    set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
    ", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>—", " —", "
    Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end open
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is missing value then set TheExtension to ""
    set TheName to text 1 thru -((count TheExtension) + 2) of TheName
    set NewName to TheName & "." & TheExtension
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & "." & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
    for each of the items in SomeItems, a line containing it's text is placed in the edit box
    the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to replaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    return SomeText
    end replaceText
    Message was edited by: gamebreakers

    When you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
    I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- search and replace multiple items applet/droplet/folder action
    -- the terms to replace - edit as needed
    property EditableItems : {¬
    "one", ¬
    "two", ¬
    "three", ¬
    "four", ¬
    "five", ¬
    "six", ¬
    "seven", ¬
    "eight", ¬
    "nine", ¬
    "ten", ¬
    "eleven", ¬
    "twelve", ¬
    "thirteen", ¬
    "fourteen", ¬
    "fifteen", ¬
    "sixteen", ¬
    "seventeen", ¬
    "eighteen", ¬
    "nineteen", ¬
    "twenty"}
    -- the folder for the output file(s) - change as needed
    property TheFolder : (path to desktop)
    property LastEditItems : EditableItems
    on run
    the applet/droplet was double-clicked
    open (choose file with multiple selections allowed)
    end run
    on open TheItems
    items were dropped onto the applet/droplet
    parameters - TheItems [list]: a list of the items (aliases) dropped
    returns nothing
    repeat with AnItem in TheItems
    ReplaceMultipleItems from AnItem
    end repeat
    end open
    on adding folder items to this_folder after receiving these_items
    folder action - items were added to a folder
    parameters - this_folder [alias]: the folder added to
    these_items [list]: a list if items (aliases) added
    returns nothing
    repeat with AnItem in these_items
    ReplaceMultipleItems from AnItem
    end repeat
    end adding folder items to
    to ReplaceMultipleItems from SomeFile
    replace multiple text items in SomeFile
    parameters - SomeFile [alias]: the file to replace items in
    returns nothing
    set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
    set TheText to read SomeFile -- get the text to edit
    set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
    set LastEditItems to Originals
    set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end ReplaceMultipleItems
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is in {missing value, ""} then
    set TheExtension to ""
    else
    set TheExtension to "." & TheExtension
    end if
    set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
    set TheName to text 1 thru -((count TheExtension) + 1) of TheName
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
      for each of the items in SomeItems, a line containing it's text is placed in the edit box
        the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to ReplaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as text
    if SomeText contains OldItem then
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    try
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    on error ErrorMessage number ErrorNumber -- oops
    set AppleScript's text item delimiters to TempTID
    error ErrorMessage number ErrorNumber
    end try
    end if
    return SomeText
    end ReplaceText
    to ChangeCase of SomeText to CaseType
    changes the case or capitalization of SomeText to the specified CaseType using Python
    parameters - SomeText [text]: the text to change
    CaseType [text]: the type of case desired:
    "upper" = all uppercase text
    "lower" = all lowercase text
    "title" = uppercase character at start of each word, otherwise lowercase
    "capitalize" = capitalize the first character of the text, otherwise lowercase
    returns [text]: the changed text 
    set SomeText to SomeText as text
    if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
    return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
    end ChangeCase
    </pre>
    Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
    Message was edited by: red_menace

Maybe you are looking for

  • MDM ABAP API  ISSUE ( server  is getting down )

    Hi Folks, I am trying to retrieve matching results using MDM ABAP API. I am spiting source and target records into lot of blocks dynamically in program. I am getting output 2 to 3 times if i can run program sequential after that server is getting dow

  • Adding own Company Logo to Report Painter/Writer reports

    Hi, Trying to add my company logo to the report painter/Writer reports that i am producing but cant do it, i know its possible as i covered it on the SAP course on this but cant find the way, any help appreciated?

  • My iPod Classic has white screen.

    This morning i wanted to turn it on, but it couldn't, so i thought it was discharged. it was already unusual as have all of my devises charged and clean all the time. When i came home it plugged it in to my MacBook Pro in hope to have it in proper or

  • Re:bookmarks in safari

    How can I bookmark my apps in safari because it says bookmarks are being synced, so it cannot be used. Someone tell me how can I fix this problem?

  • [REQ] Assisted management tools/methods for planshierarchies (imp/expor

    Hi, I'm looking for cross-projects investigation tools, to provide graphical understanding and management of forté source code. Viewing/updating plans dependencies, as well as managing external APIs calls are my requirements. In order to manage inter