Replacing a disk drive or solid-state drive for mirrored rootvg in AIX
Replacing a disk drive or solid-state drive for mirrored rootvg in AIX 查看系统故障日志,确定故障硬盘信息。 ]/# errptIDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTIONEAA3D429 1113051522 U S LVDD PHYSICAL PARTITION MARKED STALEE86653C3 1113051522 P H LVDD I/O ERROR DETECTED BY LVMB6267342 1113051522 P H hdisk0 DISK OPERATION ERROR]/#errpt -aj B6267342......Diagnostic AnalysisDiagnostic Log sequence number: 2639Resource tested: hdisk0Resource Description: SAS Disk...
Create an AIX 7.2 VM on QEMU
Create an AIX 7.2 VM on QEMU Reference: QEMU - AIX on x86 Installing Qemu on Ubuntu. sudo apt-get install qemu-system Create a disk file. qemu-img create -f qcow2 /mnt/e/Qemu/AIX_v7.2/hdisk0.qcow2 20G Create an AIX VM. qemu-system-ppc64 -cpu POWER8 -machine pseries,accel=tcg -m 4096 -serial stdio \-drive file=/mnt/e/Qemu/AIX_v7.2/hdisk0.qcow2,if=none,id=drive-virtio-disk0 \-device virtio-scsi-pci,id=scsi \-device scsi-hd,drive=drive-virtio-disk0 \-cdrom /mnt/e/Downloads/AIX_v7.2_Install_72...
WSL2
WSL2 Installation dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartdism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartwsl --set-default-version 2wsl --install -d kali-linux Setting hyper-v launch type bcdedit /set hypervisorlaunchtype autobcdedit /set hypervisorlaunchtype off Systemd support To enable systemd, open your wsl.conf file in a text editor using sudo for admin permissions and add ...
Setting Container Restart Policy
Setting Container Restart Policy To configure the restart policy for a container, use the --restart flag when using the docker run command. The value of the --restart flag can be any of the following: Flag Description no Do not automatically restart the container. (the default) on-failure[:max-retries] Restart the container if it exits due to an error, which manifests as a non-zero exit code. Optionally, limit the number of times the Docker daemon attem...
MySQL Docker Image Overview
MySQL Docker Image Overview Start a mysql server instance Starting a MySQL instance is simple: docker run --name some-mysql -p 33060:3306 -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag where some-mysql is the name you want to assign to your container, my-secret-pw is the password to be set for the MySQL root user and tag is the tag specifying the MySQL version you want. See the list above for relevant tags. Using a custom MySQL configuration file T...
Installing Docker Engine on Fedora
Installing Docker Engine on Fedora Uninstall old versions Older versions of Docker were called docker or docker-engine. If these are installed, uninstall them, along with associated dependencies. sudo dnf remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-selinux \ docker-engine-selinux \ docker-engine Set up the dnf repository Install the dnf-plugins-core package (whic...
Oracle Docker Image Overview
Oracle Docker Image Overview Sample ~]$ git clone https://github.com/SakuraYumeno/docker-images.git~]$ cd docker-images/oracle/11.2.0.4/assets/~]$ docker build -t sakura/database:11.2.0.4-ee .~]$ docker run -d --privileged --name oracle11g-1 -p 15211:1521 -p 2201:22 -ip 172.17.0.2 -v /mnt/e/Temp/oracle/11.2.0.4:/install -v /mnt/e/Temp/datapump:/datapump sakura/database:11.2.0.4-ee Default Setting Database located in /u01/app/oracle directory. OS users: root/welcome oracle/oracle DB users:...
Migrate DATA ASM Diskgroup To Another Storage
Migrate DATA ASM Diskgroup To Another Storage If necessary, modify asm_diskstring. alter system set asm_diskstring = '/dev/emcpowerc*','/dev/emcpowerh*' scope=both;select name,path from v$asm_disk; Query the fail groups. col path for a20col state for a10col failgroup for a15col name for a15select dg.name,dg.state,dg.type,d.disk_number,d.path,d.mount_status,d.failgroup,d.name,d.state from v$asm_diskgroup dg, v$asm_disk dwhere dg.group_number=d.group_number and dg.name='DATA'order by ...
Oracle Automatic Storage Management (ASM)
Oracle Automatic Storage Management (ASM) Oracle ASM Mirroring and Disk Group Redundancy Disk Group Type Supported Mirroring Levels Default Mirroring Level EXTERNAL redundancy Unprotected (none) Unprotected NORMAL redundancy Two-way, three-way, unprotected (none) Two-way HIGH redundancy Three-way Three-way FLEX redundancy (12c) Two-way, three-way, unprotected (none) Two-way (newly-created) EXTENDED redundancy (12c) Two-way, three-way, unprotected (none) Two-way Setting Di...
Migrate OCR ASM Diskgroup To Another Storage
Migrate OCR ASM Diskgroup To Another Storage Query css votedisk. ~]$ crsctl query css votedisk## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- ---------1. ONLINE 73e1c48069d64fefbfc44cd8e65107d8 (ORCL:OCR_VOTE1) [OCR_VOTE]Located 1 voting disk(s). Query the fail groups. col path for a20col state for a10col failgroup for a15col name for a15select dg.name,dg.state,dg.type,d.disk_number,d.path,d.mount_status,d.failgr...













