Adding Hosts

If you want to protect applications (such as databases) on a host, you need to add the host for DR protection. This operation instructs the administrators to add hosts to the DR management system on eReplication. The hosts provide necessary resources for DR.

Prerequisites

Procedure

  1. On the menu bar, select Resources.
  2. On the navigation bar, select the site where the hosts are to be added.
  3. Add hosts.

    Hosts that need to be managed must be added.

    1. Select Add Host.
      • Method 1: In the Resource Statistics, click Add Host.

      • Method 2: In the navigation tree, select Host. Then click Add Host.

    2. Optional: Select Apply the port, username, and password of the first row to the newly added row. The system will use the port, username, and password of the host in the first row to avoid repeated inputs.
    3. Optional: Select Enable Agentless. If Enable Agentless is not selected, an Agent host is created.

      You can log in to an Agentless host as user root and run the following command to collect host logs. xxxx indicates the user-defined Agentless installation directory. The collected logs are stored in the /root/AgentlessLog.zip file.

      sh /xxxx/Agentless/bin/collect

    4. Set parameters for hosts to be added as described in Table 1.

      • If only one host needs to be added, enter the authentication information of the host in the default row.
      • If multiple hosts need to be added, you can click Add to add authentication information of multiple hosts.
      Table 1 Parameters for adding hosts

      Parameter

      Description

      Value

      IP Address

      IP address of the host.

      [Value range]

      • The value of the first field ranges from 1 to 223 (excluding 127).
      • The value of the last field ranges from 1 to 255.
      • The values of other fields range from 0 to 255.

      [Example]

      192.168.10.11

      Port

      Communication port of the eReplication Server and Agentless.

      [Value range]

      The port number ranges from 1 to 65535. If Agentless is enabled, the default value is 22. The default value is provided in the default row only. You can copy the information in the default row.

      Username

      User name configured during the Agentless installation.

      When Agentless is enabled, the default username is BCManager.

      Password

      Password configured during the Agentless installation.

      Obtain the Agentless password from the host administrator.

      If an added host does not need to be discovered, click Delete to delete it. The default information row cannot be deleted.

    5. Click OK.

  4. Optional: If the application environment is a cluster, you need to create a host group and add all the hosts in the cluster to the host group.

    1. Click Create Host Group. Table Parameters for creating host groups describes related parameters.

      Table 2 Parameters for creating host groups

      Parameter

      Description

      Value

      Name

      Name of the host group.

      [Value range]

      • Contains 4 to 32 characters.
      • Contains letters, digits, underscores (_), and hyphens (-), and cannot start with a hyphen (-).

      [Example]

      hostgroup

      Operating System

      Host groups support Windows, RedHat, HP-UX, SUSE, AIX, Solaris, Oracle Linux, and iSoft.

      [Example]

      Windows

      Cluster Type

      You need to select a cluster type from the drop-down list. Host groups running different operating systems support different cluster types.

      • If the operating system of a host group is Windows, the cluster type can only be Oracle RAC or WSFC.
      • If the operating system of a host group is Red Hat, the cluster type can only be Oracle RAC, VCS, or RHCS.
      • If the operating system of a host group is HP-UX, the cluster type can only be Oracle RAC or ServiceGuard.
      • If the operating system of a host group is SUSE, the cluster type can only be Oracle RAC.
      • If the operating system of a host group is AIX, the cluster type can only be Oracle RAC or PowerHA.
      • If the operating system of a host group is Solaris, the cluster type can only be Oracle RAC or Sun Cluster.
      • If the operating system of a host group is Oracle Linux, the cluster type can only be Oracle RAC.
      • If the operating system of a host group is iSoft, the cluster type can only be Oracle RAC.

      [Example]

      Oracle RAC

    2. In the Host area, select one or more hosts.
    3. Click OK.

Related Operations

After hosts are added, you can refresh, modify, and delete host information. For details about subsequent operations, see Table Related operations.

Table 3 Related operations

Operation Name

Related Operation

Prerequisite and Result

Modify information about a host or host group

Select the host or host group that you want to modify and click More > Modify on the Operation list. Modify the host or host group name and the authentication information or alarm reporting information of the host. Then click OK.

If you change the authentication or alarm reporting information of a host, synchronize the latest information to eReplication in time to ensure successful running of subsequent DR protection services.

Add a host to a host group

If you want to add a host to the host group, click More > Add to Host Group on the Operation list. And then click OK.

If the application environment is a cluster, you need to add all the hosts in the cluster to the host group.

Remove a host from a host group

If you want to remove a host from the host group, click More > Remove from Host Group on the Operation list. And then click OK. The host is removed from the host group, but still exists at the site.

If a host in the cluster is adjusted or does not belong to the cluster again, you need to remove the host from the original host group.

Delete a host that is no longer used

If you want to delete a host that has not been added to a host group, click More > Delete on the Operation list. The host is deleted from the site.

Perform this operation when a host is no longer needed.

Delete unnecessary host groups

If you want to delete a host group, select the host group, click More > Delete on the Operation list. Click OK.

Perform this operation when a host group is no longer needed.

Refresh hosts

  • Refreshing a single host: In the row of the host whose information is modified, click Refresh on the Operation list.
  • Refreshing all the hosts of a host group: In the row of the host group, click Refresh on the Operation list.

eReplication automatically queries information about added hosts every 12 hours to ensure the host information in eReplication is consistent with the actual host information.

If the host information is changed, you need to refresh the information in eReplication immediately. If the application environment is a cluster and information about hosts in the host group is changed, you can refresh the host group to refresh information about all the hosts in the host group.


Copyright © Huawei Technologies Co., Ltd.