Skip to content

HA Deployment: second controller #536

@lgretton

Description

@lgretton

The documentation is a bit sparse about how to install TX for a secondary controller. In our case the prepare script fails as 'hostname -s' does not match the value of trix_ctrl1_hostname in all.yml, but that's because we are trying to install what should be matching the trix_ctrl2_hostname value, but there's no check being done for that within prepare.sh.

So at the moment prepare.sh fails with the following error which we can't get past:

****************************************************************************
*                                                                          *
*  Please note the hostnames are not matching (see                         *
*  site/group_vars/all.yml).                                               *
*  Please configure the network before starting Ansible                    *
*                                                                          *
****************************************************************************

hostname -s returns 3x-head02. In our all.yml file we have these options, having simply copied the all.yml file over from the first controller.

trix_ctrl1_hostname: 3x-head01
...
trix_ctrl2_hostname: 3x-head02

It feels like we're missing an argument to the installation TUI script to specify that the installation is for a secondary controller.

Also we're not sure whether the shared /trinity disc should be mounted first on the secondary controller, or should the installation of the secondary controller take care of that for us?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions