|
1 | 1 | --- |
2 | 2 | layout: page |
3 | | -title: Modify Existing Systems and Applications |
| 3 | +title: Modify an Existing Application |
4 | 4 | tagline: |
5 | 5 | --- |
6 | 6 |
|
7 | | -Agave [systems](02.create_systems.md) and [apps](03.create_app.md) are described by |
8 | | -`json` files and added to the SD2E tenant using the command line interface. To |
9 | | -modify a system or app after it has been added, simply edit the original `json` |
10 | | -file and use the command line interface to push the changes to the SD2E tenant. |
| 7 | +Agave [apps](03.old_create_app.md) are described by `json` files and added to the |
| 8 | +SD2E tenant using the command line interface. To modify an app after it has |
| 9 | +been added, simply edit the original `json` file and use the command line |
| 10 | +interface to push the changes to the SD2E tenant. |
11 | 11 |
|
12 | | -Common examples are shown below. |
13 | | - |
14 | | - |
15 | | -<br> |
16 | | -#### Modify an Agave system |
17 | | - |
18 | | -This is an example Agave storage system `json` file from an |
19 | | -[earlier section](create_systems.md) of this user guide: |
20 | | -``` |
21 | | -{ |
22 | | - "id": "jetstream-storage-username", |
23 | | - "name": "My Jetstream Storage System", |
24 | | - "description": "My system for storing data on jetstream instance 129.114.104.39", |
25 | | - "status": "UP", |
26 | | - "type": "STORAGE", |
27 | | - "storage": { |
28 | | - "host": "129.114.104.39", |
29 | | - "port": 22, |
30 | | - "protocol": "SFTP", |
31 | | - "rootDir": "/home/username", |
32 | | - "homeDir": "/", |
33 | | - "auth": { |
34 | | - "publicKey": " <enter public key here> ", |
35 | | - "privateKey": " <enter private key here> ", |
36 | | - "username": "username", |
37 | | - "type": "SSHKEYS" |
38 | | - } |
39 | | - } |
40 | | -} |
41 | | -``` |
42 | | - |
43 | | -This storage system is attached to a [Jetstream instance](https://jetstream-cloud.org/). |
44 | | -Users of this and other cloud environments know that IP addresses for instances may |
45 | | -change. If your Jetstream instance IP address changes, there is no need to delete the old |
46 | | -storage system and create a new one. Instead, you can modify the existing storage system |
47 | | -to use the new IP address. |
48 | | - |
49 | | -Edit the original system `json` file to reflect the new IP address (in the case above, |
50 | | -the `description` and `host` fields would need to be edited. Then, perform the |
51 | | -following: |
52 | | -``` |
53 | | -% systems-addupdate -F jetstream-storage-username.json jetstream-storage-username |
54 | | -``` |
55 | | - |
56 | | -To confirm that the changes have taken place, verbosely list the contents of the |
57 | | -storage system: |
58 | | -``` |
59 | | -% systems-list -v jetstream-storage-username |
60 | | -``` |
61 | 12 |
|
62 | 13 | <br> |
63 | 14 | #### Modify an Agave app |
64 | 15 |
|
65 | | -This is an example Agave app `json` file from an |
66 | | -[earlier section](create_app_04.md) of this user guide: |
| 16 | +This is an example Agave app `json` file from |
| 17 | +[another section](03.old_create_app_04.md) of this user guide: |
67 | 18 | ``` |
68 | 19 | { |
69 | 20 | "name": "fastqc-username", |
@@ -106,11 +57,11 @@ This is an example Agave app `json` file from an |
106 | 57 | ``` |
107 | 58 |
|
108 | 59 | If a new version of FastQC was released (e.g. 0.11.6), that would be cause to |
109 | | -[create a new app](create_app.md), using this current app as a template. An |
110 | | -example case where it would be approriate to modify an existing app is, |
111 | | -for example, to a default file for the `fastq` input. |
| 60 | +[create a new app](03.old_create_app.md), using this current app as a template. |
| 61 | +A case where it would be appropriate to modify an existing app is, for example, |
| 62 | +to add a default file for the `fastq` input. |
112 | 63 |
|
113 | | -If you followed the [Create Custom Applications](create_app.md) user guide, |
| 64 | +If you followed the [Create Custom Applications](03.old_create_app.md) user guide, |
114 | 65 | then you may have a sample fastq file located here: |
115 | 66 |
|
116 | 67 | `agave://data-tacc-work-username/sd2e-data/sample/SP1.fq` |
@@ -157,7 +108,7 @@ you may consider disabling the earlier app. The following command toggles the |
157 | 108 | <br> |
158 | 109 | #### Further help |
159 | 110 |
|
160 | | -Additional system and app `json` fields can be found in in the online |
| 111 | +Additional app `json` fields can be found in in the online |
161 | 112 | [Agave documentation](http://developer.tacc.cloud/). |
162 | 113 |
|
163 | 114 |
|
|
0 commit comments