Sei sulla pagina 1di 5

NAGIOS ROUTE

cd /usr/local/nagios/etc/objects/
/etc/init.d/nagios start
/etc/init.d/apache2 restart
______________________________
SLES NTP y DNS Files
/etc/resolv.conf
/etc/ntp.conf
-----------------
NTP Queries
ntpq [-inp] [-c command] [host] [...]
ntpq -p lista de todos los nodos conocidos por el server como NTP
detener NTP desde CMD
/etc/init.d/ntp stop
________________________________
WINDOWS XINETD COMMANDS
service xinetd stop
service xinetd start
service xinetd restart
________________________________
TCP/UDP PORTS VALIDATION

lsof -i -P -n | grep LISTEN


netstat -an | grep <PORT NUMBER>

TCP/UDP PORTS LISTENING


netstat -ltun
lsof -i tcp -i tcp
________________________________
STOP BO
detener aplicativo
cd /usr/sap/BOD/sap_bobj
./ccm.sh -stop all
cd
detener TomCat
cd /usr/sap/BOD/sap_bobj/tomcat/bin
./shutdown.sh

detener DBBackup
isql -Usa -SSVBODDB1 -X
shutdown SYB_BACKUP
go
detener DBase
shutdown
-------------------------./cc
START BO
_______________________________________________________
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||VALIDAR QUE ARCHIVO DE HOSTS ESTE COMENTADO 127.0.0.2|||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

iniciar DBase
cd /sybase/BOP/ASE-15_0/install/
./startserver -f RUN_SVBOPBD1
iniciar DBBackup
./startserver -f RUN_SVBOPBD1_BS
iniciar TomCat
cd /usr/sap/BOP/sap_bobj
./tomcatstartup.sh
iniciar Aplicativo
./ccm.sh -start all

log ccms
/usr/sap/BOD/sap_bobj/logging> tail cms_svboddb1.CentralManagementServer_trace

_______________________________
DETENER SAP APLICATIVO HANA
su - <sid>adm
stopsap R3 --> detener solo aplicativo
stopsap --> Detener todo SAP y Base de Datos
----------------------------------
INICIAR SAP
su - <sid>adm
startsap --> Inicia SAP HANA
_______________________________________

DETENER SAP Y APLICATIVO (Base de datos y aplicativo mismo server)

su - <sid>adm
stopsap R3 --> detener solo aplicativo
stopsap all ---> detener aplicativo y Base de Datos
--------------
su - <sid>adm
startsap all ---> iniciar aplicativo y Base de Datos

_______________________________________

Mounting Commands

mount host:remote-path local-path


umount path
_______________________________________

Rescan Devices

rescan-scsi-bus.sh

________________________________________

Limpieza de Semaforos en JAVA

cleanipc <Instance ID> remove

________________________________________

Copia de todos los archivos internos de una carpeta a otra

cp -avr /usr/sap/BOP/sap_bobj/logging /usr/sap/BOP/sap_bobj/logging_bckp

_________________________________________
Verificacion de Puertos

lsof -i -P -n | grep <PortNumber>

_________________________________________________________
Obtener Hardware Key for SAP

saplicense �get
__________________________________________
RESTORE SAP* EN SYBASE
In order to delete sap* from USR02

1> use SID


2> go
1> select top 1 * from SAPSR3.USR02
2>go
1>select * from SAPSR3.USR02 where BNAME='SAP*'
2>go
1> delete from SAPSR3.USR02 where BNAME='SAP*'
2> go
____________________________________________
MONITOREO EN VIVO DE SERVICIOS HANA

watch "sapcontrol -nr 00 -function GetProcessList"

__________________________________________
ACTIVANDO REPLICACION DE HA A DR

Registrar nodo de HA para replicacion


- hdbnsutil �sr_enable
Detener BD en nodo de DR
- HDB stop
Registrar nodo de HA como sitio de replicacion dentro de nodo DR
- hdbnsutil �sr_register �remoteHost=svhepdb2 �remoteInstance=00 �mode=async
�name=HEP_DR
Inicializar BD en nodo de DR
- HDB start
Validar replicacion en nodo HA
- hdbcons -e hdbindexserver 'replication info' | grep -i replicationstatus
______________________________________________
Compartiendo Folder con SAMBA

install samba
rpm -q samba
Editar Samba Conf file
gedit /etc/samba/smb.conf
iniciar servicios
services smb start
services nmb start
Conexion
sudo chcon -Rt samba_share_t <path>
__________________-

STOPPING SOLMAN 7.2

su - sjpadm
stopsap
su - smpadm
stopsap
startsap
su - sjpadm
startsap
_________________________________
Busqueda y Borrado de Archivos mayor a 60 dias
find /usr/sap/BOP/sap_bobj/logging* -mtime +60 -exec rm {} \;
Busqueda Archvivos mas grandes
find . -type f -size +100M

__________________________________
Integrar Data Protector cuando no responde 5555
zypper install rsh-server rpm

+EN YAST/ NETWORK SERVICES+


Iniciar Servicios de : shell telnet

service xinetd restart


- Editar
/etc/xinetd.d/rexec
service exec
{
socket_type = stream
protocol = tcp
wait = no
user = root
server_args = -h
server = /usr/sbin/in.rexecd
}
/etc/xinetd.d/rsh
service shell
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.rshd
server_args = -L -h
}
kill -HUP $(ps ax|grep inet|grep -v grep|cut -c1-6)
cd ~/
vi .rhosts
svdpismx root
service xinetd restart

________________________________________

obtener Luns de ESXi y WWN

esxcli storage filesystem list

esxcli storage vmfs extent list


https://kb.vmware.com/s/article/1014953

_____________________________

INSTALLING CENTOS - LINUX ZABBIX AGENT


zypper addrepo
http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/
server_monitoring
zypper refresh
zypper install zabbix-agent
vi /etc/zabbix/zabbix-agentd.conf
rczabbix-agentd start
zabbix_server
zabbix_agentd

________________________---

Restructuracion de Catalogo HANA

hdbbackupdiag --generate --dataDir $DIR_INSTANCE/backup/data --logDirs


$DIR_INSTANCE/backup/log -d $DIR_INSTANCE/backup/log

hdbbackupdiag --check --backintDataParamFile


/hana/shared/HCQ/global/hdb/opt/hdbconfig/data_protector.par

Potrebbero piacerti anche