0% found this document useful (0 votes)
105 views

Mano Windows Commands

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 PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

Mano Windows Commands

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 PDF, TXT or read online on Scribd
You are on page 1/ 236

Imp links

Wednesday, February 2, 2022 2:47 PM

DLM
http://lddlmsm.wdf.sap.corp

WIKI
https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?spaceKey=DLM&title=Server+Management

BCP
https://support.wdf.sap.corp/sap(bD1lbiZjPTAwMSZkPW1pbg==)/crm_logon/default.htm

IP Tool
https://netsec.wdf.sap.corp/netsectools/iptool/

Ccloud
https://dashboard.eu-de-1.cloud.sap/monsoon3

Azure
https://login.microsoftonline.com/sapsharedtenant.onmicrosoft.com/oauth2/v2.0/authorize?redirect_uri=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fportal.azu re.com%2Fsignin%2Findex%2F&response_type=code%
20id_token&scope=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fmanagement.core.windows.net%2F%2Fuser_impersonation%20openid%20email%20profile&state=OpenIdCon nect.AuthenticationProperties%
3DglsMpckzYhc5alpmVFFef2Hi6fKin7MyxNZhBC8bKMHqoZ-JWK1fqTUZjq7qU4awwhTl953ketUVv8lnjte4z9Utm8qUd-gnlzjEqYQXMxapO2S4wKbo0YUsRFvCNRO2uY00GWw-
tq4qjumBzvRwB7WQkEk2A2EX4Q8zlRUO5zzECE9J0tWEDbQt_GM9liRxORyhXwukrboMGuDH29ftHRuuvi-PKQhKcbsTr4t5pQj3QDGv8tJE88yRUTqTRnBRZE5OkIJUbPO1iFob7zYH5JKbnDcxxIkfx-
HdBcMiNRneiJdryIfjN6203mSOLXghWKpzlsR5FATT00uv6Pf0WFmTOfByvfZ_id9fzAs4MJS6fio -dH6yYEuF4dGzY7EEU60yhhNlLv9XRBx3tRDaWzlaCOJm2fItfzUMXp7yFXn46VYv9Oz0tNDDwvK-
zTDYXsEzTz-7iV9Z2RV6CJ4RsQ&response_mode=form_post&nonce=
637825890271394561.ZWI0MmYxNWItYTgxMC00MjEyLWIyOGItNDNlZThmNDkzNTQyNjY0ZmY0Y2YtNDZlNy00MTIyLTg2MmItYzk5ODEyZjdmYzdl&client_id =c44b4083-3bb0-49c1-
b47d-974e53cbdf3c&site_id=501430&client-request-id=cc4e3d8b-a234-4d71-80b9-c96264d9bb47&x-client-SKU=ID_NET472&x-client-ver=6.12.2.0&sso_reload=true

GCP
https://accounts.google.com/signin/v2/identifier?service=cloudconsole&passive=1209600&osid=1&continue=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fconsole.c loud.google.com%2Fcompute%2Finstances%3Fproject%
3Dsap-development&followup=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fconsole.cloud.google.com%2Fcompute%2Finstances%3Fproject%3Dsap -development&flowName=GlifWebSignIn&flowEntry=ServiceLogin

Nagios
https://nagios-dlm.zone1.mo.sap.corp/thruk/frame.html?link=https://nagios-dlm.zone1.mo.sap.corp/thruk/startpage.html

SISM
https://cmp.wdf.sap.corp/sesi/main/#

SLIM
https://dlm/slim/

NIP
NIP - Network Information Portal (sap.corp)

Collections
https://cmp.wdf.sap.corp/sap/bc/ui5_ui5/sap/zcwp_linkui/index.html

KT Path
\\dlmexport\dlm_servermgmnt\ODC\L2-OS-Support\KT-Unix

L2 Support Path
\\dlmexport\dlm_servermgmnt\ODC\L2-OS-Support

https://support.wdf.sap.corp/sap(bD1lbiZjPTAwMSZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm?saprole=ZCSSDLMPROCE&sap -language=EN

Leave Update
\\dlmexport\dlm_servermgmnt\ODC\L2-OS-Support\ShiftRoster_LeaveTracker_2022

Wiki for making drive offline


https://wiki.wdf.sap.corp/wiki/display/DLM/Storcli+Commands

Unix admin page: http://unixadmin.wdf.sap.corp:8080/unixadmin/

Imp links Page 1


Wednesday, February 16, 2022 4:42 PM

rcssh -oKexAlgorithms=+diffie-hellman-group-exchange-sha1 -c 3des-cbc ld0115.wdf.sap.corp

c5340447@dlm-lts01:/sapmnt/dlm/services/servermgmnt/team/c5299512/script>

vlgcshf6:/home/nagios/patch/logs # ll

Quick Notes Page 2


DL
Wednesday, February 2, 2022 2:50 PM

DL DLM Services SM ODC (External) <[email protected]>


DL DLM Services SM COE <[email protected]>
DL ACI_DLM_SERVICES_SM_All (External) <[email protected]>

Dl names Page 3
Components
Wednesday, February 2, 2022 2:51 PM

components
Linux team : DEV-LM-UX/LX
Windows team : DEV-LM-WIN
deactivating servers : DEV-LM-DEACT-SERVER

Components Page 4
Samba enables Linux / Unix machines to communicate
with Windows machines in a network. Samba is open
source so
Wednesday, February 2, 2022 4:39 PM

Steps to solve issue

1. Samba configuration file path : /etc/samba/smb.conf


2. How to check samba service status:
rcsmb status
rcnmb status
if status is active then
3. check samba installed r wt = vlgcibdx:~ # rpm -qa | grep -i samba*
4. check os version = vlgcibdm:~ # cat /etc/os-release
5. check kernel version = uname -r
6. check nagios
➢ either we can in portal
➢ Cmd -> switch to jumphost(devadm01) ->
vlgcibdm:~ # /home/nagios/checkscripts/ -> select particular script -> check_sm_os_configuration_linux.pl(script) vlgcibdm.wdf.sap.corp -- To
check OS config error inside the machine
➢ if all are fine ok otherwise c5288908@vlcspadm01:~> sudo -i -u nagios
nagios@vlcspadm01:~> cd automation/
nagios@vlcspadm01:~/automation> ./
nagios@vlcspadm01:~/automation> ./auto_sm_os_configuration_linux "error_name" ->if there are only one error
OR
nagios@vlcspadm01:~/automation> ./auto_sm_os_configuration_linux ld9358.wdf.sap.corp = helps to clear multiple
error

Samba Issue Page 5


Samba extra info
Thursday, February 10, 2022 4:11 PM

Samba services name:


Smb
nmb

How to restart samba service:


rcsmb restart
rcnmb restart

How to stop samba services:


rcsmb stop
rcnmb stop

How to check smabs share is accessible or not:


go to run---> paste the samba share path and press enter

Samba Issue Page 6


Zypper is a command-line package manager for installing,
updating and removing packages. It can also be used to
manage repositories.
Thursday, February 10, 2022 4:19 PM

zypper source-install apache2-mod_nss = To install source package in a repository

zypper update MozillaFirefox = upgrade only MozillaFirefox package.

zypper update = upgrade all the packages on your system to the latest version.

zypper list-updates = can also view all the available updates using the list-updates option

* zypper dup = To perform a full distribution upgrade on the system

zypper remove MozillaFirefox = remove package

zypper search usb* = search for all packages that starts with the keyword “usb”.

zypper info usbutils = display information about a specific package

* zypper patches = view all available patches

zypper patch <patch name> = install a specific patch

zypper al ypbind = Add a package lock to ypbind package using “al” option. al stands for “Add
Lock”

zypper ll = To view all the packages that are locked, use the “ll” option. ll stands for “List Locks”

zypper rl ypbind = Remove the package lock from ypbind package using “rl” option. rl stands for
“Remove Lock”

zypper ll = To view all the packages that are8 not locked, use the “ll” option. ll stands for “List
Locks”

zypper addrepo <options> <URI> <alias> = add a repository using http URI

zypper addrepo <Path_to_dir> <Repo Name> = create a local repository from a local directory
on your server

zypper search --repo Mozillarepo = list all the packages from the specific repository

zypper renamerepo mylocalrepo LOCALRPM-Repo = rename any repository

zypper lr --export /var/tmp/backup.repo = backup the repository file that contains the list of
repositories

Zypper commands Page 7


zypper addrepo /var/tmp/backup.rep = add new repositories using addrepo command c

zypper modifyrepo -d Mozillarepo = disable the repo

zypper modifyrepo -e Mozillarepo = enable the repo

Zypper commands Page 8


Monitoring alerts
Wednesday, February 16, 2022 2:40 PM

Two ways
1. In nagios portal [4:12 PM] Naik, Srinivasa (external - Service)
2. In putty /etc/fstab -- file for normal mounts
Login
Cd /home/nagios/checkscripts [4:12 PM] Naik, Srinivasa (external - Service)
./script /etc/mount.map --> file for automounts

eldp

rcautofs status
If rcssh is not working and if it shows error in Nagios etc/shadow
Then rcsshd start

Nagios host down alert Page 9


Host down alert acknowledgement
Monday, February 14, 2022 4:33 PM

Steps
1. Left click on host down
2. Select add acknowledgement
3. Add hyper link in space (copy URL of ticket in bcp and paste it in URL format )
4. done

• Format for hyper link


<a href="https://support.wdf.sap.corp/sap/support/message/1880721527">BCP </a>

• Only OS related mounts will be taken care in Nagios alert like,


/root
/tmp
/var
/opt/bmc
• If other mounts alert occur we should get approval of that team and proceed
• To mount 1st need to create fs type then mount(this is done only early of server
creation)

Nagios host down alert Page 10


Wednesday, February 16, 2022 3:06 PM

12 and above SLES 12

rcsshd status
rcsshd stop
rcsshd start

Cron services

rccron status
rccron start
rccron stop

SLES 11

/etc/init.d/sshd status
/etc/init.d/sshd stop

/etc/init.d/cron status
/etc/init.d/cron stop

Nagios host down alert Page 11


Wednesday, February 16, 2022 6:28 PM

How to run nagios automation/ self healing

login devadm01 or devadm02


sudo -i -u nagios
cd /home/nagios/automation

./auto_sm_os_configuration_linux.sh vlgcis4m.wdf.sap.cor
./auto_sm_os_configuration_linux.sh vlgcis4m.wdf.sap.corp "ERROR: /var/adm/local/version.mam and
/sapmnt/unixadmin/lib/mam.pl/version.mam differs."

If u have multiple errors

./auto_sm_os_configuration_linux.sh vlgcis4m.wdf.sap.corp "ERROR: /var/adm/local/version.mam and


/sapmnt/unixadmin/lib/mam.pl/version.mam differs.
> errro2
> erro2
> err4
>"

and then enter

vlgdbp2r:~ # /home/nagios/checkscripts/check_sm_sec_config.pl hostname -f

Nagios host down alert Page 12


Wednesday, March 23, 2022 3:01 PM

Nagios Services what does it to


SM /etc/hosts compare /etc/sysconfig/network - ci24h to check host name
SM Backupinterface - ci30min To check if backup Ip is reachable or not
SM Bare Metal Config Linux - ci24h to check hardware alerts like disk failure . We can check firmware status also
SM Docker Check - ci24h to check if docker is installed or not
SM Filesystems - ci240min to check file system ussage of mounts
SM LTS01 rcssh - CI24h to check if rcssh is working from dlm-lts01
SM LTS02 rcssh - CI24h to check if rcssh is working from dlm-lts02
SM OS Config Linux - ci2h main OS configuration files alerts
SM Remoteboard - ci24h to check if remote board is reachable and login to remote board is working or not
SM SEC Config Linux - ci24h to monitor security related alerts
SM SEC OS Patching Linux - ci12h to check patching related alerts
SM SEC User Control - ci2h to check user/group related alerts
SM SEC Virus-Scanner Linux - ci12h to check mcafee and bowbridge installation and version
SM vlcspadm01 rcssh - CI24h to check if rcssh is working from devadm01
SM vlgspadm02 rcssh - CI24h to check if rcssh is working from devadm01
perfData CPU/RAM/Swap Linux - ci24h to check performance like CPU and RAM utilization
SISM Consistency - ci48h
SISM OS Release - ci1week to check the OS version
SISM Responsible E2E - ci24h to check the OPC of servers

Nagios host down alert Page 13


Wednesday, March 23, 2022 3:03 PM

Steps
1. See in Nagios, Do force check
2. See wt. are the errors
3. If nfs error: login to server
cat /etc/exports (will show all the entries)
See ip address of entries reachable r not using (ping ip address)
Do nslookup ip address if server not found
If above 2 are met then ony particular entry should be commented
To comment vi /etc/exports -> comment the line
In Nagios force check

Nagios host down alert Page 14


Monday, February 14, 2022 5:27 PM

dlm-lts01.wdf.sap.corp/vlcsplts01.wdf.sap.corp

dlm-lts02.wdf.sap.corp/vlgsplts02.wdf.sap.corp

devadm01.wdf.sap.corp/vlcspadm01.wdf.sap.corp

devadm02.wdf.sap.corp/vlgspadm02.wdf.sap.corp.

Jump host Page 15


https://support.wdf.sap.corp/sap/support/message/2270046602
Monday, February 14, 2022 6:12 PM

Poweroff:

DT required
Check any applications are running by using top cmd if yes revert to tech to stop app/db

Via putty
Steps
1. Switch to jump host
2. Login to server(rcssh server_name)
3. Give poweroff cmd, Make sism status offline give ticket description in sism description
4. Update in BCP by replying (remove processor name and change status as completed)
5. Update in DLM

Via GCP
Stop through GCP
Check in putty by by login the server and ping
Make sism status offline give ticket description in sism description

Power on -
E2e- revert and ask approval from whom that poweroff asked - Ref: https://support.wdf.sap.corp/sap/support/message/2280128676
Sp- revert n ask for approval from opc, move to tech team

Power off, on the server Page 16


Friday, April 8, 2022 2:19 PM

Hello Colleagues,

As requested ,CI and DB server of ACT System have been powered off and SISM status set to offline.

***************************
c5259357@vlcspadm01:~> ping vlgdbact
PING vlgdbact.wdf.sap.corp (10.238.200.167) 56(84) bytes of data.
^C
--- vlgdbact.wdf.sap.corp ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1012ms

c5259357@vlcspadm01:~> ping vlgciact


PING vlgciact.wdf.sap.corp (10.238.200.168) 56(84) bytes of data.
^C
--- vlgciact.wdf.sap.corp ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3066ms

c5259357@vlcspadm01:~> nslookup ldcsact


Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find ldcsact: NXDOMAIN

******************************

Kindly check and proceed.

Regards,
Deepa M
DLM SM Team

Power off, on the server Page 17


Tuesday, February 15, 2022 12:53 PM

Steps
1. Login to server
2. df -Th
3. See which is max size
4. Go to that folder
5. du -sch * (can see the file size)
6. Copy the file to some folder to take backup
7. Nullify the file (> file name)
8. Zip it (xz filename)
9. Move to previous place

OS backup Config path - /sapmnt/dlm/services/servermgmnt/linux/osbackup

df -Th - will list out all mount points info

ls - list out all files

lsof -nP | grep '(deleted)' | awk '{ print $2}' | xargs kill -9 -----> this command is used to kill all list of open deleted files processes

find / -mount -xdev -size +100000000c -exec ls -lh {} \; ----> this command used to find out the file which is consuming more memory in /
root file system

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

Free up space Page 18


Monday, March 21, 2022 3:06 PM

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

ps axo stat,ppid,pid,comm | grep -w defunct | awk '{ print $2}' | xargs kill -9
If docker file we found in this cmd then we should keep in aa ask them to clear file

ps -ef |grep root |grep df|awk {'print $2'}|xargs kill -9

free -g
ps aux --sort -rss | head -n 10

ps -ef | grep -i defunc

Free up space Page 19


Swap memory full
Monday, April 4, 2022 12:20 PM

https://support.wdf.sap.corp/sap/support/message/2280156017

free -g
cache
If swap is free ok r else check with below cmds

for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r |head -n 10 - if sid related process is consuming go to below step
top cmd - See if sidadm is consuming more memory if so revert to tech team
nproc(tells no of cups) - load avg should be < cpu count

SWAP Memory full

Login to server through putty


you can run this script to get which process consumes space
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k
2 -n -r |head -n 10

once after getting processes..run "ps -ef | grep -i ps_name"


ps_name = first processes name displayed at first after
running above command
if owner of that process is sid related then move to tech team to check
they will perform application restart to free up swap space
if issue not cleared request for downtime for server reboot

Nagios perfdata
lsblk
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k
2 -n -r |head -n 10
As already updated below since issue is repeating and all are SID related process utilizing high memory
hence need to analyse further from your end and extend the memory if required.

Hello Colleagues,

We tried from our end but still space is not clearing. When checked sid related process is consuming more swap memory.
==========
==========

Kindly check from your end.


If still issue persist kindly provide 30min DT to proceed reboot.

Regards,
Deepa M
DLM SM Team

Free up space Page 20


Load avg high
Saturday, May 14, 2022 4:44 PM

load average is the amount of traffic to your CPU(s) over the past 1, 5, and 15 minutes
Load avg. is the avg # of running or waiting processes

**********************************************
Kill only root related process

dewdfgld03421:~ # ps -ef | grep -i defunc


root 19114 23619 0 Sep07 ? 00:00:00 [sapuxuserchk] <defunct>
eeiadm 20993 1 0 Jun16 ? 00:31:14 [sapstartsrv] <defunct>
eeiadm 21239 21227 0 Jun16 ? 03:04:53 [en.sapEEI_ASCS0] <defunct>
eeiadm 22436 1 0 Jun16 ? 05:07:36 [sapstartsrv] <defunct>
root 25449 25218 0 03:43 pts/12 00:00:00 grep -i defunc
dewdfgld03421:~ # kill -9 25218 23619

---------
echo 3 > /proc/sys/vm/drop_caches -- clearing caches

ps -ef | grep -w "grep" | awk '{ print $2 }' | xargs kill -9


ps -ef | grep -w "awk" | awk '{ print $2 }' | xargs kill -9
ps -ef | grep -w "df" | awk '{ print $2 }' | xargs kill -9
ps -ef | grep -i "/sapmnt/unixadmin/bin/sapui.pl" | awk '{ print $2 }' | xargs kill -9

ps -ef | grep -i "/bin/sh" | awk '{ print $2 }' | xargs kill -9

*********************************************
in SLES 12 - start after killing /bin/sh
mo-5f4fecb58:~ # rcsshd restart
mo-5f4fecb58:~ # systemctl s
set-default set-property show-environment start stop
set-environment show snapshot status suspend
mo-5f4fecb58:~ # systemctl restart sssd.service
Display all 271 possibilities? (y or n)
mo-5f4fecb58:~ # systemctl restart sssd.service

***********************************
Step 4 --> /usr/sbin/cron --- if running these process more
restart cron service
/etc/init.d/cron restart

*********
Step 5 -->
Try running below script

/sapmnt/DLMprod/data/Scripts/Sree/Nagios/nagios_autofsclear.sh -- kindly check with someone


before running this command

Free up space Page 21


+++++++++++++++++++++++++++

DEWDFGLD00555:~ # lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 5
On-line CPU(s) list: 0-4
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 5
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 47
Stepping: 2
CPU MHz: 2128.003
BogoMIPS: 4256.00
Hypervisor vendor: VMware
Virtualization type: full

L1d cache: 32K


L1i cache: 32K
L2 cache: 256K
L3 cache: 24576K
NUMA node0 CPU(s): 0-4

**************************

ps -eo pcpu,comm,pid,ppid |sort -nr |head -----How to get top processes which are utilizing high CPU
top -b -n 1 | head ----- cpu wise utilization

cat /proc/meminfo --How much memory is assigned to the server and current utilization of memory

ps -eo pmem,comm,pid,ppid |sort -nr |head ---How to get top processes which are utilizing high
memory

***************************
lsof -p 98341 ---- > command to check the process related to this parent ID
/etc/init.d/cimserverd stop ------> to stop the hardware related agent process

Free up space Page 22


\\derotvi0119\dlm_servermgmnt\ODC\L2-OS-Support\Srinivasa_Naik\I_SPP-2016.10.0-
SPP2016100.2016_1015.191.iso

Free up space Page 23


Root mount full:
https://support.wdf.sap.corp/sap/support/message/22800933
02
Hello Colleagues,
Friday, June 3, 2022 4:21 PM

When we checked file /var/log/messages is taking up all the space , because below application related
messages and getting generated repeatedly.

==================
2022-06-02T23:12:25.864315+02:00 vlgciqn9 SAPQN9_10[64430]: EMI Background Processing: > Job:
BI_BTCH1609OC2DF330INHR3ZDUQRB5K 11361900
2022-06-02T23:12:25.864351+02:00 vlgciqn9 SAPQN9_10[64430]: EGE Basis System: > Job is not in table
TBTCO
2022-06-02T23:12:25.865456+02:00 vlgciqn9 SAPQN9_10[64430]: EME Background Processing:
BP_JOB_CHECKSTATE -> BP_JOB_READ : rc = 001
2022-06-02T23:12:25.865520+02:00 vlgciqn9 SAPQN9_10[64430]: EMI Background Processing: > Job:
BI_BTCH1609OC2DF330INHR3ZDUQRB5K 11361900
2022-06-02T23:12:25.865559+02:00 vlgciqn9 SAPQN9_10[64430]: EGE Basis System: > Job is not in table
TBTCO
2022-06-02T23:12:25.866823+02:00 vlgciqn9 SAPQN9_10[64430]: EME Background Processing:
BP_JOB_CHECKSTATE -> BP_JOB_READ : rc = 001
2022-06-02T23:12:25.866883+02:00 vlgciqn9 SAPQN9_10[64430]: EMI Background Processing: > Job:
BI_BTCH1609OC2DF330INHR3ZDUQRB5K 11361900
2022-06-02T23:12:25.866921+02:00 vlgciqn9 SAPQN9_10[64430]: EGE Basis System: > Job is not in table
TBTCO
2022-06-02T23:12:25.868149+02:00 vlgciqn9 SAPQN9_10[64430]: EME Background Processing:
BP_JOB_CHECKSTATE -> BP_JOB_READ : rc = 001
2022-06-02T23:12:25.868208+02:00 vlgciqn9 SAPQN9_10[64430]: EMI Background Processing: > Job:
BI_BTCH1609OC2DF330INHR3ZDUQRB5K 11361900
2022-06-02T23:12:25.868244+02:00 vlgciqn9 SAPQN9_10[64430]: EGE Basis System: > Job is not in table
TBTCO
2022-06-02T23:12:25.869316+02:00 vlgciqn9 SAPQN9_10[64430]: EME Background Processing:
BP_JOB_CHECKSTATE -> BP_JOB_READ : rc = 001
2022-06-02T23:12:25.869359+02:00 vlgciqn9 SAPQN9_10[64430]: EMI Background Processing: > Job:
BI_BTCH1609OC2DF330INHR3ZDU^C
vlgciqn9:~ #

==================

Because of this /root full issue , we are unable to make changes or add changes to few os related files.

Regards,
Deepa M
DLM SM Team

https://support.wdf.sap.corp/sap/support/message/2280133003 root mount full

https://support.wdf.sap.corp/sap/support/message/2280125133

Free up space Page 24


Friday, June 10, 2022 12:58 PM

2280100648

From <http://lddlmsm.wdf.sap.corp/ticket_tracker.php?task=get_ticket_tracker>

2280100648

From <http://lddlmsm.wdf.sap.corp/ticket_tracker.php?task=get_ticket_tracker>

Free up space Page 25


Friday, October 21, 2022 4:24 PM

Hello Colleagues,

We tried from our end to clear swap and memory but its not clearing.
When checked SID related process are consuming more swap and memory.
========
===========

Kindly check from your end to clear swap and memory.


If still issue persist kindly stop APP/DB and provide 30min DT to proceed reboot.

Regards,
Deepa M
DLM SM Team

Free up space Page 26


Virtual server dismantling
Tuesday, February 15, 2022 7:10 PM

Steps

1. Check in sism whether its offline and no sid is tagged(see in were in list) if tagged ask OPC to untag, revert to Deact team.
2. See in ticket whether backup is done and if not done revert
3. See whether service grp is DLM E2E Service or wt and service team DLM SM LINUX or wt(else revert to particular team)
4. Login to server
5. See backup (/sapmnt/dlm/services/servermgmnt/linux/osbackups/fullservername) -> ls -> cat dateAndTimezone(select this from ls list)
6. cat etc/fstab ( to check NAS file is present r wt), if NAS then it contains /backup_NW…….
7. df -Th
8. vmcontrol
9. Fallow steps once deleted
10. nslookup servername

1. Check its incident r CR


2. Check whether created by OPC or not
3. Top (to check any application is running. If yes then revert to tech team)

• If server provisioning server then we should do all check or revert


• If physical server other disk may be attached so 1st have to delete that
• Logical : remove virtual IP

c5340443@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-delete> ls |grep -i vlgspst2test


c5340443@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-delete> ls |grep -i vlgspsttest
c5340443@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-delete>

c5330715@dlm-lts02:/home/adminhosts/dlm-gcptool/logs-delete> tail -f delete_instance.log

Dismantling Page 27
Physical server dismantling: 2270013137
Monday, February 28, 2022 1:16 PM

Precheck:
1. Check server planned availability , if its within 2017 ok else reimage.
2. Check in sism whether its offline and no sid is tagged(see in were in list) if tagged ask OPC to untag, revert to Deact team.
3. See in ticket whether backup is done and if not done revert
4. See whether service grp is DLM E2E Service or wt and service team DLM SM LINUX or wt(else revert to particular team)
5. See backup (/sapmnt/dlm/services/servermgmnt/linux/osbackups/)
6. cat etc/fstab ( to check nfs file is present r wt), if nas then it contains /backup_NW……. (if derotvi0212:/derotvi0212a_EMO/q_backup
/Backup_NewDB_EMO nfs defaults 1 2 this present in df -Th also then we should move to system team)
7. Check for Vips's if login working if Vip's present => go to backup path => cat ifconfig_output => inet addr is vip => do nslookup of that inet addr if server
cant find then vip not present

Steps:

1. Go to search and type SAP logon -> open.


2. Go to variable logon -> top left corner
3. Type cmp in the search box and open the first one and click next next next once the next button disabled click on logon one copyright box
will open and close that box
4. In sap easy access click the third icon near to the search box. Click inbox
5. Go to SISM above edit one icon will be their click that and choose fourth option( start….)
6. Choose dismantling and click continue.
7. Under retention period in that dropdown click none and scroll down choose the first button on the bottom right corner.
8. Go to the page where we clicked inbox and refresh that page.
9. After refresh we will get one file check the server name with the ticket and double click the file and click continue.
10. We will another page, choose the first option I approve and submit. One dialogue box will open click ok on it.
11. Check mail and reply back the ticket with the workflow number which we got on mail.

Dismantling Page 28
Reply format
Wednesday, March 16, 2022 12:49 PM

Hello Colleagues,

As per the request we initiated workflow for server dismantling.

===================
Server Name:
Any VIP's Configured (Yes/No) :
NAS Present in server (Yes/No) :
Powered off From Console (Yes/No ) :
Litigation Hold cleared via CMP (Yes/Not Applicable):
Workflow ID :
SISM Status : Disassembling
Info : SISM object will be monitored via Nagios
==================

Regards,
Deepa M
DLM SM Team

We dismantled/deleted the servers mentioned below.


+++++++++++++++++++++++++++++++++++
Dismantled server's name:
Type:
OS platform:
Status : Completed
SISM Status : Object has been deleted
+++++++++++++++++++++++++++++++++++
Kindly, check & confirm

Dismantling Page 29
prechecks
Wednesday, March 16, 2022 5:43 PM

Dismantling / Deletion servers can be processed via DLM Change Request.

Kindly, raise DLM Change request to DEV-LM-DEACT-SYSTEM.

planned availability: 2016


creator: Andrea Fuchs
sid tagged: no
nas filer present: no
NAS filer not accessible | derotvihem23:/derotvihem23a_ls0110/q_files
backup required: no
its change request: yes
DLM E2E Services
DLM SM LINUX
Offline - no its live
nfs: no
derotvi0212:/derotvi0212a_EOP/q_backup /Backup_NewDB_EOP nfs defaults 0 0
Virtual ip:

Dismantling Page 30
Thursday, March 24, 2022 3:30 PM

cat /etc/hosts

c5340447@dlm-lts01:~> sudo su -
Directory: /root
Thu Mar 24 06:14:32 CET 2022
DISPLAY:
[root@dlm-lts01:~]# cd /home/adminhosts/ipam-connector/bin
[root@dlm-lts01:/home/adminhosts/ipam-connector/bin]# ls
ipam-connector-hostname-alias-add.pl ipam-connector-ip-address-deregister.pl ldcsqp2
ipam-connector-hostname-alias-delete.pl ipam-connector-ip-address-register.pl nslookup
[root@dlm-lts01:/home/adminhosts/ipam-connector/bin]# ./ipam-connector-hostname-alias-
delete.pl --host ld4739.wdf.sap.corp --alias ldcssdy.wdf.sap.corp
error: Alias 'ldcssdy.wdf.sap.corp' is not assigned to Host 'ld4739.wdf.sap.corp'!

ld4739:~ # cd /etc/sysconfig/network
ld4739:/etc/sysconfig/network # ls
config dhcp ifcfg-eth4 ifcfg-eth4~ ifcfg-eth5 ifcfg-lo ifcfg.template if-down.d if-up.d providers
routes scripts
ld4739:/etc/sysconfig/network # cat ifcfg-eth4
BOOTPROTO='static'
STARTMODE='auto'
IPADDR='10.96.5.160/22'
IPADDR_ldcssdy='10.96.5.182/22'
LABEL_ldcssdy='SDYcs'
ld4739:/etc/sysconfig/network # vim ifcfg-eth4
ld4739:/etc/sysconfig/network # vim /etc/hosts
ld4739:/etc/sysconfig/network # rcnetwork reload
ld4739:/etc/sysconfig/network # ifconfig -a

Dismantling Page 31
Tuesday, March 29, 2022 1:00 PM

cd /sapmnt/dlm/services/servermgmnt/linux/osbackups/

ll | grep -i ld5595

cat fstab | grep -i nfs

cat fstab | grep -i nas

cat ifconfig_output

Dismantling Page 32
Friday, April 22, 2022 2:37 PM

https://support.wdf.sap.corp/sap/support/message/2270076793

Dismantling Page 33
Stop dismantling
Tuesday, July 5, 2022 6:37 AM

Hello Colleagues,

To stop dismantling WF on hosts , you can create Snow ticket to component Cross - Generic Service
Request -> GCS Asset Management Tools-WF

Dismantling Page 34
Wednesday, February 16, 2022 7:08 PM

In SISM we can find out whether it’s a SP server or E2E server

SP Server, down time request E2E Server

- Get the BCP ticketing tool component of SID from SISM


- For reboot request or downtime we have to inform OPC . - Move the ticket to Tech team and ask for down time
- Get the OPC details from the SISM - Once down time is given by tech team , keep ticket in ER until
- Send the mail to that OPC briefing the details down time meets
- Set the reminder/meeting request in outlook - Set the meeting/reminder request in out look
- Keep BCP ticket in ER until down time meets
Or
EX: mail format - Or check the down time window (CMW) from SLIM tool and
schedule the down time activity
Hello Colleagues, - Keep the ticket in ER till down time meets
- For this also we have to set the meeting request from outlook
You are receiving this mail because you are listed as OPC for server server_name ( Server provisioning
host ).
This server has hardware issue, faulty drive has to be replaced . For this service action a downtime of
4 hours is required .

Proposed Downtime : 18th Feb 2022 8:00 AM CET .


If the above mentioned downtime is not feasible kindly revert with new downtime (between
Monday - Friday from 8 AM - 5 PM (CET / CEST).

Note : If there is no response we will proceed the activity in the mentioned downtime.

Downtime Page 35
Thursday, February 17, 2022 10:34 AM

Cron is a system that helps Linux users to schedule any task.

# Check cron service on Linux system


sudo systemctl status cron.service

2 ways to solve cron error

1.it notify via mail


syntax
* * * * * cd /home/audhi shell-script.sh >> log.out

2. we redirect errors to one directory


* * * * * cd /home/audhi && /bin/bash shell-script.sh > /dev/null 2>&1

/etc/pwd format:
user:password:uid:gid:userid info(extra information):directory:shell

commands in /etc/pwd:
passwd command
su command
sulogin command
getent command
login command
pwck command
pwunconv command
chpasswd command
chsh command
chfn command
useradd command
userdel command
ls -l - permission of file
stat - see details about the file

/etc/shadow: The /etc/shadow file keeps records about encrypted users' passwords, as well as
other passwords related information.
sudo cat /etc/shadow - display content of file

/etc/shadow format:

mark:$6$.n.:17736:0:99999:7:::
[--] [----] [---] - [---] ----
| | | | | |||+-----------> 9. Unused
| | | | | ||+------------> 8. Expiration date
| | | | | |+-------------> 7. Inactivity period

cron,etcpwd, shadow Page 36


| | | | | |+-------------> 7. Inactivity period
| | | | | +--------------> 6. Warning period
| | | | +------------------> 5. Maximum password age
| | | +----------------------> 4. Minimum password age
| | +--------------------------> 3. Last password change
| +---------------------------------> 2. Encrypted Password
+----------------------------------------> 1. Username

Encrypted Password format


$1$ – MD5
$2a$ – Blowfish
$2y$ – Eksblowfish
$5$ – SHA-256
$6$ – SHA-512

Inactivity period: The number of days after the user password expires before the user account
is disabled. Typically this field is empty.

cron,etcpwd, shadow Page 37


Windows login
Wednesday, February 23, 2022 10:31 AM

Spwdfvm4260- VC host
Username : .\root

cuser pwd
Pwd: Nti@2o!6
vmvc101 and vmvc102

windows Page 38
Wednesday, February 23, 2022 3:22 PM

2280076170-23/02/2022

2280078676-24/02/2022

2280071939

2280076256 - how did u do hw checks

2270024792- cname creation -15/03/2022

NIP access
Request : REQ0181063

t number Page 39
GCP SERVER, Ref ticker number: 2280076170
Wednesday, February 23, 2022 5:40 PM

Pvs
Vmcontrol --> extend
Resize --> lv
Resize2fs /xfs grpwfs
No down time needed

Check which server is it before login if it is db. server and if they not give server name in that message then login through alias name then in aliases name
change ci to db. then login. (ref ticket: https://support.wdf.sap.corp/sap/support/message/2270006761)

Steps:
1. Login to server
2. df -Th /dbarchive(mount name)
3. lvs check the free space
4. vgs check the free space
5. pvs check the free space
6. vmcontrol do steps (while selecting the disk select the disk which matches the size)
7. pvs
8. pvresize /dev/sdb (copy mount from pvs command mounts)
9. pvs (to check whether the size increased)
10. lvextend -L +50GB /dev/mapper/vg00r1-dbarchive -r (copy mount from df -Th cmd output)
11. df -Th /dbarchive(mount name) - to see whether it extended r wt

FS extension Page 40
FS extension Page 41
Ccloud
Wednesday, February 23, 2022 6:04 PM

Ccloud
Down time needed
Same steps as extension
Reboot

Steps:
1. For ccloud downtime is needed so ask DT
2. Search server name in sism conform whether its ccloud
3. Go to ccloud website
4. Click DLM under my project
5. Click servers
6. Search server
7. Get the details name, id, status by clicking the server name
8. Click server name, copy data disk name
9. Go to home
10. Click DLM under my project
11. Click Volumesandsnapshot
12. Search the data disk by pasting the name which you copied
13. Click in settings of that disk -> detach
14. Click on settings of that disk -> extend -> give total size need to be extended if they ask 50gb to
add and 50gb is already existed then give 100gb
15. Go to putty execute below cmds
16. lvextend -L +50GB /dev/mapper/vg00r1-dbarchive (copy mount from df -Th cmd output)
17. df -Th /dbarchive(mount name) - to see whether it extended r wt

FS extension Page 42
Reply format
Wednesday, March 2, 2022 4:16 PM

Hello Colleagues,

As per request, we extended the mount .

======================

======================

Kindly check .

Regards,
Deepa M
DLM SM Team

FS extension Page 43
Azure
Thursday, March 10, 2022 11:11 AM

FS extension Page 44
Exceptional case
Monday, March 21, 2022 3:08 PM

If you face error while extension, if disk is restricted to certain size then u can extend that you need to create new pv

Steps:
1. vmcontrol
2. Disks -> create
3. Give server name
4. Create data disk
5. Yes
6. Login to server
7. lsblk -> can see new disk created
8. pvs
9. pvcreate /dev/sdc -> create new physical volume
10. pvs -> check new pv created r wt
11. vgs
12. vgextend vg01 /dev/sdc
13. vgs
14. df -hT /hana/data/ALX
15. lvextend -L +50GB /dev/mapper/vg00r1-dbarchive -r
16. df -hT /hana/data/ALX

https://support.wdf.sap.corp/sap/support/message/2270050778

https://support.wdf.sap.corp/sap/support/message/2270035243

1. Kindly create ticket in DLM Change for extension related issue.


2. Kindly check if any unwanted files can be removed or else provide business justification for extension so
as to check further with our COE colleagues. .

/dev/sdb xfs 40G 40G 19M 100% /data


/dev/sdb xfs 40G 40G 19M 100% /usr/sap
/dev/sdb xfs 40G 40G 19M 100% /sapmnt/HSU

vlgciccq:~ # xfs_growfs /sapmnt/CCQ

FS extension Page 45
Bind mount
Friday, April 22, 2022 12:33 PM

Steps:
Check if its sp or e2e in case of sp we can extend the mount
In case of e2e Business justification is needed, size should not exceed 40Gb, if its hotflix server
max is 120gb

1. Extend disk in vmcontrol


2. xfs_growfs mount r resize2fs mount (depending on fs type)

FS extension Page 46
Monday, April 25, 2022 7:42 PM

153 2022-04-13 07:58:16 pvs


154 2022-04-13 07:59:03 pvcreate /dev/sdc
155 2022-04-13 07:59:07 pvs
156 2022-04-13 08:01:40 vgextend vg01 /dev/sdc
157 2022-04-13 08:01:47 vgs
158 2022-04-13 08:03:03 df -Th /oracle
159 2022-04-13 08:03:26 lvextend -L +20G /dev/mapper/vg01-oracle -r
160 2022-04-13 08:03:30 df -Th /oracle

FS extension Page 47
Thursday, May 19, 2022 1:49 PM

Hello COE Colleagues,

We have received request for extension of mount to 8TB.


As we checked data mount is already around 3.6 TB and total disk is of 4.7 TB.
Kindly check and let us know whether we can Proceed with the extension.
========
vlgdbsdy:~ # df -hT /hana/data/SDY
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vg01-dbdata_SDY xfs 3.6T 3.4T 227G 94% /hana/data/SDY
vlgdbsdy:~ #
vlgdbsdy:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 2M 0 part
├─sda2 8:2 0 20M 0 part /boot/efi
└─sda3 8:3 0 20G 0 part /
sdb 8:16 0 4.7T 0 disk
├─vg01-backup_SDY 254:0 0 512G 0 lvm /Backup_NewDB_SDY
├─vg01-hana 254:1 0 100G 0 lvm /hana
├─vg01-dbdata_SDY 254:2 0 3.5T 0 lvm /hana/data/SDY
├─vg01-usr_sap_SDY 254:3 0 10G 0 lvm /usr/sap/SDY
└─vg01-dblog_SDY 254:4 0 512G 0 lvm /hana/log/SDY
vlgdbsdy:~ #

Update from Requestor.


++++++++++
Hi colleagues,

System SDY has been migrated to GCP last week,


In the migrated system, SDY has only 3 TB of disc space - refer to attachment.

3 TB of disc space are way too little --> please increase disc space to 8 TB.

Thanking you,
Manfred
PO of SDM
++++++++++
========

Regards
Bhavana A(C5304608)
DLM SM Team.

FS extension Page 48
SWAP resize in CMW
Friday, June 10, 2022 1:07 PM

If they ask more gb ask any coe then proceed

E2e -> ask team to stop app in cmw and revert to proceed
Sp -> then keep it in er and create meeting request

Please follow below steps for reducing /increasing swap.

COE Approval required & better to perform in DT

Turn Off / Inactivate the SWAP


swapoff /root/swapfile
Remove the existing SWAP file
rm -f /root/swapfile
Create swap file with required size

Formula for count – 1024*required MB


bs=block size (fixed )-1024

Example -Required 2GB swap file then


2GB*1024 = 2048MB
2048*1024 = 2097152 →Count value

Just change count value in below command & execute

dd if=/dev/zero of=/root/swapfile bs=1024 count=2097152

Now create swap file & assign permissions


mkswap /root/swapfile
chmod 600 /root/swapfile
Turn On / Activiate the SWAP file
swapon /root/swapfile

FS extension Page 49
Wednesday, February 16, 2022 2:24 PM

/home/nagios/checkscripts

./check_sm_filesystems.pl

./check_sm_os_configuration_linux.pl servername

./check_sm_sec_config.pl vlgcis4m.wdf.sap.corp E2E

New Section 1 Page 50


Wednesday, February 23, 2022 6:00 PM

Mount sharing between two servers.

GCP Local NFS share.

Ex: Kindly share the mount /sapmnt/ME1 in server ldcsme1 to server lddbme1.

=============
**Steps to do at source server side.**

1. Login to the server.

2. check for the mentioned mount.

3. To share the file between servers we have to make entry in exports file.
cat /etc/exports
vi /etc/exports

mountname target server ip (permissions)


EX:/sapmnt/ME1 10.177.33.120(rw,sync,no_root_squash,no_subtree_check)
:wq!

get the target server ip through nslookup.


nslookup lddbme1
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: lddbme1.wdf.sap.corp
Address: 10.177.33.120
lddbme1.wdf.sap.corp canonical name = vlcdbme1.wdf.sap.corp.

exportfs - a -v cmnd in source server (by this even after reboot permissions wll be retained)
4. rcnfsserver restart.

5. rcnfsserver status. ------> for confirmation.

**Steps to do at destination server.**

1. Login to db server.

2. nslookup lddbme1.

3.have to make entry in fstab.

cat /etc/fstab
vi /etc/fstab

sourceserver:mount mountname permissions

NAS mount sharing Page 51


sourceserver:mount mountname permissions
EX:vlccsme1:/sapmnt/ME1 /sapmnt/ME1 nfs defaults 1 2

:wq!

4.rcnfs restart

5.rcnfs status.

mkdir -p /sapmnt/ME1
mount -a

for O/P:

df -hT mount

vlcdbme1:~ # df -hT /sapmnt/ME1


Filesystem Type Size Used Avail Use% Mounted on
vlccsme1:/sapmnt/ME1 nfs4 40G 1.2G 38G 3% /sapmnt/ME1
vlcdbme1:~ #
================================================

NAS mount sharing Page 52


Umount nfs share
Tuesday, May 31, 2022 2:30 PM

In target server -> comment in fstab the umount mount_name


In source server -> comment in export file

NAS mount sharing Page 53


Thursday, February 24, 2022 5:29 PM

For Root /SIDadm access. Kindly fill the below template and revert us to proceed further.
=========
User-ID:
Name of the User:
Reason for the request:
Access to specific servers:
Your name listed as OPC of specified system/servers(Yes/No):
If No, is this request approved by OPC:
SIDadm rights or ROOT user rights needed:
Duration :
=========

vmcontrol
It is gateway for cloud operations.
ALias remove/create
vmcreate
vmdelete
resize
BDE
Migrate
start/stop/status
disks
create
delete
extend/upsize

dlmcli
mass parallel execution
if u want to get output of whole landscape for a single command you can get it via dlmcli
execution of os commands --> timezone/date -->input all 10 servers
run pre definded script

dlmcli ->
1 .provide root access
2 .bond configuration
if you have one sid and you need to get all the servers running with that sid--> for this also we can
use dlmcli
for finding type of instance like ci, cs, db for this

sudo access
for providing access to user who doesn't have access to that server
two types : root .sidadm
root user will have both root and sidadm access
sidadm user willhave only sidadm access.
what is root access : access for all files.
sidadm access : b2eadm

sudo access Page 54


sidadm access : b2eadm

for checking sidadm access


i505283@vlgciq63:~> su - q63adm
Password:
i505283@vlgciq63:~>
for checking root access
i505283@vlgciq63:~> sudo -i
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for root:
after providing access we have one file where we can check whetehr that user has access or not.
cat /etc/sudoers.d/sudoers

we can provide dci access also from dlmcli....>if the user is not present in DCI group

sudo access Page 55


steps
Friday, February 25, 2022 11:35 AM

1. template should have all the needed details r else newreply , AA -> give template to fill
2. whether the user is in ldap group(dci group) ---> ldapsearch -x uid=c5304608
3. whether approval is provided by opc.
4. provide access via dlmcli
5. Sudo - userid (check whether access gave r wt)
6. Sudo -i (check root access)
7. after providing access we have one file where we can check whether that user has access or
not.
cat /etc/sudoers.d/sudoers

If they need sidadm access check 1st with below cmd (its asking pwd so no access, provide
access)
i505283@vlgciq63:~> su - q63adm
Password:
i505283@vlgciq63:~>

for checking root access


i505283@vlgciq63:~> sudo -i

sudo access Page 56


Reply format
Thursday, March 3, 2022 4:25 PM

Hello Colleagues,

As per the request we provided the access to the user.

Please fallow below steps to login.


1. a) Direct login: ssh@targethost
b) Login via jumphost (browser & cli login): connect with your D,C,I user & RSA to dlm-lts01 / dlm-lts02
2. Connect to your server using your D/C/I user id and corresponding password e.g. ssh D_user@servername
3. a) root access: sudo su -
b) Any other user like sidadm: sudo su - username

Kindly check.

Regards,
Deepa M
DLM SM Team

Hello Colleagues,
Please process below deact tickets assigned on your name

2270086914 - Praveen
2270090069 - Naveen
2270090091 - Deepa
2270090184 - Saran

sudo access Page 57


Path not accessible
Thursday, April 28, 2022 3:22 PM

rcsmb status
rcnmb status

if this doesn't work..campare contents of /etc/samba/smb.conf with working server


then if any changes r thr do that and restart this services again

sudo access Page 58


Manually adding user
Tuesday, June 28, 2022 6:53 PM

cat /home/whitelistssh_users

cat /etc/ssh/sshd_config -> in allow users line add userid

sudo access Page 59


Friday, February 25, 2022 2:59 PM

1. Sudo access: https://support.wdf.sap.corp/sap/support/message/2280078676

2. Mount extension: https://support.wdf.sap.corp/sap/support/message/2280076170

3. Mount extension of DB server: https://support.wdf.sap.corp/sap/support/message/2270006761

4. Physical server dismantle: https://support.wdf.sap.corp/sap/support/message/2280077445

5. Ping issue: https://support.wdf.sap.corp/sap/support/message/2270008976 doubt

6. Permission issue: https://support.wdf.sap.corp/sap/support/message/2270009163

7. Creating mounts, OS user, Group, whilelistuser, sudo user: https://support.wdf.sap.corp/sap/support/message/2270004865

8. Cname creation: https://support.wdf.sap.corp/sap/support/message/2270015997

9. SWAP size increase: https://support.wdf.sap.corp/sap/support/message/2270040062

10. Host name change: https://support.wdf.sap.corp/sap/support/message/2270029165

11. switch user error: https://support.wdf.sap.corp/sap/support/message/2270033927 doubt

12. Login issue: https://support.wdf.sap.corp/sap/support/message/2270046433 -> solution: reboot from console

13. https://support.wdf.sap.corp/sap/support/message/2270041988 doubt

14. https://support.wdf.sap.corp/sap/support/message/2270044581 doubt

15. Switch user hanging: https://support.wdf.sap.corp/sap/support/message/2280104215


****************
If there are double entries for same mount
Remove entry which not required -> rcnfs restart
umount -l mount(do for both)
mount mount_name(required mount)
Check df cmd: if still 2 entries present do below steps

Login to source: in export file - just changed ip address to server name


****************

16. https://support.wdf.sap.corp/sap/support/message/2270046342

17. SSH login: https://support.wdf.sap.corp/sap/support/message/2280100648


************************
Check ssh login is working fine in jumphost yes then below steps else resolve ssh login issue
See user is in ldap
Switch user and see, switch to sidadm (i313293@vlgciqfb:~> sudo su - qfbadm) , if working -> move back
************************

18. Finding subnets: https://support.wdf.sap.corp/sap/support/message/2270048756

19. CI SERVER IS NOT OPENING: https://support.wdf.sap.corp/sap/support/message/2280126086

20. Swap memory full: https://support.wdf.sap.corp/sap/support/message/2270055072

21. Re-deploy servers: https://support.wdf.sap.corp/sap/support/message/2280131452

22. /tmp extension: https://support.wdf.sap.corp/sap/support/message/2280086818

***********************
21. ECDSA host key changed https://support.wdf.sap.corp/sap/support/message/2280096153

you can switch as that user and generate ssh keys using a command that is given in the error message itself
it will generate a seperate key in konwn_hosts file present in users home folder
but in this case ownership on kown_hosts file was wrong
i changed and tried loggin in as that user
it worked
ssh-keygen -R vlgspudfpa0.wdf.sap.corp -f /sapmnt/HOME/i840245/.ssh/known_hosts

***********************

reference tickets Page 60


22. BDE issue reg R3trans : https://support.wdf.sap.corp/sap/support/message/2280100991

**************************
23. vip deletion: https://support.wdf.sap.corp/sap/support/message/2280099270

Tired from vmcontrol but not removed


See in nip tool if u get error contact dns
Run cmd :
c5340447@dlm-lts01:/home/adminhosts> sudo ./dnsmanage.py delete host --name ldcsov9.devsys.net.sap --ip 10.238.3.198 --zone devsys.net.sap
Trying to delete record ldcsov9.devsys.net.sap in zone devsys.net.sap
Record ldcsov9.devsys.net.sap in zone devsys.net.sap deleted
c5340447@dlm-lts01:/home/adminhosts>
**************************

*****************
24. Networker issue: https://support.wdf.sap.corp/sap/support/message/2280106942
https://support.wdf.sap.corp/sap/support/message/2280121660

Actually few packages which backup team should install related to networker are missing, so installed them as below after com paring with reference server then
restarted networker service ..after that it worked

1. `which wget` -q -T 5 --no-parent --cut-dirs=1 --no-check-certificate -nH -l 50 -R "index.htm*" -r https://vlg00006.wdf.sap.corp:444/migration/emcpackages/nw19/ -P


/tmp/networkerpackage

2. cd /tmp/networkerpackage
3. cd emcpackages/nw19
4. rpm -ivh --nodeps lgtoclnt-19.3.0.1-1.x86_64.rpm lgtoxtdclnt-19.3.0.1-1.x86_64.rpm
2. after this it got started

*****************

25. Switch user not working: https://support.wdf.sap.corp/sap/support/message/2270106385

*****************
Copy issue: 2280110728
Switch to root : sudo - i
execute the command which is in ticket
****************

26. Telnet issue: https://support.wdf.sap.corp/sap/support/message/2270036640

***************************
27. VIP not reachable: https://support.wdf.sap.corp/sap/support/message/2280122543
Check whether the vip is present for the server in gcp console
If no then,
gcloud compute instances network-interfaces update vlgciiw3 --zone europe-west3-c --network-interface nic0 --aliases "10.238.41.35/32;10.238.41.42/32"
(10.238.41.35/32;10.238.41.42/32 - 10.238.41.35/32(old one which is already assigned) 10.238.41.42/32(new one which need to be assigned))

***************************

27. SSH connection issue in VK5 : https://support.wdf.sap.corp/sap/support/message/2280119767

28. Redhat: https://support.wdf.sap.corp/sap/support/message/2280121769

********************
29. Path not accessible: https://support.wdf.sap.corp/sap/support/message/2280121769
Check autofs status
********************

28. SSH login issue: https://support.wdf.sap.corp/sap/support/message/2280117071 sent to COE

29. SSH server key: https://support.wdf.sap.corp/sap/support/message/2280149498


===================
checking the ssh key file's exact change time

vlgsp3fad9:/var/log # stat /etc/ssh/ssh_host_ecdsa_key.pub


File: /etc/ssh/ssh_host_ecdsa_key.pub
Size: 177 Blocks: 8 IO Block: 4096 regular file
Device: 801h/2049d Inode: 16800094 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-08-02 07:04:25.754059204 +0200
Modify: 2022-07-30 06:40:31.070867943 +0200
Change: 2022-07-30 06:40:31.070867943 +0200

and then in the old log for messages that time

reference tickets Page 61


and then in the old log for messages that time
2022-07-30T06:40:30.219586+02:00 vlgsp3fad9 systemd[1]: Starting Google Compute Engine Guest Agent...
2022-07-30T06:40:30.257968+02:00 vlgsp3fad9 google_guest_agent[14140]: GCE Agent Started (version 20220204.00)
2022-07-30T06:40:30.540352+02:00 vlgsp3fad9 google_guest_agent[14140]: Instance ID changed, running first-boot actions
2022-07-30T06:40:31.114664+02:00 vlgsp3fad9 systemd[1]: Started Google Compute Engine Guest Agent

when instance id changes, google guest engine changes the SSH keys
===================

30. ODBC Driver: https://support.wdf.sap.corp/sap/support/message/2280141948

31. R3Trans: https://support.wdf.sap.corp/sap/support/message/2280127362

***************************
32. RAM resize: https://support.wdf.sap.corp/sap/support/message/2280124403
Take COE confirmation before resizing if beyond 96/624 GB
**************************

33. configure below VIP should be visible in ifconfig output from server: https://support.wdf.sap.corp/sap/support/message/2280131985
******************
Check nslookup of alias server
Name: ldcsc1w.wdf.sap.corp - these 2 lines should be there, if not assign alias then proceed with wiki else directly proceed with wiki
Address: 10.239.63.29
******************

34. Tp connection failing solaris: https://support.wdf.sap.corp/sap/support/message/2280144074

35. Unable to see fiori apps: https://support.wdf.sap.corp/sap/support/message/2280144676

36. Info reg patching: https://support.wdf.sap.corp/sap/support/message/2280146839


=================
vlgcibdv:~ # zypper lu | egrep -i 'kernel|glibc|xen-kmp-default' |grep -v nfs |wc -l
0
==================

37. FS cleanup: https://support.wdf.sap.corp/sap/support/message/2280157849


==============
vlgdbsv3:~ # cd /hana
vlgdbsv3:/hana # du -sch *
238G data
42G log
18G shared
0 var-lib
0 var-opt
297G total
vlgdbsv3:/hana # rm -rf data log shared var-lib var-opt

vlgcisv3:/data # cd /upgrade
vlgcisv3:/upgrade # du -sch *
23G SUM
340M SUM20SP12_0-80002456.SAR
7.5G SV3_Upgrade
31G total
vlgcisv3:/upgrade # rm -rf SUM SUM20SP12_0-80002456.SAR SV3_Upgrade
vlgcisv3:/upgrade # cd /data
vlgcisv3:/data # pwd
/data
vlgcisv3:/data # du -sch *
2.7G sapmnt_SV3
25G usr_sap
28G total
vlgcisv3:/data # rm -rf sapmnt_SV3 usr_sap
====================

38. Check server: https://support.wdf.sap.corp/sap/support/message/2280163950


mounted filer is not reachable.

39. Teneable: https://support.wdf.sap.corp/sap/support/message/2280159038


============
zypper lu | grep -i kernel
Zypper ref
Zypper up kernel*
=================

https://support.wdf.sap.corp/sap/support/message/2270134699 - change sism backup

reference tickets Page 62


40. https://support.wdf.sap.corp/sap/support/message/2270134699 - change sism backup

41. R3 trans - https://support.wdf.sap.corp/sap/support/message/2270147359 https://support.wdf.sap.corp/sap/support/message/2270150624

42. Wrong o/p for nslookup inside server - https://support.wdf.sap.corp/sap/support/message/2270133819


=================
vlgciptt:~ # rcdnsmasq restart
===============

43. Backup agent, cron - https://support.wdf.sap.corp/sap/support/message/2270133819

44. R8C: system missing in SAP Logon and DLM System Cockpit: https://support.wdf.sap.corp/sap/support/message/2270142644
========
1001 2022-10-13 10:32:31 cat /etc/services
1002 2022-10-13 10:34:50 cat /etc/services | grep -i sapmsR8C -> check how many service entry present for that sid(sapsm is common sid according to request)
1003 2022-10-13 10:35:37 getent services sapmsR8C -> to check related service is running (if u get any entry it mean it running)

Unixadmin page -> in view readonly, ctrl+f search the service -> see how many entry present(search sapmsR8C)

1004 2022-10-13 10:41:17 vi /etc/services -> comment the extra service entry which is not present in unixadmin page
1005 2022-10-13 10:43:02 cat /etc/services | grep -i sapmsR8C
1006 2022-10-13 10:43:08 rcsssd restart
1007 2022-10-13 10:43:22 getent services sapmsR8C
======================

45. Increase CPU: https://support.wdf.sap.corp/sap/support/message/2270118211

46. DB upgrade failure: https://support.wdf.sap.corp/sap/support/message/2270157185


================
vlgdbgd1:~ # zypper se -s gcc-c++
Loading repository data...
Reading installed packages...

S | Name | Type | Version | Arch | Repository


--+---------------+---------+----------+--------+---------------------
| gcc-c++ | package | 7-3.3.22 | x86_64 | SLES15-SP1-BASE-Pool
| gcc-c++-32bit | package | 7-3.3.22 | x86_64 | SLES15-SP1-SDK-Pool

For an extended search including not yet activated remote resources you may run 'zypper
search-packages' at any time.
Do you want to run 'zypper search-packages' now? [yes/no/always/never] (no): no

vlgdbgd1:~ # zypper in gcc-c++

================

30. https://support.wdf.sap.corp/sap/support/message/2270065955 doubt

31. https://support.wdf.sap.corp/sap/support/message/2270068969 doubt

32. https://support.wdf.sap.corp/sap/support/message/2270068973 doubt

33. URL: https://itsm.services.sap/now/workspace/agent/record/sc_req_item/d15c11191b9f09508ff341939b4bcb00

34. 2270092569 - SISM set object has been deleted

35. Snow: https://support.wdf.sap.corp/sap/support/message/2270099492

36. Unable to access sys: https://support.wdf.sap.corp/sap/support/message/2280086122 -> check server status if its up ok check sys status if its down move to tech

37. https://support.wdf.sap.corp/sap/support/message/2270086914 -> snow to shutdown devices

38. ACL request network: https://support.wdf.sap.corp/sap/support/message/2280149468

reference tickets Page 63


reference tickets Page 64
Switch user not
working: https://support.wdf.sap.corp/sap/support/message/
2270106385
Tuesday, June 14, 2022 10:35 AM

vlgdbgxe:~ # cat /etc/fstab


LABEL=ROOT / xfs defaults 0 1
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
vlgdbgxe:~ # fdisk -l
Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4A7F26F3-5E47-40C9-8499-EFCE4FCB9728

Device Start End Sectors Size Type


/dev/sda1 2048 6143 4096 2M BIOS boot
/dev/sda2 6144 47103 40960 20M EFI System
/dev/sda3 47104 41943006 41895903 20G Linux filesystem
vlgdbgxe:~ # vi /etc/passwd
vlgdbgxe:~ # logout
Connection to vlgdbgxe closed.
c5340447@dlm-lts01:~> sudo -i gcloud compute disks list | grep -i vlgdbgxe
DISPLAY:
vlgdbgxe-20210429102002 europe-west5-a zone 20 pd-standard
READY
vlgdbgxe-20220613223649 europe-west5-a zone 20 pd-standard
READY
vlgdbgxe-disk02 europe-west5-a zone 1332 pd-ssd READY
vlgdbgxe-disk03 europe-west5-a zone 258 pd-standard READY
c5340447@dlm-lts01:~> sudo -i gcloud compute instances attach-disk vlgdbgxe --disk vlgdbgxe-disk02 --
zone=europe-west5-a
DISPLAY:
Updated [https://www.googleapis.com/compute/v1/projects/sap-development/zones/europe-west5-
a/instances/vlgdbgxe].
c5340447@dlm-lts01:~> sudo -i gcloud compute instances attach-disk vlgdbgxe --disk vlgdbgxe-disk03 --
zone=europe-west5-a
DISPLAY:
Updated [https://www.googleapis.com/compute/v1/projects/sap-development/zones/europe-west5-
a/instances/vlgdbgxe].
c5340447@dlm-lts01:~> rcssh vlgdbgxe
Warning: Permanently added 'vlgdbgxe,10.238.37.228' (ECDSA) to the list of known hosts.
Last login: Tue Jun 14 03:10:24 2022 from 10.177.32.32

###############################################################################

System Information as on Tue Jun 14 03:25:39 UTC 2022

reference tickets Page 65


Operating System Information:
----------------------------
Server Name : vlgdbgxe
Platform : Google x86_64
Total CPU : 14 CPUs Total Memory : 86486 MB
OS Release : SLES 15 SP2 OS kernel : 5.3.18-150200.24.112-default
Production IP : dhcp/10.238.37.228 Backup IP : /x.x.x.x

CSS Components : OS Related Issues


Incident : DEV-LM-UX/LX Service : DEV-LM-UX/LX-SR

SID Information :
----------------
No SID / Non-Standard FS Setup / Serv.Prov. Server. Please refer SISM for more details

Local News:
------------------------
SUSE Linux Enterprise Server 15 SP2 for SAP Applications x86_64 (64-bit)

Please register this instance using your existing SUSE entitlement.

As "root" (sudo or sudo -i) use either one of the following commands:
- SUSEConnect --url=https://scc.suse.com -e [email protected] -r YOUR_CODE
- yast scc

to register the instance with SCC

Without registration this instance does not have access to updates and
security fixes.

Management and Config: https://www.suse.com/suse-in-the-cloud-basics


Documentation: http://www.suse.com/documentation/sles-15/
Community: https://community.suse.com/

Have a lot of fun...

IMPORTANT INFORMATION: DOCKER IS INSTALLED IN THIS SERVER.

Global news:
------------------------

###############################################################################

DISPLAY:
vlgdbgxe:~ # fdisk -l
Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

reference tickets Page 66


I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4A7F26F3-5E47-40C9-8499-EFCE4FCB9728

Device Start End Sectors Size Type


/dev/sda1 2048 6143 4096 2M BIOS boot
/dev/sda2 6144 47103 40960 20M EFI System
/dev/sda3 47104 41943006 41895903 20G Linux filesystem

Disk /dev/sdb: 1.3 TiB, 1430224109568 bytes, 2793406464 sectors


Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-hana: 100 GiB, 107374182400 bytes, 209715200 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-dbdata_GXE: 300 GiB, 322122547200 bytes, 629145600 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-usr_sap_GXE: 10 GiB, 10737418240 bytes, 20971520 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-dblog_GXE: 251 GiB, 269509197824 bytes, 526385152 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/sdc: 258 GiB, 277025390592 bytes, 541065216 sectors


Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg03-backup_GXE: 251 GiB, 269509197824 bytes, 526385152 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
vlgdbgxe:~ # logout
Connection to vlgdbgxe closed.

reference tickets Page 67


Connection to vlgdbgxe closed.
c5340447@dlm-lts01:~> sudo -i gcloud compute instances attach-disk vlgdbgxe --disk
vlgdbgxe-20210429102002 --zone=europe-west5-a
DISPLAY:
Updated [https://www.googleapis.com/compute/v1/projects/sap-development/zones/europe-west5-
a/instances/vlgdbgxe].
c5340447@dlm-lts01:~> rcssh vlgdbgxe
Warning: Permanently added 'vlgdbgxe,10.238.37.228' (ECDSA) to the list of known hosts.
Last login: Tue Jun 14 03:28:02 2022 from 10.177.32.32

###############################################################################

System Information as on Tue Jun 14 03:28:26 UTC 2022

Operating System Information:


----------------------------
Server Name : vlgdbgxe
Platform : Google x86_64
Total CPU : 14 CPUs Total Memory : 86486 MB
OS Release : SLES 15 SP2 OS kernel : 5.3.18-150200.24.112-default
Production IP : dhcp/10.238.37.228 Backup IP : /x.x.x.x

CSS Components : OS Related Issues


Incident : DEV-LM-UX/LX Service : DEV-LM-UX/LX-SR

SID Information :
----------------
No SID / Non-Standard FS Setup / Serv.Prov. Server. Please refer SISM for more details

Local News:
------------------------
SUSE Linux Enterprise Server 15 SP2 for SAP Applications x86_64 (64-bit)

Please register this instance using your existing SUSE entitlement.

As "root" (sudo or sudo -i) use either one of the following commands:
- SUSEConnect --url=https://scc.suse.com -e [email protected] -r YOUR_CODE
- yast scc

to register the instance with SCC

Without registration this instance does not have access to updates and
security fixes.

Management and Config: https://www.suse.com/suse-in-the-cloud-basics


Documentation: http://www.suse.com/documentation/sles-15/
Community: https://community.suse.com/

Have a lot of fun...

IMPORTANT INFORMATION: DOCKER IS INSTALLED IN THIS SERVER.

reference tickets Page 68


Global news:
------------------------

###############################################################################

DISPLAY:
vlgdbgxe:~ # fdisk -l
Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4A7F26F3-5E47-40C9-8499-EFCE4FCB9728

Device Start End Sectors Size Type


/dev/sda1 2048 6143 4096 2M BIOS boot
/dev/sda2 6144 47103 40960 20M EFI System
/dev/sda3 47104 41943006 41895903 20G Linux filesystem

Disk /dev/sdb: 1.3 TiB, 1430224109568 bytes, 2793406464 sectors


Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-hana: 100 GiB, 107374182400 bytes, 209715200 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-dbdata_GXE: 300 GiB, 322122547200 bytes, 629145600 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-usr_sap_GXE: 10 GiB, 10737418240 bytes, 20971520 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg02-dblog_GXE: 251 GiB, 269509197824 bytes, 526385152 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

reference tickets Page 69


Disk /dev/sdc: 258 GiB, 277025390592 bytes, 541065216 sectors
Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/vg03-backup_GXE: 251 GiB, 269509197824 bytes, 526385152 sectors


Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/sdd: 20 GiB, 21474836480 bytes, 41943040 sectors


Disk model: PersistentDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: EF40CFC1-AC8A-4999-94AB-F38B07409B7B

Device Start End Sectors Size Type


/dev/sdd1 2048 6143 4096 2M BIOS boot
/dev/sdd2 6144 47103 40960 20M EFI System
/dev/sdd3 47104 41943006 41895903 20G Linux filesystem
vlgdbgxe:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 2M 0 part
├─sda2 8:2 0 20M 0 part /boot/efi
└─sda3 8:3 0 20G 0 part /
sdb 8:16 0 1.3T 0 disk
├─vg02-hana 254:0 0 100G 0 lvm
├─vg02-dbdata_GXE 254:1 0 300G 0 lvm
├─vg02-usr_sap_GXE 254:2 0 10G 0 lvm
└─vg02-dblog_GXE 254:3 0 251G 0 lvm
sdc 8:32 0 258G 0 disk
└─vg03-backup_GXE 254:4 0 251G 0 lvm
sdd 8:48 0 20G 0 disk
├─sdd1 8:49 0 2M 0 part
├─sdd2 8:50 0 20M 0 part
└─sdd3 8:51 0 20G 0 part
vlgdbgxe:~ # mount /dev/sdd /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdd, missing codepage or helper
program, or other error.
vlgdbgxe:~ # mount /dev/sdd3 /mnt
vlgdbgxe:~ # cd /mnt
vlgdbgxe:/mnt # cd etc
vlgdbgxe:/mnt/etc # ls
aclocal_dirlist exports_1 iscsid.conf osconfig services_5
adjtime exports_2 issue os-release services_6
aliases exports-20210429 issue.net pacemaker shadow

reference tickets Page 70


aliases exports-20210429 issue.net pacemaker shadow
aliases.d exports_3 java pam.d shadow-
aliases.db exports_4 joe passwd shadow_0
alternatives exports_5 jvm passwd- shadow_1
apache2 exports_6 jvm-commmon passwd_0 shadow_2
at.deny filesystems kde4 passwd_1 shadow_3
audisp fonts krb5.conf passwd_2 shadow_4
audit fstab krb5.keytab passwd_3 shadow_5
autofs_ldap_auth.conf fstab_0 ksh.kshrc passwd_4 shadow_6
autoinstall fstab_1 ldap.conf passwd_5 shells
auto.master fstab_2 ldap.conf.rpmsave passwd_6 skel
auto.master.d fstab.2021:04:29 ld-mfeensrt-2.0.so.cache permissions slp.conf
auto.master.rpmsave fstab_3 ld-mfeensrt-2.0.so.conf permissions.d slp.reg
auto.misc fstab_4 ld-mfert.so.cache permissions.easy slp.reg.d
auto.net fstab_5 ld-mfert.so.conf permissions.local slp.spi
auto.smb fstab_6 ld.so.cache permissions.paranoid smartd.conf
bash.bashrc ftpusers ld.so.conf permissions.secure smart_drivedb.h
bash.bashrc.local gai.conf ld.so.conf.d pkcs11 smartd_warning.d
bash_command_not_found gdbinit lesskey pki smartd_warning.sh
bash_completion.d gdbinit.d lesskey.bin plymouth snapper
bind.keys gemrc libaudit.conf polkit-1 snmp
bindresvport.blacklist generateCRL.conf libnl polkit-default-privs.local ssh
binfmt.d gnome_defaults.conf libvirt polkit-default-privs.restrictive ssl
blkid.conf gnupg locale.conf polkit-default-privs.standard sssd
bmc-snmp-proxy google_instance_id localtime postfix sudoers
boto.cfg gpm localtime.bkp ppp sudoers.d
boto.cfg.template group login.defs pptp.d SUSE-brand
ca-certificates group- logrotate.conf products.d SUSEConnect.example
cifs-utils group_0 logrotate.d profile susehelp.d
cma.conf group_1 lvm profile.d SuSE-release
cma.d group_2 machine-id protocols sysconfig
ConsoleKit group_3 ma.d pulse sysctl.con
corosync group_4 magic .pwd.lock sysctl.conf
crm group_5 mail.rc python3start sysctl.conf2021.04.29_
10.56.32.bak
cron.d group_6 manpath.config pythonstart sysctl.conf.backup
cron.daily grub.d maven quotagrpadmins
sysctl.conf.backup.scriptsave
cron.deny gtk-2.0 mcelog quotatab sysctl.conf.scriptsave
cron.hourly gtk-3.0 mime.types raw sysctl.d
cron.monthly ha.d mke2fs.conf rc.d sysstat
crontab hawk modprobe.d rc.splash systemd
cron.weekly host.conf modules-load.d rc.status target
cryptconfig.conf hostname motd reader.conf.d tenable_tag
csh.cshrc HOSTNAME motd_globalnews request-key.conf termcap
csh.login hosts motd_sidinfo request-key.d tmpdirs.d
csh.logout hosts_0 mount.map resolv.conf tmpfiles.d
csync2 hosts_1 mount.map.init resolv.conf.netconfig ttytype
ctdb hosts_2 mount.map.sav rmt tuned
cups hosts.2021:04:29 mtab rpc udev
dbus-1 hosts_3 mtools.conf rpm uefi
dconf hosts_4 Muttrc rsc .updated
default hosts_5 named.d rsyncd.conf updatedb.conf
defaultdomain hosts_6 netconfig rsyncd.secrets uucp

reference tickets Page 71


defaultdomain hosts_6 netconfig rsyncd.secrets uucp
depmod.d hosts.allow netconfig.d rsyslog.conf vimrc
dhclient6.conf hosts.bkp.2021:04:29 netgroup rsyslog.d warnquota.conf
dhclient.conf hosts.deny netscsid.conf salt wgetrc
dialogrc hosts.equiv NetworkManager samba wicked
DIR_COLORS hosts.lpd networks saptune wodim.conf
dirmngr hosts.rpmnew news sasl2 X11
dlminfo.dat hushlogins nfsmount.conf screenrc xattr.conf
dnsmasq.conf icewm nsrsapsv.cfg securetty xdg
dnsmasq.d idmapd.conf nsswitch.conf securetty.2021:04:29 xen
dracut.conf init.d ntp.conf security xinetd.d
dracut.conf.d init_hana_nmsap.utl ntp.keys selinux YaST2
drbd.conf init_oracle_nmsap.utl nwsldreg.xml sensors3.conf yp.conf
drbd.d inputrc omc sensors.d zprofile
drirc insserv.conf openct.conf services zsh_command_not_found
environment ipmi openldap services_0 zsh_completion.d
ethers ipmievd opensc.conf services_1 zshenv
exchange-bmc-os-info iproute2 opiekeys services_2 zshrc
exports ipvsadm.rules opielocks services_3 zypp
exports_0 iscsi opt services_4
vlgdbgxe:/mnt/etc # cat fstab
LABEL=ROOT / xfs defaults 1 1
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
/dev/vg03/backup_GXE /Backup_NewDB_GXE xfs defaults 1 2
/dev/vg02/hana /hana xfs defaults 1 2
/dev/vg02/dbdata_GXE /hana/data/GXE xfs defaults 1 2
/dev/vg02/usr_sap_GXE /usr/sap/GXE xfs defaults 1 2
/dev/vg02/dblog_GXE /hana/log/GXE xfs defaults 1 2
vlgdbgxe:/mnt/etc # vi /etc/fstab
vlgdbgxe:/mnt/etc # mount -a
mount: /Backup_NewDB_GXE: mount point does not exist.
mount: /hana: mount point does not exist.
mount: /hana/data/GXE: mount point does not exist.
mount: /usr/sap/GXE: mount point does not exist.
mount: /hana/log/GXE: mount point does not exist.
vlgdbgxe:/mnt/etc # mkdir -p /Backup_NewDB_GXE
vlgdbgxe:/mnt/etc # mkdir -p /hana /hana/data/GXE /usr/sap/GXE /hana/log/GXE
vlgdbgxe:/mnt/etc # mount -a
vlgdbgxe:/mnt/etc # cat passwd | grep -i gxe
gxeadm:x:4021938:79:SAP-User for GXE:/usr/sap/GXE/home:/bin/csh
vlgdbgxe:/mnt/etc # cat /etc/passwd | grep -i gxe
gxeadm:x:4021938:79:SAP-User for GXE:/usr/sap/GXE/home:/bin/csh
vlgdbgxe:/mnt/etc # su - gxeadm
grep: /usr/sap/sapservices: No such file or directory
HDBSettings.csh: Host name not found out of /usr/sap/sapservices, defaulting to local physical host
hdbenv.csh: Hostname defined in SAP_RETRIEVAL_PATH=/usr/sap/GXE/HDB02/lddbgxe differs from
host name defined in in command line or sapservices.
hdbenv.csh: Wrong host: 'vlgdbgxe', source ~/hdbenv.csh [<virt hostname>]
vlgdbgxe:gxeadm 54> pwd
/usr/sap/GXE/home
vlgdbgxe:gxeadm 55> logout
_xauth: Undefined variable.
vlgdbgxe:/mnt/etc # cd

reference tickets Page 72


vlgdbgxe:/mnt/etc # cd
vlgdbgxe:~ # df -h
Filesystem Size Used Avail Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
devtmpfs 43G 8.0K 43G 1% /dev
securityfs 0 0 0 - /sys/kernel/security
tmpfs 43G 0 43G 0% /dev/shm
devpts 0 0 0 - /dev/pts
tmpfs 43G 18M 43G 1% /run
tmpfs 43G 0 43G 0% /sys/fs/cgroup
cgroup 0 0 0 - /sys/fs/cgroup/unified
cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore 0 0 0 - /sys/fs/pstore
efivarfs 0 0 0 - /sys/firmware/efi/efivars
none 0 0 0 - /sys/fs/bpf
cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup 0 0 0 - /sys/fs/cgroup/rdma
cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup 0 0 0 - /sys/fs/cgroup/pids
/dev/sda3 20G 8.5G 12G 43% /
rpc_pipefs 0 0 0 - /var/lib/nfs/rpc_pipefs
systemd-1 - - - - /proc/sys/fs/binfmt_misc
mqueue 0 0 0 - /dev/mqueue
debugfs 0 0 0 - /sys/kernel/debug
hugetlbfs 0 0 0 - /dev/hugepages
/dev/sda2 - - - - /boot/efi
tracefs 0 0 0 - /sys/kernel/debug/tracing
/etc/mount.map 0 0 0 - /net
tmpfs 8.5G 0 8.5G 0% /run/user/0
tmpfs 8.5G 0 8.5G 0% /run/user/58037
tmpfs 8.5G 0 8.5G 0% /run/user/467
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
derotvi0119:/dlm_servermgmnt 1.1T 823G 278G 75% /net/sapmnt.dlm.services.servermgmnt
/dev/sdd3 20G 12G 8.9G 56% /mnt
/dev/sdd2 20M 3.7M 17M 19% /boot/efi
/dev/mapper/vg03-backup_GXE 251G 83M 251G 1% /Backup_NewDB_GXE
/dev/mapper/vg02-hana 100G 19G 82G 19% /hana
/dev/mapper/vg02-dbdata_GXE 300G 118G 183G 40% /hana/data/GXE
/dev/mapper/vg02-usr_sap_GXE 10G 463M 9.6G 5% /usr/sap/GXE
/dev/mapper/vg02-dblog_GXE 251G 5.4G 246G 3% /hana/log/GXE
vlgdbgxe:~ # df -Th /usr/sap/sapservices
df: /usr/sap/sapservices: No such file or directory
vlgdbgxe:~ # df -Th
Filesystem Type Size Used Avail Use% Mounted on
sysfs sysfs 0 0 0 - /sys
proc proc 0 0 0 - /proc

reference tickets Page 73


proc proc 0 0 0 - /proc
devtmpfs devtmpfs 43G 8.0K 43G 1% /dev
securityfs securityfs 0 0 0 - /sys/kernel/security
tmpfs tmpfs 43G 0 43G 0% /dev/shm
devpts devpts 0 0 0 - /dev/pts
tmpfs tmpfs 43G 18M 43G 1% /run
tmpfs tmpfs 43G 0 43G 0% /sys/fs/cgroup
cgroup cgroup2 0 0 0 - /sys/fs/cgroup/unified
cgroup cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore pstore 0 0 0 - /sys/fs/pstore
efivarfs efivarfs 0 0 0 - /sys/firmware/efi/efivars
none bpf 0 0 0 - /sys/fs/bpf
cgroup cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup cgroup 0 0 0 - /sys/fs/cgroup/rdma
cgroup cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup cgroup 0 0 0 - /sys/fs/cgroup/pids
/dev/sda3 xfs 20G 8.5G 12G 43% /
rpc_pipefs rpc_pipefs 0 0 0 - /var/lib/nfs/rpc_pipefs
systemd-1 - - - - - /proc/sys/fs/binfmt_misc
mqueue mqueue 0 0 0 - /dev/mqueue
debugfs debugfs 0 0 0 - /sys/kernel/debug
hugetlbfs hugetlbfs 0 0 0 - /dev/hugepages
/dev/sda2 - - - - - /boot/efi
tracefs tracefs 0 0 0 - /sys/kernel/debug/tracing
/etc/mount.map autofs 0 0 0 - /net
tmpfs tmpfs 8.5G 0 8.5G 0% /run/user/0
tmpfs tmpfs 8.5G 0 8.5G 0% /run/user/58037
tmpfs tmpfs 8.5G 0 8.5G 0% /run/user/467
binfmt_misc binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
derotvi0119:/dlm_servermgmnt nfs4 1.1T 823G 278G 75%
/net/sapmnt.dlm.services.servermgmnt
/dev/sdd3 xfs 20G 12G 8.9G 56% /mnt
/dev/sdd2 vfat 20M 3.7M 17M 19% /boot/efi
/dev/mapper/vg03-backup_GXE xfs 251G 83M 251G 1% /Backup_NewDB_GXE
/dev/mapper/vg02-hana xfs 100G 19G 82G 19% /hana
/dev/mapper/vg02-dbdata_GXE xfs 300G 118G 183G 40% /hana/data/GXE
/dev/mapper/vg02-usr_sap_GXE xfs 10G 463M 9.6G 5% /usr/sap/GXE
/dev/mapper/vg02-dblog_GXE xfs 251G 5.4G 246G 3% /hana/log/GXE
vlgdbgxe:~ # cd /usr/sap/
vlgdbgxe:/usr/sap # ll | grep -i /usr/sap/
vlgdbgxe:/usr/sap # ll | grep -i sapservices
vlgdbgxe:/usr/sap # su -gxeadm
su: group xeadm does not exist
vlgdbgxe:/usr/sap # su - gxeadm
grep: /usr/sap/sapservices: No such file or directory
HDBSettings.csh: Host name not found out of /usr/sap/sapservices, defaulting to local physical host
hdbenv.csh: Hostname defined in SAP_RETRIEVAL_PATH=/usr/sap/GXE/HDB02/lddbgxe differs from

reference tickets Page 74


hdbenv.csh: Hostname defined in SAP_RETRIEVAL_PATH=/usr/sap/GXE/HDB02/lddbgxe differs from
host name defined in in command line or sapservices.
hdbenv.csh: Wrong host: 'vlgdbgxe', source ~/hdbenv.csh [<virt hostname>]
vlgdbgxe:gxeadm 54> pwd
/usr/sap/GXE/home
vlgdbgxe:gxeadm 55> logout
_xauth: Undefined variable.
vlgdbgxe:/usr/sap # cd /mnt
vlgdbgxe:/mnt # ls
Backup_NewDB_GXE bin config.partids etc hs0012 lib McAfee net opt Quarantine
sapmnt srv t1 var
bas boot derotvi0127 hana hs0054 lib64 MIGRATION nsr oracle root sbin
sys tmp
bastest config.bootoptions dev home kiwi-hooks lsi033 mnt nul proc run
selinux t usr
vlgdbgxe:/mnt # cd usr
vlgdbgxe:/mnt/usr # cd sap
vlgdbgxe:/mnt/usr/sap # ls
^C
vlgdbgxe:/mnt/usr/sap # ll | grep -i sapservices
-rwxr-xr-x 1 root 79 209 Oct 30 2018 sapservices
vlgdbgxe:/mnt/usr/sap # cp -R sapservices /usr/sap
vlgdbgxe:/mnt/usr/sap # cat /usr/sap/sapservices
#!/bin/sh
LD_LIBRARY_PATH=/usr/sap/GXE/HDB02/exe:$LD_LIBRARY_PATH;export
LD_LIBRARY_PATH;/usr/sap/GXE/HDB02/exe/sapstartsrv pf=/usr/sap/GXE/SYS/profile/GXE_HDB02
_lddbgxe -D -u gxeadm
limit.descriptors=1048576
vlgdbgxe:/mnt/usr/sap # cd /usr/sap
vlgdbgxe:/usr/sap # ls
^C
vlgdbgxe:/usr/sap # ll | grep -i sapservices
-rwxr-xr-x 1 root root 209 Jun 14 04:11 sapservices
vlgdbgxe:/usr/sap # su - gxeadm
vlgdbgxe:gxeadm 54> pwd
/hana/shared/GXE/HDB02
vlgdbgxe:gxeadm 55> logout
_xauth: Undefined variable.
vlgdbgxe:/usr/sap # cd
vlgdbgxe:~ # uptime
04:16:09 up 6:56, 4 users, load average: 0.03, 0.06, 0.02
vlgdbgxe:~ # cd /mnt
vlgdbgxe:/mnt # cd etc
vlgdbgxe:/mnt/etc # cat group | grep -i sapsys
sapsys:x:79:gxeadm,sapadm
vlgdbgxe:/mnt/etc # cat /etc/group | grep -i sapsys
sapsys:x:469:
vlgdbgxe:/mnt/etc # vi /etc/group
vlgdbgxe:/mnt/etc # cd
vlgdbgxe:~ # cat /etc/group | gre - i sapsys
If 'gre' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf gre
vlgdbgxe:~ # cat /etc/group | grep - i sapsys
grep: i: No such file or directory

reference tickets Page 75


grep: i: No such file or directory
grep: sapsys: No such file or directory
vlgdbgxe:~ # cat /etc/group | grep -i sapsys
sapsys:x:469:
vlgdbgxe:~ # cat /etc/group
root:x:0:
shadow:x:15:vnc
trusted:x:42:
users:x:100:
messagebus:x:499:
lock:x:498:
uuidd:x:497:
nogroup:x:65533:nobody
nobody:x:65534:
man:x:62:
mail:!:496:
kmem:x:495:
tty:x:5:
utmp:x:494:
audio:x:493:
cdrom:x:492:
dialout:x:491:
disk:x:490:
input:x:489:
kvm:x:488:
lp:x:487:
tape:x:486:
video:x:485:rcuser,arasu_abbas,serial_console
systemd-journal:x:484:
systemd-network:x:483:
systemd-timesync:x:482:
systemd-coredump:x:481:
nscd:x:480:
haclient:x:90:
chrony:x:479:
polkitd:x:478:
salt:x:477:
sshd:x:476:
at:x:25:
vnc:x:475:
docker:x:474:rcuser,arasu_abbas,serial_console
dockremap:!:472:
google-sudoers:x:1000:rcuser,serial_console,root
tftp:x:473:tftp,dnsmasq
daemon:x:2:
bin:x:1:daemon
ntp:x:471:
svn:x:470:
ntadmin:x:71:
mfe:x:1001:
sapsys:x:469:
vlgdbgxe:~ # vi /etc/group
vlgdbgxe:~ # vi /etc/group
vlgdbgxe:~ # cat /etc/group | grep -i sapsys

reference tickets Page 76


vlgdbgxe:~ # cat /etc/group | grep -i sapsys
sapsys:x:79:gxeadm,sapadm
vlgdbgxe:~ #

reference tickets Page 77


Friday, February 25, 2022 5:09 PM

Precheck:
1. Creator should send all the details of server or else should ask to send in
template format
2. If the ticket is incident create a change request in BCP(BCP -> create -> DLM
change)

Steps:
1. Vmcreate
2. Choose instance -> select particular platform
3. Choose domain -> select particular domain
4. Type of instance ->

Post check:
Putty
1. free -g
2. lscpu - for cpu
3. lsblk -
4. Cat /etc/* release
5. uptime
SISM Check
1. Search server
2. See whether opc added or wt if not add manually
3. Check billing details updated r wt

server deployment Page 78


Saturday, June 4, 2022 8:23 PM

e2e will not do - Move to Dev-LM-PROD

Sp server ask business justification then send to coe for approval


If they request via mail reply only to coe, cc odc

server deployment Page 79


Wednesday, August 10, 2022 6:39 PM

We couldn’t find any deployment logs , deletion logs and mail notification also not present.

+++++++++++++
c5340443@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-deployment> ls |grep -i vlgspst2test
c5340443@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-deployment> ls |grep -i vlgsps2ttest
c5340443@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-deployment>

server deployment Page 80


Wednesday, September 28, 2022 1:19 PM

If the RAM requirement is more than 624GB ram, please deploy it in europe-west3-a else deploy it in
europe-west5-a

server deployment Page 81


Friday, October 7, 2022 5:20 PM

Kindly, below template for VM deployment.


+++++++++++++++++++++++++++++++++
E2E server or SP server:
Linux OS:
RAM:
CPU:
Platform : GCP\Ccloud:
Disk size:
Billing:
OPC:
Administrators:
Planned removal:
++++++++++++++++++++++++++++++++++

server deployment Page 82


Wednesday, November 2, 2022 3:54 PM

https://dlm.wdf.sap.corp/slim/rest/entityData/get/model.DLMCostObject

server deployment Page 83


Monday, February 28, 2022 11:45 AM

Global domain
pssdev domain
dmz servers
sin

Win Patching

3 ways which we will use

1. Automation script
2. BMC method
3. Manually patching

1. Automation script

* we have automation inside most of the servers


* Automation scripts present in c:\_patching_do_not_delete in all the servers
* scheduled jobs triggeres the automation scripts present in above path and displays the results in
Nagios

Which cant patched through automation--> BMC

2. BMC Server:- bmcsmwts

3. Manually patching

Based on OS versions, we need to copy the respective Patch package folders from below path and
execute according to given steps
Path:- \\psssec03\_PatchSource\

windows patching Page 84


Monday, February 28, 2022 3:58 PM

Dismantling
Mount extension
Mount creation
Cname creation
Cname deletion
Sudo access
Nagios check
Bb
Df Command not working
Hostname change
Assigning vip
Reimage
Increasing swap size
Server creation

Handson we learnt Page 85


Monday, February 28, 2022 4:36 PM

or ext3/ext4 extending

After extending (lvextend -L +10G /dev/vgname/lvname )


use
resize2fs /dev/vgname/lvname

xfs extending
after extending xfs file system (lvextend -L +10G /dev/vgname/lvname )
use
xfs_growfs /dev/vgname/lvname

**************************************

For creating nw file system


ext3/ext4
lvcreate -L +100G -n /dev/vgname/lvname
after this
mkfs.ext3 or mkfs.ext4 /dev/vgname/lvname

For xfs
lvcreate -L +100G -n /dev/vgname/lvname
mkfs.xfs /dev/vgname/lvname

New Section 2 Page 86


Wednesday, March 2, 2022 12:03 PM

Patching: upgrading to latest versions

Kernel, glibc: these will upgrade while patching

/usr/bin/patchme -->while patching this script will run

- it will check at /opt/bmc/packages if latest kernel and glibc packages downloaded .


- if latest packages downloaded while rebooting server those will be updated .

/home/nagios/patch/reboot_patch.control - 0 means if we reboot the server kernel and glibc will be upgraded
/home/nagios/patch/reboot_patch.control - 1 means when we reboot the server kernel and glibc will be not upgraded

non reboot patches


-rw-r--r-- 1 nagios users 2 Feb 28 07:39 nonreboot_patch.control -- to control the nonreboot_patch.py file (0 means it will run the nonreboot_patch.py script, 1 means it
won't run the nonreboot_patch.py script )
-rwxr-xr-x 1 nagios users 28994 Feb 28 07:39 nonreboot_patch.py -- this is the actual nonreboot script which will upgrade the packages for which reboot is not required

Post patching
/home/nagios/patch/logs -- check the latest log file for errors

Linux patching Page 87


Saturday, April 23, 2022 8:02 AM

981 2022-04-23 03:34:17 cat /etc/os-release


982 2022-04-23 03:35:18 uname -r
983 2022-04-23 03:36:06 rpm -qa glibc
984 2022-04-23 03:36:59 zypper lu | egrep -i 'kernel|glibc|xen-kmp-default' |grep -v nfs |wc -l
985 2022-04-23 03:37:55 zypper lu | egrep -i 'kernel'
986 2022-04-23 03:40:56 cat /var/adm/local/patchme/PATCHSTATUS
987 2022-04-23 03:41:39 ls -lrt /var/adm/local/patchme/
988 2022-04-23 03:48:56 zypper ref
989 2022-04-23 03:49:57 zypper -n up kernel* && zypper -n up glibc*
990 2022-04-23 03:56:57 cat /etc/nsswitch.conf
991 2022-04-23 03:58:33 rpm -qa | grep -i dlm-lts-1.1-3069_2fd5e364.x86_64
992 2022-04-23 04:06:57 cd /home/adminhosts/dlm-gcptool/logs-deployment
993 2022-04-23 04:07:27 cat vlgspnewlts
994 2022-04-23 04:09:16 cd
995 2022-04-23 04:11:43 zypper lu | egrep -i 'kernel|glibc|xen-kmp-default' |grep -v nfs |wc -l
996 2022-04-23 04:12:53 zypper in glibc-2.31-150300.20.7.x86_64
997 2022-04-23 04:13:53 zypper -n up kernel* && zypper -n up glibc*
998 2022-04-23 04:14:36 zypper lu | egrep -i 'kernel|glibc|xen-kmp-default' |grep -v nfs |wc -l
999 2022-04-23 04:15:56 uptime
1000 2022-04-23 04:17:38 reboot
1001 2022-04-23 04:19:27 uptime

vlgdbqe0:~ # cd /etc/pam.d
vlgdbqe0:/etc/pam.d # cat common-account

Linux patching Page 88


Saturday, April 23, 2022 5:01 PM

vlgcis6b:~ # cat /etc/os-release


NAME="SLES"
VERSION="11.4"
VERSION_ID="11.4"
PRETTY_NAME="SUSE Linux Enterprise Server 11 SP4"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:11:4"
vlgcis6b:~ # uname -r
3.0.101-108.135-default
vlgcis6b:~ # rpm -qa glibc
glibc-2.11.3-17.110.40.1
vlgcis6b:~ # zypper lu | egrep -i 'kernel|glibc|xen-kmp-default' |grep -v nfs |wc -l
0
vlgcis6b:~ #

Linux patching Page 89


Need approval for udemy access
Saturday, September 17, 2022 4:24 PM

Hello Mahesh,

Hope you are doing good!

I don’t have udemy access. So, I need to attach the approval mail in registration form in order to get the
access.
I need udemy to learn project related like Linux, GCP and azure. Also as I need to manage our DLM
Portal I need to learn coding related(HTML, CSS, Bootstrap, Database and Ruby).

So, Please be kind to provide me the approval for get udemy access.

Approval Page 90
Mounting is a procedure where we attach a directory to
the file system, Ref: 2270004865, 2270074652
Friday, March 4, 2022 12:56 PM

Ping any coe before proceeding with normal mount creation.


******************
[Tuesday 2:43 PM] M, Deepa (external - Service)
reg: https://support.wdf.sap.corp/sap/support/message/2280130963

[Tuesday 2:44 PM] M, Deepa (external - Service)


they are asking for normal fs creation we need your approval

[Tuesday 2:44 PM] P R, Daivik


Please go ahead...
**********************
Steps:
1. pvs
2. lsblk - can see all disks present, which mounts not present can create that in d server
3. df -Th -> To see all mounts
4. pvs -> to see in which vg we should create mounts
5. lvcreate -L size -n lvname vgname -> create lv
6. lvs -> check whether lv created r not
7. mkfs.filetye /dev/vgname/lvname -> To create fs (we should create fs then only we can mount lvs)
Eg:
mkfs.xfs /dev/vg01r5/usr_sap_V3E

8. vi /cat/fstab -> make entry of lv created(refer source server and do, while making entry)
Eg:
/dev/vg01r5/sapmnt_V3E /sapmnt/V3E xfs defaults 12
/dev/vg01r5/usr_sap_V3E /usr/sap/V3E xfs defaults 12

9. mount -a -> to mount lvs created. mount –a will mount all the entry placed in /etc/fstab (if we get error "mount doesn’t exit" create directory by giving cmd ->
mkdir -p(path) directory_name then mount)
Eg:
mkdir -p /usr/sap/V3E
10. df -hT - to verify mount created r not

OS user
Cat /etc/passwd

Group
Cat /etc/group

whitelistssh_users file:
Cat /home/whitelistssh_users

Sudo user
cat /etc/sudoers.d/sudoers

Mount creation Page 91


Vi
Wednesday, March 9, 2022 3:00 PM

Insert mode - click I


Save - esc, type :wq, hit enter
To clear all entries - esc, type dddG

Mount creation Page 92


Bind mount creation
Tuesday, April 12, 2022 6:57 PM

1. move to data folder


cd /data

2. make required directory


mkdir sapmnt_AM3

3. make entry in fstab.


/data/usr_sap /usr/sap none defaults,bind 0 0
/data/sapmnt_AM3 /sapmnt/AM3 none defaults,bind 0 0

4. mount -a if u get below errror come out of /data then create directory
vlgspddaf4:/data # mount -a
mount: /sapmnt/ECA: mount point does not exist.
vlgspddaf4:/data # cd
vlgspddaf4:~ # mkdir -p /sapmnt/ECA

5.for ouput df -hT /sapmnt/AM3

NOTE: use mkfs -f cmd only when we create new disk and create mounts
vlgspddaf4:~ # mount -a
mount: /ECA/archive: wrong fs type, bad option, bad superblock on /dev/sdc, missing codepage or helper program, or other error.
vlgspddaf4:~ # mount /dev/sdc /ECA/archive
mount: /ECA/archive: wrong fs type, bad option, bad superblock on /dev/sdc, missing codepage or helper program, or other error.
vlgspddaf4:~ # mkfs.xfs -f /dev/sdc

Steps:

1. Extend disk in vmcontrol


2. xfs_growfs mount r resize2fs mount (depending on fs type)
3. Go to data disk mount - cd /data/
4. mkdir /mount - mkdir /scmopt
5. ls - check whether directory created
6. mount /disk_mount/mount_to_be_created /mount_to_be_created - mount /data/scmopt /scmopt
7. vi /etc/fstab - make entry
8. mount -a
9. df -Th /mount - check its created r wt

141 2022-04-26 15:52:57 cd /data


142 2022-04-26 15:57:13 mkdir elkarchive
143 2022-04-26 15:57:16 ls
144 2022-04-26 15:57:23 vi /etc/fstab
145 2022-04-26 15:58:01 cd
146 2022-04-26 15:58:12 mkdir -p /elkarchive
147 2022-04-26 15:58:15 mount -a
148 2022-04-26 15:58:21 df -Th /elkarchive

Mount creation Page 93


Mount creation Page 94
Thursday, April 21, 2022 4:39 PM

/dev/vg01/backup_RSO /Backup_NewDB_RSO xfs defaults 1 2

/dev/vg01/dbdata_RSO /hana/data/RSO xfs defaults 1 2


lvcreate -L +350G -n dbdata_RSO vg01
mkfs.xfs /dev/vg01/dbdata_RSO

lvcreate -L +50G -n backup_RSO vg01


mkfs.xfs /dev/vg01/backup_RSO
vi /etc/fstab
mount -a
mkdir -p /Backup_NewDB_RSO
mkdir -p /hana/data/RSO
vi /etc/fstab
mount -a

Mount creation Page 95


https://support.wdf.sap.corp/sap/support/message/22700773
44
Friday, April 22, 2022 9:42 PM

vlgcisv3:~ # cat /etc/fstab


LABEL=ROOT / xfs defaults 0 0
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
/dev/sdb /data xfs defaults 1 2
/data/usr_sap /usr/sap none defaults,bind 0 0
/data/sapmnt_SV3 /sapmnt/SV3 none defaults,bind 0 0
/dev/vg01/upgrade /upgrade xfs defaults 0 0

vlgcisv3:~ # mount -a
mount: /upgrade: special device /dev/vg01/upgrade does not exist.
vlgcisv3:~ # lvcreate -L +100G -n upgrade vg01
Volume group "vg01" has insufficient free space (25599 extents): 25600 required.
vlgcisv3:~ # pvs
PV VG Fmt Attr PSize PFree
/dev/sdc vg01 lvm2 a-- 100.00g 100.00g
vlgcisv3:~ # pvresize /dev/sdc
Physical volume "/dev/sdc" changed
1 physical volume(s) resized or updated / 0 physical volume(s) not resized
vlgcisv3:~ # pvs
PV VG Fmt Attr PSize PFree
/dev/sdc vg01 lvm2 a-- 110.00g 110.00g
vlgcisv3:~ # lvcreate -L +100G -n upgrade vg01
Logical volume "upgrade" created.
vlgcisv3:~ # mkfs/xfs /dev/vg01/upgrade
-bash: mkfs/xfs: No such file or directory
vlgcisv3:~ # mkfs.xfs /dev/vg01/upgrade
meta-data=/dev/vg01/upgrade isize=512 agcount=4, agsize=6553600 blks
= sectsz=4096 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0, rmapbt=0
= reflink=0
data = bsize=4096 blocks=26214400, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=12800, version=2
= sectsz=4096 sunit=1 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
vlgcisv3:~ # mount -a
vlgcisv3:~ # df -Th /upgrade
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vg01-upgrade xfs 100G 135M 100G 1% /upgrade

Mount creation Page 96


Mount the mounts
Tuesday, June 21, 2022 5:17 PM

https://support.wdf.sap.corp/sap/support/message/2280087892

Mount creation Page 97


Saturday, August 13, 2022 9:56 PM

It creates all mounts & users

vlgciahx:/tmp # cat fs_creation.sh


/sapmnt/pss-linux/scripts/db_filesystems.pl --ci --sid=ahx --localfs --extralog=0 --noip --one_vg --
cloud --force --nolvm --sapms=3601
vlgciahx:/tmp #

Mount creation Page 98


Friday, September 16, 2022 4:22 PM

lvcreate -L +2G -n lss_shared vg01


lvs
863 2022-08-30 17:57:15 vi /etc/fstab
864 2022-08-30 17:58:44 mount -a
865 2022-08-30 17:58:58 mkdir -p /lss/shared
866 2022-08-30 17:59:01 mount -a
867 2022-08-30 17:59:42 mkfs.xfs /dev/vg01/lss_shared
868 2022-08-30 17:59:45 mount -a
869 2022-08-30 17:59:51 df -Th
870 2022-08-30 17:59:59 df -Th /lss/shared

/dev/vg01/lss_shared /lss/shared xfs defaults 1 2

Mount creation Page 99


Saturday, September 17, 2022 1:09 PM

DB - no approval needed
SP - bind mount no need, normal mount approval needed(ask business justification n send to COE for
approval)
CI, AI1,etc -

Mount creation Page 100


\\bssfile3\CDImages\01_unattended\linux\installCD
Wednesday, March 9, 2022 11:20 AM

Steps:

1. Collect required data


• c5340447@dlm-lts01:/sapmnt/dlm/services/servermgmnt/linux/osbackups/ld5595.wdf.sap.corp> cat ifconfig_output -> select data of
vlan500c
• c5340447@dlm-lts01:/sapmnt/dlm/services/servermgmnt/linux/osbackups/ld5595.wdf.sap.corp> nslookup ld5595 -> take ip address
• Go to ip tool (DLM Portal -> external tools -> ip tool)
• Paste that ip address in host name then search
• Take gateway i:e, subnet mask

2. RAID Configuration
• Type in chrome https://server_namer
• Xclarity login
• Scroll down -> click on console
• Select virtual keyboard -> press F1
• Click UFSI Setup
• System settings
• Storage
• Select slot in which drives are present
• Main menu
• Configuration Management
• Clear configuration
• Create virtual disks
• Control management -> select os RAID -> save
Ssh unix@servername
3. Uploading image
• Click media
• Upload the image ->\\bssfile3\CDImages\01_unattended\linux\installCD (upload from this path)
• Click mount

4. Restart the server


• Click power
• Restart immediately

5. Boot server from CD/DVD ROM


• UFSI setup
• Boot manager -> boot menu -> check if its UFSI mode
• Start option
• CD/DVD ROM
• Should select boot from hard disk -> select all updates, file ext4, location WDF
• It will load kernel and ….. -> if it takes more time restart the server
• Choose the network device dialog box will get -> select one which same max address (refer the data which u took)
• Enter valn id
• Enter ip address with /subnet mask
• Enter gateway
• Check whether the process correct -> putty jump host -> ping server name (if its starts to ping then the data which we provided is
correct)

Rimaging Page 101


Ref: 227001599
Wednesday, March 9, 2022 3:34 PM

After assigning alias if they say alias cant find make entry in /etc/hosts -> ip servername_with_fqdn servername
Adding Cname
Steps

While giving server name give full name

1. nslookup leftside server name(new name)


2. Vmcontrol
3. 1st option
4. Give Server_name for which alias is needed(right side server name - old name), hit enter
5. Enter
6. 1st option
7. Give new alias_name
8. nslookup leftside server name(new name)

Ex:
kindly create the following cnames for web dispatcher setup of OC7-350.

OC7-350.wdf.sap.corp ldciv73-url.wdf.sap.corp
OC7-350-adm.wdf.sap.corp ldciv73-adm.wdf.sap.corp
OC7-350-api.wdf.sap.corp ldciv73-api.wdf.sap.corp

Remove Cname

Nslookup old server


Oldname

If u get error while removing cnames like "its not alias" fallow below steps

c5330715@dlm-lts02:~> sudo -i
DISPLAY:
[root@dlm-lts02:~]# rcdnsmasq restart
[root@dlm-lts02:~]# logout
c5330715@dlm-lts02:~>

Aliasing Page 102


Removing alias from phy server & assigning that to any server
Saturday, May 28, 2022 9:17 PM

1. Login to source server


2. cd /etc/sysconfig/network
3. nslookup source_server
4. Ifconfig
5. Check the vlan which has same ip as source server ip(it may be like vlan500 r eth3 r any other)
6. cat ifcfg-eth3(eth3 - give the name of where u found production ip)
7. Remove alias and all lines related to alias (before removing copy somewhere else)
8. cd /etc/hosts
9. comment alias related entries (copy somewhere before commenting)
10. nslookup of target server for which alias to be added
11. rcnetwork reload eth3(eth3 - give the name of where u found production ip)
12. Go to nip tool
13. Search alias ip(u will get that ip from 9th step u will comment alias entry know in the same line)
14. Once u find remove alias name including braces (don’t remove ip within that row)
15. Check in putty whether source ip is up( means phy server)
16. Submit -> save changes
17. Check nslookup of alias u cant find server
18. Now u can add alias to any server

*********************************************************************
Removing alias from phy server & assigning that to gcp server
https://support.wdf.sap.corp/sap/support/message/2280115494

1. Go to nip tool search for alias to be removed -> remove server name submit

Better to do in lts02
1. Login to phy server from which u have to remove alias
Do ifconfig -> eth6:er1d like this it will be with sid it can be any like vlan r eth but should be along sid
++++++++++++++++++++
ld4218:~ # ifconfig
eth0 Link encap:Ethernet HWaddr E0:4F:43:06:BD:CC
inet addr:10.23.240.36 Bcast:10.23.255.255 Mask:255.255.0.0
inet6 addr: fe80::e24f:43ff:fe06:bdcc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:921155378 errors:0 dropped:468 overruns:0 frame:0
TX packets:7344339353 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000./
RX bytes:184706207254 (176149.5 Mb) TX bytes:10887228270552 (10382869.9 Mb)

eth6 Link encap:Ethernet HWaddr 24:8A:07:6A:0C:70


inet addr:10.96.131.110 Bcast:10.96.131.255 Mask:255.255.255.0
inet6 addr: fe80::268a:7ff:fe6a:c70/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46157780438 errors:1 dropped:580 overruns:574 frame:1
TX packets:75886028368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25474261076737 (24294148.5 Mb) TX bytes:78301021678464 (74673673.3 Mb)

eth6:er1d Link encap:Ethernet HWaddr 24:8A:07:6A:0C:70


inet addr:10.96.131.87 Bcast:10.96.131.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo Link encap:Local Loopback


inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2476979650 errors:0 dropped:0 overruns:0 frame:0
TX packets:2476979650 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12847823583427 (12252639.3 Mb) TX bytes:12847823583427 (12252639.3 Mb)

usb1 Link encap:Ethernet HWaddr 02:E0:EC:40:A2:51


inet addr:169.254.96.119 Bcast:169.254.96.255 Mask:255.255.255.0
inet6 addr: fe80::e0:ecff:fe40:a251/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4709671 errors:0 dropped:0 overruns:0 frame:0

Aliasing Page 103


RX packets:4709671 errors:0 dropped:0 overruns:0 frame:0
TX packets:75550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:137531025 (131.1 Mb) TX bytes:3546784 (3.3 Mb)
++++++++++++++

ld4218:~ # cd /etc/sysconfig/network -> Go to this folder do ls


++++++++++++++++++
ld4218:/etc/sysconfig/network # ls
bak_ifcfg_eth2 bak.ifcfg-usb1 dhcp ifcfg-eth6 ifcfg.template ifcfg-usb1 if-down.d if-up.d routes
bak.ifcfg-eth5 config ifcfg-eth0 ifcfg-lo ifcfg-usb0~ ifcfg-usb1~ ifroute-eth6 providers scripts

ld4218:/etc/sysconfig/network # cat ifcfg-eth6 -> cat the file according to this eth6:er1d if its eth6 then cat file ifcfg -eth6
BOOTPROTO='static'
STARTMODE='auto'
IPADDR='10.96.131.110/24'
#IPADDR_ldcier1="10.96.131.77"
#NETMASK_ldcier1="255.255.255.0"
#LABEL_ldcier1="er1c"
IPADDR_lddber1="10.96.131.87"
NETMASK_lddber1="255.255.255.0"
LABEL_lddber1="er1d"

ld4218:/etc/sysconfig/network # vi ifcfg-eth6 -> comment last 3 lines starts with ipaddr, netmask, label
ld4218:/etc/sysconfig/network # cat ifcfg-eth6 -> for checking purpose
BOOTPROTO='static'
STARTMODE='auto'
IPADDR='10.96.131.110/24'
#IPADDR_ldcier1="10.96.131.77"
#NETMASK_ldcier1="255.255.255.0"
#LABEL_ldcier1="er1c"
#IPADDR_lddber1="10.96.131.87"
#NETMASK_lddber1="255.255.255.0"
#LABEL_lddber1="er1d"
++++++++++++++++++++++++++++++++++
ld4218:/etc/sysconfig/network # rcnetwork reload eth6 -> to reflect reload network if u made change in ifconfig-eth6 then do reload eth6 according to eth r vlan

ld4218:/etc/sysconfig/network # ifconfig -> to check whether entry removed this eth6:er1d Link
eth0 Link encap:Ethernet HWaddr E0:4F:43:06:BD:CC
inet addr:10.23.240.36 Bcast:10.23.255.255 Mask:255.255.0.0
inet6 addr: fe80::e24f:43ff:fe06:bdcc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:921163162 errors:0 dropped:468 overruns:0 frame:0
TX packets:7344339376 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:184707693769 (176150.9 Mb) TX bytes:10887228275090 (10382869.9 Mb)

eth6 Link encap:Ethernet HWaddr 24:8A:07:6A:0C:70


inet addr:10.96.131.110 Bcast:10.96.131.255 Mask:255.255.255.0
inet6 addr: fe80::268a:7ff:fe6a:c70/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:123 errors:0 dropped:6 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35464 (34.6 Kb) TX bytes:51850 (50.6 Kb)

lo Link encap:Local Loopback


inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2476981433 errors:0 dropped:0 overruns:0 frame:0
TX packets:2476981433 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12847824240936 (12252640.0 Mb) TX bytes:12847824240936 (12252640.0 Mb)

usb1 Link encap:Ethernet HWaddr 02:E0:EC:40:A2:51


inet addr:169.254.96.119 Bcast:169.254.96.255 Mask:255.255.255.0
inet6 addr: fe80::e0:ecff:fe40:a251/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4709796 errors:0 dropped:0 overruns:0 frame:0
TX packets:75553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000

Aliasing Page 104


collisions:0 txqueuelen:1000
RX bytes:137534672 (131.1 Mb) TX bytes:3546910 (3.3 Mb)
+++++++++++++++++++++++++++++++

3. Adding alias to new server do via vmcontrol

ld4218:/etc/sysconfig/network # cd
ld4218:~ # logout
Connection to ld4218 closed.
c5340447@vlgsplts02:~> vmcontrol

4. Check whether alias assigned by nslookup of alias and login of alias


c5340447@vlgsplts02:~> nslookup lddber1
Server: 127.0.0.1
Address: 127.0.0.1#531

lddber1.wdf.sap.corp canonical name = vlgdber1.wdf.sap.corp.


Name: vlgdber1.wdf.sap.corp
Address: 10.239.76.41

c5340447@vlgsplts02:~> rcssh lddber1


Warning: Permanently added 'lddber1,10.239.76.41' (ECDSA) to the list of known hosts.
Last login: Sat Jul 9 05:14:32 2022 from 10.238.196.221

###############################################################################

System Information as on Sat Jul 9 05:47:12 CEST 2022

Operating System Information:


----------------------------
Server Name : vlgdber1
Platform : Google x86_64
Total CPU : 416 CPUs Total Memory : 5934899 MB
OS Release : SLES 15 SP2 OS kernel : 5.3.18-150200.24.112-default
Production IP : dhcp/10.239.76.41 Backup IP : /x.x.x.x

CSS Components : OS Related Issues


Incident : DEV-LM-UX/LX Service : DEV-LM-UX/LX-SR

SID Information :
----------------
SID : ER1
Cluster Info. : NA / Refer SLIM/SISM CSS Component : NA / Refer SLIM/SISM
Std. MWW : NA / Refer SLIM/SISM

Local News:
------------------------
SUSE Linux Enterprise Server 15 SP2 for SAP Applications x86_64 (64-bit)

Please register this instance using your existing SUSE entitlement.

As "root" (sudo or sudo -i) use either one of the following commands:
- SUSEConnect --url=https://scc.suse.com -e [email protected] -r YOUR_CODE
- yast scc

to register the instance with SCC

Without registration this instance does not have access to updates and
security fixes.

Management and Config: https://www.suse.com/suse-in-the-cloud-basics


Documentation: http://www.suse.com/documentation/sles-15/
Community: https://community.suse.com/

Have a lot of fun...

IMPORTANT INFORMATION: DOCKER IS INSTALLED IN THIS SERVER.

Global news:
------------------------

Aliasing Page 105


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

###############################################################################

DISPLAY:
vlgdber1:~ # logout

Note1: if they say login is not working in lts01 as we did from lts02
Switch to root(sudo -i) then rcdnsmasq restart

Note2: if they still have issue in alias


Login to phy server
Cd /etc/sysconfig/network
Vi /etc/hosts -> comment alias related entry( like entry will have alias name that line)

Aliasing Page 106


Friday, June 3, 2022 5:43 PM

Delete alias and assign VIP | system OV8

https://support.wdf.sap.corp/sap/support/message/2280
092331

Aliasing Page 107


BB
Tuesday, March 15, 2022 3:53 PM

If they tell to install latest


1. Login to server
2. Cd /sapmnt/av/bowbridge/latest

If they tell particular version to install


1. Login to server
2. cd vlgcipkt:/sapmnt/av/bowbridge/
3. ll
4. Cd particular version
5. Execute this script: ./bb_installer.sh -u=pktadm(give relevent sid) -g=sapsys

If installation fails
1. cd /opt/
2. ls
3. Check for the backup file -> bowbridge bowbridge_BAK_2018-11-15_04-07-08 (backup file will be like this)
4. Remove file by: rm -rf bowbridge_BAK_2018-11-15_04-07-08
5. Same steps install latest or particular version

Post Check:
cat /var/tmp/bb_vlgciy5w.txt | grep Symlinked
If you get output as: Symlinked /opt/bowbridge_NEW/lib/libbbvsa.so.3113856 to /opt/bowbridge_NEW/lib/libbbvsa.so -> then installation is successful

BowBridge and McAfee Page 108


McAfee
Tuesday, March 15, 2022 4:06 PM

service ma status command to check Mcafee status

Steps to install:
1. Login to server
2. cd /sapmnt/av/mcafee/ENS - common path here they will add mcafee
3. Run this Script: ./mcafee_ENS_installer.sh

Deinstall
1. cd /sapmnt/av/mcafee/ENS
2. ./trend_de-installer.sh

BowBridge and McAfee Page 109


Example of uninstalling and installing BB
Wednesday, March 23, 2022 2:43 PM

vlgai2cc3:~ # cat /opt/bowbridge/mcafee/EngineDetails |head -2 => can see the current version which it installed
Product Version: 3.1.13
Build: 856

vlgai2cc3:~ # cd /sapmnt/av/bowbridge => moving to the bb directory

vlgai2cc3:/sapmnt/av/bowbridge # ls => will list all

vlgai2cc3:/sapmnt/av/bowbridge # ./deinstall_bb.sh => will uninstall the current version ( ./deinstall_bb.sh -> this take it from ls cmd)

vlgai2cc3:/sapmnt/av/bowbridge # cat /opt/bowbridge/mcafee/EngineDetails |head -2 => to check whether it uninstalled r wt


cat: /opt/bowbridge/mcafee/EngineDetails: No such file or directory

vlgai2cc3:/sapmnt/av/bowbridge # cd latest => moving to latest directory (if they ask latest go to latest directory r else go to the version directory they want)

vlgai2cc3:/sapmnt/av/bowbridge/latest # ./bb_installer.sh -u=v91adm -g=sapsys => to install ( -u=cc3adm in this remove the old sid and give new sid in this
case cc3 is sid)

vlgai2cc3:/sapmnt/av/bowbridge/latest # cat /opt/bowbridge/mcafee/EngineDetails |head -2 => to check whether it installed r wt


Product Version: 3.1.13
Build: 856

/sapmnt/av/bowbridge/3113_B859

./bb_installer.sh -u=v91adm -g=sapsys -s

vlgcigxl:/var/tmp # cat bb_vlgcigxl.txt

BowBridge and McAfee Page 110


Tuesday, June 21, 2022 8:23 PM

https://support.wdf.sap.corp/sap/support/message/2280111565

If they ask to create virus scan adapter,


Check whether bb is installed if yes, then move to tech team
Creating virus scan adapter is tech team work

BowBridge and McAfee Page 111


Friday, August 5, 2022 10:09 PM

vlgciy5w:~ # cd /usr/sap/Y5W/bowbridge/mcafee
vlgciy5w:/usr/sap/Y5W/bowbridge/mcafee # ll
total 1776
drwxr-xr-x 4 y5wadm sapsys 28 Aug 5 15:22 1642266853
drwxr-xr-x 4 y5wadm sapsys 28 Aug 5 15:22 default
-rw-r--r-- 1 y5wadm sapsys 0 Aug 5 15:22 download
-rw-r--r-- 1 y5wadm sapsys 440 Aug 5 15:22 EngineDetails
-rw-r----- 1 y5wadm sapsys 1803572 Aug 5 15:22 epolog
-rw-r--r-- 1 y5wadm sapsys 10 Aug 5 15:22 latest_timestamp
-rw-r--r-- 1 y5wadm sapsys 40 Aug 5 15:22 VSE_lastmodified
vlgciy5w:/usr/sap/Y5W/bowbridge/mcafee #

drwxr-xr-x 7 y5wadm sapsys 4096 Jan 16 2022 bowbridge

BowBridge and McAfee Page 112


Thursday, March 24, 2022 10:36 AM

Hello Colleagues,

Follow the below steps for domain change .

step 1: Need to de-register the ips .


sudo -u rcuser sudo /home/adminhosts/dnsmanage.py delete --name vlgciova --zone wdf.sap.corp

step 2: need to reassign the ip .


sudo -u rcuser sudo /home/adminhosts/dnsmanage.py register --name vlgdbova --zone
devsys.net.sap --ip 10.238.201.134

c5299510@dlm-lts01:~> sudo -u rcuser sudo /home/adminhosts/dnsmanage.py delete --name


vlgciova --zone wdf.sap.corp
Trying to delete record vlgciova in zone wdf.sap.corp
Record vlgciova.wdf.sap.corp in zone wdf.sap.corp deleted

step 3:Add the entries in /etc/hostname, /etc/resolve.conf and /etc/hoste files .


vlgcsova:~ # cat /etc/hostname
vlgcsova.devsys.net.sap
vlgcsova:~ #

vlgcsova:~ # cat /etc/resolv.conf


domain devsys.net.sap
search wdf.sap.corp devsys.net.sap devint.net.sap openstack.eu-de-1.cloud.sap emea.global.corp.sap
bss.net.sap
nameserver 127.0.0.1

vlgcsova:~ # cat /etc/hosts


#DO NOT EDIT MANUALLY #
# IP-Address Full-Qualified-Hostname Short-Hostname
#
::1 localhost loopback
127.0.0.1 localhost
10.238.201.250 ldcsova.devsys.net.sap ldcsova
10.238.201.250 vlgcsova.devsys.net.sap vlgcsova
vlgcsova:~ #

step 4: Excute the below cmd and check whether that as reflected or not
vlgdbova:~ # hostnamectl set-hostname vlgciova.devsys.net.sap
vlgdbova:~ # hostname -f
vlgdbova.devsys.net.sap

Step 5: Change myhostname value in /etc/postfix/main.cf


mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = vlgcsova.devsys.net.sap
mynetworks_style = subnet
relayhost = [mail.sap.corp]

step 6:Run all healings or directly run self-healing perl module

Domain change Page 113


step 6:Run all healings or directly run self-healing perl module
/sapmnt/HOME/i355745/self-heal.pl <server.tagetdomain>

step 7:Change the host names in SISM .

step 8: Reboot the server .

Domain Change - (wdf.sap.corp <->devsys.net.sap)


Wiki - https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=2629624077

Regards,
Anitha Y.

From: Naik, Srinivasa (external - Service) <[email protected]>


Sent: Tuesday, March 15, 2022 10:51 AM
To: DL DLM Services SM ODC (External) <[email protected]>
Cc: Palanisamy, Prabakaran (external - Service) <[email protected]>
Subject: Domain Change - (wdf.sap.corp <->devsys.net.sap)

Hello Colleagues ,

FYI

Domain Change - (wdf.sap.corp <->devsys.net.sap)


Wiki - https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=2629624077

Reference tickets
https://support.wdf.sap.corp/sap/support/message/2180397580
https://support.wdf.sap.corp/sap/support/message/2270023662

Domain change Page 114


4:15 PM

Ticket Tracker 17/03/2022

Server Name: lddlmsm.


Front End : /var/www/cockpit
Back End: /root/cockpit
Taking backup: cp ticket_tracker.php /var/www/cockpit/ticket_tracker_backup_april.php

update the any field in ticket Tracker .

if ( ! ( isset($_POST['date']) && isset($_POST['ticket_number']) && isset($_POST['priority']) && isset($_POST['status']) && isset($_POST['platform']) &&
isset($_POST['os']) && isset($_POST['task']) && isset($_POST['subtask'])) )
{
header( "Location: /ticket_tracker.php?error=Error 400: Not every parameter is set") ;
exit ;
}

To check log

/var/log/cockpit_access.log" , "updated : l1 tracker Report"

Updation of extra filed from DB end

$sql_statement = "insert into ticket_tracker values ('" . $access_username . "','" . $access_uid . "','" . $_POST['date'][$i] . "','" . $_POST['ticket_number'][$i] . "','" .
$_POST['priority'][$i] . "','" . $_POST['status'][$i] . "','" . $_POST['platform'][$i] . "','" . $_POST['os'][$i] . "','" . $_POST['task'][$i] . "','" . $_POST['subtask'][$i] . "','" .
$_POST['time_spent'][$i] ."', '" . $submit_date ."','" . $remarks . "') ;" ;
echo $sql_statement;

Fetching info.:

$sql_statement = "select * from ticket_tracker where date >= $from_date and date <= $to_date ; " ;

Deletion info.

<form id="form_delete_tracker_entry" class="form-inline" action="/ticket_tracker.php?task=delete_entry" method="post" enctype="multipart/form-data">


<button disabled onclick="return check_confirm()" id="form_delete_btn" type="submit" class="btn btn-danger"> Delete the selected entries </button>
</form>&nbsp;&nbsp;
</div>

Add Categories variables :

function taskOption ($type)


{
var select_option = '<option value="select_task">Select task</option>' ;

var option = '<option value="Host Down">Host Down</option><option value="ER Monitoring">ER Monitoring</option><option value="Hardware Issue">Hardware
Issue</option><option value="Login Issues">Login Issues</option><option value="OS Upgrade">OS Upgrade</option><option value="User related">User related</option>
<option value="Antivirus">Antivirus</option><option value="Storage">Storage</option><option value="Network issue">Network issue</option><option
value="Filesystem">Filesystem</option><option value="Out of Scope">Out of Scope</option><option value="Backup issue">Backup issue</option><option
value="Installations/Updates/Patches">Installations/Updates/Patches</option><option value="VM/XEN/Monsoon related tasks">VM/XEN/Monsoon related
tasks</option><option value="Windows Migration(UCP)">Windows Migration(UCP)</option><option value="GCP related">GCP related</option><option
value="Alias/VIP/Cname">Alias/VIP/Cname</option><option value="Mass Alerts">Mass Alerts</option><option value="Azure Related">Azure Related</option><option
value="Decommision/Movement">Decommision/Movement</option><option value="Downtime coordination">Downtime coordination</option><option value="Ccloud
related">Ccloud related</option><option value="SISM tasks">SISM tasks</option><option value="AA completion">AA completion</option><option value="Others">
Others</option>' ;

<option value="Category Name">Category Name</option>'

if ( document.getElementById(sid).value == "Category Name" )


{
document.getElementById(did).innerHTML = '<option value="Nagios Alert" >Nagios Alert</option><option value="Mail" >Mail</option><option value="Network
interface down" >Network interface down</option><option value="Maintenance mode /grub issue in console" >Maintenance mode /grub issue in console</option>';
}e

DLM Portal Page 115


For adding platform.:

<select name="platform[]" class="form-control input-sm" style="width: 100px;">


<option value="GCP" selected>GCP</option>
<option value="Monsoon" >Monsoon</option>
<option value="Xen" >Xen</option>
<option value="Mix" >Mix</option>
<option value="Physical" >Physical</option>

cell5.innerHTML = '<select name="platform[]" class="form-control input-sm" style="width: 100px;"><option value="GCP" selected>GCP</option><option value="Azure" >
Azure</option><option value="Monsoon" >Monsoon</option><option value="Mix" >Mix</option><option value="Xen" >Xen</option><option value="Physical" >
Physical</option><option value="VMWare" >VMWare</option><option value="CCloud" >CCloud</option></select>';

<option value="Lpar/Power PC " >Lpar/Power PC </option>

DLM Portal Page 116


Thursday, March 24, 2022 3:25 PM

Bulk Task Ticket Tracker:

Used to insert the info in DB .


----------------------------
$sql_statement = "insert into test_bulk_task_ticket_tracker values ('" . $access_username . "','" . $access_uid . "','" . $_POST['date'][$i] . "','" . $_POST['ticket_number'][$i] . "','" .
$_POST['task'][$i] . "','" . $_POST['subtask'][$i] . "','" . $_POST['server_count'][$i] . "','" . $_POST['platform'][$i] . "','" . $_POST['os'][$i] . "','" . $_POST['effort'][$i] . "','" .
$_POST['status'][$i] . "','" . $_POST['time_spent'][$i] ."','" . $remarks ."', '" . $submit_date ."') ;" ;
echo $sql_statement;

Used to select the info from DataBase .


----------------------------
$sql_statement = "select * from test_bulk_task_ticket_tracker where date >= $from_date and date <= $to_date ; " ;

Need to any value to task.


---------------------------------
function taskOption ($type)
{
var select_option = '<option value="select_task">Select task</option>' ;

var list = '<option value="Internal Activies" >Internal Activies</option><option value="Azure Related">Azure Related</option><option value="Training" >
Training</option><option value="Nagios" >Nagios</option><option value="Project" >Project</option><option value="Knowledge Transfer" >Knowledge Transfer</option>
<option value="Ticket Auditing" >Ticket Auditing</option><option value="Maintanence Activities" >Maintanence Activities</option><option value="SISM Related" >SISM
Related</option><option value="OS Patching" >OS Patching</option><option value="BCP tikcet" >BCP tikcet</option><option value="Mass INC" >Mass INC</option><option
value="Hardware Issue" >Hardware Issue</option><option value="BMC" >BMC</option><option value="GCP related" >GCP related</option><option value="Ccloud related" >
Ccloud related</option><option value="Others" >Others</option>';

<option value="name of sub_task" >value of sunb task</option>

need update credentials while changing


---------------------------------
/root/.smbcredentials

Need to update the shift roaster for every year change:


----------------------------------------
vlcspdlmsm:/var/www/cockpit/shiftroster/SM-Team # mount -t cifs -o credentials=/root/.smbcredentials -v //dlmexport/dlm_servermgmnt/ODC/L2-OS-
Support/ShiftRoster_LeaveTracker_2022/ /shift_roster
domain=global
mount.cifs kernel mount options: ip=10.70.1.187,unc=\\dlmexport\dlm_servermgmnt,user=c5299510,domain=global,prefixpath=ODC/L2-OS-
Support/ShiftRoster_LeaveTracker_2020/,pass=********

vlcspdlmsm:/var/www/cockpit # df -hT
Filesystem Type Size Used Avail Use% Mounted on
sysfs sysfs 0 0 0 - /sys
proc proc 0 0 0 - /proc
devtmpfs devtmpfs 7.9G 0 7.9G 0% /dev
securityfs securityfs 0 0 0 - /sys/kernel/security
tmpfs tmpfs 7.9G 4.0K 7.9G 1% /dev/shm
devpts devpts 0 0 0 - /dev/pts
tmpfs tmpfs 7.9G 833M 7.1G 11% /run
tmpfs tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
cgroup cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore pstore 0 0 0 - /sys/fs/pstore
cgroup cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup cgroup 0 0 0 - /sys/fs/cgroup/pids
cgroup cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup cgroup 0 0 0 - /sys/fs/cgroup/rdma
cgroup cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup cgroup 0 0 0 - /sys/fs/cgroup/cpuset
/dev/sda1 ext4 20G 9.6G 9.4G 51% /
systemd-1 - - - - - /proc/sys/fs/binfmt_misc
mqueue mqueue 0 0 0 - /dev/mqueue
hugetlbfs hugetlbfs 0 0 0 - /dev/hugepages
debugfs debugfs 0 0 0 - /sys/kernel/debug
/dev/mapper/vg01-data ext3 48G 53M 46G 1% /data

DLM Portal Page 117


/dev/mapper/vg01-data ext3 48G 53M 46G 1% /data
/etc/mount.map autofs 0 0 0 - /net
tracefs tracefs 0 0 0 - /sys/kernel/debug/tracing
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/2383
binfmt_misc binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/58037
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/0
//dlmexport/dlm_servermgmnt/ODC/L2-OS-Support/ShiftRoster_LeaveTracker_2022/ cifs 1.1T 817G 284G 75% /shift_roster

Need to whether all roasters or munted or not.


---------------------------------------------------------
vlcspdlmsm:/var/www/cockpit/shiftroster/SM-Team # /bin/bash /root/cockpit/shift_update.sh
vlcspdlmsm:/var/www/cockpit/shiftroster/SM-Team # /usr/bin/ruby /root/cockpit/latest_sync_shiftroster.rb
/shift_roster/Jan2022/ShiftRoster_Jan2022.xlsx Copied..
/shift_roster/Feb2022/ShiftRoster_Feb2022.xlsx Copied..
/shift_roster/Mar2022/ShiftRoster_Mar2022.xlsx Copied..
/shift_roster/Apr2022/ShiftRoster_Apr2022.xlsx Copied.

Update previous month Roaster:


----------------------------------------
vlcspdlmsm:/var/www/cockpit/files # vim shift_details_previous.php
vlcspdlmsm:/var/www/cockpit/files #

$cmd = 'read_shift_roaster:-/var/www/cockpit/shiftroster/SM-Team/Feb2022/ShiftRoster_Feb20022.xlsx' . "\n" ;

Update the next month Roaster:


-----------------------------------------
vlcspdlmsm:/var/www/cockpit/files # vim shift_details_upcoming.php
vlcspdlmsm:/var/www/cockpit/files #

$cmd = 'read_shift_roaster:-/var/www/cockpit/shiftroster/SM-Team/Feb2022/ShiftRoster_Feb20022.xlsx' . "\n" ;

To check the shift details whether reflecting correctly or not.


-------------------------------------------------------------------------------
vlcspdlmsm:~ # /root/cockpit/get_shift_details.pl SM-Team
{"Windows & Vmware":{"S2":["NaveenKumar B","Sudheer G (S)","Sandeep Aluru"],"S3":["Manogaran M (S)"],"S1":["Jeevith Rajendran (S)"]},"Linux/Unix":{"S1":["Anitha
Yerrappagari","Arasu Mohideen","Sharanya (S)"],"S2":["Saran Kumar B (S)","Mohit Chaudhari","Srinivasa Naik ","Sonali Kumari"],"G":["Deepa M","Sahayaajitha
Krishnan","Prabakaran Palanisamy"],"S3":["Venkat Revanth (S)","Bhavana"]}}
vlcspdlmsm:~ #

DLM Portal Page 118


Database
Thursday, April 7, 2022 6:29 PM

vlcspdlmsm:~ # su - postgres

###############################################################################

System Information as on Wed Apr 6 12:11:43 CEST 2022

Operating System Information:


----------------------------
Server Name : vlcspdlmsm

postgres@vlcspdlmsm:~> psql
psql (9.4.25)
Type "help" for help.

postgres=#

postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
------------+----------+----------+-------------+-------------+-----------------------
dlm_portal | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)

postgres=# \c dlm_portal -> connecting to dml portal


You are now connected to database "dlm_portal" as user "postgres".
dlm_portal=#

dlm_portal=# \dt -> list all components


List of relations
Schema | Name | Type | Owner
--------+-------------------------------+-------+----------
public | cip_value_add_tracker | table | postgres
public | component_names_list | table | postgres
public | dl_names_list | table | postgres
public | test_bulk_task_ticket_tracker | table | postgres
public | test_ticket_tracker | table | postgres
public | ticket_tracker | table | postgres
public | trend_analysis | table | postgres
(7 rows)

DLM Portal Page 119


dlm_portal=# select * from dl_names_list;
category | dl_name | id
------------------------------+---------------------------------------------------------------------+----
DLM SM ALL(ODC+COE) | DL ACI_DLM_SERVICES_SM_All (External) | 1
SM ODC | DL ACI_DLM_SERVICES_SM_ODC (External) | 2
SM COE | DL ACI_DLM_SERVICES_SM_CoE | 3
TECH Team | DL 4R TCS DLM ODC BASIS (External) | 4
DB Team | DL 4R TCS MS DB (External) | 5

Backup path to see backup related info


vlcspdlmsm:/sapmnt/dlm/services/servermgmnt/ODC/ODCSMPortal_Backup # ll
total 76132
-rw-r--r-- 1 nobody nobody 7045582 Apr 4 20:00 backup_2022_04_04_20_00.bkp
-rw-r--r-- 1 nobody nobody 7045959 Apr 5 00:00 backup_2022_04_05_00_00.bkp
-rw-r--r-- 1 nobody nobody 7046764 Apr 5 04:00 backup_2022_04_05_04_00.bkp
-rw-r--r-- 1 nobody nobody 7047681 Apr 5 08:00 backup_2022_04_05_08_00.bkp

Backup path to see backup related info through file manager


File manager: \\dlmexport\dlm_servermgmnt\ODC\ODCSMPortal_Backup

dlm_portal=# \d+ test_ticket_tracker -----> to get the detailed info .


Table "public.test_ticket_tracker"
Column | Type | Modifiers | Storage | Stat s target | Description
---------------+-----------------------------+------------------------------------------------------------------+----------+--------------+-------------
processor | text | not null | extended | |
sap_id | character varying(1000) | | extended | |
date | bigint | not null | plain | |
ticket_number | text | not null | extended | |
priority | text | not null | extended | |
status | text | not null | extended | |
platform | text | not null | extended | |
os | text | not null | extended | |
task | text | not null | extended | |
subtask | text | not null | extended | |
time_spent | integer | not null | plain | |
submit_date | timestamp without time zone | not null | plain | |
id | integer | not null default nextval('test_ticket_tracker_id_seq'::regclass) | plain | |
Indexes:
"test_ticket_tracker_pkey" PRIMARY KEY, btree (id)

dlm_portal=#

for update the list names :


=====================
UPDATE dl_names_list SET category = SLC ALL WHERE category IS SLC Team;
UPDATE dl_names_list SET category = Monsson Team where category IS Monsson;

UPDATE dl_names_list SET category='SLC ALL' WHEREdl_name='DL ACI_DLM_SLC_ALL';

Delete the list names.


================
DELETE FROM dl_names_list WHERE dl_name='DL ACI_DLM_SLC_ALL ';

DLM Portal Page 120


Insert the values into component:
=============================
INSERT INTO dl_names_list(category, dl_name,id) VALUES('SAP GCS Help ', ' [email protected]', 34 );

INSERT INTO dl_names_list(category, dl_name,id) VALUES('SAP GCS Help', '[email protected]', 35);

INSERT INTO component_names_list(category, component_name,id) VALUES('SISM related_ITD', 'SRIS_APPL_SISM', 15 );

DLM Portal Page 121


Imp links, access, dlm portal issue
Sunday, April 10, 2022 5:52 PM

Updating the important links .

1) we have to take backup .

2)Go to below path and do the changes (before login) .

vlcspdlmsm:/var/www/cockpit/files # vim shift_details_new.php


vlcspdlmsm:/var/www/cockpit/files #

array("CCloud","https://dashboard.eu-de-1.cloud.sap/monsoon3","href imp_links_blue imp_links_mid_used") ,


Name of the link link/url color script for the link .

3)Go to below path and update the links(after login)

vlcspdlmsm:/var/www/cockpit/files # vim important_links.php


vlcspdlmsm:/var/www/cockpit/files #

To check roaster is working fine or not .

vlcspdlmsm:/var/www/cockpit/files # /root/cockpit/get_shift_details.pl SM-Team 2


{"Windows & Vmware":{"S1":["NaveenKumar B (S)"],"S3":["Jeevith Rajendran (S)"],"S2":["Praveen Kumar N (S)"]},"Linux/Unix":{"S1":["Manoj Gowda K (S)"],"S3":["Saran Kumar
B (S)"],"S2":["Anitha Yerrappagari (S)","Venkat Revanth"]}}
vlcspdlmsm:/var/www/cockpit/files #

To find the error in shift roaster.

vlcspdlmsm:/var/www/cockpit/files # cat /root/cockpit/logs/sm_team_shift_details.log


1649592001:-0:-{"Windows & Vmware":{"S1":["Sudheer G (S)"],"S2":["Sandeep Aluru (S)"],"S3":["NaveenKumar B (S)"]},"Linux/Unix":{"S1":["Bhavana (S)"],"S2":["Mohit
Chaudhari (S)"],"S3":["Arasu Mohideen (S)"]}}
vlcspdlmsm:/var/www/cockpit/files #

Services:

vlcspdlmsm:~/cockpit # ./daemon.pl restart ...> apache restart

vlcspdlmsm:~/cockpit # ./daemon.pl restart


Stopping cockpit_socket: [Success]
Starting cockpit_socket: [Success]
vlcspdlmsm:~/cockpit #

vlcspdlmsm:~/cockpit # systemctl restart apache2 ...> need to restart after rebbot server for reflecting on portal

vlcspdlmsm:~/cockpit # systemctl status apache2


? apache2.service - The Apache Webserver
Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2022-04-10 14:05:27 CEST; 13s ago
Process: 18180 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=0/SUCCESS)
Process: 15872 ExecReload=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful (code=exited, status=0/SUCCESS)
Main PID: 18190 (httpd-prefork)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
Tasks: 6

Need to restart db related services .

vlcspdlmsm:~/cockpit # systemctl restart postgresql.service


vlcspdlmsm:~/cockpit # systemctl status postgresql.service
? postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2022-04-10 14:06:59 CEST; 8s ago
Process: 18312 ExecStop=/usr/share/postgresql/postgresql-script stop (code=exited, status=0/SUCCESS)
Process: 18321 ExecStart=/usr/share/postgresql/postgresql-script start (code=exited, status=0/SUCCESS)
Main PID: 18331 (postgres)
Tasks: 7 (limit: 512)

whenever any new colleagues added then need to update userid in below path.

DLM Portal Page 122


whenever any new colleagues added then need to update userid in below path.

vlcspdlmsm:~/cockpit # cat mainConfig.yaml

ticket_tracker:===================> to all colleagues


C5299510,C5170025,C5253596,C5200741,C5235830,C5261650,C5265686,C5248106,C5259353,C5299507,C5274539,C5274545,C5259352,C5229581,C5241069,C5259357,C5249
972,C5255144,C5259348,C5299512,C5288908,C5304608,C5304607,C5288910,C5330721,C5330727,C5330723,C5330715,C5340443,C5340447

Only requiredv colleagues:


====================
admin_task_access_list: c5253596,c5299510,c5170025,c5340443,c5340447

DLM Portal Page 123


Thollamadugu, Nageswara Rao (external - Project)
Friday, April 22, 2022 10:29 AM

DLM Portal Page 124


Thursday, September 1, 2022 8:47 AM

vlcspdlmsm:/var/www/cockpit/files # cat /root/cockpit/get_shift_details_bckp.pl | grep -i 'if


( $name_cell->{Val} !~ m/^'
if ( $name_cell->{Val} !~ m/^fte/i)
vlcspdlmsm:/var/www/cockpit/files # awk '{if(NR==174) print $0}' /root/cockpit/get_shift_details.pl
if ( $name_cell->{Val} !~ m/^Summary|^$/i)
vlcspdlmsm:/var/www/cockpit/files # cp /root/cockpit/get_shift_details.pl
/root/cockpit/back_get_shift_details.pl
vlcspdlmsm:/var/www/cockpit/files #

cat /root/cockpit/get_shift_details_bckp.pl | grep -i 'fte'

vlcspdlmsm:/var/www/cockpit/shiftroster/SM-Team # cat /root/cockpit/get_shift_details.pl | grep -i


'name_cell'
my $name_cell = $req_worksheet->{Cells}[$row][$name_col] ;
push ( @{$output{$type_col->{Val}}{$cell->{Val}}} , $name_cell->{Val} );
if ( $name_cell->{Val} !~ m/^Summary|^$/i)
push ( @{$output{$type_col->{Val}}{'S1'}} , $name_cell->{Val} );
#push ( @{$output{'S1'}} , $name_cell->{Val} );
push ( @{$output{$type_col->{Val}}{'S1'}} , $name_cell->{Val}.' (S)');
push ( @{$output{$type_col->{Val}}{'S2'}} , $name_cell->{Val} );
push ( @{$output{$type_col->{Val}}{'S2'}} , $name_cell->{Val}.' (S)');
push ( @{$output{$type_col->{Val}}{'S3'}} , $name_cell->{Val} );
push ( @{$output{$type_col->{Val}}{'S3'}} , $name_cell->{Val}.' (S)');
push ( @{$output{$type_col->{Val}}{'G'}} , $name_cell->{Val} );
# push ( @{$output{'G'}} , $name_cell->{Val} );
#push ( @{$output{$type_col->{Val}}{'G'}} , $name_cell->{Val} );
my $name_cell = $req_worksheet->{Cells}[$row][$name_col] ;
push ( @{$output{$type_col->{Val}}{$cell->{Val}}} , $name_cell->{Val} );
push ( @{$output{$cell->{Val}}} , $name_cell->{Val} );

vlcspdlmsm:/var/www/cockpit/shiftroster/SM-Team # cat /root/cockpit/get_shift_details_bckp.pl |


grep -i 'name_cell'
my $name_cell = $req_worksheet->{Cells}[$row][$name_col] ;
push ( @{$output{$type_col->{Val}}{$cell->{Val}}} , $name_cell->{Val} );
if ( $name_cell->{Val} !~ m/^fte/i)
push ( @{$output{$type_col->{Val}}{'S1'}} , $name_cell->{Val} );
#push ( @{$output{'S1'}} , $name_cell->{Val} );
push ( @{$output{$type_col->{Val}}{'S2'}} , $name_cell->{Val} );
#push ( @{$output{'S2'}} , $name_cell->{Val} );
push ( @{$output{$type_col->{Val}}{'S3'}} , $name_cell->{Val} );
#push ( @{$output{'S3'}} , $name_cell->{Val} );
push ( @{$output{$type_col->{Val}}{'ALL'}} , $name_cell->{Val} );
# push ( @{$output{'G'}} , $name_cell->{Val} );
#push ( @{$output{$type_col->{Val}}{'G'}} , $name_cell->{Val} );
my $name_cell = $req_worksheet->{Cells}[$row][$name_col] ;

DLM Portal Page 125


my $name_cell = $req_worksheet->{Cells}[$row][$name_col] ;
push ( @{$output{$type_col->{Val}}{$cell->{Val}}} , $name_cell->{Val} );
push ( @{$output{$cell->{Val}}} , $name_cell->{Val} );

DLM Portal Page 126


Command not working issue:
https://support.wdf.sap.corp/sap/support/message/22700338
98
Tuesday, March 22, 2022 1:22 PM

sapmnt mount is missing and cdpro nt working Page 127


Tuesday, March 22, 2022 3:31 PM

c5340447@dlm-lts01:~> rcssh ldai1c88

DISPLAY:
vlgai1c88:~ # df -Th | grep -i sapmnt
vlgai1c88:~ # cat /etc/fstab
LABEL=ROOT / xfs defaults 0 0
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
/dev/vg02/usr_sap_C88 /usr/sap/C88 xfs defaults 1 2
vlgcic88:/sapmnt/C88 /sapmnt/C88 nfs defaults 1 2

vlgai1c88:~ # mount /sapmnt/C88


mount.nfs: requested NFS version or transport protocol is not supported

vlgai1c88:~ # rcnfs status


● nfs.service - Alias for NFS client
Loaded: loaded (/usr/lib/systemd/system/nfs.service; enabled; vendor preset: disabled)
Drop-In: /run/systemd/generator/nfs.service.d
└─50-insserv.conf-$remote_fs.conf
Active: active (exited) since Sat 2022-03-19 08:39:13 CET; 3 days ago
Main PID: 1980 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 512)
CGroup: /system.slice/nfs.service

Mar 19 08:39:12 vlgai1c88 systemd[1]: Starting Alias for NFS client...


Mar 19 08:39:13 vlgai1c88 mount[1984]: mount.nfs: requested NFS version or transport protocol is not
supported
Mar 19 08:39:13 vlgai1c88 systemd[1]: Started Alias for NFS client.
vlgai1c88:~ # logout
Connection to ldai1c88 closed.

c5340447@dlm-lts01:~> rcssh vlgcic88

DISPLAY:
vlgcic88:~ # cat /etc/exports
# See the exports(5) manpage for a description of the syntax of this file.
# This file contains a list of all directories that are to be exported to
# other computers via NFS (Network File System).
# This file used by rpc.nfsd and rpc.mountd. See their manpages for details
# on how make changes in this file effective.

#DO NOT USE "STAR" TO SHARE THE FILES


#FILES SHARED GLOBALLY (STAR) WILL BE REMOVED BY THE SCRIPT
/sapmnt/C88 10.238.42.185(rw,subtree_check,no_root_squash)
/sapmnt/C88 10.238.43.131(rw,subtree_check,no_root_squash)

vlgcic88:~ # rcnfsserver status


● nfsserver.service - Alias for NFS server

sapmnt mount is missing and cdpro nt working Page 128


● nfsserver.service - Alias for NFS server
Loaded: loaded (/usr/lib/systemd/system/nfsserver.service; disabled; vendor preset: disabled)
Active: inactive (dead)
vlgcic88:~ # df -Th /sapmnt/
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 xfs 20G 13G 7.7G 62% /

vlgcic88:~ # rcnfsserver start

vlgcic88:~ # rcnfsserver status


● nfsserver.service - Alias for NFS server
Loaded: loaded (/usr/lib/systemd/system/nfsserver.service; disabled; vendor preset: disabled)
Active: active (exited) since Tue 2022-03-22 10:55:07 CET; 9s ago
Process: 1842 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 1842 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 512)
CGroup: /system.slice/nfsserver.service

Mar 22 10:55:07 vlgcic88 systemd[1]: Starting Alias for NFS server...


Mar 22 10:55:07 vlgcic88 systemd[1]: Started Alias for NFS server.
vlgcic88:~ # logout
Connection to vlgcic88 closed.

c5340447@dlm-lts01:~> rcssh ldai1c88

DISPLAY:
vlgai1c88:~ # cat /etc/fstab
LABEL=ROOT / xfs defaults 0 0
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
/dev/vg02/usr_sap_C88 /usr/sap/C88 xfs defaults 1 2
vlgcic88:/sapmnt/C88 /sapmnt/C88 nfs defaults 1 2

vlgai1c88:~ # mount /sapmnt/C88

vlgai1c88:~ # df -Th /sapmnt/C88


Filesystem Type Size Used Avail Use% Mounted on
vlgcic88:/sapmnt/C88 nfs4 22G 4.6G 18G 21% /sapmnt/C88

vlgai1c88:~ # df -Th | grep -i sapmnt


vlgcic88:/sapmnt/C88 nfs4 22G 4.6G 18G 21% /sapmnt/C88

vlgai1c88:~ # su - c88adm
Loading SAP internal DLM 1st level config ONLY environment ...
Loading additional alias definitions …

ldai1c88:c88adm 39> cdpro

ldai1c88:c88adm 40>

sapmnt mount is missing and cdpro nt working Page 129


2270038223
Wednesday, March 23, 2022 5:16 PM

Scenario 1
If NFS present :- then issue is because nfs share server is inactive

1. Login to sever
2. uptime => check load avg
3. cat /etc/fstab => check any nfs present if present then
4. Login to nfs share server
5. rcnfsserver status => check active r wt if not then
6. rcnfsserver restart
7. Login to server
8. df -hT mount name => now it will be accessible
9. uptime => now load will be decreased
10. lscpu => cpu size should me less the load avg

Scenario 2
If NFS not present :- then it will be because of sid db process

1. Top => to check process


2. Press shift + m => show top process which consume more memory
3. If sidadm process is consuming more memory the revert ticket to tech
team
4. If root process is consuming more memory then kill the process
5. Nagios also we can see details by searching server

df command not working Page 130


Wednesday, March 23, 2022 5:39 PM

Hello Colleagues

Load avg was high.


NFS service was down.
We have restarted nfs service.
Now load avg is normal now.
+++
vlgai5sl0:~ # uptime
13:06:15 up 4 days 4:27, 2 users, load average: 0.40, 0.35, 9.89
+++

Kindly check and proceed.

Hello Colleagues,

When we checked NFS service was down we restarted the service.


Now mount is accessible.
Load average is also reduced.

=====================
vlgai1c5z:~ # df -h /sapmnt/C5Z
Filesystem Size Used Avail Use% Mounted on
vlgcic5z:/sapmnt/C5Z 20G 4.8G 16G 24% /sapmnt/C5Z

vlgai1c5z:~ # uptime
10:09am up 55 days 20:38, 3 users, load average: 0.02, 41.95, 232.72
vlgai1c5z:~ #
=====================

Kindly check.

Regards,
Deepa M
DLM SM Team

df command not working Page 131


Wednesday, April 6, 2022 12:28 PM

df -Th

strace df -h

vlgdbgxs:~ # df -h /sapmnt/GXS
Filesystem Size Used Avail Use% Mounted on
ldcsgxs:/sapmnt/GXS 40G 1.7G 39G 5% /sapmnt/GXS

vlgdbgxs:~ # umount "/net/sapmnt.ldm044.a" (mount u give which mount stuck in strace)

vlgdbgxs:~ # df -h - check whether df is working

crontab -l -> all scheduled tasks will present

cat /var/spool/cron/tabs/root (it gives same o/p as above cmd)

/sapmnt/unixadmin/bin/sapui.pl - to run self-healing

vlgdbgxs:~ # cat /var/adm/local/version.mam - it contains total number of


12253

vlgdbgxs:~ # vi
vlgdbgxs:~ # vi /var/adm/local/version.mam - delete any number in this

vlgdbgxs:~ # /sapmnt/unixadmin/bin/sapui.pl - again run this now it will work

df command not working Page 132


steps
Thursday, April 7, 2022 12:28 PM

After each step see df cmd is working r wt if not then only go for next options

Load avg - if high then kill


Strace- if hung then umount that we should do
Nfs share
top

df command not working Page 133


Thursday, September 15, 2022 4:58 PM

vlgcsbna:/etc/cron.d # /home/nagios/dlmscripts/check_or_fix_vulnerabilities.sh -fF >> /tmp/log-check-


vulnerabilities-execution 2>&1;
cp -fp /tmp/log-check-vulnerabilities-execution /tmp/log-check-vulnerabilities

cp: overwrite '/tmp/log-check-vulnerabilities'? yes

vlgcsbna:~ # /home/nagios/checkscripts/check_sm_sec_config.pl 'vlgsp01627.wdf.sap.corp' '


Server Provisioning DLM' | grep -i ERROR
vlgcsbna:~ #

df command not working Page 134


2270029165
Thursday, March 24, 2022 1:41 PM

Steps:

Note: Below 2 scripts can be only executed in root

1. sudo -i => switch to root (admin server)


2. cd /home/adminhosts/ => go to this directory
3. Execute below 2 files
4. ./dnsmanage.py delete --name=oldserver_name --ip=oldserver_ip --zone=wdf.sap.corp => to delete old hostname
5. ./dnsmanage.py register --name=newserver_name --ip=oldserver_ip --zone=wdf.sap.corp =>register new hostname (Note: here ip will remain same as old
server_ip)
6. nslookup newserver_name => to check whether hostname changed r wt
7. Login newserver_name -> u will get warning it's because should make changes in below files
8. uptime
9. Should change entry in below 3 files
10. cat /etc/hosts
11. vim /etc/hosts => should change last entry -> change oldserver_name to newserver_name
12. cat /etc/hostname
13. vim /etc/hostname => change oldserver_name to newserver_name
14. cat /etc/HOSTNAME
15. vim /etc/HOSTNAME => change oldserver_name to newserver_name
16. rcdnsmasq restart
17. Login newserver_name -> now will not get any warning

hostname change Page 135


Thursday, March 24, 2022 6:12 PM

Steps:
1. Go to NIP tool
2. Search old server u will get list of all ip select any ip which is free
3. nslookup ip which u choose => to conform that ip which u choose is not assigned to any server
4. In jump host execute this cmd => sudo -u rcuser sudo /home/adminhosts/dnsmanage.py register --name new_servername --zone wdf.sap.corp --ip
10.98.20.97(this ip can be choose from nip tool see which ip is free that u take)
5. nslookup 10.98.20.97 => to check whether ip assigned r wt

We should config ip
6. Login to old server
7. Cd /etc/sysconfig/network
8. Cat ifconfig-vlan500
9. Vi ifconfig-vlan500
Make below 2 entry in above file
IPADDR_ldcivt7='10.98.20.97/23' => servername - new, ip - which new assigned
LABEL_ldcivt7='VT7ci' => VT7ci - give sid and instance

Load
10. rcnetwork reload vlan500

Assigning VIP Page 136


Thursday, March 24, 2022 6:48 PM

Hi colleagues,

this is regarding reported DLM Change https://support.wdf.sap.corp/sap/support/message/2270020281


for extending SWAP size to 30GB.
Per DLM standard the swap size is only 5 GB and the server Bootdisk is 20 GB.

To change this the following steps are needed:

1.) Run vmcontrol on a DLM adminhost (eg. dlm-lts01 or dlm-lts02) and choose Disks ->
EXTEND/UPSIZE and provide the server name.

2.) Select the Bootdisk which should be 20 GB

SWAP resize Page 137


3.) When asked for the new Bootdisk size take the current size 20 GB (15 GB + 5 GB swapfile) and add
25 GB to it resulting in eg. 45 GB Bootdisk size for the server visible on above screenshot.

4.) If finished connect via rcssh to the remote server and have a look via dmesg command if disk size
has changed.

vlgsprob16:~ # dmesg|tail -5
[6772610.107846] RPC: fragment too large: 612067950
[6772615.216840] RPC: fragment too large: 612067950
[7206643.291281] sd 0:0:1:0: [sda] 94371840 512-byte logical blocks: (48.3 GB/45.0 GiB)
[7206643.291283] sd 0:0:1:0: [sda] 4096-byte physical blocks
[7206643.291464] sda: detected capacity change from 21474836480 to 48318382080

5.) Get the disk device of the root filesystem / via command: grep ' / ' /proc/mounts
vlgsprob16:~ # grep ' / ' /proc/mounts
/dev/sda1 / xfs rw,relatime,attr2,inode64,noquota 0 0

6.) Extend the partition on the disk via command growpart -v /dev/<disk> <partition>:
vlgsprob16:~ # growpart -v /dev/sda 1
update-partition set to true
resizing 1 on /dev/sda using resize_sfdisk_dos
94371840 sectors of 512. total size=48318382080 bytes
## sfdisk --unit=S --dump /dev/sda
label: dos
label-id: 0x3b4ca871
device: /dev/sda
unit: sectors

/dev/sda1 : start= 2048, size= 41940959, type=83, bootable


padding 33 sectors for gpt secondary header
max_end=94371807 tot=94371840 pt_end=41943007 pt_start=2048 pt_size=41940959
resize of /dev/sda returned 0.
CHANGED: partition=1 start=2048 old: size=41940959 end=41943007 new: size=94369759,end=
94371807

7.) Extend the root filesystem / via command xfs_growfs -d /:


vlgsprob16:~ # xfs_growfs -d /

SWAP resize Page 138


meta-data=/dev/sda1 isize=512 agcount=9, agsize=655296 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1 spinodes=0 rmapbt=0
= reflink=0
data = bsize=4096 blocks=5242619, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 5242619 to 11796219

8.) Disable and delete the 5 GB swapfile and create the new 30 GB swapfile:
swapoff /root/swapfile
rm -f /root/swapfile
dd if=/dev/zero of=/root/swapfile bs=1024 count=31457280
mkswap /root/swapfile
chmod 600 /root/swapfile
swapon /root/swapfile

vlgsprob16:~ # swapoff /root/swapfile


vlgsprob16:~ # rm -f /root/swapfile
vlgsprob16:~ # dd if=/dev/zero of=/root/swapfile bs=1024 count=31457280
31457280+0 records in
31457280+0 records out
32212254720 bytes (32 GB, 30 GiB) copied, 70.1113 s, 459 MB/s

9.) Check if the new swapfile is working fine via command swapon -s:
vlgsprob16:~ # swapon -s
Filename Type Size Used Priority
/root/swapfile file 31457276 0 -1

SWAP resize Page 139


Thursday, March 31, 2022 11:50 AM

Steps:
1. cd /sapmnt/dlm/services/servermgmnt/linux/osbackups/
2. Ll | grep -I server_name
3. Cd full_server_name
4. Ls
5. Mkdir -p /temp/back_date-of-backup
6. Tar -xvf severname.tar -C /temp/back_date-of-backup
7. Cd
8. Cd /temp
9. Cd back_date-of-backup
10. Cd etc/
11. Cat passwd | grap -I sir
12. Cat group | grep -I adm

It happens because of wrong entries in password file

1. Fst go to backup path


/sapmnt/dlm/services/servermgmnt/linux/osbackups/

2. # cd full server name


3. #ls
4. Unzip tar file in the temporary folder
#mkdir -p /tmp/back_29032022
5. #tar -xvf servername.tar -c /temp/back_29032022
6. #cd
7. #ls
8. #cd back_29032022
9. Ls
10. Cd etc
11. Ls
12. Cat passwd
13. Cat passwd | grep -I sid (check the error with the ticket)
14. Vi /etc/passwd

Before---->
siradm:x:1588:23:Sap User fuer SIR:/usr/sap/SIR/home:/nowhere

switch user error Page 140


Friday, April 8, 2022 11:26 AM

When we do switch user with nd1adm getting below error.


vlgdbnd1:~ #
vlgdbnd1:~ # su - nd1adm
su: warning: cannot change directory to /usr/sap/ND1/home: Permission denied
vlgdbnd1 /root% pwd
/root

if we get this means permission problem we should change permissions

vlgdbnd2:~ # su - nd2adm
su: user nd2adm does not exist
vlgdbnd2:~ # cat /etc/passwd | grep -i nd2adm
vlgdbnd2:~ #

if they say serror in /etc/passwd then what u taught that we should do right

switch user error Page 141


Friday, April 1, 2022 3:10 PM

c5340447@dlm-lts01:~> nslookup ldciHC4


Server: 127.0.0.1
Address: 127.0.0.1#53

ldcihc4.wdf.sap.corp canonical name = vlgcihc4.wdf.sap.corp.


Name: vlgcihc4.wdf.sap.corp
Address: 10.238.43.186

c5340447@dlm-lts01:~> sudo -i gcloud compute instances describe vlgcihc4 | egrep -i


'networkIP|subnetwork'
DISPLAY:
No zone specified. Using zone [europe-west5-a] for instance: [vlgcihc4].
networkIP: 10.238.43.186
subnetwork: https://www.googleapis.com/compute/v1/projects/sap-development/regions/europe-
west5/subnetworks/sap-dev-3 (here sap-dev-3 is the subnet)

finding subnets Page 142


Tuesday, April 5, 2022 11:09 AM

Auto mounts

https://support.wdf.sap.corp/sap/support/message/2270062706

https://support.wdf.sap.corp/sap/support/message/2270063734

When we do switch user with nd1adm getting below error.


vlgdbnd1:~ #
vlgdbnd1:~ # su - nd1adm
su: warning: cannot change directory to /usr/sap/ND1/home: Permission denied
vlgdbnd1 /root% pwd
/root

Bind mounts std size? - 40gb is std size, if they ask more to increase check with creator if its hotflix server if yes then std size till 120gb we can extend -
https://support.wdf.sap.corp/sap/support/message/2280134588 bind mounts only extend upto 120gb if they provide business justification also

DB bind mounts we can extend not need of business justification

In which all the situations we should ask business justification

R/3 login

Backup ip where to find

https://support.wdf.sap.corp/sap/support/message/2280135788 - RAM resize error sent by the team

https://support.wdf.sap.corp/sap/support/message/2270078131

https://support.wdf.sap.corp/sap/support/message/2270083215

https://support.wdf.sap.corp/sap/support/message/2270089820

https://support.wdf.sap.corp/sap/support/message/2280107524 d

https://support.wdf.sap.corp/sap/support/message/2270104450 d

https://support.wdf.sap.corp/sap/support/message/2270105494 d

Mount missing : https://support.wdf.sap.corp/sap/support/message/2280084883 d check in other server whether its accessible if yes then its auto mount
946 2022-05-24 04:16:31 sudo su - ykkadm
947 2022-05-24 11:23:06 cd /usr/sap/trans4/tools
948 2022-05-24 11:35:55 ll
949 2022-05-24 11:36:04 cd ../trans 42
950 2022-05-24 11:36:07 cd
951 2022-05-24 11:36:32 rcautofs status
952 2022-05-24 11:36:39 cd /usr/sap/trans4/tools
953 2022-05-24 11:36:42 ll
954 2022-05-24 11:37:57 ll|wc -l
955 2022-05-24 11:38:02 cd
956 2022-05-24 11:38:25 cd /usr/sap/trans4/tools
957 2022-05-24 11:38:29 ll|wc -l

Single user mode gcp

Ccloud fs extension: 2280111056

Please change the timezone on host vlgspwfq4k from CEST to UTC - timedatectl set-timezone UTC

MOTD issue while ssh login

doubts Page 143


MOTD issue while ssh login

https://support.wdf.sap.corp/sap/support/message/2280133918 open ports d

https://support.wdf.sap.corp/sap/support/message/2280134004 check IO problems

https://support.wdf.sap.corp/sap/support/message/2280127173 Please repair the file system

https://support.wdf.sap.corp/sap/support/message/2280121769 DB post checks failing with below error. File system issue

They installed different packages for same issue -d


https://support.wdf.sap.corp/sap/support/message/2270050369 R3trans failing
https://support.wdf.sap.corp/sap/support/message/2280139107 R3trans failing
https://support.wdf.sap.corp/sap/support/message/2280139960 R3trans failing

https://support.wdf.sap.corp/sap/support/message/2280142139 - share /usr/sap/…… d

https://support.wdf.sap.corp/sap/support/message/2280165672 d

https://support.wdf.sap.corp/sap/support/message/2270181885 d

doubts Page 144


Tuesday, May 31, 2022 6:55 PM

997 2022-05-06 14:06:39 cat /etc/auto.master


998 2022-05-06 14:07:45 vi /etc/auto.transpq
999 2022-05-06 14:08:30 vi /etc/auto.master

doubts Page 145


Thursday, April 7, 2022 11:23 AM

Below are the steps, for Boot Disk Extension.


Note : COE Approval is mandatory.
Ref : https://support.wdf.sap.corp/sap/support/message/2270055116
++++++++++++++++++++++++++++
Step 1:- Extend the Boot Disk to required Size via VMControl.

Step 2 :- Login to server & execute below commands


vlgdbg26:~ # grep ' / ' /proc/mounts
/dev/sda3 / xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0
vlgdbg26:~ #
Step 3 :- growpart -v /dev/sda 3
update-partition set to true
resizing 3 on /dev/sda using resize_sfdisk_gpt
62914560 sectors of 512. total size=32212254720 bytes
## sfdisk --unit=S --dump /dev/sda
label: gpt
label-id: A7317AC6-041B-45ED-9913-02D7D647B22B
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 62914526

/dev/sda1 : start= 2048, size= 4096, type=21686148-6449-6E6F-744E-656564454649,


uuid=F0A9F06A-A9A0-4B0C-A3BE-1759C1028928, name="p.legacy"
/dev/sda2 : start= 6144, size= 40960, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B,
uuid=4B226E9E-6770-4FCF-91FE-887794D71518, name="p.UEFI"
/dev/sda3 : start= 47104, size= 41895903, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4,
uuid=397CF4E3-2D50-43C7-B8EA-31911FBF3D90, name="p.lxroot"
padding 33 sectors for gpt secondary header
max_end=62914527 tot=62914560 pt_end=41943007 pt_start=47104 pt_size=41895903
resize of /dev/sda returned 0.
CHANGED: partition=3 start=47104 old: size=41895903 end=41943007 new: size=62867423 end=
62914527

Step 4 vlgdbg26:~ # xfs_growfs /


meta-data=/dev/sda3 isize=512 agcount=9, agsize=653887 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0, rmapbt=0
= reflink=0
data = bsize=4096 blocks=5236987, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 5236987 to 7858427
vlgdbg26:~ # df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 30G 20G 11G 67% /
vlgdbg26:~ #
++++++++++++++++++++++++++++

BDE Page 146


Tuesday, April 5, 2022 5:22 PM

1. If finished connect via rcssh to the remote server and have a look via dmesg command if disk
size has changed.

vlgsprob16:~ # dmesg|tail -5
[6772610.107846] RPC: fragment too large: 612067950
[6772615.216840] RPC: fragment too large: 612067950
[7206643.291281] sd 0:0:1:0: [sda] 94371840 512-byte logical blocks: (48.3 GB/45.0 GiB)
[7206643.291283] sd 0:0:1:0: [sda] 4096-byte physical blocks
[7206643.291464] sda: detected capacity change from 21474836480 to 48318382080
1. Get the disk device of the root filesystem / via command: grep ' / ' /proc/mounts
vlgsprob16:~ # grep ' / ' /proc/mounts
/dev/sda1 / xfs rw,relatime,attr2,inode64,noquota 0 0
1. Extend the partition on the disk via command growpart -v /dev/<disk> <partition>:
vlgsprob16:~ # growpart -v /dev/sda 1
update-partition set to true
resizing 1 on /dev/sda using resize_sfdisk_dos
94371840 sectors of 512. total size=48318382080 bytes
## sfdisk --unit=S --dump /dev/sda
label: dos
label-id: 0x3b4ca871
device: /dev/sda
unit: sectors

/dev/sda1 : start= 2048, size= 41940959, type=83, bootable


padding 33 sectors for gpt secondary header
max_end=94371807 tot=94371840 pt_end=41943007 pt_start=2048 pt_size=41940959
resize of /dev/sda returned 0.
CHANGED: partition=1 start=2048 old: size=41940959 end=41943007 new: size=
94369759,end=94371807
1. Extend the root filesystem / via command xfs_growfs -d /:
vlgsprob16:~ # xfs_growfs -d /

meta-data=/dev/sda1 isize=512 agcount=9, agsize=655296 blks


= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1 spinodes=0 rmapbt=0
= reflink=0
data = bsize=4096 blocks=5242619, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 5242619 to 11796219

BDE Page 147


Tuesday, June 14, 2022 10:43 AM

In target server which mentioned in ticket


1 2022-06-13 16:10:30 uptime
2 2022-06-13 16:10:34 cat /etc/fstab
3 2022-06-13 16:10:41 cat /etc/passwd|grep -i gxc
4 2022-06-13 16:10:48 cat /etc/group|grep -i gxc
5 2022-06-13 16:13:23 cat /etc/passwd|grep -i gxc
6 2022-06-13 16:13:30 vi /etc/passwd
7 2022-06-13 16:13:53 vi /etc/group
8 2022-06-13 16:14:21 mount -a
9 2022-06-13 16:14:25 df -h
10 2022-06-13 16:14:31 cd /sapmnt/GXC
11 2022-06-13 16:14:32 ll
12 2022-06-13 16:14:41 cd /usr/sap/GXC
13 2022-06-13 16:14:42 ll
14 2022-06-13 16:14:44 cd
15 2022-06-13 16:14:48 su - gxpadm
16 2022-06-13 16:14:54 su - gxcadm
17 2022-06-13 16:17:19 history

Take one server eg:vlgdbqed

• Go to backup path
• Cd fullserver name
• Create one directory
• Do tar
• Go to that backup dir
• Ls
• Cd etc
• cat passwd|grep -i hub
• cat group|grep -i hub
• Copy the above two in target server ie, in step 6 and 7 in target server

vlgdbgx1:/sapmnt/dlm/services/servermgmnt/linux/osbackups/vlgdbgx1.wdf.sap.corp # mkdir -p
/tmp/bak_vlgdbgx1
vlgdbgx1:/sapmnt/dlm/services/servermgmnt/linux/osbackups/vlgdbgx1.wdf.sap.corp # tar -xvf
vlgdbgx1.tar -C /tmp/bak_vlgdbgx1

BDE log file


vlgciq09:/sapmnt/dlm/services/servermgmnt/google/logs-deployment/cc_bde_logs # ll | grep -i
vlgcsq09
-rw-r--r-- 1 rcuser users 1899 Jul 7 00:15 c5341115_vlgcsq09_20220706234914.err
-rw-r--r-- 1 rcuser users 3531 Jul 7 00:18 c5341115_vlgcsq09_20220706234914.log
vlgciq09:/sapmnt/dlm/services/servermgmnt/google/logs-deployment/cc_bde_logs # cat c5341115

BDE Page 148


vlgciq09:/sapmnt/dlm/services/servermgmnt/google/logs-deployment/cc_bde_logs # cat c5341115
_vlgcsq09_20220706234914.log

BDE Page 149


Thursday, July 21, 2022 8:17 PM

Hi Colleagues,

please check what’s going wrong this time. Thank you in advance.

...
Server vlgspccmkt RUNNING Successfully!

7. Checking Host Names and other configurations.


Waiting for vlgspccmkt.wdf.sap.corp to come up ...
Error: Instance vlgspccmkt Encounter Issues. Please check Manually...
END

Solution:
Check console whether its bluescreen if yes, then fallow steps to resolve
Check server login then data disk present r wt if not present fallow below steps

Then fallow below steps to

1. Attach data disk


******************
c5340447@dlm-lts01:~> sudo -i
DISPLAY:
[root@dlm-lts01:~]# gcloud compute disks list | grep -i vlgspccmkt
vlgspccmkt europe-west5-c zone 20 pd-standard READY
vlgspccmkt-20220721135735 europe-west5-c zone 20 pd-standard READY
vlgspccmkt-data01 europe-west5-c zone 30 pd-standard READY
[root@dlm-lts01:~]# gcloud compute instances attach-disk vlgspccmkt-data01 --disk=vlgspccmkt --zone=europe-west5-c

Login to server lsblk check whether data disk attached


***********

2. Copy fstab entry of /opt/sap/scc this mount from backup path and make entry in fstab inside the server
************
c5340447@dlm-lts01:/sapmnt/dlm/services/servermgmnt/linux/osbackups/vlgspccmkt.wdf.sap.corp/etc> cat fstab
LABEL=ROOT / xfs defaults 1 1
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
/dev/vg01/data /opt/sap/scc xfs defaults 0 0
*******************
3. mount -a

BDE Page 150


Tuesday, April 5, 2022 6:12 PM

DT
E2e - tech team
Sp -

Putty not possible


Console is possible
Then login
Rcssd
Gcp see its running r wt
If its stop then
If its running
Take console
Login
Rcsshd status
Rcsshd status - if hung restart

If console also not login


Nagios aerach server

New Section 6 Page 151


Monday, April 11, 2022 12:23 PM

rcsssd restart
rcsshd restart

Login issue Page 152


https://support.wdf.sap.corp/sap/support/message/22800933
02
Friday, June 3, 2022 1:20 PM

Check whether root mount is full


See which mount is consuming more space -> find / -mount -xdev -size +100000000c -exec ls -
lh {} \;
If messages is consuming and its related to sidadm update and move back

Check /etc/resolv.conf file whether all entries are present


hostname -f -> to check which domain it belongs to

Login issue Page 153


Solari server
Tuesday, July 5, 2022 8:56 AM

Ref: https://support.wdf.sap.corp/sap/support/message/2280123471

Login to global server , fs4347


zlogin server_name
If its hung ask for reboot

To reboot
Login to global server , fs4347
zoneadm list -cv - this command will list all the zones that are installed on the server
confirm that the zone u are trying to reboot is the part of this host
zoneadm -z <zone_name> reboot
in this case zone_name was usciu8r

Login to the host from global server fs4347 is also not working , we need to reboot usciu8r .
Kindly check and let us know whether we can go with immediate reboot else please provide us 30 minutes
of DT for the same.

Login issue Page 154


ssh
Thursday, July 21, 2022 2:02 PM

https://support.wdf.sap.corp/sap/support/message/2280140469

https://support.wdf.sap.corp/sap/support/message/2270066006 - trans@ld3201 to tfc@ldcis7i

/etc/ssh/sshd_config , /etc/ldap.conf, sssd.conf .....files were missing

copied from other same os version server

and finally ran self-healing …

https://support.wdf.sap.corp/sap/support/message/2280171387

Login issue Page 155


Tuesday, September 13, 2022 3:06 PM

Hello Colleagues,

When checked login is not working at OS level and console is in hung state too. So we are unable to troubleshoot.

Kindly stop APP/DB and provide 30min DT to proceed reboot.

Regards,
Deepa M
DLM SM Team

Login issue Page 156


Thursday, September 22, 2022 12:19 PM

vlgdbqe6:~ # cd /etc/pam.d - check all colored files

vlgdbqe6:~ # cat /etc/sssd/sssd.conf

Login issue Page 157


Wednesday, October 12, 2022 2:42 PM

https://support.wdf.sap.corp/sap/support/message/2270149520

Login issue Page 158


Jumhost access
Friday, November 4, 2022 3:29 PM

https://support.wdf.sap.corp/sap/support/message/2270174576

Login issue Page 159


VNC stands for Virtual Network Computing. It is a cross-platform screen
sharing system that was created to remotely control another computer.
Tuesday, April 12, 2022 11:41 AM

vlgciy1q:~ # zypper in vnc*


Loading repository data...
Reading installed packages...
'vncmanager-greeter' providing 'vnc*' is already installed.
No update candidate for 'vncmanager-greeter-1.0.0-1.5.x86_64'. The highest available version is already installed.
Resolving package dependencies...

The following 5 NEW packages are going to be installed:


vncmanager vncmanager-controller vncmanager-controller-gnome xinetd xorg-x11-Xvnc

The following recommended package was automatically selected:


vncmanager-controller

5 new packages to install.


Overall download size: 1.7 MiB. Already cached: 0 B. After the operation, additional 4.5 MiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package xinetd-2.3.15-8.8.1.x86_64 (1/5), 126.6 KiB (286.4 KiB unpacked)
Retrieving: xinetd-2.3.15-8.8.1.x86_64.rpm .......................................................................................................................[done]
Retrieving package xorg-x11-Xvnc-1.6.0-22.20.3.x86_64 (2/5), 1.4 MiB ( 3.8 MiB unpacked)
Retrieving: xorg-x11-Xvnc-1.6.0-22.20.3.x86_64.rpm ...............................................................................................................[done]
Retrieving package vncmanager-1.0.0-5.3.6.x86_64 (3/5), 100.7 KiB (322.5 KiB unpacked)
Retrieving: vncmanager-1.0.0-5.3.6.x86_64.rpm ....................................................................................................................[done]
Retrieving package vncmanager-controller-1.0.0-5.3.37.x86_64 (4/5), 25.9 KiB ( 71.7 KiB unpacked)
Retrieving: vncmanager-controller-1.0.0-5.3.37.x86_64.rpm ........................................................................................................[done]
Retrieving package vncmanager-controller-gnome-1.0.0-5.3.37.x86_64 (5/5), 5.1 KiB ( 2.3 KiB unpacked)
Retrieving: vncmanager-controller-gnome-1.0.0-5.3.37.x86_64.rpm ..................................................................................................[done]

Checking for file conflicts: .....................................................................................................................................[done]


(1/5) Installing: xinetd-2.3.15-8.8.1.x86_64 .....................................................................................................................[done]
Additional rpm output:
Updating /etc/sysconfig/xinetd...

(2/5) Installing: xorg-x11-Xvnc-1.6.0-22.20.3.x86_64 .............................................................................................................[done]


(3/5) Installing: vncmanager-1.0.0-5.3.6.x86_64 ..................................................................................................................[done]
(4/5) Installing: vncmanager-controller-1.0.0-5.3.37.x86_64 ......................................................................................................[done]
(5/5) Installing: vncmanager-controller-gnome-1.0.0-5.3.37.x86_64 ................................................................................................[done]
vlgciy1q:~ # rpm -qa | grep -i vnc*
libsvn_auth_gnome_keyring-1-0-1.10.6-3.3.1.x86_64
vncmanager-greeter-1.0.0-1.5.x86_64
vncmanager-controller-1.0.0-5.3.37.x86_64
tigervnc-1.6.0-22.20.3.x86_64
vncmanager-controller-gnome-1.0.0-5.3.37.x86_64
xorg-x11-Xvnc-1.6.0-22.20.3.x86_64
libXvnc1-1.6.0-22.20.3.x86_64
vncmanager-1.0.0-5.3.6.x86_64
git-svn-2.26.2-27.49.3.x86_64
vlgciy1q:~ # vnc -> tab
vncconfig vncmanager vncmanager-greeter vncpasswd.arg vncviewer
vnc_inetd_httpd vncmanager-controller vncpasswd vncserver vncviewer-tigervnc

vnc package Page 160


Friday, May 27, 2022 2:00 PM

Zypper in *ftp

vnc package Page 161


https://support.wdf.sap.corp/sap/support/message/22701205
24
Tuesday, April 12, 2022 7:15 PM

rcuuidd status

if status shows uuidd not present

then install it

zypper in uuidd

else
rcuuidd restart

uuidd realated Page 162


Thursday, April 14, 2022 10:53 AM

C drive
vwgsap2841.wdf.sap.corp - blank page can't see anything except settings text

vwgsapaec.wdf.sap.corp - disk clean-up is not present

D drive
vwcspcdd02.wdf.sap.corp -
vwcspe6af9.wdf.sap.corp - error

Kindly work on Nagios alert assigned in below excels. And update the status in respective excels.

Bare metal and remote alert : last date to clear 18/04/22.


\\dlmexport\dlm_servermgmnt\ODC\L2-OS-Support\Projects\2022\Bare_metal_and_remote_23_APR_2022.xlsx

SM SEC OS Patching Linux - ci12h : Last date to clear 18/04/22.


\\dlmexport\dlm_servermgmnt\ODC\L2-OS-Support\Projects\2022\Nagios_Error_Linux_Patching_23_APR_2022.xlsx

FS_alert: Last date to clear 18/04/22.


\\dlmexport\dlm_servermgmnt\ODC\L2-OS-Support\Projects\2022\Nagios_FS_alert_Linux_Patching_23_APR_2022.xlsx

New Section 4 Page 163


Monday, April 18, 2022 2:13 PM

vwgciiad.wdf.s SM UNKNO E nrpe Failed to connect to Deepa 11Gb available


ap.corp filesystem_C - WN server: Connection refused M
ci120min
vwgciiap.wdf.s SM OK OK: c: has 8 GB free of 130 GB Deepa 13Gb available
ap.corp filesystem_C - Total and 122 GB used, M
ci120min Percentage 93 %
vwgcipom.wdf SM UNKNO E nrpe Failed to connect to Deepa 27Gb available
.sap.corp filesystem_C - WN server: Connection refused M
ci120min
vwgdbe2x.wdf SM OK OK: c: has 3.5 GB free of 80 GB Deepa 11Gb available
.sap.corp filesystem_C - Total and 76.5 GB used, M
ci120min Percentage 95 %
vwgdbiap.wdf. SM CRITICAL CRITICAL: c: disk-usage is 99% Deepa 27Gb available
sap.corp filesystem_C - used, 0.3 GB free of 64 GB Total. M
ci120min
vwgdbpor.wdf SM OK OK: c: has 6.3 GB free of 80 GB Deepa 11Gb available
.sap.corp filesystem_C - Total and 73.7 GB used, M
ci120min Percentage 92 %
vwgsap1581.w SM OK OK: c: has 6.5 GB free of 47 GB Deepa 10Gb available
df.sap.corp filesystem_C - Total and 40.5 GB used, M
ci120min Percentage 86 %
vwgsap1584.w SM OK OK: c: has 7.3 GB free of 50 GB Deepa 12Gb available
df.sap.corp filesystem_C - Total and 42.7 GB used, M
ci120min Percentage 85 %
vwgsap2841.w SM OK OK: c: has 7.4 GB free of 100 GB Deepa 11Gb available
df.sap.corp filesystem_C - Total and 92.6 GB used, M
ci120min Percentage 92 %
vwgsapaa1.wd SM UNKNO E nrpe Failed to read data: Deepa 30Gb available
f.sap.corp filesystem_C - WN Operation canceled M
ci120min
vwgsapaec.wd SM OK OK: c: has 2.5 GB free of 39.1 GB Deepa Page file
f.sap.corp filesystem_C - Total and 36.6 GB used, M configure on C
ci120min Percentage 93 % drive

oatching work Page 164


Tuesday, April 19, 2022 8:54 PM

vlgdbnlv.w DLM E2E Google 15 NLV WARNIN Deepa boot disk and
df.sap.cor Services (GCP) G M data disk are
p wrongly
attached
vlgdbqoi.w DLM E2E Google 15 QOI WARNIN Deepa boot disk and
df.sap.cor Services (GCP) G M data disk are
p wrongly
attached
vlgdbrt5.w DLM E2E Google 15 RT5 WARNIN Deepa BCP BCP: 22700
df.sap.cor Services (GCP) G M created 73539
p

ld9358.wd ERROR: cpufreq scaling_governor is Deepa Hardwar created


f.sap.corp ondemand ERROR: storcli is not up to e issue BCP:
date! Please install 2270073574
storcli-007.1211.0000.0000-1.noarch

vlgsp646fe.wdf.sap Server Google Not Listed in 15.1 0 Deepa M


.corp Provisioning DLM (GCP) Nagios
vlgsp651b6.wdf.sa Server Google Not Listed in 15.2 0 Deepa M no
p.corp Provisioning DLM (GCP) Nagios errors
vlgsp6a54e.wdf.sa Server Google WARNING 12.4 0 Deepa M no
p.corp Provisioning DLM (GCP) errors
vlgsp6287b.wdf.sa Server Google Not Listed in 15.1 0 Deepa M Cleared
p.corp Provisioning DLM (GCP) Nagios
vlgsp644fe.wdf.sap Server Google Not Listed in 15.2 0 Deepa M cleared
.corp Provisioning DLM (GCP) Nagios
vlgsp64d7d.wdf.sa Server Google Not Listed in 15.1 0 Deepa M Cleared
p.corp Provisioning DLM (GCP) Nagios
vlgsp64e05.wdf.sa Server Google Not Listed in 12.5 0 Deepa M Cleared
p.corp Provisioning DLM (GCP) Nagios
vlgsp64ef2.wdf.sap Server Google Not Listed in 12.5 0 Deepa M cleared
.corp Provisioning DLM (GCP) Nagios
vlgsp6524b.wdf.sa Server Google Not Listed in 15.1 0 Deepa M cleared
p.corp Provisioning DLM (GCP) Nagios
vlgspa1aa7.wdf.sa Server Google WARNING 15.2 0 Deepa M Cleared
p.corp Provisioning DLM (GCP)
vlgspbd85d.wdf.sa Server Google Not Listed in 12.5 0 Deepa M Cleared
p.corp Provisioning DLM (GCP) Nagios

vlgsp6287 Server not Google Not 15.1 0 Deepa M Cleared ran the
b.wdf.sap Provisioni monitored (GCP) found in / Manoj /home/nagi

oatching work Page 165


b.wdf.sap Provisioni monitored (GCP) found in / Manoj /home/nagi
.corp ng DLM by Server nagios Gowda K os/patch/no
Mgmt. nreboot_pat
ch.py
vlgsp644f Server not Google Not 15.2 0 Deepa M Cleared ran the
e.wdf.sap. Provisioni monitored (GCP) found in / Manoj /home/nagi
corp ng DLM by Server nagios Gowda K os/patch/no
Mgmt. nreboot_pat
ch.py
vlgsp646f Server Google Not 15.1 0 Deepa M
e.wdf.sap. Provisioni (GCP) found in
corp ng DLM nagios
vlgsp64d7 Server Google Not 15.1 0 Deepa M Cleared ran the
d.wdf.sap Provisioni (GCP) found in / Manoj /home/nagi
.corp ng DLM nagios Gowda K os/patch/no
nreboot_pat
ch.py
vlgsp64e0 Server Google Not 12.5 0 Deepa M Cleared ran the
5.wdf.sap. Provisioni (GCP) found in / Manoj /home/nagi
corp ng DLM nagios Gowda K os/patch/no
nreboot_pat
ch.py
vlgsp64ef Server Google Not 12.5 0 Deepa M Cleared ran the
2.wdf.sap. Provisioni (GCP) found in / Manoj /home/nagi
corp ng DLM nagios Gowda K os/patch/no
nreboot_pat
ch.py
vlgsp651b Server Google Not 15.2 0 Deepa M cleared
6.wdf.sap. Provisioni (GCP) found in
corp ng DLM nagios
vlgsp6524 Server not Google Not 15.1 0 Deepa M Cleared
b.wdf.sap Provisioni monitored (GCP) found in / Manoj
.corp ng DLM by Server nagios Gowda K
Mgmt.
vlgsp6a54 Server Google WARNIN 12.4 0 Deepa M cleared
e.wdf.sap. Provisioni (GCP) G
corp ng DLM
vlgspa1aa Server Google WARNIN 15.2 0 Deepa M Cleared ran the
7.wdf.sap. Provisioni (GCP) G / Manoj /home/nagi
corp ng DLM Gowda K os/patch/no
nreboot_pat
ch.py
vlgspbd85 Server Google Not 12.5 0 Deepa M Cleared ran the
d.wdf.sap Provisioni (GCP) found in / Manoj /home/nagi
.corp ng DLM nagios Gowda K os/patch/no
nreboot_pat
ch.py

oatching work Page 166


Thursday, April 21, 2022 10:28 AM

vwgspapjst Server Google UNKNO 2012 R2 0 Deepa Reboot perl script


m1db.devsy Provisionin (GCP) WN Required not able
s.net.sap g DLM start
vwgspapjst Server Google UNKNO 2012 R2 0 Deepa Reboot perl script
m2db.devsy Provisionin (GCP) WN Required not able
s.net.sap g DLM start
vwgspapjst Server Google UNKNO 2012 R2 0 Deepa Reboot perl script
m3db.devsy Provisionin (GCP) WN Required not able
s.net.sap g DLM start
vwgsplxapp Server Google UNKNO 2012 R2 0 Deepa Reboot perl script
1.wdf.sap.co Provisionin (GCP) WN Required not able
rp g DLM start
vwgsplxtest. Server Google UNKNO 2016 0 Deepa Reboot perl script
devsys.net.s Provisionin (GCP) WN Required not able
ap g DLM start
pwdf7084.w DLM E2E Lenovo RCSSH 2016 PZ1 Deepa Cleared
df.sap.corp Services Error
pwdf7035.d DLM E2E Lenovo RCSSH 2012 R2 PDT Deepa Reboot perl script
mzwdf.sap.c Services Error Required not able
orp start
sgsinvm100 Server VMware RCSSH 2012 0 Deepa Cleared
1b.sin.sap.c Provisionin VMM Error
orp g DLM

oatching work Page 167


Thursday, April 21, 2022 7:22 PM

sgsinvm1080.sin.sap.cor win2012 copied Manual Patching Deepa Pending for


p R2 completed Reboot

sgsinvm1091b.sin.sap.c win2012 copied Manual Patching Deepa Pending for


orp R2 completed Reboot

sgsinvm1092b.sin.sap.c win2012 copied Manual Patching Deepa Pending for


orp R2 completed Reboot

sgsinvm1107b.sin.sap.c win2012 copied Manual Patching Deepa Pending for


orp R2 completed Reboot

oatching work Page 168


Monday, April 25, 2022 3:14 PM

#Stop service
systemctl stop firewalld

#Disable service
systemctl disable firewalld

Firewall Page 169


https://support.wdf.sap.corp/sap/support/message/2270080694
Wednesday, April 27, 2022 12:40 PM

cd /sapmnt/dlm/services/servermgmnt/linux/osbackups/
cd vlgdbc54.wdf.sap.corp/
ls
cp vlgdbc54.tar /tmp/
cp: overwrite '/tmp/vlgdbc54.tar'? ^C -> if we get this error cnrl+c then give file name as below

cp vlgdbc54.tar /tmp/bak_vlgdbc54.tar
cd /tmp
ls
tar -xvf vlgdbc54.tar - unzip
cat etc/passwd | grep -i sapc6e - copy the user o/p
vi /etc/passwd - paste that copied user
pwconv - after making changes in passwd file we should run this cmd to refresh the passwd file
cat /etc/passwd | grep -i sapc6e

user not found Page 170


Friday, April 29, 2022 12:00 PM

To: DL DLM Services SM COE


Cc: DL DLM Services SM ODC (External) <[email protected]>

Hello COE Colleagues,

We are unable to extend data disk of Ccloud server via vmcontrol.

While extending we are getting bellow error.

Proceeding with disk resize, please wait....


Resizing failed. Manual investigation neccessary.
Output of volume set command was:

Kindly check and assist.


ref BCP : https://support.wdf.sap.corp/sap/support/message/2270083407 , server name : vlcdbqr9

mail format for coe Page 171


https://support.wdf.sap.corp/sap/support/message/22700810
30
Friday, April 29, 2022 1:09 PM

Login
Go to folders one by one and check whether its accessible if yes then
Switch to the user in ticket and again try to access folder

vlgcip9c:~ # cd /usr/sap
vlgcip9c:/usr/sap # cd P9C
vlgcip9c:/usr/sap/P9C # cd SYS
vlgcip9c:/usr/sap/P9C/SYS # cd exe
vlgcip9c:/usr/sap/P9C/SYS/exe # cd run
vlgcip9c:/usr/sap/P9C/SYS/exe/run # cd saposcol
-bash: cd: saposcol: Not a directory
vlgcip9c:/usr/sap/P9C/SYS/exe/run # ls

vlgcip9c:/usr/sap/P9C/home # su - p9cadm
ldcip9c:p9cadm 53> cd /usr/sap/P9C/SYS/exe/run
ldcip9c:p9cadm 54> ls

no such file or directory error Page 172


Samba share
Friday, April 29, 2022 5:21 PM

vi /etc/samba/smb.conf
965 2022-04-29 12:24:34 cat /etc/samba/smb.conf
966 2022-04-29 12:25:09 vi /etc/samba/smb.conf
967 2022-04-29 12:25:25 rcsmb restart
968 2022-04-29 12:25:30 rcnmb restart
969 2022-04-29 12:25:34 cat /etc/nsswitch.conf
970 2022-04-29 12:28:25 vi /etc/nsswitch.conf
971 2022-04-29 12:28:50 rcwinbind restart
972 2022-04-29 12:28:55 rcsmb restart
973 2022-04-29 12:28:59 rcnmb restart
974 2022-04-29 12:33:02 rcsmb status
975 2022-04-29 12:33:17 cat /etc/nsswitch.conf
976 2022-04-29 12:33:32 chattr +i /etc/nsswitch.conf
977 2022-04-29 12:33:45 chattr +i /etc/samba/smb.conf
978 2022-04-29 12:33:49 rcsmb restart
979 2022-04-29 12:33:54 rcnmb restart
980 2022-04-29 12:34:00 rcwinbind restart

samba issue -2 Page 173


https://support.wdf.sap.corp/sap/support/message/22700864
20
Tuesday, May 3, 2022 2:55 PM

Check whether path is accessible 1st then proceed further

2022-05-03 11:03:50 rcsmb status -> if u get error like win bind is not working, then restart rcwinbind
1001 2022-05-03 11:06:22 rcwinbind restart
1002 2022-05-03 11:06:29 rcwinbind status
1003 2022-05-03 11:07:00 rcsmb restart
1004 2022-05-03 11:07:30 cat /etc/samba/smb.conf -> check that person id is present is write list, if
not then add uid
1005 2022-05-03 11:09:05 vi /etc/samba/smb.conf -> (if u are unable to edit the file fallow below
steps)
1007 2022-05-03 11:10:01 lsattr /etc/samba/smb.conf -> to check whether insert mode is active r wt
1008 2022-05-03 11:10:28 chattr -i /etc/samba/smb.conf -> to enable insert
1009 2022-05-03 11:10:30 lsattr /etc/samba/smb.conf
1010 2022-05-03 11:10:36 vi /etc/samba/smb.conf
1011 2022-05-03 11:12:07 chattr +i /etc/samba/smb.conf -> after making changes in file disable insert
mode

Restart below services


1012 2022-05-03 11:12:18 rcsmb restart
1013 2022-05-03 11:12:24 rcnmb restart
1014 2022-05-03 11:12:59 rcwinbind restart
1015 2022-05-03 11:13:52 rcnmb status
1016 2022-05-03 11:14:03 rcsmb status

To check whether its accessible run -> \\servername\that path alias ( \\vlgciq2d\vmc )

samba issue -2 Page 174


Tuesday, May 3, 2022 3:10 PM

vlgciq2d:~ # rcsmb status


● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2022-05-03 10:15:03 CEST; 48min ago
Process: 13396 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=
0/SUCCESS)
Main PID: 13397 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 3
CGroup: /system.slice/smb.service
├─13397 /usr/sbin/smbd --foreground --no-process-group
├─13399 /usr/sbin/smbd --foreground --no-process-group
└─13400 /usr/sbin/smbd --foreground --no-process-group

May 03 11:01:10 vlgciq2d smbd[29914]: [2022/05/03 11:01:10.044601,


0] ../../source3/auth/auth_generic.c:127(auth3_generate_session_info_pac)
May 03 11:01:10 vlgciq2d smbd[29914]: auth3_generate_session_info_pac: winbindd not running - but
required as domain member: NT_STATUS_NO_LOGON_SERVERS
May 03 11:01:10 vlgciq2d smbd[29915]: [2022/05/03 11:01:10.511787,
0] ../../source3/auth/auth_generic.c:127(auth3_generate_session_info_pac)
May 03 11:01:10 vlgciq2d smbd[29915]: auth3_generate_session_info_pac: winbindd not running - but
required as domain member: NT_STATUS_NO_LOGON_SERVERS
May 03 11:01:10 vlgciq2d smbd[29916]: [2022/05/03 11:01:10.995866,
0] ../../source3/auth/auth_generic.c:127(auth3_generate_session_info_pac)
May 03 11:01:10 vlgciq2d smbd[29916]: auth3_generate_session_info_pac: winbindd not running - but
required as domain member: NT_STATUS_NO_LOGON_SERVERS
May 03 11:01:11 vlgciq2d smbd[29917]: [2022/05/03 11:01:11.943542,
0] ../../source3/auth/auth_generic.c:127(auth3_generate_session_info_pac)
May 03 11:01:11 vlgciq2d smbd[29917]: auth3_generate_session_info_pac: winbindd not running - but
required as domain member: NT_STATUS_NO_LOGON_SERVERS
May 03 11:01:12 vlgciq2d smbd[29918]: [2022/05/03 11:01:12.173529,
0] ../../source3/auth/auth_generic.c:127(auth3_generate_session_info_pac)
May 03 11:01:12 vlgciq2d smbd[29918]: auth3_generate_session_info_pac: winbindd not running - but
required as domain member: NT_STATUS_NO_LOGON_SERVERS
vlgciq2d:~ # rcwinbind status
● winbind.service - Samba Winbind Daemon
Loaded: loaded (/usr/lib/systemd/system/winbind.service; disabled; vendor preset: disabled)
Active: inactive (dead)
vlgciq2d:~ # rcwinbind restart
vlgciq2d:~ # rcwinbind status
● winbind.service - Samba Winbind Daemon
Loaded: loaded (/usr/lib/systemd/system/winbind.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2022-05-03 11:06:23 CEST; 5s ago
Main PID: 4913 (winbindd)
Status: "winbindd: ready to serve connections..."
Tasks: 3
CGroup: /system.slice/winbind.service
├─4913 /usr/sbin/winbindd --foreground --no-process-group

samba issue -2 Page 175


├─4913 /usr/sbin/winbindd --foreground --no-process-group
├─4916 /usr/sbin/winbindd --foreground --no-process-group
└─4917 /usr/sbin/winbindd --foreground --no-process-group

May 03 11:06:22 vlgciq2d systemd[1]: Starting Samba Winbind Daemon...


May 03 11:06:23 vlgciq2d winbindd[4913]: [2022/05/03 11:06:23.315784,
0] ../../lib/util/become_daemon.c:136(daemon_ready)
May 03 11:06:23 vlgciq2d winbindd[4913]: daemon_ready: daemon 'winbindd' finished starting up and
ready to serve connections
May 03 11:06:23 vlgciq2d systemd[1]: Started Samba Winbind Daemon.
vlgciq2d:~ # rcsmb restart
vlgciq2d:~ # cat /etc/samba/smb.conf
[global]
[global]
veto files = /sec/*secude*/*.pse*/
workgroup = GLOBAL
realm = GLOBAL.CORP.SAP
kerberos method = secrets and keytab
security = ADS
encrypt passwords = yes
local master = no
domain master = no
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config GLOBAL:backend = rid
idmap config GLOBAL:schema_mode = rfc2307
idmap config GLOBAL:range = 10000-9999999
idmap config GLOBAL:unix_nss_info = yes
client signing = auto
server signing = auto
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind refresh tickets = yes
winbind offline logon = yes
winbind cache time = 15
template shell = /bin/bash
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
map to guest = bad user
guest account = nobody
password server = ds2wdf0302.global.corp.sap, ds2wdf0300.global.corp.sap,
ds2wdf0301.global.corp.sap
follow symlinks = yes
unix extensions = no
wide links = yes
client min protocol = SMB2_02
server min protocol = SMB2_02
netbios name = vlgciq2d

samba issue -2 Page 176


netbios name = vlgciq2d
log level = 5
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

[vmc]
comment = VMC
path = /usr/sap/Q2D/SYS/global/VMC
writable = yes
public = yes
guest ok = yes
browsable = yes
create mode = 0777
directory mode = 0777
map hidden = no
map system = no
wide links = yes
write list =
i069067,d069564,i040986,c5210092,d034517,d002630,d020583,d032043,i033441,i069067,i040986,i06

samba issue -2 Page 177


i069067,d069564,i040986,c5210092,d034517,d002630,d020583,d032043,i033441,i069067,i040986,i06
9067,i033441,d020583,d002630,d034517,c5241069,q2dadm
strict locking = no
directory mask = 0775
follow symlinks = yes
vlgciq2d:~ # vi /etc/samba/smb.conf
vlgciq2d:~ # lsattr
------------------- ./bin
lsattr: Operation not supported While reading flags on ./sapmnt.gclm0106.a
------------------- ./swapfile
------------------- ./zabbix.4.lts
------------------- ./dlmbackup
------------------- ./backup_configfiles.txt
------------------- ./installbackup
------------------- ./sent
vlgciq2d:~ # lsattr /etc/samba/smb.conf
----i-------------- /etc/samba/smb.conf
vlgciq2d:~ # chattr -i /etc/samba/smb.conf
vlgciq2d:~ # lsattr /etc/samba/smb.conf
------------------- /etc/samba/smb.conf
vlgciq2d:~ # vi /etc/samba/smb.conf
vlgciq2d:~ # chattr +i /etc/samba/smb.conf
vlgciq2d:~ # rcsmb restart
vlgciq2d:~ # rcnmb restart
vlgciq2d:~ # rcwinbind restart
vlgciq2d:~ # rcnmb status
● nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2022-05-03 11:12:24 CEST; 1min 28s ago
Main PID: 11432 (nmbd)
Status: "nmbd: ready to serve connections..."
Tasks: 1
CGroup: /system.slice/nmb.service
└─11432 /usr/sbin/nmbd --foreground --no-process-group

May 03 11:12:24 vlgciq2d systemd[1]: Starting Samba NMB Daemon...


May 03 11:12:24 vlgciq2d nmbd[11432]: [2022/05/03 11:12:24.317557,
0] ../../lib/util/become_daemon.c:136(daemon_ready)
May 03 11:12:24 vlgciq2d nmbd[11432]: daemon_ready: daemon 'nmbd' finished starting up and ready
to serve connections
May 03 11:12:24 vlgciq2d systemd[1]: Started Samba NMB Daemon.
vlgciq2d:~ # rcsmb status
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2022-05-03 11:12:18 CEST; 1min 44s ago
Process: 11417 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=
0/SUCCESS)
Main PID: 11418 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 3
CGroup: /system.slice/smb.service
├─11418 /usr/sbin/smbd --foreground --no-process-group
├─11420 /usr/sbin/smbd --foreground --no-process-group
└─11421 /usr/sbin/smbd --foreground --no-process-group

samba issue -2 Page 178


└─11421 /usr/sbin/smbd --foreground --no-process-group

May 03 11:12:18 vlgciq2d systemd[1]: Starting Samba SMB Daemon...


May 03 11:12:18 vlgciq2d smbd[11418]: [2022/05/03 11:12:18.948360,
0] ../../lib/util/become_daemon.c:136(daemon_ready)
May 03 11:12:18 vlgciq2d systemd[1]: Started Samba SMB Daemon.
May 03 11:12:18 vlgciq2d smbd[11418]: daemon_ready: daemon 'smbd' finished starting up and ready
to serve connections

samba issue -2 Page 179


Thursday, May 19, 2022 7:01 PM

When you are unable to access samba share,

compare nsswitch
install winbind pkg , if not installed
restart smb, nmb, winbind

:~ # cat /etc/nsswitch.conf
# DLM Standard January 2020
# Default Status=Action pairs
# [SUCCESS=return NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue]

hosts: files dns


passwd: files sss winbind
shadow: files sss
group: files sss winbind
services: files sss
protocols: files

bootparams: files
rpc: files
automount: files sss
aliases: files

ethers: files
netmasks: files
networks: files dns
netgroup: files
sudoers: files sss
:~ #

Regards,
Srinivasa Naik
External
On behalf of SAP SE
Server Management
DLM Services
Email: [email protected]
Tata Consultancy Services
Victor building, ITPL. Whitefield Road,
Bangalore 560 066, India

samba issue -2 Page 180


Thursday, May 19, 2022 7:02 PM

Hello Colleagues ,
Please compare the global file as well
# cat /etc/samba/smb.conf
[global]
[global]
veto files = /sec/*secude*/*.pse*/
workgroup = GLOBAL
realm = GLOBAL.CORP.SAP
kerberos method = secrets and keytab
security = ADS
encrypt passwords = yes
local master = no
domain master = no
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config GLOBAL:backend = rid
idmap config GLOBAL:schema_mode = rfc2307
idmap config GLOBAL:range = 10000-9999999
idmap config GLOBAL:unix_nss_info = yes
client signing = auto
server signing = auto
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind refresh tickets = yes
winbind offline logon = yes
winbind cache time = 15
template shell = /bin/bash
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
map to guest = bad user
guest account = nobody
password server = ds2wdf0302.global.corp.sap, ds2wdf0300.global.corp.sap,
ds2wdf0301.global.corp.sap
follow symlinks = yes
unix extensions = no
wide links = yes
client min protocol = SMB2_02
server min protocol = SMB2_02
netbios name = vlgciq2d
log level = 5

When you are unable to access samba share,

samba issue -2 Page 181


When you are unable to access samba share,
compare nsswitch
install winbind pkg , if not installed
restart smb, nmb, winbind
:~ # cat /etc/nsswitch.conf
# DLM Standard January 2020
# Default Status=Action pairs
# [SUCCESS=return NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue]
hosts: files dns
passwd: files sss winbind
shadow: files sss
group: files sss winbind
services: files sss
protocols: files
bootparams: files
rpc: files
automount: files sss
aliases: files
ethers: files
netmasks: files
networks: files dns
netgroup: files
sudoers: files sss
:~ #

samba issue -2 Page 182


Tuesday, July 5, 2022 6:36 AM

Hello Team,

If I-User’s or D-User’s unable to access the samba share but ODC Team able to access.

In this case check domain of server. If server is in devsys request the reporter to access samba share by
giving hostname with fdqn Suspecting desktop able to read hostname with fqdn because of restrictions.

Refer - https://support.wdf.sap.corp/sap/support/message/2270106520

The reporter able to access samba share by \\vlgcibdz.devsys.net.sap\dsim


But not \\vlgcibdz\dsim

samba issue -2 Page 183


Tuesday, September 13, 2022 6:44 PM

cat /etc/samba/smb.conf

path = /dsim
public = yes
writable = yes
browsable = yes
wide links = yes
directory mode = 0777
map hidden = no
map system = no
create mode = 0777
force group = root --- comment it
follow symlinks = yes
guest ok = yes

samba issue -2 Page 184


Wednesday, May 4, 2022 6:27 PM

1st check whether they mentioned like application stopped r wt., else ask reporter.
Once u get conformation that apps are stopped then only restart

server restart Page 185


Friday, May 6, 2022 1:12 PM

Hello Colleagues,

Kindly check and work on assigned ER ticket and update the below excel.

\\dlmexport\dlm_servermgmnt\ODC\L2-OS-Support\ER_Deact\2022\Aug\ER_25th_Aug_S2.xlsx

Kindly pick the Deact tickets voluntarily and work on it.

Regards,
Deepa M
External
On behalf of SAP SE
Server Management
DLM Services
T -: +91 9113005976
E -: [email protected]
Tata Consultancy Services
Victor Building, ITPL
Whitefield, Bangalore 560066
India

DL DLM Services SM ODC (External) <[email protected]>

SPOC related Page 186


Friday, May 6, 2022 2:54 PM

Shift Summary | 11th_ Jun_S1

Hello Prabakaran,

11 Jun 1 -

O
No

2 New

Regards,
Deepa M
External
On behalf of SAP SE
Server Management
DLM Services
T -: +91 9113005976
E -: [email protected]
Tata Consultancy Services
Victor Building, ITPL
Whitefield, Bangalore 560066
India

[email protected]

SPOC related Page 187


Friday, October 14, 2022 8:14 AM

https://support.wdf.sap.corp/sap/support/message/2270151846 - gcp error issue

https://support.wdf.sap.corp/sap/support/message/2270151848 - for tech to start app after reboot

SPOC related Page 188


https://support.wdf.sap.corp/sap/support/message/22800924
08
Tuesday, May 10, 2022 5:47 PM

39 2022-06-15 06:54:18 mount -a


40 2022-06-15 06:55:03 cd /usr/sap/trans4
41 2022-06-15 06:55:06 cd /usr/sap/trans4
42 2022-06-15 07:57:47 cd /usr/sap/trans4/tools/
43 2022-06-15 07:57:54 rcautofs status
44 2022-06-15 07:58:00 crontab -l
45 2022-06-15 07:58:05 /sapmnt/unixadmin/bin/sapui.pl
46 2022-06-15 07:58:48 vi /var/adm/local/version.mam
47 2022-06-15 07:58:58 /sapmnt/unixadmin/bin/sapui.pl
48 2022-06-15 07:59:26 cd /usr/sap/trans4/tools/
49 2022-06-15 07:59:28 ls
50 2022-06-15 07:59:36 ll | wc -l
vlgciqn7:~ #

https://support.wdf.sap.corp/sap/support/message/2280111699

auto fs Page 189


Wednesday, May 11, 2022 3:21 PM

https://support.wdf.sap.corp/sap/support/message/2270107933

rpm -qa gdb

zypper ref

zypper in gdb*

rpm -qa gdb

install gdb Page 190


Wednesday, May 11, 2022 6:23 PM

vlgcid1t:/usr/sap/D1T/SYS # ll
total 0
drwxr-xr-x 3 d1tadm sapsys 85 Aug 16 2013 exe
drwxr-xr-x 3 d1tadm sapsys 16 Aug 11 2013 gen
lrwxrwxrwx 1 d1tadm sapsys 18 Aug 11 2013 global -> /sapmnt/D1T/global
lrwxrwxrwx 1 d1tadm sapsys 19 Aug 11 2013 profile -> /sapmnt/D1T/profile
drwxr-xr-x 2 d1tadm sapsys 6 Aug 11 2013 src
vlgcid1t:/usr/sap/D1T/SYS #

vlgcid1t:~ # !su
su - d1tadm
Loading PSS DEV customer environment ...
Loading additional alias definitions ...
ldcid1t:d1tadm 53> pwd
/usr/sap/D1T/home
ldcid1t:d1tadm 54>

New Section 5 Page 191


Will ask for mount missing :Check os backup fstab entry if u not get the
fallow this steps
Tuesday, May 17, 2022 6:29 PM

Login to server
vlgsp5bb0f:~ # cd /sapmnt/dlm/services/servermgmnt/linux/osbackups/
vlgsp5bb0f:/sapmnt/dlm/services/servermgmnt/linux/osbackups # cat /etc/fstab
LABEL=ROOT / xfs defaults 0 1
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0

if entry not present

Switch to root: sudo -I


[root@dlm-lts01:~]# gcloud compute disks list | grep -i vlgsp5bb0f -> to check all the disks present
vlgsp5bb0f europe-west5-c zone 20 pd-standard READY
vlgsp5bb0f-20220509213647 europe-west5-c zone 20 pd-standard READY
vlgsp5bb0f-data01 europe-west5-c zone 200 pd-standard READY

[root@dlm-lts01:~]# gcloud compute instances describe vlgsp5bb0f -> to check details of that old boot disk

[root@dlm-lts01:~]# gcloud compute instances describe vlgsp5bb0f | grep -i disk -> to check which disk is currently in use in that server
No zone specified. Using zone [europe-west5-c] for instance: [vlgsp5bb0f].
disks:
deviceName: persistent-disk-0
diskSizeGb: '20'
kind: compute#attachedDisk
source: https://www.googleapis.com/compute/v1/projects/sap-development/zones/europe-west5-c/disks/vlgsp5bb0f-20220509213647
deviceName: persistent-disk-1
diskSizeGb: '200'
kind: compute#attachedDisk
source: https://www.googleapis.com/compute/v1/projects/sap-development/zones/europe-west5-c/disks/vlgsp5bb0f-data01
Disk size: 200' > /home/deployment_summary.txt

[root@dlm-lts01:~]# gcloud compute instances attach-disk vlgsp5bb0f --disk=vlgsp5bb0f --zone=europe-west5-c -> to attach
Updated [https://www.googleapis.com/compute/v1/projects/sap-development/zones/europe-west5-c/instances/vlgsp5bb0f].

Come out of the root

Take another putty


login to server
Lsblk -> to check that disk attached r wt

vlgsp5bb0f:~ # mount /dev/sdc /mnt -> mount that disk, if u get below error choose another sub disk
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdc, missing codepage or helper program, or other error.

vlgsp5bb0f:~ # mount /dev/sdc1 /mnt

vlgsp5bb0f:~ # cd /mnt

vlgsp5bb0f:/mnt # ls

vlgsp5bb0f:/mnt # cd etc

vlgsp5bb0f:/mnt/etc # ls

vlgsp5bb0f:/mnt/etc # cat fstab -> copy that entries

In another putty
Login

mount missing-attaching old boot disk Page 192


Login
Paste that entries
Then create directory
Mount
vlgsp5bb0f:~ # mkdir -p work
vlgsp5bb0f:~ # mount -a
mount: /var/lib/docker: mount point does not exist.
vlgsp5bb0f:~ # mkdir -p /var/lib/docker
vlgsp5bb0f:~ # mount -a
vlgsp5bb0f:~ # df -h -> to check mounted r wt

Switch to root
[root@dlm-lts01:~]# gcloud compute instances detach-disk vlgsp5bb0f --disk=vlgsp5bb0f --zone=europe-west5-c -> to detach
Updated [https://www.googleapis.com/compute/v1/projects/sap-development/zones/europe-west5-c/instances/vlgsp5bb0f].

[root@dlm-lts01:~]# lsblk -> to check whether its detached r wt


NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 64G 0 disk
├─sda1 8:1 0 8M 0 part
├─sda2 8:2 0 4G 0 part [SWAP]
└─sda3 8:3 0 60G 0 part /

mount missing-attaching old boot disk Page 193


2270099492
Wednesday, May 18, 2022 9:49 PM

Hello Colleagues

Mail : RE: /sapmnt/unixadmin not accessible on mutilple host.

Snow :
https://itsm.services.sap/now/workspace/agent/record/sc_req_item/c651a9e61b1fc9d063bc11718b4b
cb45

Snow is Closed from there end.

+++

Pradeep Dhagay (C5324617)


2022-05-11 08:40:40External Info
Catalog Task processor commented:

issue fixed after granting requested permissions

+++

We are checking with CoE on mail, whether to open or close the Snow.

snow related Page 194


AIX
Tuesday, July 19, 2022 1:31 PM

https://support.wdf.sap.corp/sap/support/message/2280077281

snow related Page 195


Ccloud extension issue
Tuesday, July 19, 2022 8:34 PM

https://support.wdf.sap.corp/sap/support/message/2280137241

snow related Page 196


Nas - storage team
Tuesday, August 23, 2022 10:55 AM

https://itsm.services.sap/now/workspace/agent/record/sc_req_item/7b9ce697db9d59d471d144c3059
61996

snow related Page 197


DNS
Friday, September 30, 2022 5:39 PM

https://itsm.services.sap/now/workspace/agent/record/incident/2ed1d3301bd2559c0e4a1f8f8b4bcb07

snow related Page 198


Wednesday, May 25, 2022 4:14 PM

vlgai1dc8:~ # df -h
df: /sapmnt/DC8: Stale file handle
Filesystem Size Used Avail Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
devtmpfs 16G 8.0K 16G 1% /dev
securityfs 0 0 0 - /sys/kernel/security
tmpfs 16G 40K 16G 1% /dev/shm
devpts 0 0 0 - /dev/pts
tmpfs 16G 1.1G 15G 7% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
cgroup 0 0 0 - /sys/fs/cgroup/unified
cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore 0 0 0 - /sys/fs/pstore
efivarfs 0 0 0 - /sys/firmware/efi/efivars
none 0 0 0 - /sys/fs/bpf
cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup 0 0 0 - /sys/fs/cgroup/pids
cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup 0 0 0 - /sys/fs/cgroup/rdma
/dev/sda3 20G 12G 8.1G 60% /
mqueue 0 0 0 - /dev/mqueue
hugetlbfs 0 0 0 - /dev/hugepages
systemd-1 - - - - /proc/sys/fs/binfmt_misc
debugfs 0 0 0 - /sys/kernel/debug
nfsd 0 0 0 - /proc/fs/nfsd
/dev/sda2 20M 6.0M 15M 30% /boot/efi
/dev/sdb 20G 3.0G 18G 15% /data
/dev/sdb 20G 3.0G 18G 15% /usr/sap
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
tmpfs 3.2G 0 3.2G 0% /run/user/468
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
tracefs 0 0 0 - /sys/kernel/debug/tracing
tmpfs 3.2G 0 3.2G 0% /run/user/58037
tmpfs 3.2G 0 3.2G 0% /run/user/0
/etc/mount.map 0 0 0 - /net
vlgai1dc8:~ # cat /ec/fstab
cat: /ec/fstab: No such file or directory
vlgai1dc8:~ # cat /etc/fstab
LABEL=ROOT / xfs defaults 0 0
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0

New Section 7 Page 199


/root/swapfile swap swap defaults 0 0
/dev/sdb /data xfs defaults 1 2
/data/usr_sap /usr/sap none defaults,bind 0 0
ldcsdc8:/sapmnt/DC8 /sapmnt/DC8 nfs hard,intr,timeo=600,nolock,proto=tcp,rsize=32768,wsize=
32768 1 2
vlgai1dc8:~ # cd /usr/sap/DC8
vlgai1dc8:/usr/sap/DC8 # ll
total 8
drwxr-xr-x 8 dc8adm sapsys 74 Oct 18 2021 D00
drwxr-xr-x 12 dc8adm sapsys 4096 Oct 15 2021 hdbclient
drwxr-xr-x 4 dc8adm sapsys 4096 May 23 23:45 home
drwxr-xr-x 5 dc8adm sapsys 68 May 25 12:04 SYS
vlgai1dc8:/usr/sap/DC8 # cd home
vlgai1dc8:/usr/sap/DC8/home # ll
total 1296
-rw-r--r-- 1 dc8adm sapsys 61 May 25 11:46 1
drwx------ 3 dc8adm sapsys 20 Oct 25 2021 .config
-rw-rw-rw- 1 dc8adm sapsys 40 Jan 18 09:09 cpict4.trc
-rw-r----- 1 dc8adm sapsys 1906 Oct 18 2021 .cshrc
-rw-r--r-- 1 dc8adm sapsys 4176 Oct 18 2021 .customer.csh
-rw-r----- 1 dc8adm sapsys 4789 Oct 15 2021 .dbenv.csh
-rw-r----- 1 dc8adm sapsys 4895 Oct 15 2021 .dbenv.sh
-rw-r----- 1 dc8adm sapsys 4789 Oct 15 2021 .dbenv_vlgai1dc8.csh
-rw-r----- 1 dc8adm sapsys 4895 Oct 15 2021 .dbenv_vlgai1dc8.sh
-rw-r----- 1 dc8adm sapsys 235 Oct 15 2021 .dbsrc_vlgai1dc8.csh
-rw-r----- 1 dc8adm sapsys 327 Oct 15 2021 .dbsrc_vlgai1dc8.sh
-rw-r--r-- 1 dc8adm sapsys 3571 Jan 18 03:35 dev_dpmon
-rw-rw-rw- 1 dc8adm sapsys 1088007 May 23 20:18 dev_rfc.log
drwx------ 4 dc8adm sapsys 39 Oct 18 2021 .hdb
-rw------- 1 dc8adm sapsys 1681 May 24 23:40 .history
-rwxr-xr-x 1 dc8adm sapsys 14 Oct 18 2021 hostname
-rw-r--r-- 1 dc8adm sapsys 2307 Oct 18 2021 .login
-rw-r----- 1 dc8adm sapsys 1624 Oct 15 2021 .profile
-rw-r----- 1 dc8adm sapsys 10853 Oct 15 2021 .sapenv.csh
-rw-r----- 1 dc8adm sapsys 9759 Oct 15 2021 .sapenv.sh
-rw-r----- 1 dc8adm sapsys 10853 Oct 15 2021 .sapenv_vlgai1dc8.csh
-rw-r----- 1 dc8adm sapsys 9759 Oct 15 2021 .sapenv_vlgai1dc8.sh
-rw-r----- 1 dc8adm sapsys 1530 Oct 15 2021 .sapsrc.csh
-rw-r----- 1 dc8adm sapsys 1297 Oct 15 2021 .sapsrc.sh
-rw-r----- 1 dc8adm sapsys 1530 Oct 15 2021 .sapsrc_vlgai1dc8.csh
-rw-r----- 1 dc8adm sapsys 1297 Oct 15 2021 .sapsrc_vlgai1dc8.sh
-rw-rw-rw- 1 dc8adm sapsys 771 Dec 22 23:10 startsap_D00.log
-rw-rw-rw- 1 dc8adm sapsys 735 Dec 22 23:10 startsap_D00.log.1
-rw-rw-rw- 1 dc8adm sapsys 735 Dec 22 23:10 startsap_D00.log.2
-rw-rw-rw- 1 dc8adm sapsys 306 Dec 22 23:10 startsap_saphostagent.log
-rw-rw-rw- 1 dc8adm sapsys 24778 Dec 22 23:10 startsap.trc
-rw-rw-rw- 1 dc8adm sapsys 672 Dec 22 23:09 stopsap_D00.log
-rw-rw-rw- 1 dc8adm sapsys 636 Dec 22 23:09 stopsap_D00.log.1
-rw-rw-rw- 1 dc8adm sapsys 636 Dec 22 23:09 stopsap_D00.log.2
-rw-rw-rw- 1 dc8adm sapsys 5733 Jan 3 04:40 stopsap.trc
-rw-rw-rw- 1 dc8adm sapsys 5287 May 23 23:45 trans.log
-rw------- 1 dc8adm sapsys 940 Oct 18 2021 .viminfo
-rw-rw-rw- 1 dc8adm sapsys 503 Dec 22 23:12 wget-log
-rw-rw-rw- 1 dc8adm sapsys 532 Dec 22 23:12 wget-log.1

New Section 7 Page 200


-rw-rw-rw- 1 dc8adm sapsys 532 Dec 22 23:12 wget-log.1
vlgai1dc8:/usr/sap/DC8/home # cd SYS
-bash: cd: SYS: No such file or directory
vlgai1dc8:/usr/sap/DC8/home # cd ..
vlgai1dc8:/usr/sap/DC8 # cd SYS
vlgai1dc8:/usr/sap/DC8/SYS # ll
total 0
drwxr-xr-x 3 dc8adm sapsys 60 Oct 18 2021 exe
drwxr-xr-x 3 dc8adm sapsys 17 Oct 18 2021 gen
lrwxrwxrwx 1 root root 18 May 25 12:04 global -> /sapmnt/DC8/global
lrwxrwxrwx 1 root root 19 May 25 12:04 profile -> /sapmnt/DC8/profile
drwxr-xr-x 2 dc8adm sapsys 6 Oct 18 2021 src
vlgai1dc8:/usr/sap/DC8/SYS # mount -a
vlgai1dc8:/usr/sap/DC8/SYS # df -h
df: /sapmnt/DC8: Stale file handle
Filesystem Size Used Avail Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
devtmpfs 16G 8.0K 16G 1% /dev
securityfs 0 0 0 - /sys/kernel/security
tmpfs 16G 40K 16G 1% /dev/shm
devpts 0 0 0 - /dev/pts
tmpfs 16G 1.1G 15G 7% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
cgroup 0 0 0 - /sys/fs/cgroup/unified
cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore 0 0 0 - /sys/fs/pstore
efivarfs 0 0 0 - /sys/firmware/efi/efivars
none 0 0 0 - /sys/fs/bpf
cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup 0 0 0 - /sys/fs/cgroup/pids
cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup 0 0 0 - /sys/fs/cgroup/rdma
/dev/sda3 20G 12G 8.1G 60% /
mqueue 0 0 0 - /dev/mqueue
hugetlbfs 0 0 0 - /dev/hugepages
systemd-1 - - - - /proc/sys/fs/binfmt_misc
debugfs 0 0 0 - /sys/kernel/debug
nfsd 0 0 0 - /proc/fs/nfsd
/dev/sda2 20M 6.0M 15M 30% /boot/efi
/dev/sdb 20G 3.0G 18G 15% /data
/dev/sdb 20G 3.0G 18G 15% /usr/sap
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
tmpfs 3.2G 0 3.2G 0% /run/user/468
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
tracefs 0 0 0 - /sys/kernel/debug/tracing
tmpfs 3.2G 0 3.2G 0% /run/user/58037

New Section 7 Page 201


tmpfs 3.2G 0 3.2G 0% /run/user/58037
tmpfs 3.2G 0 3.2G 0% /run/user/0
/etc/mount.map 0 0 0 - /net
vlgai1dc8:/usr/sap/DC8/SYS # cat /stc/fstab
cat: /stc/fstab: No such file or directory
vlgai1dc8:/usr/sap/DC8/SYS # cat /etc/fstab
LABEL=ROOT / xfs defaults 0 0
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
/dev/sdb /data xfs defaults 1 2
/data/usr_sap /usr/sap none defaults,bind 0 0
ldcsdc8:/sapmnt/DC8 /sapmnt/DC8 nfs hard,intr,timeo=600,nolock,proto=tcp,rsize=32768,wsize=
32768 1 2
vlgai1dc8:/usr/sap/DC8/SYS # rcnfs restart
vlgai1dc8:/usr/sap/DC8/SYS # df -h
df: /sapmnt/DC8: Stale file handle
Filesystem Size Used Avail Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
devtmpfs 16G 8.0K 16G 1% /dev
securityfs 0 0 0 - /sys/kernel/security
tmpfs 16G 40K 16G 1% /dev/shm
devpts 0 0 0 - /dev/pts
tmpfs 16G 1.1G 15G 7% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
cgroup 0 0 0 - /sys/fs/cgroup/unified
cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore 0 0 0 - /sys/fs/pstore
efivarfs 0 0 0 - /sys/firmware/efi/efivars
none 0 0 0 - /sys/fs/bpf
cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup 0 0 0 - /sys/fs/cgroup/pids
cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup 0 0 0 - /sys/fs/cgroup/rdma
/dev/sda3 20G 12G 8.1G 60% /
mqueue 0 0 0 - /dev/mqueue
hugetlbfs 0 0 0 - /dev/hugepages
systemd-1 - - - - /proc/sys/fs/binfmt_misc
debugfs 0 0 0 - /sys/kernel/debug
nfsd 0 0 0 - /proc/fs/nfsd
/dev/sda2 20M 6.0M 15M 30% /boot/efi
/dev/sdb 20G 3.0G 18G 15% /data
/dev/sdb 20G 3.0G 18G 15% /usr/sap
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
tmpfs 3.2G 0 3.2G 0% /run/user/468
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
tracefs 0 0 0 - /sys/kernel/debug/tracing

New Section 7 Page 202


tracefs 0 0 0 - /sys/kernel/debug/tracing
tmpfs 3.2G 0 3.2G 0% /run/user/58037
tmpfs 3.2G 0 3.2G 0% /run/user/0
/etc/mount.map 0 0 0 - /net
vlgai1dc8:/usr/sap/DC8/SYS # mount /sapmnt/DC8
mount.nfs: Stale file handle
vlgai1dc8:/usr/sap/DC8/SYS # umount -l /sapmnt/DC8
vlgai1dc8:/usr/sap/DC8/SYS # mount /sapmnt/DC8
vlgai1dc8:/usr/sap/DC8/SYS # df -h
Filesystem Size Used Avail Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
devtmpfs 16G 8.0K 16G 1% /dev
securityfs 0 0 0 - /sys/kernel/security
tmpfs 16G 40K 16G 1% /dev/shm
devpts 0 0 0 - /dev/pts
tmpfs 16G 1.1G 15G 7% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
cgroup 0 0 0 - /sys/fs/cgroup/unified
cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore 0 0 0 - /sys/fs/pstore
efivarfs 0 0 0 - /sys/firmware/efi/efivars
none 0 0 0 - /sys/fs/bpf
cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup 0 0 0 - /sys/fs/cgroup/pids
cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup 0 0 0 - /sys/fs/cgroup/freezer
cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup 0 0 0 - /sys/fs/cgroup/rdma
/dev/sda3 20G 12G 8.1G 60% /
mqueue 0 0 0 - /dev/mqueue
hugetlbfs 0 0 0 - /dev/hugepages
systemd-1 - - - - /proc/sys/fs/binfmt_misc
debugfs 0 0 0 - /sys/kernel/debug
nfsd 0 0 0 - /proc/fs/nfsd
/dev/sda2 20M 6.0M 15M 30% /boot/efi
/dev/sdb 20G 3.0G 18G 15% /data
/dev/sdb 20G 3.0G 18G 15% /usr/sap
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
tmpfs 3.2G 0 3.2G 0% /run/user/468
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
tracefs 0 0 0 - /sys/kernel/debug/tracing
tmpfs 3.2G 0 3.2G 0% /run/user/58037
tmpfs 3.2G 0 3.2G 0% /run/user/0
/etc/mount.map 0 0 0 - /net
ldcsdc8:/sapmnt/DC8 40G 13G 28G 31% /sapmnt/DC8
vlgai1dc8:/usr/sap/DC8/SYS # ll
total 0
drwxr-xr-x 3 dc8adm sapsys 60 Oct 18 2021 exe

New Section 7 Page 203


drwxr-xr-x 3 dc8adm sapsys 60 Oct 18 2021 exe
drwxr-xr-x 3 dc8adm sapsys 17 Oct 18 2021 gen
lrwxrwxrwx 1 root root 18 May 25 12:04 global -> /sapmnt/DC8/global
lrwxrwxrwx 1 root root 19 May 25 12:04 profile -> /sapmnt/DC8/profile
drwxr-xr-x 2 dc8adm sapsys 6 Oct 18 2021 src
vlgai1dc8:/usr/sap/DC8/SYS # cd /sapmnt/DC8
vlgai1dc8:/sapmnt/DC8 # ll
total 8
drwxr-xr-x 6 dc8adm sapsys 60 May 23 14:03 DC8
drwxr-xr-x 5 dc8adm sapsys 38 May 24 19:38 exe
drwxr-xr-x 12 root sapsys 4096 Jan 28 09:04 hdbclient
drwxr-xr-x 4 dc8adm sapsys 32 May 24 19:39 install
drwxr-xr-x 2 dc8adm sapsys 4096 May 24 19:39 profile
drwxr-x--x 13 dc8adm sapsys 147 May 24 19:39 trans
vlgai1dc8:/sapmnt/DC8 #

New Section 7 Page 204


Wednesday, May 25, 2022 4:14 PM

vlgcsdc8:~ # cat /etc/fstab


LABEL=ROOT / xfs defaults 0 0
LABEL=EFI /boot/efi vfat defaults 0 0
/root/swapfile swap swap defaults 0 0
/dev/sdb /data xfs defaults 1 2
/data/usr_sap /usr/sap none defaults,bind 0 0
/data/sapmnt_DC8 /sapmnt/DC8 none defaults,bind 0 0
vlgcsdc8:~ # cat /etc/exports
# See the exports(5) manpage for a description of the syntax of this file.
# This file contains a list of all directories that are to be exported to
# other computers via NFS (Network File System).
# This file used by rpc.nfsd and rpc.mountd. See their manpages for details
# on how make changes in this file effective.

#DO NOT USE "STAR" TO SHARE THE FILES


#FILES SHARED GLOBALLY (STAR) WILL BE REMOVED BY THE SCRIPT
/sapmnt/DC8 ldcidc8(rw,subtree_check,no_root_squash)
/sapmnt/DC8 ldai1dc8(rw,subtree_check,no_root_squash)
vlgcsdc8:~ # rcnfsserver restart
vlgcsdc8:~ # logout
Connection to ldcsdc8 closed.
c5340447@dlm-lts01:~> rcssh vlgcsdc8
Warning: Permanently added 'vlgcsdc8,10.238.37.80' (ECDSA) to the list of known hosts.
Last login: Wed May 25 12:12:00 2022 from 10.177.32.32

###############################################################################

System Information as on Wed May 25 12:15:54 CEST 2022

Operating System Information:


----------------------------
Server Name : vlgcsdc8
Platform : Google x86_64
Total CPU : 2 CPUs Total Memory : 1973 MB
OS Release : SLES 15 SP2 OS kernel : 5.3.18-150200.24.112-default
Production IP : dhcp/10.238.37.80 Backup IP : /x.x.x.x

CSS Components : OS Related Issues


Incident : DEV-LM-UX/LX Service : DEV-LM-UX/LX-SR

SID Information :
----------------
SID : DC8
Cluster Info. : NA / Refer SLIM/SISM CSS Component : NA / Refer SLIM/SISM
Std. MWW : NA / Refer SLIM/SISM

Local News:

New Section 7 Page 205


Local News:
------------------------
N/A
To edit write into /etc/motd

Global news:
------------------------

###############################################################################

DISPLAY:
vlgcsdc8:~ # cd /sapmnt/DC8
vlgcsdc8:/sapmnt/DC8 # ll
total 8
drwxr-xr-x 6 dc8adm sapsys 60 May 23 14:03 DC8
drwxr-xr-x 5 dc8adm sapsys 38 May 24 19:38 exe
drwxr-xr-x 12 root sapsys 4096 Jan 28 09:04 hdbclient
drwxr-xr-x 4 dc8adm sapsys 32 May 24 19:39 install
drwxr-xr-x 2 dc8adm sapsys 4096 May 24 19:39 profile
drwxr-x--x 13 dc8adm sapsys 147 May 24 19:39 trans
vlgcsdc8:/sapmnt/DC8 # cd
vlgcsdc8:~ # logout
Connection to vlgcsdc8 closed.
c5340447@dlm-lts01:~> rcssh vlgcidc8
Warning: Permanently added 'vlgcidc8,10.238.37.78' (ECDSA) to the list of known hosts.
Last login: Wed May 25 12:03:53 2022 from 10.177.32.32

###############################################################################

System Information as on Wed May 25 12:16:39 CEST 2022

Operating System Information:


----------------------------
Server Name : vlgcidc8
Platform : Google x86_64
Total CPU : 8 CPUs Total Memory : 32103 MB
OS Release : SLES 15 SP2 OS kernel : 5.3.18-150200.24.112-default
Production IP : dhcp/10.238.37.78 Backup IP : /x.x.x.x

CSS Components : OS Related Issues


Incident : DEV-LM-UX/LX Service : DEV-LM-UX/LX-SR

SID Information :
----------------
SID : DC8
Cluster Info. : NA / Refer SLIM/SISM CSS Component : NA / Refer SLIM/SISM
Std. MWW : NA / Refer SLIM/SISM

Local News:
------------------------

New Section 7 Page 206


------------------------
N/A
To edit write into /etc/motd

Global news:
------------------------

###############################################################################

DISPLAY:
vlgcidc8:~ # cd /sapmnt/DC8
vlgcidc8:/sapmnt/DC8 # ll
total 8
drwxr-xr-x 6 dc8adm sapsys 60 May 23 14:03 DC8
drwxr-xr-x 5 dc8adm sapsys 38 May 24 19:38 exe
drwxr-xr-x 12 root sapsys 4096 Jan 28 09:04 hdbclient
drwxr-xr-x 4 dc8adm sapsys 32 May 24 19:39 install
drwxr-xr-x 2 dc8adm sapsys 4096 May 24 19:39 profile
drwxr-x--x 13 dc8adm sapsys 147 May 24 19:39 trans
vlgcidc8:/sapmnt/DC8 # cd DC8
vlgcidc8:/sapmnt/DC8/DC8 # ll
total 4
drwxr-xr-x 5 dc8adm sapsys 38 Sep 6 2021 exe
drwxr-xr-x 4 dc8adm sapsys 32 Oct 15 2021 install
drwxr-xr-x 2 dc8adm sapsys 4096 May 23 01:42 profile
drwxrwx--x 13 dc8adm sapsys 147 Sep 6 2021 trans
vlgcidc8:/sapmnt/DC8/DC8 #

New Section 7 Page 207


File permission
Tuesday, May 31, 2022 5:07 PM

ls -ld /oracle

https://support.wdf.sap.corp/sap/support/message/2280127362

Check the std mount, do ls to check if mount issue is linked to any other mount, if yes
++++++
/usr/sap/Q09/SYS/global/security/rsecssfs/data
If issue with this mount login to server check this mount whether its linked.
++++++

See where that linked mount is nfs share if yes then


++++++
vlgcsq09:/sapmnt/Q09 40G 20G 21G 48% /sapmnt/Q09
++++++

Login to source server check the linked mount permission and change if different

file permission Page 208


Friday, October 28, 2022 8:25 AM

To change ownership recursively.

vlgcipwf:/usr/sap/PWF # find /usr/sap/PWF -uid 5155 -exec chown pwfadm {} \;

file permission Page 209


Backup ip host down r issue
Tuesday, May 31, 2022 6:57 PM

Backup IP is not working or Backup server host down alert occurred.

check backup ip is pinging or not

Login to main server.

Execute below command.


cat /proc/sys/net/ipv4/conf/all/rp_filter

if it gives value other than zero


Execute below command
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
rcnetwork reload
run self healing

After few minutes alert will clear

Check sism entry of server name

New Section 9 Page 210


Disable THP
Friday, June 3, 2022 1:18 PM

vlgdbfrz:~ # cat /sys/kernel/mm/transparent_hugepage/enabled


[always] madvise never
vlgdbfrz:~ # echo never > /sys/kernel/mm/transparent_hugepage/enabled
vlgdbfrz:~ # cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

https://support.wdf.sap.corp/sap/support/message/2280092503&saprole=ZCSSDLMPROCE

Disable THP Page 211


Friday, June 3, 2022 1:20 PM

Services

New Section 10 Page 212


Saturday, June 11, 2022 7:43 AM

10_239_61_110 GNU/Linux Deepa Server cant find in SISM, nslookup and NAGIOS
10_239_61_162 GNU/Linux Deepa Server cant find in SISM, nslookup and NAGIOS
10_239_61_163 GNU/Linux Deepa Server cant find in SISM, nslookup and NAGIOS
10_239_61_42 GNU/Linux Deepa Server cant find in SISM, nslookup and NAGIOS
ld0050.wdf.sap.cor GNU/Linux DLM E2E Services DLM SM Live VMware Deepa Dismantling BCP:
p Linux VMM https://support.wdf.sap.corp/sap/support/message/2280102976,
Not present in SISM and Nagios
ld0114.wdf.sap.cor GNU/Linux DLM E2E Services DLM SM Live VMware Deepa complete
p Linux VMM d
ld4768.wdf.sap.cor VMware Server DLM SM Live Lenovo Deepa cant login to server(permission denied), BMC
p ESXi Provisioning DLM Linux related info not present in NAGIOS
ld9358.wdf.sap.cor GNU/Linux Server DLM SM Live IBM Deepa complete
p Provisioning DLM Linux d
vlaspbkpfs01.devsy GNU/Linux DLM E2E Services DLM SM Live MS Azure Deepa cant login to server(permission denied), server
s.net.sap Linux cant find in nagios
vlaspf82b3.devsys. GNU/Linux Server DLM SM Live MS Azure Deepa cant login to server(permission denied), server
net.sap Provisioning DLM Linux cant find in nagios
vlcspadm01.wdf.sa GNU/Linux Server DLM SM Live VMware Deepa Admin server
p.corp Provisioning DLM Admin CC+1
vlcspdlmsm.wdf.sa GNU/Linux Server DLM SM Live VMware Deepa DLM portal server
p.corp Provisioning DLM Admin CC+1
vlcsplts01.wdf.sap. GNU/Linux Server DLM SM Live VMware Deepa Jumphost server
corp Provisioning DLM Admin CC+1
vlgdd5db16.wdf.sa GNU/Linux Server DLM SM Live Google Deepa cant login to server(permission denied), server
p.corp Provisioning DLM Linux (GCP) cant find in nagios

BMC Page 213


https://support.wdf.sap.corp/sap/support/message/22801393
36
Thursday, June 16, 2022 12:22 PM

747 2022-06-15 16:15:59 service networker status


748 2022-06-15 16:20:06 zypper se lgt*
749 2022-06-15 16:20:40 rpm -qa | grep -i lgt*

lgtoman-19.3.0.1-1.x86_64

lgtoxtdclnt-19.3.0.1-1.x86_64

lgtoclnt-19.3.0.1-1.x86_64

vlgcis28:~ # zypper se lgtoclnt*

zypper: /usr/lib/nsr/lib64/libcrypto.so.1.0.0: no version information available (required by


/usr/lib64/libcurl.so.4)

zypper: /usr/lib/nsr/lib64/libssl.so.1.0.0: no version information available (required by


/usr/lib64/libcurl.so.4)

zypper: /usr/lib/nsr/lib64/libcrypto.so.1.0.0: no version information available (required by


/usr/lib64/libssh.so.4)

zypper: /usr/lib/nsr/lib64/libssl.so.1.0.0: no version information available (required by


/usr/lib64/libldap-2.4.so.2)

zypper: /usr/lib/nsr/lib64/libcrypto.so.1.0.0: no version information available (required by


/usr/lib64/libldap-2.4.so.2)

Loading repository data...

Reading installed packages...

S | Name | Summary | Type

---+----------+------------------+--------

i+ | lgtoclnt | NetWorker Client | package

vlgcis28:~ #

networker service Page 214


From <https://teams.microsoft.com/multi-window/?agent=electron&version=22050101009>

vlgcis28:~ # nsrports

Service ports: 7937-7938 10101-10104

Connection ports: 0-0

vlgcis28:~

From <https://teams.microsoft.com/multi-window/?agent=electron&version=22050101009>

networker service Page 215


https://support.wdf.sap.corp/sap/support/message/2270160764
Friday, October 21, 2022 7:34 PM

vlgcip5j:~ # rpm -qa | grep -i lgto


lgtoman-19.3.0.1-1.x86_64
lgtoxtdclnt-19.3.0.1-1.x86_64
vlgcip5j:~ # service networker start
vlgcip5j:~ # service networker status
● networker.service - EMC NetWorker. A backup and restoration software package.
Loaded: loaded (/usr/lib/systemd/system/networker.service; disabled; vendor preset: disabled)
Active: inactive (dead)

Oct 21 15:19:10 vlgcip5j networker.sh[2237]: /opt/nsr/admin/networker.sh: line 89: [: too many arguments
Oct 21 15:19:10 vlgcip5j networker.sh[2237]: /opt/nsr/admin/networker.sh: line 95: [: too many arguments
Oct 21 15:19:10 vlgcip5j systemd[1]: Started EMC NetWorker. A backup and restoration software package..
Oct 21 15:51:57 vlgcip5j systemd[1]: Starting EMC NetWorker. A backup and restoration software package....
Oct 21 15:51:57 vlgcip5j networker.sh[14754]: /opt/nsr/admin/networker.sh: line 39: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14754]: /opt/nsr/admin/networker.sh: line 56: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14754]: /opt/nsr/admin/networker.sh: line 62: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14760]: /opt/nsr/admin/networker.sh: line 89: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14760]: /opt/nsr/admin/networker.sh: line 95: [: too many arguments
Oct 21 15:51:57 vlgcip5j systemd[1]: Started EMC NetWorker. A backup and restoration software package..
vlgcip5j:~ # `which wget` -q -T 5 --no-parent --cut-dirs=1 --no-check-certificate -nH -l 50 -R "index.htm*" -r
https://vlg00006.wdf.sap.corp:444/migration/emcpackages/nw19/ -P /tmp/networkerpackage
vlgcip5j:~ # cd /tmp/networkerpackage
vlgcip5j:/tmp/networkerpackage # ls
emcpackages
vlgcip5j:/tmp/networkerpackage # cd emcpackages
vlgcip5j:/tmp/networkerpackage/emcpackages # ls
nw19
vlgcip5j:/tmp/networkerpackage/emcpackages # cd nw19
vlgcip5j:/tmp/networkerpackage/emcpackages/nw19 # ll
total 263724
-rw-r--r-- 1 root root 23495414 Jul 22 2021 lgtoclnt-19.3.0.1-1.i686.rpm
-rw-r--r-- 1 root root 59603165 Jul 22 2021 lgtoclnt-19.3.0.1-1.x86_64.rpm
-rw-r--r-- 1 root root 422420 Jul 22 2021 lgtoman-19.3.0.1-1.i686.rpm
-rw-r--r-- 1 root root 450904 Jul 22 2021 lgtoman-19.3.0.1-1.x86_64.rpm
-rw-r--r-- 1 root root 34081695 Jul 22 2021 lgtonmda-19.3.0.1-1.i686.rpm
-rw-r--r-- 1 root root 57780373 Jul 22 2021 lgtonmda-19.3.0.1-1.x86_64.rpm
-rw-r--r-- 1 root root 16557188 Jul 22 2021 lgtonmsap-19.3.0.1-1.x86_64.rpm
-rw-r--r-- 1 root root 14238230 Jul 22 2021 lgtoxtdclnt-19.3.0.1-1.i686.rpm
-rw-r--r-- 1 root root 63400136 Jul 22 2021 lgtoxtdclnt-19.3.0.1-1.x86_64.rpm

vlgcip5j:/tmp/networkerpackage/emcpackages/nw19 # rpm -ivh lgtoclnt-19.3.0.1-1.x86_64.rpm


warning: lgtoclnt-19.3.0.1-1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c5dfe03d: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:lgtoclnt-19.3.0.1-1 ################################# [100%]
vlgcip5j:/tmp/networkerpackage/emcpackages/nw19 # cd
vlgcip5j:~ # rpm -qa | grep -i lgto
lgtoman-19.3.0.1-1.x86_64
lgtoxtdclnt-19.3.0.1-1.x86_64

networker service Page 216


lgtoxtdclnt-19.3.0.1-1.x86_64
lgtoclnt-19.3.0.1-1.x86_64
vlgcip5j:~ # service networker status
● networker.service - EMC NetWorker. A backup and restoration software package.
Loaded: loaded (/usr/lib/systemd/system/networker.service; enabled; vendor preset: disabled)
Active: inactive (dead)

Oct 21 15:19:10 vlgcip5j networker.sh[2237]: /opt/nsr/admin/networker.sh: line 89: [: too many arguments
Oct 21 15:19:10 vlgcip5j networker.sh[2237]: /opt/nsr/admin/networker.sh: line 95: [: too many arguments
Oct 21 15:19:10 vlgcip5j systemd[1]: Started EMC NetWorker. A backup and restoration software package..
Oct 21 15:51:57 vlgcip5j systemd[1]: Starting EMC NetWorker. A backup and restoration software package....
Oct 21 15:51:57 vlgcip5j networker.sh[14754]: /opt/nsr/admin/networker.sh: line 39: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14754]: /opt/nsr/admin/networker.sh: line 56: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14754]: /opt/nsr/admin/networker.sh: line 62: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14760]: /opt/nsr/admin/networker.sh: line 89: [: too many arguments
Oct 21 15:51:57 vlgcip5j networker.sh[14760]: /opt/nsr/admin/networker.sh: line 95: [: too many arguments
Oct 21 15:51:57 vlgcip5j systemd[1]: Started EMC NetWorker. A backup and restoration software package..
vlgcip5j:~ # service networker start
vlgcip5j:~ # service networker status
● networker.service - EMC NetWorker. A backup and restoration software package.
Loaded: loaded (/usr/lib/systemd/system/networker.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-10-21 15:54:06 CEST; 2s ago
Process: 15681 ExecStart=/opt/nsr/admin/networker.sh start (code=exited, status=0/SUCCESS)
Main PID: 15688 (nsrexecd)
Tasks: 7 (limit: 65536)
CGroup: /system.slice/networker.service
└─15688 /usr/sbin/nsrexecd

Oct 21 15:54:05 vlgcip5j systemd[1]: Starting EMC NetWorker. A backup and restoration software package....
Oct 21 15:54:06 vlgcip5j systemd[1]: Started EMC NetWorker. A backup and restoration software package..
vlgcip5j:~ # nsrports
Service ports: 7937-7938 10101-10104
Connection ports: 0-0
vlgcip5j:~ # logout
Connection to vlgcip5j closed.
c5340447@dlm-lts01:~>

networker service Page 217


https://support.wdf.sap.corp/sap/support/message/22801250
80
Tuesday, June 21, 2022 3:01 PM

------------------
Zone Migration
------------------

Wiki : https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?spaceKey=DLM&title=VM+Movement

1. Pre-checks :
if Server is up
Check its zone
sudo -i
gcloud compute instances list | egrep -i "vlgciuyu|vlgdbuyu" // Change hostname as per
reqd

2. Come to sudo user


sudo -i

3. go to path
cd /home/adminhosts/vmcontrol/modules

4. For single server , zone migration to europe-west5-a (Change host name & zone as per requirement)
./gcp_vm_move.py --host vlgcixtc --zone europe-west5-a

5. For Multiple Server , zone migration , create .csv file in /tmp/c5299512/ (Create your own
directory in tmp if you want)
(a) vi zon.csv

(b) Type server name and target zone in below format only (Dont forget to write name,zone in 1st
line)
c5330723@dlm-lts01:/tmp/c5299512> cat zon.csv
name,zone
vlgcibkp,europe-west5-a
vlgcsbkp,europe-west5-a
vlgdbbkp,europe-west5-a
vlgcidcn,europe-west5-a
vlgcsdcn,europe-west5-a
vlgdbdcn,europe-west5-a

(c) run the command


./gcp_vm_move.py --file /tmp/c5299512/zon.csv (enter your path, where you created your csv
file)

6. To check run time progress of zone migration, use command


tail -f
eg.
[root@dlm-lts01:~]# tail -f /home/adminhosts/dlm-gcptool/logs-migration/vm_move/vlgcifct_
20220425235840

zone migration Page 218


You will receive Zone Migration Mail .
Still after successful completion mail , it will take 30 min for server to come up.

Once, Server is up .
Cross check the zone, using below command.
gcloud compute instances list | egrep -i "vlgciksj|vlgcsksj|vlgdbksj"

C:\Windows>HOSTNAME
vwgsp61ee0

C:\Windows>uptime
\\VWGSP61EE0 has been up for: 5 day(s), 17 hour(s), 11 minute(s), 47 second(s)

zone migration Page 219


Tuesday, June 21, 2022 9:59 PM

https://support.wdf.sap.corp/sap/support/message/2280107961

https://support.wdf.sap.corp/sap/support/message/2270097151

DB connectivity is failing Page 220


Friday, June 24, 2022 5:30 PM

https://support.wdf.sap.corp/sap/support/message/2280115438

rpm -qa perl - check whether installed r wt


perl -v
zypper in perl

perl Page 221


Tuesday, June 28, 2022 5:52 PM

telnet hs0004cons

Credentials:
Root
iUh6uwll

For server hs0002 credentials are below


user: Admin
password:Admin

Ctrl+B - for main menu

PC to check the state of server -> change to command mode (type CM) then give PC

HP server Page 222


Thursday, June 30, 2022 3:32 PM

For reboot send to respective tech colleagues

journalctl -xe = if its in emergency mode execute this cmd

Reboot Page 223


Tuesday, July 26, 2022 6:04 PM

In cluster there will be 2 servers


We will make cluster in maintenance mode
Login to slave server - crm status we should not get any error if we get then resource reload we should do check error will be not present
Set to maintenance mode - both should be umanaged

Then they will ask to make online will do


Resource reload
5min wait

Once its online see all are green then check db version (SAPHanaSR-showAttr) in slave ask them whether its crt

Ask them all r ok then do failover wait 5min


Resource reload
Status
SAPHanaSR-showAttr - master it will be demoted then state frim
status

HA system upgrade Page 224


Tuesday, July 26, 2022 6:30 PM

Put Pacemaker cluster in maintenance mode

Check which is master and which is slave - crm status, ip -a,


Put slave in maintenance mode see status no errors should be if error then reload resource - crm_resource -R
Once no error - crm configure property maintenance-mode=true
Check status whether it's in maintenance mode - crm status resource management is disabled both will be in unmanaged state

DB steps

Bring back online - crm configure property maintenance-mode=false


Reload resource
Wait 2 min
Once online
Check master sync_state SOK and db is updated with expected version ask them to confrim version if yes
change the automated register value to 'true' - crm config edit make AUTOMATED_REGISTER to true
Verify be - crm config show | grep -I AUTOMATED_REGISTER

Failover
Ask if everything is ok if yes then - crm resource migrate rsc_vip_gcp-primary slave server
Reload resource
Wait 5min
SAPHanaSR-showAttr - master it will be demoted then state frim
status
Then if everything is fine - Change the automated register value to 'false'
Then put cluster maintenance mode

DB steps

Bring back to online


Remove constraint using cluster command - crm resource unmigrate rsc_vip_gcp-primary

HA system upgrade Page 225


HA system upgrade Page 226
Friday, August 26, 2022 1:27 PM

Request 5000338228 successfully create

CAM Page 227


Saturday, August 27, 2022 1:11 PM

c5288908@dlm-lts01:/sapmnt/dlm/services/servermgmnt/google/logs-resize/hu_resize>

c5288908@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-resize/vlgsapn76.2022-09-07T0929> cat
log.txt

https://support.wdf.sap.corp/sap/support/message/2270116345

vm resize Page 228


Please have vm console checked!
Wednesday, September 28, 2022 1:13 PM

Server : vlgai1euv

When checked, Server went in maintenance mode.


Now, server is up and accessible.
Vmresize has been completed successfully on vlgai1euv server.

----
vlgai1euv:~ # uptime
23:44:42 up 0:01, 1 user, load average: 3.05, 0.99, 0.35
vlgai1euv:~ #

vlgai1euv:~ # free -g
total used free shared buff/cache available
Mem: 20 1 17 0 1 18
Swap: 4 0 4
vlgai1euv:~ # nproc
10
vlgai1euv:~ #

Logs:
c5330723@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-resize/vlgai1euv.2022-09-25T2301> cat
log.txt
2022-09-25 23:01:50,164:INFO:C5069329 valid user from dlm_team, to trigger the web-api call for re-
size!
2022-09-25 23:01:50,164:INFO:vlgai1euv-GCP host-DLM naming!
2022-09-25 23:01:50,170:INFO:vlgai1euv is alive,resource resizing can be processed!
2022-09-25 23:03:25,499:INFO:vlgai1euv has been sucessfully stopped with GCLOUD stop command!
2022-09-25 23:03:30,612:INFO:vlgai1euv resources has been sucessfully resized from custom-14-30720
to custom-10-21504!
c5330723@dlm-lts01:/home/adminhosts/dlm-gcptool/logs-resize/vlgai1euv.2022-09-25T2301>
----

Kindly check and proceed.

vm resize Page 229


Friday, September 30, 2022 1:56 PM

RAM/CPU resize --above 96 cpu --256 ram to be taken care by SM end , less than that can be triggered
by Tech colleagues

• Also, Live E2E systems to be taken care by TECH and Quality check/build up state systems to be taken
care by SM end OR PROD team!!
o We have to support other than live servers (SM ODC SCOPE).

vm resize Page 230


Tuesday, November 15, 2022 1:42 PM

c5340447@dlm-lts01:/home/adminhosts/vmcontrol/logs-vmcontrol> tail -100 vmstartstop.log | grep -i


vlgcihpt

vm resize Page 231


Tuesday, August 30, 2022 4:45 PM

[root@vlgsplts02:~]# sudo -u rcuser sudo /home/adminhosts/dnstool.py register host --name


vlaciahx --zone devsys.net.sap --ip 10.239.59.102 -w
Trying to register host vlaciahx.devsys.net.sap with ip 10.239.59.102 in zone devsys.net.sap
Waiting: . finished!
[root@vlgsplts02:~]# sudo -u rcuser sudo /home/adminhosts/dnstool.py register reverse --name
vlaciahx.devsys.net.sap --ip 10.239.59.102
Trying to register reverse DNS for host vlaciahx.devsys.net.sap with ip 10.239.59.102
[root@vlgsplts02:~]#

register ip via dnstool Page 232


Wednesday, September 14, 2022 9:42 PM

sudo ./dnsmanage.py delete host --name vlgsapui2.wdf.sap.corp --ip 10.238.42.24 --zone wdf.sap.corp

sudo ./dnsmanage.py register host --name ld0220.devsys.net.sap --ip 10.188.253.34 --zone


devsys.net.sap

c5340447@dlm-lts01:~> sudo -i
DISPLAY:
[root@dlm-lts01:~]# cd /home/adminhosts
[root@dlm-lts01:/home/adminhosts]# ./dnsmanage.py delete --name=vwcai7alx --ip=10.177.36.203 --
zone=wdf.sap.corp
Trying to delete record vwcai7alx in zone wdf.sap.corp
Record vwcai7alx.wdf.sap.corp in zone wdf.sap.corp deleted
[root@dlm-lts01:/home/adminhosts]# ./dnsmanage.py register --name=vwcai7alx --ip=10.177.33.230 --
zone=wdf.sap.corp
Trying to register host vwcai7alx with ip 10.177.33.230 in zone wdf.sap.corp
[root@dlm-lts01:/home/adminhosts]# cd
[root@dlm-lts01:~]# logout

Name zone ip forward ip


Namewithfdqn ip reverse ip

register ip via dnstool Page 233


Tuesday, September 13, 2022 1:40 PM

Please be informed that OS backup folders path has been changed.

New backup path would be as follows:

vlgsp0b3ad:~ # df -h /sapmnt/dlm/services/gcp/sm_osbackups
Filesystem Size Used Avail Use% Mounted on
vlgspgcpbkup:/sm_osbackups 690G 32M 690G 1%
/net/sapmnt.dlm.services.gcp.sm_osbackups

Reason to change: Older path was causing high latency which negatively impact SLC transport
directories access time.

OS backup path Page 234


Dlm-client packages error
Tuesday, October 4, 2022 6:20 PM

vlgcipwf:~ # zypper se -s dlm-client


Loading repository data...
Reading installed packages...

S | Name | Type | Version | Arch | Repository


--+-------------------------+---------+-----------------------------------+--------+-----------
| dlm-client-config-linux | package | 1.2.20221004T102638~944d9f9-157.1 | noarch | saprepo
vlgcipwf:~ # zypper in dlm-client-config-linux
Loading repository data...
Reading installed packages...
Resolving package dependencies...

[6:01 PM] Revanth, Venkat (external - Service)


vlgcipwf:~ # rpm -qa | grep -i dlm-client
dlm-client-config-linux-1.2.20221004T102638~944d9f9-157.1.noarch
vlgcipwf:~ #

Run self-healing and reboot

vm bulid fail Page 235


Thursday, November 10, 2022 4:55 PM

c5340447@dlm-lts01:~> vi /tmp/c5340447
c5340447@dlm-lts01:~> vi /tmp/c5340447
c5340447@dlm-lts01:~> cat /tmp/c5340447 | head -2
ld3816.wdf.sap.corp
ld4262.wdf.sap.corp
c5340447@dlm-lts01:~> cat /tmp/c5340447 | tail -2
vlgcipfy.devsys.net.sap
vlgcihtu.devsys.net.sap
c5340447@dlm-lts01:~>

/tmp/c5340447_12sp5

rpm -q sudo

dlmcli Page 236

You might also like