Updated on 2022-12-23 GMT+08:00

Formatting a Disk

Scenarios

The data disks of SAP NetWeaver nodes can be used only after they are formatted and attached to required directories. This section describes how to format the data disk on the active ASCS node in the distributed HA deployment within an AZ. The shared disk of the active ASCS node needs to be formatted based on Table 3.

  • On the ECS homepage, choose Learn more > Getting Started > Initializing an EVS Disk (Linux) to view the hard disk initialization information.
  • In the cross-AZ scenario, create three ECSs and attach a SCSI disk to each ECS. Use Internet Small Computer System Interface (iSCSI) to create a shared disk. In this scenario, disks do not need to be formatted. The SAP NetWeaver deployment scenarios are diversified. You need to format disks based on the actual deployment scenario.

Procedure

  1. Use PuTTY to log in to the NAT server with an EIP bound. Ensure that user root and the key file (.ppk file) are used for authentication. Then, use SSH to switch to the active ASCS node from the NAT server.
  2. Based on Table 3, run the following commands to format disks:

    mkfs.xfs /dev/sdb

    mkfs.xfs /dev/sdc

    Do not format the partition sda.

    The formatting takes a period of time. Observe the system running status and do not exit.

    • For details about file systems in the standard deployment mode, see Table 1.
    • For details about file systems in the distributed deployment mode, see Table 1.

  3. Attach the disks to the required directory.

    Create the /usr/sap/A01/ASCS00 directory on the active ASCS node and run the following command:

    mount /dev/sdb /usr/sap/A01/ASCS00

    Create the /usr/sap/A01/ERS10 directory on the standby ASCS node and run the following command:

    mount /dev/sdc /usr/sap/A01/ERS10

    A01 is the SID of SAP NetWeaver, 00 is the Instance Number of ASCS, and 10 is the Instance Number of ERS.

  4. Save the changes and exit.