Graphical User Interface › Application Migration Wizard › Setting Up Trust Between the Grids
Setting Up Trust Between the Grids
Before the Application Import Wizard can be run, "trust between the two grids" must be set up.
To setup trust between the two grids to execute the 'Migrate From' operation (migrate application from a remote grid to the local grid):
- From the grid shell on the local grid, execute grid info -v and copy the value of the Grid Public SSH Key ensuring that the key is contained on a single line without any whitespace or newlines.
- Log into the remote grid and create a new user specifying the public SSH key retrieved in the previous step as the sshkey parameter. For Example:
user create remotegrid@ca.net pwd=somepwd sshkey=sshkey
- From within the grid shell on the remote grid, provide the just-created user with 'app_developer' access on the grid ACL which will allow this user to migrate the application. For example:
grid modify_acl local:user:remotegrid@ca.net=app_developer
- From within the grid shell on the remote grid, provide the just-created user with 'configure' access on the application ACL of the application(s) that is/are to be migrated. For example:
app modify_acl myapp local:user:remotegrid@ca.net=configure
- From within the Application list tab, select the 'Migrate from' button from the toolbar or the right-click menu.
- Optional: Remove the user that was created on the remote grid if no more applications need to be migrated.
To setup trust between the two grids to execute the 'Migrate To' operation (migrate an application from the local grid to a remote grid)
- From the grid shell on the local grid, execute grid info -v and copy the value of the Grid Public SSH Key ensuring that the key is contained on a single line without any whitespace or newlines.
- Log into the remote grid and create a new user specifying the public SSH key retrieved in the previous step as the sshkey parameter. For Example:
user create remotegrid@ca.net pwd=somepwd sshkey="sshkey"
- From within the grid shell on the remote grid, provide the just-created user with 'app_developer' access on the grid ACL which will allow this user to migrate the application. For example:
grid modify_acl local:user:remotegrid@ca.net=app_developer
- From the grid shell on the remote grid, execute grid info -v and copy the value of the Grid Public SSH Key ensuring that the key is contained on a single line without any whitespace or newlines.
- Log into the local grid and create a new user specifying the public SSH key retrieved in the previous step as the sshkey parameter. For Example:
user create localgrid@ca.net pwd=somepwd sshkey="sshkey"
- From the grid shell on the local grid, provide the just-created user with 'app_developer' access on the grid ACL which will allow this user to migrate the application. For example:
grid modify_acl local:user:localgrid@ca.net=app_developer
- From the grid shell on the local grid, provide the just-created user with 'configure' access on the ACL of the application(s) that is/are to be migrated to the remote grid. For example:
app modify_acl myapp local:user:localgrid@ca.net=configure
- From within the Application list tab on the local grid, select the 'Migrate to' button from the toolbar or the right-click menu.
- Optional: Remove the users that were created on the local and remote grids if no more applications need to be migrated.
Copyright © 2013 CA.
All rights reserved.
|
|