0% found this document useful (0 votes)
23 views3 pages

Commands Azure

Uploaded by

manogara05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views3 pages

Commands Azure

Uploaded by

manogara05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

[6/9/2020 4:25 PM] Raju, Sharanya (external - Service):

and we can make the file immutable


bcz it may get hashed again

[6/9/2020 4:26 PM]


how to immutable that file?

[6/9/2020 4:26 PM] Raju, Sharanya (external - Service):


chattr +i filename

Backup IP
ld4951:~ # echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
ld4951:~ #
ld4951:~ #
ld4951:~ #

lsof -nP | grep '(deleted)' | awk '{ print $2}' | xargs kill -9

find / -mount -xdev -size +100000000c -exec ls -lh {} \;

ps axo stat,ppid,pid,comm | grep -w defunct | awk '{ print $2}' | xargs kill -9 --
> To kill zombie process

find / -uid 4016533 -exec chown -v -h 4033316 '{}' \; ---->To change the userid

ps aux | egrep "Z|defunct" -- To check zombie process

Swap memory usage : for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 "


" $3}END{ print ""}' $file; done | sort -k 2 -n -r |head -n 10

time dd if=/dev/zero of=speedtest bs=1M count=1000 oflag=direct -----> To check


I/O for filesystem, We need to execute this command inside the mount directory

2070297032
2070295291
https://support.wdf.sap.corp/sap/support/message/2070297993 -- HO

2070270918

OS Upgrade path : /sapmnt/dlm/services/servermgmnt/team/c5259348

clt +alt f2 - Shorcut to go to console command line

AIX server SPC -https://support.wdf.sap.corp/sap/support/message/2080272942

VMCREATE Troubleshoot -
https://wiki.wdf.sap.corp/wiki/display/DLM/VMCreate+Troubleshooting

Inode and number of files:


vlgsapp6b:~ # df -hi /sapmnt/P6B
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg01-sapmnt_P6B 1.3M 1.3M 0 100% /sapmnt/P6B
vlgsapp6b:~ #

vlgsapp6b:/sapmnt/P6B # find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c |


sort -n
21 profile
298 p6b
1125 linuxintel
1309152 global

Hello Colleagues,

When we checked server was re-imaged with single RAID, both data and OS are
configure in same RAID.

We have created the below SPC ticket with backup team to check the data consumed
size for below mount point.

SPC : https://spc.ondemand.com/open?ticket=1109313449

Based the information we need to decide whether again need to re-image the server
with 2 different RAID(OS & DATA)
or else we can proceed with single RIAD which is currently avaiable.

Please find the backup LV information below

-------------------------------

ld2718:/sapmnt/dlm/services/servermgmnt/linux/old_osbackups/ld2718.wdf.sap.corp #
cat lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 6.6T 0 disk
|-sda1 8:1 0 258M 0 part /boot
|-sda2 8:2 0 3G 0 part
`-sda3 8:3 0 6.6T 0 part
|-vg_sys_r1-root 254:0 0 13G 0 lvm /
|-vg_sys_r1-swap 254:1 0 32G 0 lvm [SWAP]
|-vg_sys_r1-bmc 254:2 0 3G 0 lvm /opt/bmc
|-vg_sys_r1-home 254:3 0 1G 0 lvm /home
|-vg_sys_r1-opt 254:4 0 4G 0 lvm /opt
|-vg_sys_r1-tmp 254:5 0 16G 0 lvm /tmp
|-vg_sys_r1-var 254:6 0 5G 0 lvm /var
|-vg_sys_r1-lv_usr_sap 254:7 0 1T 0 lvm /usr/sap
`-vg_sys_r1-lv_rtt 254:8 0 5.5T 0 lvm /sapmnt/workdir

ld2718:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 6.6T 0 disk
├─sda1 8:1 0 258M 0 part /boot/efi
├─sda2 8:2 0 5G 0 part
└─sda3 8:3 0 6.6T 0 part
├─vg_sys_r1-swap 254:0 0 32G 0 lvm [SWAP]
├─vg_sys_r1-root 254:1 0 10G 0 lvm /
├─vg_sys_r1-bmc 254:2 0 3G 0 lvm /opt/bmc
├─vg_sys_r1-home 254:3 0 1G 0 lvm /home
├─vg_sys_r1-opt 254:4 0 4G 0 lvm /opt
├─vg_sys_r1-tmp 254:5 0 3G 0 lvm /tmp
└─vg_sys_r1-var 254:6 0 2G 0 lvm /var
sr0 11:0 1 1024M 0 rom
ld2718:~ #

2080236568

2080240263

2080236702

2080232935

2080236540

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.72.237.72/14'
MTU=''
NAME=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'

You might also like