Huawei OceanStor 5300 V5 Service Manual
Huawei OceanStor 5300 V5 Service Manual controller A and controller B are 192.168.128.101 and 192.168.128.102 System Configuration Restore the system to factory settings. WARNING: You have accessed the system.You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. System Name : Huawei.Storage Health Status : Normal Running Status : Normal Total Capacity : 42.714...
Using Logrotate to Manage Oracle Database Alert and Listener Log Files
Using Logrotate to Manage Oracle Database Alert and Listener Log Files As root, manually create a configuration file /etc/logrotate.d/oracle-database as below: # alert log/u01/app/oracle/diag/rdbms/orcl/orcl/trace/alert_orcl.log/u01/app/oracle/diag/rdbms/coco/coco/trace/alert_coco.log { daily rotate 7 compress copytruncate delaycompress create 0640 oracle oinstall notifempty missingok}# listener log/u01/app/oracle/diag/tnslsnr/oracle19c/li_orcl/trace/li_orcl.log/u01/a...
Oracle Database Post Installation Tasks
Oracle Database Post Installation Tasks Logrotate for oracle database and listener log. ・ Using Logrotate to Manage Oracle Database Alert and Listener Log Files Periodically delete the database archive logs ・ Using RMAN to Delete Oracle Database Archive Logs Setting user environment variables for multiple instances. ~]$ sed -i '/for Oracle/,$d' /home/oracle/.bash_profile~]$ cat >> /home/oracle/.bash_profile << "EOF"# The following is added for Oracleumask 022export ORACLE_B...
Configuring Automatic Restart of an Oracle Database
Configuring Automatic Restart of an Oracle Database systemd [Unit]Description=Oracle Database Start/Stop ServiceAfter=syslog.target network.target local-fs.target remote-fs.target[Service]# systemd, by design does not honor PAM limits# See: https://bugzilla.redhat.com/show_bug.cgi?id=754285LimitNOFILE=65536LimitNPROC=16384LimitSTACK=32MLimitMEMLOCK=infinityLimitCORE=infinityLimitDATA=infinityType=simpleUser=oracleGroup=oinstallRestart=noExecStartPre=/bin/rm -rf /u01/app/oracle/product/12.2....
Installing Docker Engine 26.1.3 on RHEL 8
Installing Docker Engine 26.1.3 on RHEL 8 RHEL 8.10 Install using the rpm repository Set up the repository. sudo dnf -y install dnf-plugins-coresudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo Install the Docker packages. LatestSpecific versionsudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugindnf list docker-ce --showduplicates | sort -rdocker-ce.x86_64 3:28.3.3-1.el9 docker-ce-stabledocker-ce.x86...
Installing Tomcat 9.0.54 on RHEL 8
Installing Tomcat 9.0.54 on RHEL 8 RHEL 8.10 RHEL 8.10 Tomcat 9.0.54 Install openjdk. ~]# dnf -y install java-21-openjdk~]# java -versionopenjdk version "21.0.2" 2024-01-16 LTSOpenJDK Runtime Environment (Red_Hat-21.0.2.0.13-1) (build 21.0.2+13-LTS)OpenJDK 64-Bit Server VM (Red_Hat-21.0.2.0.13-1) (build 21.0.2+13-LTS, mixed mode, sharing) Ddownload the Tomcat zip file VERSION=9.0.54wget https://archive.apache.org/dist/tomcat/tomcat-9/v${VERSION}/bin/apache-tomcat-${VERSION}.tar.gz -P /so...
Configuring YUM Repositories
Configuring YUM Repositories RHEL RHEL 7RHEL 8/9/10mkdir /etc/yum.repos.d/bakmv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bakmount -t iso9660 /dev/cdrom /mntcat >/etc/yum.repos.d/media.repo <<EOF[InstallMedia]name=Red Hat Enterprise Linux Server release 7baseurl=file:///mntgpgcheck=0enabled=1[InstallMedia_HighAvailability]name=Red Hat Enterprise Linux Server release 7 HighAvailability Add-Onbaseurl=file:///mnt/addons/HighAvailabilitygpgcheck=0enabled=1EOFyum clean all && yum...
How to Resize KVM Virtual Machine disk size
How to Resize KVM Virtual Machine disk size Only images in raw format can be resized in both directions, whereas qcow2 images can be grown but cannot be shrunk. Confirm the original disk information. ~]# virsh dumpxml vm2 | sed -n '/disk type/,/\/disk/p' <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/vm2.qcow2'/> <backingStore/> <target dev='vda' bus='virtio'/> <alias na...
How to Extend Standard Partition on Linux
How to Extend Standard Partition on Linux CentOS 7.9 /dev/vda3, /, xfs, 15G -> 16G Confirm the disk /dev/vda size is increase. ~]# for i in /sys/class/scsi_host/host*/scan; do echo '- - -' > $i; done~]# echo 1 > /sys/class/block/vda/device/rescan~]# fdisk -lDisk /dev/vda: 16.1 GB, 16106127360 bytes, 31457280 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk label type: dosDisk i...
Linux System Optimization
Linux System Optimization OpenSSH grep -E 'GSSAPIAuthentication|UseDNS' /etc/ssh/sshd_config# Remove existing GSSAPIAuthentication and UseDNS lines to prevent duplicatessed -i '/^GSSAPIAuthentication/d' /etc/ssh/sshd_configsed -i '/^UseDNS/d' /etc/ssh/sshd_config# Disable GSSAPIAuthentication and UseDNScat >>/etc/ssh/sshd_config <<EOFGSSAPIAuthentication noUseDNS noEOFsystemctl restart sshd.service History Command Enable timestamp in history command. ~]# mkdir /var/log/history....














