A storage array automatic configuration method, applied to a storage system, wherein the storage system comprises a host and a storage array, and the method comprises: • receiving (201, 301), by the host, configuration information entered by a user into the host, wherein the configuration information comprises a management Internet Protocol, IP, address, a service IP address, and a configured capacity; • sending (202, 302), by the host, a first configuration message to the storage array, wherein the first configuration message comprises the management IP address, wherein the sending, by the host, the first configuration message to the storage array comprises: ∘ broadcasting, by the host, a discovery message, wherein the discovery message is used to trigger the storage array to send a response to the host in response to the discovery message; ∘ receiving, by the host, the response sent by the storage array, wherein the response carries an identifier of the storage array; and ∘ unicasting, by the host according to the identifier, a management IP configuration request to the storage array, wherein the management IP configuration request carries the management IP address; • automatically sending (203, 303), by the host, a second configuration message to the storage array in response to receiving a first configuration success message, wherein the second configuration message comprises the service IP address, and a destination IP address of the second configuration message is the management IP address; • automatically sending (204, 304), by the host, a connection message to the storage array in response to receiving a second configuration success message, wherein a destination IP address of the connection message is the service IP address, and the connection message is used to establish an Internet Small Computer System Interface, iSCSI connection to the storage array; and • automatically sending (205, 305), by the host, the configured capacity to the storage array in response to receiving a connection success message, wherein the configured capacity is used to instruct the storage array to provide the host with storage space that has the configured capacity. • receiving (201, 301), by the host, configuration information entered by a user into the host, wherein the configuration information comprises a management Internet Protocol, IP, address, a service IP address, and a configured capacity; • sending (202, 302), by the host, a first configuration message to the storage array, wherein the first configuration message comprises the management IP address, wherein the sending, by the host, the first configuration message to the storage array comprises: ∘ broadcasting, by the host, a discovery message, wherein the discovery message is used to trigger the storage array to send a response to the host in response to the discovery message; ∘ receiving, by the host, the response sent by the storage array, wherein the response carries an identifier of the storage array; and ∘ unicasting, by the host according to the identifier, a management IP configuration request to the storage array, wherein the management IP configuration request carries the management IP address; ∘ broadcasting, by the host, a discovery message, wherein the discovery message is used to trigger the storage array to send a response to the host in response to the discovery message; ∘ receiving, by the host, the response sent by the storage array, wherein the response carries an identifier of the storage array; and ∘ unicasting, by the host according to the identifier, a management IP configuration request to the storage array, wherein the management IP configuration request carries the management IP address; • automatically sending (203, 303), by the host, a second configuration message to the storage array in response to receiving a first configuration success message, wherein the second configuration message comprises the service IP address, and a destination IP address of the second configuration message is the management IP address; • automatically sending (204, 304), by the host, a connection message to the storage array in response to receiving a second configuration success message, wherein a destination IP address of the connection message is the service IP address, and the connection message is used to establish an Internet Small Computer System Interface, iSCSI connection to the storage array; and • automatically sending (205, 305), by the host, the configured capacity to the storage array in response to receiving a connection success message, wherein the configured capacity is used to instruct the storage array to provide the host with storage space that has the configured capacity.