[jbosstools-issues] [JBoss JIRA] (JBDS-3130) [RFE] Add tooling to manage openshift databases

Tim Williams (JIRA) issues at jboss.org
Mon Sep 29 13:22:02 EDT 2014


    [ https://issues.jboss.org/browse/JBDS-3130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006996#comment-13006996 ] 

Tim Williams commented on JBDS-3130:
------------------------------------

Yes, that is correct. No need to actually set up a database connection (I can see the difficulty in that working with all of the different types of databases). Just an easy way to open a terminal to a specific gear (the database gear) of a scaled application.

> [RFE] Add tooling to manage openshift databases
> -----------------------------------------------
>
>                 Key: JBDS-3130
>                 URL: https://issues.jboss.org/browse/JBDS-3130
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 7.1.1.GA
>         Environment: All
>            Reporter: Tim Williams
>            Assignee: Max Rydahl Andersen
>            Priority: Minor
>             Fix For: 9.0.x
>
>
> In OpenShift, a scaled application will have numerous 'gears', each running a copy of the developer's code. If the developer is running a database, there will be only one gear containing this database. 
> To export/import/backup/restore the database, a user must ssh to the specific gear that holds the database cartridge. The only current way to do this in JBDS is to print all the environment variables and look for the following:
> $OPENSHIFT_MYSQL_DB_GEAR_UUID
> $OPENSHIFT_MYSQL_DB_GEAR_DNS
> You can then use these values in a terminal to ssh to the database gear:
>  $ ssh $OPENSHIFT_MYSQL_DB_GEAR_UUID@$OPENSHIFT_MYSQL_DB_GEAR_DNS
> It would be helpful to have some kind of tooling to either ssh into this gear directly through JBDS, or at least print the ssh command (above) using the environment variables from the gear.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list