How to use the OWB repository assistant using command line - oracle

We need to migrate our OWB repository to a new one running on 11.2. This will eventually be converted to ODI but as a 1st step we need to do this migration.
I've been following the notes in
https://docs.oracle.com/cd/E11882_01/owb.112/e17130/migrate.htm#WBINS07100
But we won't have access to a GUI for the repository assistant and need to run this from the command line.
Anybody have suggestions for how to do this?

You can run the OWB repository assistant in command line from the following location.
Go to the following location and run the command
In AIX or LINUX:
$OWB_HOME/owb/bin/unix/
./reposinst.sh
In windows:
$OWB_HOME/owb/bin/unix/reposinst.cmd

Related

How to excute java file from remote desktop(mstsc)

I logged into my remote desktop location from cmd by mstsc command. Made some changes in java file and saved it. But I am not sure how can I execute the java file from remote location. Can someone help me out.
Thanks and Regards,
Sm.Aslam.
I assume that you mean an uncompiled .java file. In that case, it is as easy as typing the following in Command Prompt:
javac file.java
Note that this requires Java to be installed on the remote computer. If this is not the case, you will have to install it.
Regards,
Gabe

Teamcity upgrade from 9.16 to 10

I want to upgrade Teamcity 9.16 to 10. I want to proceed with manual back-up and then restore it . I am using external database - mysql . i want to upgrade database as well. How should i proceed with this?
TeamCity documentation states that
Backups created with TeamCity 6.0+ can be restored using the same or
more recent TeamCity versions
so you should be able to create a backup in TC9 and then restore it in TC10.
The simplest way to create a backup is to navigate to the Administration | Backup section in the server UI to specify some parameters and run the backup, as described here.
The other options are
backup via the maintainDB command-line tool — it is basically the same option, as backup via the UI
manual backup
which are described on the corresponding page of the TC documentation.
Restoring data from backup is performed using the maintainDB tool, basically the steps for your case are:
install new TeamCity (but do not start the server)
create a new empty Data Directory
create and configure an empty database
configure a temporary database.properties file
place the database drivers into the lib/jdbc in new data directory
use the maintainDB utility located in the <TeamCity Home>/bin to run restore command:
maintainDB.[cmd|sh] restore -A <absolute path to the Data Directory> -F <path to the TeamCity backup file> -T <absolute path to the database.properties file>
If the process completes successfully, copy over
/system/artifacts from the old directory
More details could be found on the corresponding page.

Hybris - Trigger update process by command line

With Hybris you need to do an 'update running system', when updating platform code and certain data / *.xml files has changed.
This is a manual process and for that it doesn't really fit into a CI environment.
There are 2 options, initialise or update. But both look like it can't be triggered from the command line / bash
https://stackoverflow.com/a/29981777/2750476
I wonder if anyone knows the command line for triggering the update process (for updating the type system definitions)
Or did anyone found another solution for continuously updating a hybris platform.
You can use the ant target 'updatesystem' :
updatesystem Runs an update system of the
specified tenant in stand-alone mode, using hybris Administration
Console default settings or the configuration from a given file.
Syntax: ant updatesystem [-Dtenant=tenantID -DdryRun=true|false
-DtypeSystemOnly=true|false -DconfigFile=PATH_TO_CONFIG_FILE]
Run below command from your command prompt
ant updatesystem -Dtenant=master -DdryRun=false -DtypeSystemOnly=true

error while starting Titan database using docker

I want to start using titan database and I have followed http://oren.github.io/blog/titan.html instructions. But when I try to start titan in docker it gives me the following error:
/opt/titan-0.5.4-hadoop2/run.sh: 2: /opt/titan-0.5.4-hadoop2/run.sh: : not found
run.sh file located in C:\Users\Modeso\titan but I can't find a way to change the folder location in docker.
Has anyone faced this problem before or have solution for it?
I suspect that in this case, the "not found" message may not be because the file is not found, but because the wrong line-endings are used in the file. If a shell-script uses Windows line-endings, Linux can produce weird errors, such as this one.
Did you try building from the GitHub repository? https://github.com/apobbati/titan-rexster
You can build an image from that repository through;
docker build -t titan-rexter github.com/apobbati/titan-rexster
And run it;

How to create workspace using command line perforce

I am newly using command line perforce . will you plaese tell me how to create workspace with example?
Here is our documentation on how to create a workspace from the command line using the 'p4 client ' command:
http://www.perforce.com/perforce/doc.current/manuals/p4guide/chapter.configuration.html#DB5-17566
REFERENCES
http://answers.perforce.com/articles/KB_Article/How-to-Script-Client-Workspace-Cloning
http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_client.html
http://www.perforce.com/resources/tutorials

Resources