def getRemoteParams(dbElem):
    """Get parameters to supply to ktremotemgr to connect to the right DB."""
    host = dbElem.getDbHost() or 'localhost'
    return ['-port', str(dbElem.getDbPort()),
            '-host', host]