Jsmart
07-02-2008, 01:33 PM
If you have 2 or more grids you can create a "user" account that will allow for migration from the browser or without having key forwarding enabled.
each grid has a key pair that it uses when trying to connect to other grids. you can get the public key by executing "grid info -v" on the grid.
example (keys and IPs have been changed for security :):
(root)demo> grid info -v
Grid Name : demo
Grid Description :
AppLogic Version : 2.1.1 hf2081 hf2192
Controller IP : 192.168.0.1
Grid ID : 1/1
Current Time : Wed Jul 2 13:22:51 PDT 2008
System Uptime : 129 days, 17 hours, 46 minutes
Grid Public SSH Key : ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvBd9k<majority of key removed>=
# you can then set a user account on the 2nd grid and use the "Grid Public SSH Key" as the account key.
(root)demo2> user create migrate@3tera.net pwd=- sshkey="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvBd9k<majority of key removed>="
if you create accounts in this manner on both of your grids it will allow you to migrate apps between the grid without agent forwarding or from the browser.
each grid has a key pair that it uses when trying to connect to other grids. you can get the public key by executing "grid info -v" on the grid.
example (keys and IPs have been changed for security :):
(root)demo> grid info -v
Grid Name : demo
Grid Description :
AppLogic Version : 2.1.1 hf2081 hf2192
Controller IP : 192.168.0.1
Grid ID : 1/1
Current Time : Wed Jul 2 13:22:51 PDT 2008
System Uptime : 129 days, 17 hours, 46 minutes
Grid Public SSH Key : ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvBd9k<majority of key removed>=
# you can then set a user account on the 2nd grid and use the "Grid Public SSH Key" as the account key.
(root)demo2> user create migrate@3tera.net pwd=- sshkey="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvBd9k<majority of key removed>="
if you create accounts in this manner on both of your grids it will allow you to migrate apps between the grid without agent forwarding or from the browser.