[Producto de almacenamiento de Huawei] OceanStor 9000 garantiza la entrega puntual del proyecto CCB

Publicado 2019-1-22 18:31:39 53 0 0 0

Resumen parte 1

El proyecto piloto OceanStor 9000 CCB entrega ha llevado a cabo. Si la carrera de piloto es exitosa, el OceanStor 9000 se entregarán en lotes a finales de mayo. Ahora, voy a compartir lo que conocí durante el despliegue y las experiencias que acumulado en este proyecto piloto. Además, también quiere fomentar el software, herramientas y referencia necesaria para el despliegue.

Invitamos a todos los que ha participado en la ejecución de los proyectos piloto o participará en la entrega de lotes próximos a comunicar aquí para que las preciosas experiencias que hemos acumulado puede ser extendido. Si cumples con algún problema durante el parto, por favor lo publique aquí. Reunir la sabiduría de todas las personas y nuestro mejor esfuerzo para darle una respuesta satisfactoria lo antes posible.

 

 

Parte II negocios viaje preparativos

1. entender los requerimientos de viaje de negocios, incluyendo tareas específicas, tiempo de viaje, destino y persona de contacto.

2. preparar herramientas, software y documentos requeridos.

Software:

(1) disco de inicio de sles11sp1-dvd-x86_64---Suse11 espejo. Este disco es necesario cuando el sistema espejo tiene que ser reinstaladas en el sitio. La capacidad del disco es de 2,85 GB, por lo que es recomendable copiarlo antes del viaje de negocios.

(2) OceanStor_9000_V100R001C01SPCxxx-os---9000 sistema espejado. Este disco es necesario cuando el sistema espejo tiene que ser reinstaladas en el sitio. La capacidad del disco es 1,83 GB, por lo que también se recomienda que copie antes del viaje de negocios.

(3) OceanStor_9000_V100R001C01-deploy.tar---9000 deployment boot program. Though the system mirroring has inherited this program, you are advised to take one copy, just in case.

(4) OceanStor_9000_V100R001C01SPCxxx-ToolKit_DeviceManager.tar---9000 network management installation package. The size of this package is 109 MB. You are advised to copy it before the business trip in order to save time.

(5) OceanStor_9000_V100R001C01.tar---9000 version installation package. The size of this package is 187 MB. You are advised to copy it before the business trip in order to save time.

(6) OceanStor Toolkit V100R001C03SPCg00 and OceanStor_9000_V100R001C01-toolcase--- inspection tool and 9000 service package. The software programs are used to perform daily inspection after deployment is completed. The size of the package is 132 MB. You are advised to copy it before the business trip in order to save time.

Tools:

Xmanager, FTP, netperf (for testing port traffic), and HyperTerminal (for configuring switches)

Documents:

OceanStor 9000 V100R001C01 Product Documentation

OceanStor 9000 CCB Delivery Design _xxx TB Configuration Template

OceanStor 9000 OS Mirroring Installation Guide V1.0

Disk scanning and pressure test documents

NAS disk storage technologies for branches (a complete set of documents provided by the CBC HQ to all its branches, covering deployment, acceptance, and operating and maintenance of products, as a project implementation criterion)

Deploy_Template_zh (a deployment template which you are advised to take with in order to improve deployment capability)

Tips: It is recommended that you bring a U disk or mobile disk. Your laptop is forbidden to connect to the customer's maintenance network, so you can only use the maintenance PC provided by the customer in the monitoring room. You have to copy all your prepared software, tools, and documents to the PC to facilitate the subsequent operations. In addition, the information you collect during the deployment must be copied from the PC to your own storage media before being sent to the HQ.

3. Order an airline ticket and a hotel.

Order a hotel that is close to the company to save your time.

4. Schedule your own work before you leave.

Before you take the business trip, schedule your work with your colleagues.

 

 

Part III Environment Deployment

1. Learn about the project status and service data planning.

After arriving at the destination, meet the contact person and learn about the project progress, customer requirements and attitudes, service data planning, and delivery plan, and determine what information you need to obtain from the customer.

2. Build customer relationships.

Visit the customer together with the contact person, clarify both parties' responsibilities to facilitate future work, confirm the delivery plan with the customer again.

3. Perform the preferential check items and operations.

Ask the customer to understand the current device status in the equipment room, and quickly confirm the NVDIMM batch the first day. Replace a faulty component as soon as possible if there is any. If there is no spare part available, ask the company to send one to the representative office as soon as possible, preventing the delivery from being delayed.

4. Ensure that the basic network conditions are met.

Ask the cluster to commission the network connectivity.

Set the IPMI IP address and run ifconfig to allocate IP addresses to front-end ports and management ports. Ask for a PC in the monitoring room and ensure that the PC can ping all front-end IP addresses and management network IP address and the IPMI web page can be logged in. Ensure that the subsequent deployment operations are performed on the network. Avoid performing direct-connection operations locally, preventing potential problems from delaying deployment progress.

5. Use the remaining time reasonably.

If the time is enough, update the operating system mirror. In this way, as long as the maintenance PC can connect to the device maintenance port, you can take care of all operations without entering the equipment room. After the operating system mirror is updated, manually update the NDVIMM driver version.

For details about how to update the operating system mirror, see the attached OceanStor 9000 OS Mirroring Installation Guide V1.0.

For details about how to update the NVDIMM driver, see the attached NVDIMM Upgrade Operation Guide 1.0.

6. Install and deploy the ISM.

It should be noted that you'd better choose the node that has the smallest planning IP address as a deployment node to prevent some potential issues. If the deployment is interrupted, use the management floating IP address:8088/tools (only after the management floating IP address takes effect, that is, you can ping it on the deployment PC) to log in to the deployment page again. when the deployment progress of each node reaches 100%, complete the deployment by clicking Finish. If you do not click Finish, some certificate or data synchronization operations that have not finished may lead to system unavailability.

 

 

Part VI Service Configuration

1. Complete initial configuration.

The critical action is to configure dynamic front-end IP addresses. At present, the CBC's planning is to configure one dynamic IP address. Actually, each node is allocated at least one dynamic IP address. That is, N (N= number of nodes) dynamic IP addresses. Ensure that each dynamic IP address in the IP address pool has been allocated to a node.

2. Complete NFS sharing configuration. During the configuration, note the following:

(1) The accounting audit system to be migrated only contain small files whose average size is 100 KB. You need to set the stripe depth is 16 KB.

(2) All clients mounts the 9000 using the IP addresses. The permissions parameters are set to rw, sync, no_all_squash, and no_root_squash.

(3) Other parameter are set as required.

 

 

Part V Data Migration

To prevent impact on online services and data, you must coordinate customers to provide backup devices as NFS clients. The devices running offline services are used for data migration.

The client mount commands and key parameters, and data migration commands and key parameters are quoted from the CBC xx Storage Migration Solution and described as follows:

Subitem

Configuration Rule

Description

Migration preparations

1. Set /home/ccbecm3 to be copied to read-only on the SAN and use the content management server (the standby client) to mount the path to /home/ccbecm3.

2. In the content management server (the standby client), create a local directory.

mkdir /home/temp

3. In the content management server (the standby client), create a migration script directory rsync.

mkdir -p /etc/rsyncd/

4. If 3.0 or an earlier version of rsync tool has been installed on the content management server (the standby client), uninstall it and install 3.1 version of rsync. Then, the data migration performance can be increased and the possibilities for incorrectly executing scripts can be reduced.

5. Install the latest version (using the rpm package).

rpm -ivh rsync-3.1.0-1.el5.rfx.x86.rpm

The 32-bit Red Hat operating system applies to the following installation packages (CBC uses Red Hat 5.4 32-bit):

If the 64-bit Red Hat operating system applies to the following installation packages:

6. Open an xshell and run the following command to view the rsync version. If the version is 3.1.0, the installation is successful.rsync -version

7. Start the rsync service.

service rsyncd start

rsync --daemon --config=/etc/rsyncd/rsyncd.conf

6. Verify the startup.

Run ps -aux |grep rsync process to view the process.

Run rsync-avP /home/huawei/dir01/ wave /home/temp/to test and verify the startup.

7. Run the following commands to mount the NAS in to /home/temp in read/write mode.

mount -t nfs -o rw,noatime,nodiratime,vers=3,wsize=1048576,rsize=1048576,noacl,nocto,timeo=10 T1.0.112.1:/ccbecm3_bak /home/temp

1. Mount the SAN storage space to /home/ccbecm3 under the content management node and write image data into to the SAN storage space.

2. When the SAN storage space is used up, allocate some space and mount it to /home/ccbecm4. Then continue writing data into it.

After the OceanStor 9000 is displayed, data migration starts.

1. Create a migration pilot directory /home/temp on the content management server.

2. Mount the migration pilot directory to the NFS shared directory of the OceanStor 9000.

3. en el comando de montaje, vers = 3 indica se utiliza nfs v3. Porque es más fiable que v4 v3, el valor predeterminado es v4.

Por defecto, rsize y wsize son ambos 8 KB. Aumentar a 1 M para mejorar el rendimiento.

De forma predeterminada, se establece async. Por lo tanto, no hay necesidad para establecer asincrónico.

4. Verifique que los datos en los directorios /home/ccbecm3 y /home/temp están el mismo.

Migración de datos

1. antes de la migración, coloque la herramienta de infosyncv1.pya/home/huawei /.

2. Seleccione el sistema de archivos más antiguos para realizar una copia completa de directorios y archivos. Utilice infosyncv1.pypara copiar todos los directorios y archivos en el directorio/home/ccbecm3/a/home/temp /Es decir, copiar los datos en el almacenamiento de información SAN para el almacenamiento de información NAS sin cambiar los atributos de los directorios y archivos.

nohup python infosyncv1.py-s/home/ccbecm3 - d/home/temp/2 > & 1 &

Seleccione el sistema de archivos más antiguos para realizar una copia completa de directorios y archivos. Copie todos los archivos y directorios en / home/ccbecm3/a/home/temp /Es decir, copiar los datos en el almacenamiento de información SAN para el 9000 OceanStor.

Montaje sincrónico configuración y datos de comprobación de coherencia

1. cuando la migración se complete, desmontar los directorios NAS desde el servidor de administración de contenido (el cliente espera).

umount/home/temp

2. montar los directorios NAS en el servidor de administración de contenido (el cliente espera) en el modo de sincronización.

mount -t nfs -o rw,sync,noatime,nodiratime,vers=3,wsize=1048576,rsize=1048576,noacl,nocto,timeo=10 T1.0.112.1:/ccbecm3_bak /home/temp

3. Run rsync, and check whether data in /home/ccbecm3 is the same as that in /home/temp.

nohup rsync -avP --log-file=/rsync3.log/home/ccbecm3/ /home/temp/ 2>&1&

If yes, perform the next step.

If no, run rsync until data in the two directories is the same.

The only difference between the mount command used during the migration and used during verification is that the mount command used during the migration has parameter sync.

In the check command:

Nohup and the last & indicate background execution.

a indicates archiving mode. That is, all file attributes are also copied during the data migration.

indicates that details need to be displayed.

P indicates that the files that are not completely transferred for some reasons need to be reserved. In this way, the second transmission is accelerated.

No W existing in the command, because rewrite is not needed.

Service cutover

1. Change the shared path in the NAS to read-only, and add a host IP address (x.x.x.x) share.

2. Run the following command on the standby client to cancel mounting from /home/temp to the NAS.

umount /home/temp

3. Uninstall the SAN on the active client and cancel mounting from /home/ccbecm3to the SAN.

umount /home/ccbecm3

4. Mount the NAS in read-only and synchronization modes and run the following command to mount /home/ccbecm3 to the NAS (in read-only mode).

mount -t nfs -o ro,vers=3, sync,rsize=1048576,wsize=1048576 T1.0.112.1:/ccbecm3_bak /home/ccbecm3

5. During routine maintenance every month, the active client needs to be restarted once. After the restart, run the following commands to mount the directory to the OceanStor 9000:

vi /etc/rc.local

Add the following content to rc.local.

mount -t nfs -o ro,vers=3, sync,rsize=1048576,wsize=1048576 T1.0.112.1:/ccbecm3_bak /home/ccbecm3

After the service cutover is completed, you can access the data in the NAS after entering the /home/ccbecm3/ directory. The data is the same as that in the SAN. All data in the SAN has been migrated to the NAS and can be accessed in the NAS.

The mentioned multi-thread script copy method helps significantly improve migration performance. For details, you can consult Meng Fanjian/197549 and Liu Guisong/90002825.

 

 

Part VI Cutover Assurance

Change the shared path on HUAWEI OceanStor 9000 to read-only, and add a host IP address (x.x.x.x) share.

Uninstalling the storage from the standby client

Run the following command to cancel mounting from /home/temp to the NAS:

umount /home/temp –l

Uninstalling the SAN from the active client, and mount the NAS using read-only and synchronization modes.

Run the following command to cancel the mounting from /home/ccbecm3 to the SAN:

umount /home/ccbecm3

Run the following command to mount /home/ccbecm3 to the NAS (using the read-only mode).

mount -t nfs -o ro,vers=3, sync,rsize=1048576,wsize=1048576 T1.0.112.1:/ccbecm3_bak /home/ccbecm3

After the service cutover is completed, you can access the data in the NAS after entering the /home/ccbecm3/ directory. The data is the same as that in the SAN. All data in the SAN has been migrated to the NAS and can be accessed in the NAS.

During routine maintenance every month, the active client needs to be restarted once. After the restart, run the following commands to mount the directory to the OceanStor 9000:

vi /etc/rc.local

Add the following content to rc.local.

mount -t nfs -o ro,vers=3, sync,rsize=1048576,wsize=1048576 T1.0.112.1:/ccbecm3_bak /home/ccbecm3


  • x
  • convención:

Responder

Responder
Debe iniciar sesión para responder la publicación Inicio de sesi | Registrarse

Aviso: Para garantizar sus legítimos derechos e intereses, la comunidad y los terceros no publicarán contenido que pueda generar riesgos legales a las partes, por ejemplo, pornografía, contenido político, contenido sobre juego, consumo y tráfico de drogas, así como contenido que viole los derechos de propiedad intelectual de terceros, por ejemplo, secretos comerciales, marcas, derechos de autor, patentes y privacidad personal. No comparta su cuenta ni su contraseña con terceros. Todas las operaciones realizadas usando su cuenta se considerarán como sus acciones y todas las consecuencias que estas acciones generen serán responsabilidad suya. Para obtener información detallada, consulte la “ Política de privacidad.”
Si el botón para adjuntar no está disponible, actualice Adobe Flash Player con la versión más reciente

¡Ingresa y disfruta de todos los beneficios para los miembros!

Aterrizaje
Respuesta rápida Desplácese hasta arriba