Automation Script for RPD in Linux !!
Hi,
I have a requirement to automate the RPD in linux to get the Repository Documentation in RPD with the UNIX script.
Actual manual process is Tools -> Utilities -> Select the Repository Documentation -> Execute -> Save,
I Need to do the same process with UNIX script,
Repository Path : /devobi/OBIEE11g/instances/instance1/bifoundation/OracleBIServerComponent/coreapplication_obis1/repository/OracleBIAnalyticsApps
Thanks in Advance,
Hi Srini/Sunil,
Thanks for your reply,
Yes, We have a manual process in OBIEE11g as i mentioned the navigation. But, We need to do the automation process with UNIX Script in Linux environment.
So, Please help me on this assignment.
Thanks in Advance,
Similar Messages
-
Hi all,
Is there a way to have the ipad execute a series of tasks at startup? (like an automator-script)
Thank you!Hi all,
For all you who have been looking for a solution for the problem above, here it is :
http://www.kioskproapp.com/
The Kiosk Pro app allows you to run any html-scrip locally stored on the ipad!
Which is great! Because not only does it allow for an infinite amount of possibilities next to the video-looping, it also keeps on working with one click after a reboot!
The learning curve of usage is quite simple for the problem above, since they provide extensive information on the website and have great customer service.
I am very very happy I found this app, and I really hope this post saves a lot of people the headaches I've suffered in the course of finding the solution.
Enjoy!
Alex -
Automated script for setting authorization limit in GL
Hi,
I am trying to create an automated script in our General Ledger application to set authorization limit. I have looked into code of form GLXSTEAL.fmb. There I found that, GL_AUTHORIZATION_LIMITS_PKG is being used for setting authorizations limit.
Below is the code I am trying to run from PL/SQL developer using apps id:
declare
l_Rowid varchar2(30);
l_Set_Of_Books_Id apps.GL_AUTHORIZATION_LIMITS.SET_OF_BOOKS_ID%TYPE;
l_Employee_Id apps.GL_HR_EMPLOYEES_CURRENT_V.EMPLOYEE_ID%TYPE;
l_Authorization_Limit apps.GL_AUTHORIZATION_LIMITS.AUTHORIZATION_LIMIT%TYPE;
l_user_id number := FND_GLOBAL.USER_ID;
l_login number :=FND_GLOBAL.login_id;
p_Attribute1 apps.GL_AUTHORIZATION_LIMITS.Attribute1%TYPE;
p_Attribute2 apps.GL_AUTHORIZATION_LIMITS.Attribute2%TYPE;
p_Attribute3 apps.GL_AUTHORIZATION_LIMITS.Attribute3%TYPE;
p_Attribute4 apps.GL_AUTHORIZATION_LIMITS.Attribute4%TYPE;
p_Attribute5 apps.GL_AUTHORIZATION_LIMITS.Attribute5%TYPE;
p_Attribute6 apps.GL_AUTHORIZATION_LIMITS.Attribute6%TYPE;
p_Attribute7 apps.GL_AUTHORIZATION_LIMITS.Attribute7%TYPE;
p_Attribute8 apps.GL_AUTHORIZATION_LIMITS.Attribute8%TYPE;
p_Attribute9 apps.GL_AUTHORIZATION_LIMITS.Attribute9%TYPE;
p_Attribute10 apps.GL_AUTHORIZATION_LIMITS.Attribute10%TYPE;
p_Attribute11 apps.GL_AUTHORIZATION_LIMITS.Attribute11%TYPE;
p_Attribute12 apps.GL_AUTHORIZATION_LIMITS.Attribute12%TYPE;
p_Attribute13 apps.GL_AUTHORIZATION_LIMITS.Attribute13%TYPE;
p_Attribute14 apps.GL_AUTHORIZATION_LIMITS.Attribute14%TYPE;
p_Attribute15 apps.GL_AUTHORIZATION_LIMITS.Attribute15%TYPE;
p_Context apps.GL_AUTHORIZATION_LIMITS.context%TYPE;
l_date date :=sysdate;
begin
GL_AUTHORIZATION_LIMITS_PKG.Insert_Row(
p_Rowid => l_Rowid,
p_Set_Of_Books_Id => 1001,
p_Employee_Id => 9236,
p_Authorization_Limit => 100,
p_Last_Update_Date => l_date,
p_Last_Updated_By => l_user_id,
p_Creation_Date => l_date,
p_Created_By => l_user_id,
p_Last_Update_Login => l_login,
p_Attribute1 => p_Attribute1,
p_Attribute2 => p_Attribute2,
p_Attribute3 => p_Attribute3,
p_Attribute4 => p_Attribute4,
p_Attribute5 => p_Attribute5,
p_Attribute6 => p_Attribute6,
p_Attribute7 => p_Attribute7,
p_Attribute8 => p_Attribute8,
p_Attribute9 => p_Attribute9,
p_Attribute10 => p_Attribute10,
p_Attribute11 => p_Attribute11,
p_Attribute12 => p_Attribute12,
p_Attribute13 => p_Attribute13,
p_Attribute14 => p_Attribute14,
p_Attribute15 => p_Attribute15,
p_Context => p_Context );
commit;
end;
I am getting the error PLS-00306: wrong number or types of arguments in call to 'INSERT_ROW'.
Please help me with this.
ThanksI have found another way to achieve this. By inserting the data directly to GL_AUTHORIZATION_LIMITS table.
INSERT INTO gl.GL_AUTHORIZATION_LIMITS
(set_of_books_id,employee_id,authorization_limit,CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN)
VALUES (1001,p_person_id,1.00,SYSDATE,l_user_id,SYSDATE,l_user_id,l_login); -
Automation scripts for Instant client install\ add TNS entry
Guys,
I'm trying to develop an VB application,which uses data from an Oracle server residing in my neighbour's system.
My system doesn't have oracle client installed.
So, I've made use of Oracle Instant Client package-OCBC.
Now, I'm looking for an automation script that would do the following in order
1)Uzip the instant client into a directory. (say C:\ondemand\instantclient)
2)Add this directory into the PATH environment variable
3)Set up Service Names with tnsnames.ora ie. Create a TNSNAMES.ORA file to configure my Oracle instance connection.
4)Set the TNS_ADMIN environment variable to be the path to the tnsnames.ora
Can someone help me out with automated scripts?
Thanks,
BhagatDon't worry. I've solved it.
One of the files I was using stated: Always set the TNS_ADMIN environment variable or registry setting to the full path of the tnsnames.ora file.
I took that to mean including the "tnsnames.ora". It doesn't. It really does mean just the PATH part.
However, with this corrected, I got the pulldown populated. But with only the first part of the name, from the tnsnames.ora file. tnsnames.ora had mydb.<domain>.com. The pulldown only had mydb. Manually adding the .<domain>.com to it worked.
Now on to the next problem. <GRIN>
Cheers,
Eddie -
Hi,
Am having a requirement in my staging and prod env. to add, install,retract and remove wsp.
In my dev env i used to perform with Visual Studio ,so i didnt face any issues regarding retracting and removing the wsp from solution store.
But in my staging and prod since i dont hav VS installed, i would like to have a automated script[ NOT in POWERSHELL] using stsadm command line tool which adds the solution from a folder [say D:\DeployWSPs in staging and Prod] to the solution
store and installed onto a particular web application [ NOT "All WebApplications"].
and if the wsp already exists , i need to retract it & remove from solution store and add it and install again.
can someone pls help me with the automated script .also if the folder contains multiple WSPs how can i doa for each loop [ iterate through wach ".wsp" file and perform install/...task].
i know stsadm -o adddsolution, deletesolution,m retractsolution etc. But the issue is that customer asked me to do this ina automated fashion. manually entering all these commands is a cumbersome activity.
note: when i used powershell on 2 / 3 occasions, the wsp was retracted successfully,but failed to successfully remove from the
soln store.
so i thought i will depend upon on stsadm again like old version of SP since its supported.
DasI would recommend you to use Power Shell so that you can do the automation easily. You can use
power shell for earlier version of SharePoint as well.
Look why removing the solution is getting failed. May be you are trying to remove before the solution is retracted. Wait for retract and remove the solution. Refer to the following post for more information
http://www.codeproject.com/Articles/570011/PowerShellplus-plusWaitplusforplusRetractplus-fpl
http://consultingblogs.emc.com/mattlally/archive/2011/03/29/sharepoint-server-2010-multiple-solution-deployment-script.aspx
Cheers, -
Help with Automator Script for QuickTime Pro Movie Conversion from Vado
All my videos from my Creative Vado do not show up in iMovie 09 initially on import. By trial and error, I have discovered that the old version of QuickTime Pro 7 ($29.95) will convert them to .mov files that can be seen by iMovie 09 once the converted videos are imported back into iPhoto.
I am (very) new to mac things, and it looks like in theory I could use Automator to handle to conversion process, and perhaps even the re-import into iPhoto. Does anyone have any suggestions on how to go about this? Where would be a good site to post this as a project that I could pay some one to help me, provide an automator script/workflow?
Are any other solutions available? Buy Final Cut etc?
PS (Rant): One of the reasons I bought a MacBook Pro and iLife was to take advantage of what I thought was supposed to be Apple's superior multimedia handling. It seems ludicrous to me that with a MacBook Pro running the latest software (10.6.4), and using the latest versions of iLife, I'd have to buy an old version of QuickTime to convert my videos so that I could manipulate them in iMovie. Sigh.MPeg Stram clip will export files which are compatible with iMovie '09. It (iMovie )can import the following.
DV
AIC
Motion-JPEG
Photo-JPEG
MPEG-4 (Supported profiles)
H.264 (Supported profiles)
Apple Animation (Movie '09 only)
Apple Video (iMovie '09 only)
iMovie '08/'09 will not accept files containing extraneous data tracks such as:
'Tween
Text
Chapter
Closed Caption
Secondary audio such as AC3
etc.
iMovie '08/'09 Will not accept files that rely on proprietary/third-party components such as
DivX
WMV
XviD
etc. -
Spotlight automator script for dupes?
i suppose what i'm looking for is a script for spotlight that will identify duplicates on my hard drive with the exact same name and either delete them for me, or give me an easier way to delete them myself (besides weeding through each mp3 and deleting whatever comes up twice). i posted earlier about how when i migrated to my new computer last summer i inadvertantly made two copies of all my mp3s and i'd like to delete the duplicates.
any info would be greatly appreciated.
best,
dougHi there,
I would have a look at this it may help.
http://www.apple.com/downloads/macosx/systemdiskutilities/tidyup.html
Regards
Ric -
Archwiz Script for installing Arch Linux
I created a new Bash Script Project called Archwiz, located on github flesh/archwiz ,
its still in Beta for a few reasons, I never figured out how to get computer translations working in the script so I can Localize it, and I never figured out all the details to get an AUR custom repo working and lastly I didn't get the Asynchronous downloads to work right, so there are all disabled in this script.
This script was a fork of another script found here Archlinux Ultimate Install Script.
The Script itself has several files, the wizard.sh is a library, that allow programmers to use this library as an API for writing scripts, so its usefully to anyone that wants an API to write Bash Scripts, but the script itself scripts a script that is saved as configuration files, then executes the script inside itself, so you can look at all the configuration files before running it.
The script was written for use by anyone, but mostly targets programmers like myself who need to setup a machine to use as a work station and want it set up a certain way every time, although this script is far from finished, I have a lot of tweaking to do to it before it would be completely there, but as it is, I can get up and running on a machine with little effort, so this make it ideal for a Linux Administrator who has to install thousands of OS's and have them configured all the same way, but works great for someone just wanting to install Arch Linux.
The Project is Self Documenting and Self Localizing, although currently only English works, but the po files are there, so it would be easy enough if you wanted to localize it; but the computer translation function I started would be the correct way to do this.
The scripts makes use of a custom repo, so remove it when finished, the script should do this for you, but just to let you know, it downloads the core to the flash drive, this way it can install very fast, once you install it one, it has all the files on it to install on another computer without an Internet connection, well at least that was my thinking, I never did get the AUR custom repo to work, but the idea is to have all the files on the flash so you do not need to use up bandwidth installing Arch Linux on a new machine, just install it, then run pacman updates.
The Idea of a Wizard is to make the life of those installing an OS, much easier, they have the Option to do a Custom install, or a Wizard install, even an Automatic install to pre-configure machines.
The script determines if you have UEFI Bios or not, and formats and configures the Hard Drive correctly, and gives you full control over the partitioning of the drive, within the bounds of the tools used, so its very flexible, it uses systemd, so boot time on my machine is 10 seconds flat, and that's because I mount a lot of network drives and map them at boot time, I got 2 seconds boot time with mounting, so the packages are not perfect, but they do work.
I only tested GDM, since I installed every Desktop Manager and configuration for my needs, this was the only one I got to work for all of them, but I normally use KDE or Mate, but I ran into issues with Mate and went back to KDE, so I could get back to work.
This script was designed to Format the Drive you install it to, so do not use this on a Partitioned Drive, it will format the hard drive, so you are warned once more during the install, but this could be fixed, I had to abandon the project to finish another, so the script is as it is, but could give someone a great start if they want to folk it and finish it, so fork me.
See the help.html for details.
Last edited by Flesh (2013-02-28 00:31:54)Moving to Community Contributions...
-
Automator script for remote shutdown
hello everyone
i use a mac mini as a media server and i use ssh from the terminal to turn it off remotely,
i know you can run terminal commands in automator, but i cant get it to work
can someone show me how the script should look like, im not even sure if im using the right script (shell script or apple script) .
thanks in advanceI suggest using straight AppleScript: http://discussions.apple.com/forum.jspa?forumID=724
-
How to create services start and stop automation script for diff servers
Hi All,
i want to create a bat file for automation purpose to start and stop services
i have some services in 1st server aand some in 2nd server and some in 3rd servers.
has you all know i have to follow sequences to start and stop services can any help me in creating .bat by linking 3 servers fo starting and stoping services.
Thanks in advance
Regards
SMHi,
this is the list of start oder for services in 11.1.2.1 from the Installation and Configuration Guide
1. Databases for repositories.
2. Any corporate user directories that you plan to configure for use with Shared Services.
3. Foundation Services Managed Server application server, which includes Shared Services,
and EPM Workspace.
4. Reporting and Analysis Framework — Agent Service (if required for your environment)
5. Reporting and Analysis Framework Application Server (if required for your environment)
6. Web server
The remaining services and processes can be started in any order:
1. Performance Management Architect Services
2. Performance Management Architect application server
3. Performance Management Architect Data Synchronizer application server
4. Essbase Server
5. Administration Services application server
284 Starting and Stopping EPM System Products
6. Integration Services Server
7. Essbase Studio Server
8. Provider Services application server
9. Financial Reporting Services
10. Financial Reporting application server
11. Web Analysis application server
12. Calculation Manager application server
13. Planning application server and the Hyperion RMI Registry
14. Financial Management service
15. Financial Management Web application server
16. Strategic Finance service
17. Performance Scorecard application server
18. Performance Scorecard Alerter application server
19. Profitability and Cost Management application server
to start services on different servers you can use the sc command in your batch file
for eg
sc \\10.121.201.21 start HypS9FrameworkAgent -
Automated scripts for importing & sharing on Mobileme?
How would I go about writing a script to automate the following process :
1) (Trigger for script): I insert my SDHC card from my camcorder into my iMac card reader.
2) Launches iMovie and imports all clips as new event.
3) Creates a single project by including all of the events just imported.
4) Shares the project on Mobileme.
Currently I'm only managing to view, compile and share movies of the kids when I get (a very rare!) few hours at the weekend. If I could just pop the card into the reader on my way out to work in the morning it would transform my usability of iMovie and mobile me, as I could then view and share the 10-15mins of precious footage I took the night before.
Many thanks,
DThanks for info.
The work around I'm using at the moment is to plug in the card in the morning, then access my Mac remotely using Jaadu VNC via my iPhone to do the import and publishing.
Does the job, although a little more cumbersome and need reliable 3G / WIFI connection. -
Automated scripts for portal transport
can portal transport operations be made programmatic?
is there any way to automate the process?
any help will be highly appreciated.
thanks
AMNHye Brijesh,
i'm a newbie in oracle olap, i already created a cube using Analytic Workspace Manager 10.2.0.3.0A and oracle 10gR2.
based on my requirement, i have to make sure that my cube data is match with the fact table for example when a row of data been deleted from the fact table then the cube also been updated.
i search for some command the i found the command
clear all from CUBE_APP_RECV_PRT_TOPVAR
then i maintained the cube then the data been updated.
how to make it the command clear all from CUBE_APP_RECV_PRT_TOPVAR for somehow run in scheduler or procedure something. if not then how to make it automated clear?
thanks in advanced,
rao -
Script for Automator to reorder text in file/folder name.
I have a folder full of pictures named by their first and last names. I need them to be renamed by listing them by last name first, first name last in order to get them alphabatized properly. Anybody out there have a nice Automator script for me to make this happen? I'm new.
Looking for it to look like this:
Brown, JohnTry this (should work for "John H Smith" --> "Smith John H" as well):
The Run Shell Script Action is:
for f in "$@"
do
basename=${f##*/}
path=${f%/*}
ext=${f##*.}
name=${basename%.*}
if [[ "$name" =~ \ ]]; then
fname=${name% *}
lname=${name##* }
name="$lname $fname"
mv "$f" "$path/$name.$ext"
fi
done
If you want a comma, then change: name="$lname $fname" to name="$lname, $fname"
As with all scripts, back-up the files before running -
Startup Scripts for OBIEE 11g on Linux
Hi, I originally spent many hours trying to find a startup/shutdown script for OBIEE on linux, in the end I compiled a new one based on notes in the install manual and other posts on the subject until I got it working consistantly
Please add comments or improvements :)
Note: you need to create the boot.properties file (in /security) for each server, and provide the username/password so WebLogic won't prompt for it when starting automatically (otherwise it doesn't start :p) ....refer to the install manual or [weblogic boot.properties|http://onlineappsdba.com/index.php/2010/08/21/weblogic-startup-prompting-from-username-password-bootproperties/]
#!/bin/bash
# /etc/init.d/obiee
# Run-level Startup script for OBIEE
# set required paths
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/11.1.0/db_1
export ORACLE_OWNR=oracle
export ORACLE_FMW=/opt/oracle/product/fmw
export PATH=$PATH:$ORACLE_FMW/bin
case "$1" in
start)
echo -e "Starting Weblogic Server...."
su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/startWebLogic.sh > /dev/null 2>&1 &"
sleep 30
echo -e "Starting Node Manager..."
su $ORACLE_OWNR -c "$ORACLE_FMW/wlserver_10.3/server/bin/startNodeManager.sh > /dev/null 2>&1 &"
sleep 30
echo -e "Starting Managed Server: bi_server1..."
su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/startManagedWebLogic.sh bi_server1 [url for admin console] > /dev/null 2>&1 &"
sleep 30
echo -e "Starting Components...."
su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl startall > /dev/null 2>&1 &"
sleep 30
stop)
echo -e "Stopping Components...."
su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl stopall > /dev/null 2>&1 &"
sleep 30
echo -e "Stopping Managed Server: bi_server1..."
su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/stopManagedWebLogic.sh bi_server1 [url for admin console] [weblogic user] [weblogic pass] > /dev/null 2>&1 &"
sleep 30
echo -e "Stopping Weblogic Server...."
su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/stopWebLogic.sh > /dev/null 2>&1 &"
sleep 15
status)
echo -e "Component Status...."
su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl status"
restart)
$0 stop
$0 start
echo "Usage: `basename $0` start|stop|restart|status"
exit 1
esac
exit 0
Hopefully this helps others in the same situation
CheersHI,
Is this script for Enterprise Install on a single computer? For Simple install I think there is no concept of nodemanager and managedserver.
--Joe -
In my project I have to make certain calculation and then get the data plotted in the given report template. I am using automated script for this. My script is doing all the calculations and then it not selecting and drag-dropping the selected channels on the report template. Its saving the blank report template.
I am struggling to get the data for specific channels plotted by using the script. I need the selected channels to be plotted on this report template and then get it saved.
Any help will be deeply appreciated. Thanks
Solved!
Go to Solution.Hi LaxG,
Brad is absolute right. It is possible to create your whole layout via script.
If you have loaded the example report layout you can copy these lines to create a new line in your plot. This is the recommended object oriented way.
call Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Add(e2DShapeLine, "anyName")
Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape.XChannel.Reference = "[1]/Zeit"
Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape.YChannel.Reference = "[1]/Geschwindigkeit"
For performance reasons it's recommended to use the it like this.
dim oLine
set oLine = Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape
oLine.XChannel.Reference = "[1]/Zeit"
oLine.YChannel.Reference = "[1]/Geschwindigkeit"
Like Brad mentioned it is much easier, that you have a stored template of your report with all setings and customisations already done.
You open this layout file and have stored the names of your calculated channels. When you are doing this with a script they always have the same name and belong to the same group.
Now you can customize the references of the line items.
Kind Regards,
Philipp K.
AE | NI Germany
Maybe you are looking for
-
How to position the cursor at the end of the text with EDIT_TEXT?
Hello, it wanted to ask to them if somebody could make work the module of function EDIT_TEXT so that it positions the cursor at the end of the text that is visualizing in the text editor. In the documentation it says that passing a ' X' to him in the
-
Pass PL/SQL collection as function parameter over DBLink
Hi all, I am trying to do the following; ---Remote database --create SQL type create type attributeidarray as table of varchar2(255); --create a package specs CREATE OR REPLACE PACKAGE testp AS TYPE ref_res IS REF CURSOR; FUNCTION foo (i NUMBER) RETU
-
Request: Bios unlock GT70 2OD MS-1763
System And Bios Infomation Full Name: MSI GT70 2OD-829XNL CPU: i7 4700MQ GPU: GTX 780m Bios Version: E1753IMS.50K Bios Build: 10/24/2013 09:25:26 EC Version: 1763MS1 Ver 5.13 EC Build: 03/07/2014 ME FW Version: 9.0.1.1333 Marketing Name: GT70 2OD Mod
-
Safari 5/4.1 port blacklist
Since safari 5 / 4.1: WebKit CVE-ID: CVE-2010-1409 Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.8, Mac OS X Server v10.5.8, Mac OS X v10.6.2 or later, Mac OS X Server v10.6.2 or later, Windows 7, Vista, XP SP2 or later I
-
Hi, Tables :PROJ-JEST-TJ30T Target Field:TXT04 PROJ-PSPNR--> PROJ-OBJNR =JEST-OBJNR + JEST-INACT = «blank» JEST-STAT = (TJ30T-ISTAT = E* (we have to take only E*)+ TJ30T-SPRAS = EN) -->TJ30T-TXT04 We can have some status to display here, please