Вы находитесь на странице: 1из 22

########################## CAP_IRestarting ipcdir_server #######################

##################################### It should normally not be necessary to re


start the ipcdir_server manually. Pleas e see the on-line manual page for ipcdir
_server. The Directory Table for CAP_IPC is defined in the ndbm files and is cal
led .ipcd ir_ndbm_table. To find out the actual directory, enter the command: #
tbs_env get TBS_DAT If these files are accidentally deleted, the ipcdir_server m
ust be restarted. Ho wever, in this case all the directory information for the i
nterprocess communica tion in the system has disappeared; therefore, a complete
start-up of the system should be done. If the Directory Table has been corrupted
, and this cannot be repaired by using the ipcdir_cleanup process, the Directory
Table has to be manually deleted befor e the system is restarted. The symptom o
f a corrupted Directory Table is that so me or all of the TBS managed processes
will not start after boot. If the ipcdir_server is to be restarted for another r
eason: 1.Log in to the TBS master host as root. 2.Start ipcdir_server by writing
: root@server> /opt/ericsson/nms_cif_tmos_tbs/bin/ ipcdir_server ###############
################## root@htossm1o> crontab -l #################### ##############
############### #ident "@(#)root 1.21 04/03/23 SMI" # # The root crontab should
be used to perform accounting data collection. # # 10 3 * * * /usr/sbin/logadm 1
5 3 * * 0 /usr/lib/fs/nfs/nfsfind 30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] &
& /usr/lib/gss/gsscred_clean #10 3 * * * /usr/lib/krb5/kprop_script ___slave_kdc
s___ #<START:nms_cif_am> 30 0 * * * /opt/ericsson/nms_cif_am/bin/deleteOldJobs.s
h #<STOP:nms_cif_am> #<START:nms_cif_dsa> 0 10 * * * /opt/ericsson/nms_cif_dsa/b
in/StartReadServerAddress 0 22 * * * /opt/ericsson/nms_cif_dsa/bin/StartReadServ
erAddress #<STOP:nms_cif_dsa> #<START:smia_cxc> 0 * * * * su - nmsadm -c '/opt/e
ricsson/smia/etc/Check_Log_Size.sh' >/dev/null 2 >&1 #<STOP:smia_cxc> #<START:cc
pdm_cxc> 0 * * * * su - nmsadm -c '/opt/ericsson/ccpdm/bin/pdm_check_log_size.sh
' >/dev/n ull 2>&1 0 * * * * su - nmsadm -c '/opt/ericsson/ccpdm/etc/removeExpir
edOutputFiles.sh' > /dev/null 2>&1 #<STOP:ccpdm_cxc> #<START:isp_cxc> #0 9 * * 0
su - nmsadm -c '/etc/opt/ericsson/isp/rbs/RBS_ISP_command' >/dev/null

2>&1 #0 1 * * 0 su - nmsadm -c '/opt/ericsson/bin/BSS_ISP -e -c syrip' >/dev/nul


l 2>& 1 #0 5 2 * * su - nmsadm -c '/opt/ericsson/bin/BSS_ISP -e -c lasip' >/dev/
null 2>& 1 #0 22 * * 5 su - nmsadm -c '/opt/ericsson/bin/BSS_ISP -e -c sts' >/de
v/null 2>&1 #<STOP:isp_cxc> 13 1 * * * isql -Ucna -Poss123 -Smasterdataservice <
/opt/ericsson/cna/etc/cna_u pdate_db_statistics.sql #for RNO brf Update... 15 1
* * * /opt/ericsson/bin/brfUpdateDbStatistics.sh #run the mgsvp command for all
the ericsson MSCs every 2 min after 1h 2 * * * * /ericsson/syb/backup/mgsvp.sh
#bcpfiles collection for TPM Project as requested by Stephen Katsokore #10 * * *
* /home/ossadm/cron_path.bck/tpm_bcpfiles.sh > /dev/null #10 2 * * 1,5 /home/os
sadm/cron_path.bck/tpm_bcpfiles_rm.sh > /dev/null #Cronjob to Monitor DIGI_To_DI
GI Accounting Info on Ericsson Switches 0 0 * * * /opt/ericsson/bin/ops_nui -fil
e /home/nmsadm/cha/cmdfile/DIGI_To_DIGI_ TEST.ops > /dev/null #Entry created for
ADC (Automatic Data Collection) Implemented by Ericsson 47 22 * * 4 /opt/ericss
on/arne/bin/export.sh -f /ossrc/home/adcuser/adc-arne.xml \ -o; chown adcuser:nm
s /home/adcuser/adc-arne.xml ##############BSM Auditing Maintenance#############
#################### 0 6,18 * * * /usr/sbin/audit -n > /dev/null 0 7 * * 1 /usr/
bin/find /var/audit/htossm1o/ -type f -mtime +6 -exec /usr/bin/rm {} \; > /dev/n
ull 2>&1 #<START:nms_rnr_pmr> 0 12 * * 1 su - nmsadm -cf 'source .login; /opt/er
icsson/bin/PMR_UpdateDb' >/dev /null 2>&1 #<STOP:nms_rnr_pmr> # to make the clea
nup 0 * * * * /bin/find /var/opt/ericsson/sgw/outputfiles/apgfiles/sts -type f mtim e +2 -exec /usr/bin/rm {} \; > /dev/null 2>&1 5 2 * * * /bin/find /var/opt/
ericsson/sgw/outputfiles/asn1 -type f -mtime +2 -ex ec /usr/bin/rm {} \; > /dev/
null 2>&1 5 3 * * * /bin/find /var/opt/ericsson/sgw/outputfiles/xml/mgw -type f
-mtime +2 -exec /usr/bin/rm {} \; > /dev/null 2>&1 5 4 * * * /bin/find /var/opt/
ericsson/sgw/outputfiles/apgfiles/oms -type f -mtim e +3 -exec /usr/bin/rm {} \;
> /dev/null 2>&1 # ######################### Running Cell Availability ########
################y 10,25,40,55 * * * * /opt/ericsson/nms_umts_car/bin/startROPPar
ser.sh > /dev/null 2>&1 0 5 * * * /opt/ericsson/nms_umts_car/bin/startBulkParser
.sh > /dev/null 2>&1 # 15 1 * * * /opt/ericsson/bin/wncsUpdateDbStatistics.sh #
# 0 8 * * * /ericsson/dmr/bin/dmtool -s sys_dump_monitor #<START:cna_cxc> 13 2 *
* * /opt/ericsson/cna/bin/cna_update_db_statistics.sh masterdataservice / opt/e
ricsson/cna> /dev/null 2>&1 0 12 1 * * /opt/ericsson/cna/etc/cna_usage_log_backu
p.sh /var/opt/ericsson/cna/l og> /dev/null 2>&1 #<STOP:cna_cxc> #<START:bsmcm_cx
c> 13 2 * * * /opt/ericsson/bsmcm/bin/bcm_update_db_statistics.sh masterdataserv
ice /opt/ericsson/bsmcm> /dev/null 2>&1 #<STOP:bsmcm_cxc>

#<START:eba_ebsg_cxc> 15 4 * * * /opt/ericsson/eba_ebsg/etc/ebsg_output_retentio
n.sh > /dev/null 2>&1 #<STOP:eba_ebsg_cxc> #<START:eba_rpdbi_cxc> * * * * * /opt
/ericsson/eba_rpdbi/etc/rpmo_RpmoFileTransfer.sh > /dev/null 2>&1 15 4 * * * /op
t/ericsson/eba_rpdbi/etc/rpmo_RpmoFileRecover.sh > /dev/null 2>&1 15 3 * * * /op
t/ericsson/eba_rpdbi/etc/rpmo_cleandb.sh > /dev/null 2>&1 #<STOP:eba_rpdbi_cxc>
#<START:eba_ebss_cxc> 15 5 * * * /opt/ericsson/eba_ebss/etc/ebss_output_retentio
n.sh > /dev/null 2>&1 25 * * * * /opt/ericsson/eba_ebss/etc/ebss_input_retention
.pl > /dev/null 2>&1 #<STOP:eba_ebss_cxc> # Statistics Collection Issue Alert fo
r AXE, GSN and MGw platforms #2,17,32,47 * * * * /home/nmsadm/scripts/ossadm_scr
ipts/ggsn_verif_stat.sh /dev/ null 2>&1 10 * * * * /home/nmsadm/scripts/ossadm_s
cripts/axe_verif_stat.sh /dev/null 2>&1 #<START:nms_axe_cha_cha> 1 0 * * * /opt/
ericsson/nms_axe_cha_cha/nms_axe_cha_cha/etc/cha_log_cleanup.sh #<STOP:nms_axe_c
ha_cha> #<START:nms_umts_amos> 00 01 * * * /opt/ericsson/amos/bin/amos_compressl
ogfiles.sh #<STOP:nms_umts_amos> #<START:nms_tss_server> 0,20,40 * * * * /usr/sb
in/logadm tss_audit_rotation_by_size 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /
opt/ericsson/nms_tss_server/bin/rota te_tss_trace.sh 30 * * * * /usr/sbin/logadm
tss_audit_rotation_by_period #<STOP:nms_tss_server> ##For MobileSubState #0 7-9
,11-13,18-20 * * * /ericsson/syb/backup/mobileSubState.sh 0 7-9,11-13,18-20 * *
* /ericsson/syb/backup/mobileSubStateHX02.sh 0 7-9,11-13,18-20 * * * /ericsson/s
yb/backup/mobileSubStateAC03.sh 30 7-9,11-13,18-20 * * * /ericsson/syb/backup/mo
bileSubStateTG01.sh ##For Voila Subscriber 1 8,13,20 * * * /ericsson/syb/backup/
mobileSub_VoilaHX02.sh 1 8,13,20 * * * /ericsson/syb/backup/mobileSub_VoilaTG01.
sh 1 8,13,20 * * * /ericsson/syb/backup/mobileSub_VoilaAC03.sh ## For Media Gate
way * 11 * * * /ericsson/syb/backup/mgw.sh #<START:eba_ebsw_cxc> 15 5 * * * /opt
/ericsson/eba_ebsw/etc/ebsw_output_retention.sh > /dev/null 2>&1 #<STOP:eba_ebsw
_cxc> 0,10,20,30,40,50 * * * * /opt/ericsson/secpf/sftp/bin/cleanup.sh 30 05 * *
* su - sybase -c "/ericsson/syb/conf/diag_proc_cache_test.ksh >> /eric sson/syb
/log/diag_proc_cache_test.txt" 0 6 * * * su - nmsadm -cf '/opt/ericsson/fm/fmx/b
in/add_fmxgw' > /dev/null 2>&1 #<START:nms_hc_client> 0 0 * * 0-6 /opt/ericsson/
nms_hc_server/dat/runHCHouseKeeping.sh #<STOP:nms_hc_client> * * * * * su - nmsa
dm -cf '/opt/ericsson/ltx/bin/CronUpdateFMX.pl' > /dev/null 2 >&1

0 8 * * * su - nmsadm -cf '/opt/ericsson/wrx/bin/wrx_get_topology.sh' > /dev/nul


l 2>&1 #<START:nms_activiti> 5 0 * * * /opt/activiti/bin/cleanup_history.sh > /
dev/null 2>&1 #<STOP:nms_activiti> 0 02 * * 0 /opt/ericsson/sck/bin/backup_versa
nt_db.sh 7 2 * * 2 /ericsson/solaris/bin/vxfsdefrag -a -q -d 0 2 * * 3 /ericsson
/solaris/bin/vxfsdefrag -q -d -e /ossrc/data/pms/segment1 30 2 * * 3 /ericsson/s
olaris/bin/vxfsdefrag -q -d -e /ossrc/data/sgw/sgwcg 0 03 * * 0 /ericsson/syb/ba
ckup/backup_sybase_db.sh 15 06,18 * * * /ericsson/syb/backup/backup_sybase_trans
log.sh 01 00 * * * /opt/ERICddc/bin/ddc START 05,20,35,50 * * * * /opt/ERICddc/b
in/ddc TRIGGER 58 23 * * * /opt/ERICddc/bin/ddc STOP #<START:borland_apr_bes> #
Clean up the ORB sockets from the /tmp directory at 3:30 am. # This script will
delete unused sockets, keeping the /tmp # directory relatively clean. # The time
can be changed to suit, and this script can be run # more or less frequently de
pending on preference. # If you do update this entry, bear in mind it will be re
placed with # the original value the next time you upgrade. 30 3 * * * /ericsson
/bes/bin/clean_orb_sockets.sh #<END:borland_apr_bes> 0 0 * * * /etc/opt/ericsson
/fm_core/startscript/IM_update_statistics >> /var/opt /ericsson/fm_core/log/stat
istic 2>&1 0 0 * * * /opt/ericsson/fm/FMBA_update_statistics fmdataservice fma_h
andler _1 >> /var/opt/ericsson/fm/statistic 0 0 * * 0 /opt/ericsson/fm/FMBA_reor
g_compact fmdataservice fma_handler_1 > > /var/opt/ericsson/fm/reorg_compact 5 *
* * * /opt/ericsson/bin/FM_generate_statistics >> /var/opt/ericsson/al_stati st
ic 2>&1 5 2,6,10,14,18,22 * * * /ericsson/eniq/bin/process_sym_link_location.pl
-R -l /v ar/opt/ericsson/eniq >> /dev/null 2>&1 ##############################.The other way that NodeB EM can be opened is th rough Master Server applying ne
xt Remedy:############# a) open UAS terminal b) ssh -X masterservice c) Type pas
sword d) cex_client ############################## Job Manager contains a script
, jm_rm_db_log.sh, that deletes old logs and stores this information, so that da
ta traceability is preserved. This script is stored at the following location: /
opt/ericsson/jm/bin. This script needs to be executed regularly in order to keep
the ActivitySupportD atabase "healthy".
The following is an example of how to remove logs older than three days: Table 4
Example Command To Delete All Log Files Older Than Three Days

>./jm_rm_db_log.sh -d 30 ./create_sybdev /ossrc/sybdev/oss/sybdata 700 ddev_lvlo


gdb ################ how to find user log for RNC ##############################
# lgolqn <hours>h'
############################ Creating a User Account with the SMC GUI Tool #####
######################################### Start the SMC by issuing the followin
g command: /usr/sadm/bin/smc & ################################ how to set date
in Solaris #################### ######################################### The da
te command takes the syntax mmddhhmmyy, or ave to be superuser to set the time.
Example: # date 1201010106 Fri Dec 1 01:01:00 PST 2006 month day hour minute yea
r . You h
########################## unable to run RRINC command #########################
######################################### This problem is related to TSS access
priority command go to TSS via Citrix select a user select a role then click on
role overview on the bottom in the "Activities Set" windows, click and type the
command you want to filter i n the "available activities" then add the cooamnd
in the "included activities " ############################## How to recover the
lost AXE statistics ########## ################################### 1. Recovery t
he copy of raw files saved in OSS. 1.1 For that it is needed to make sure that t
he missing files exist here /var/opt/ericsson/sgw/outputfiles/apgfiles/sts. find
the raw files /var/opt/ericsson/sgw/outputfiles/apgfiles/sts example: C20120428
.0500-20120428.0600_BSCNAME:1000 and rename it with the format as below: C201204
28.0500-20120428.0600:::BSCNAME:::1000 the easy way is copy all the raw files in
a new folder

mkdir /var/opt/ericsson/sgw/outputfiles/apgfiles/recover cp -p C20120428.0500-20


120428.0600_BSCNAME:1000 /var/opt/ericsson/sgw/outputfile s/apgfiles/recover/C20
120428.0500-20120428.0600_BSCNAME:1000 Note.-before to execute the stept below i
s necesary stop sgw MC Then for each file that you want recover,you will need wr
ite a command as below: cd /var/opt/ericsson/sgw/outputfiles/apgfiles/recover cp
C20120428.0500-20120428.0600_BSCNAME:1000 /var/opt/ericsson/sgw/inputfiles/ap g
_sgw_sts/C20120428.0500-20120428.0600:::BSCNAME:::1000 cp C20120428.0500-2012042
8.0600_BSCNAME1:1000 /var/opt/ericsson/sgw/inputfiles/a pg_sgw_sts/C20120428.050
0-20120428.0600:::BSCNAME1:::1000 cp C20120428.0500-20120428.0600_BSCNAME2:1000
/var/opt/ericsson/sgw/inputfiles/a pg_sgw_sts/C20120428.0500-20120428.0600:::BSC
NAME2:::1000 cp C20120428.0500-20120428.0600_BSCNAME3:1000 /var/opt/ericsson/sgw
/inputfiles/a pg_sgw_sts/C20120428.0500-20120428.0600:::BSCNAME3:::1000 cp C2012
0428.0500-20120428.0600_BSCNAME4:1000 /var/opt/ericsson/sgw/inputfiles/a pg_sgw_
sts/C20120428.0500-20120428.0600:::BSCNAME4:::1000 - After copy all the missing
files start "sgw" MC and then Symlinks will be crea ted and stast will be parsed
and loaded ####################### how to increase database segment capacity ##
########### ################ A- check where the log or data device is located. E
xemple: root@htossm1o> isql -Usa Password: 1> sp_helpdevice ddev_lvlogdb 2> go d
evice_name physical_name description status cntrltype vdevno vpn_low vpn_high ----------- ------------------------------------------------------------------------------------------------------------------------------- --------- ------ ------ -------ddev_lvlogdb /ossrc/sybdev/oss/sybdata/ddev_lvlogdb raw device, spec
ial, dsync off, directio on, physical disk, 3100.00 MB, Free: 100.00 MB 2 0 39 0
1587199 now we know is in /ossrc/sybdev/oss/sybdata/ B- check the space availab
le root@htossm1o> df -h /ossrc/sybdev/oss/sybdata Filesystem size used avail cap
acity Mounted on /dev/vx/dsk/ossdg/sybdata 62G 43G 18G 70% /ossrc/sybdev/oss/syb
data C- go on /opt/ericsson/sck/lib/create_sybdev and run the command to increas
e log and data device root@htossm1o> ./create_sybdev /ossrc/sybdev/oss/sybdata 7
00 ddev_lvlogdb

SYB lock successful. root@htossm1o> ./create_sybdev /ossrc/sybdev/oss/syblog 50


ldev_lvlogdb SYB lock successful. D- alter data segment according to the change
sybase@htossm1o> isql -Usa Password: 1> alter database lvlogdb on ddev_lvlogdb="
700M" 2> go Extending database by 358400 pages (700.0 megabytes) on disk ddev_lv
logdb 1> E- check hte modification sybase@htossm1o> /ericsson/syb/util/db_check.
sh | grep lvlogdb Device: ddev_lvlogdb, Total Device Size: 3800.00 MB Allocated
Database :lvlogdb Device: ldev_lvlogdb, Total Device Size: 980.00 MB Allocated D
atabase :lvlogdb lvlogdb system 3700MB 1087MB 70% lvlogdb logsegment 900MB 896MB
0%
2612MB 3MB
####################### To set DB to single user mode, do the following:########
################################# 1>sp_dboption db_name,"single user",true 2>go
Once completed, set the affected DB "single user" to false and re-run syb_diagn
o stic and monitor the Sybase Error Log as above. ###################### OSS mon
itoring tool is now accessible ################### #############################
#### To logon to it: - Open Firefox e.g. on UAS1 - URL: 172.20.216.231:57004 - u
ser/pass: hqadmin/hqadmin The most useful view is probably resources view (pleas
e see picture) ######################## to connect to the STORAGETEK server ####
############### ################################ open a terminal mozilla 172.20.
217.72 (ip address for the bis) google netbackup cheat sheet for more informatio
n if we have issue with netbackup do the following action on connect to the back
up server cd /usr/openv/netbackup/bin 1-./bp.kill_all to sopt all netbackup proc
ess 2- ./bp.start_all to refresh

######################## About the analysis of the CSR STS not coming for SGSN #
########################################### I can see that data collection into
the SGSN is creating the .tar file with the counter information, the problem is
related to the get process from the SGSN to the OSS. File is correctly created
in SGSN side but OSS is not able to get it to the OSS Filesystem. Files are in q
ueue in SGSN filesystem. ossuser@eqm01s13p2:/Core/log/OSS_files$ ls -lart total
413184 drwxr-xr-x 2 ossuser gsnuser 28672 Jan 31 2012 -rw-r--r-- 1 om_admin gsnu
ser 112640 Jul 2 22:03 -rw-r--r-- 1 om_admin gsnuser 112640 Jul 2 22:18 -rw-r--r
-- 1 om_admin gsnuser 112640 Jul 2 22:33 -rw-r--r-- 1 om_admin gsnuser 112640 Ju
l 2 22:48 -rw-r--r-- 1 om_admin gsnuser 112640 Jul 2 23:03 . . -rw-r--r-- 1 om_a
dmin gsnuser 122880 Aug 8 14:31 -rw-r--r-- 1 om_admin gsnuser 122880 Aug 8 14:46
-rw-r--r-- 1 om_admin gsnuser 122880 Aug 8 15:01 -rw-r--r-- 1 om_admin gsnuser
122880 Aug 8 15:16 -rw-r--r-- 1 om_admin gsnuser 122880 Aug 8 15:31 -rw-r--r-- 1
om_admin gsnuser 122880 Aug 8 15:46 drwxrwxrwt 29 root root 4096 Aug 8 15:46 dr
wxrwxrwx 3 om_admin gsnuser 102400 Aug 8 15:46 ossuser@eqm01s13p2:/Core/log/OSS_
files$ According with the logs about the ftp error: TRACE : 2012-08-08 16:06:11
(UTC-04:00) Error : SGwGSNFileCollnDistnEngine.col lectAndDistribute() => Collec
tor Type <GSN> Encountered Exception while trying t o do cd to /tmp/DPE_COMMONLO
G/OSS_files/ for NE < SGSNHT02> Exception: SGwFileCo llnDistnEngine.listAllFiles
(),Encountered Exception while trying to list the fil e(s) in < /tmp/DPE_COMMONL
OG/OSS_files > Ftp Error Code: 550==>The response valu e from the command "MDTM
/tmp/DPE_COMMONLOG/OSS_files/TarFiles" did not match th e list of allowed respon
ses. The response from the server was: 550 Could not get file modification time.
The verification included the ftp to the node to discard any issue with the acc
e ss. The only issue is that ere are a lot of files SN side move or remove or ge
t due the amount into the directory where the OSS goes to get the files th for o
ver a month. To fix the issue is needed that from SG the files as maybe are affe
cting the ftp commands of list of files included into the output.
TarFiles Meas_0702122216.tar Meas_0702122231.tar Meas_0702122246.tar Meas_070212
2301.tar Meas_0702122316.tar Meas_0808121446.tar Meas_0808121501.tar Meas_080812
1516.tar Meas_0808121531.tar Meas_0808121546.tar Meas_0808121601.tar .. .
Please let me know when the suggestion were performed to verify if the data coll
ection from OSS starts again. ######################### Need to become real adm
inistrator##################### need to configure interface on a server check ba
ckup status and using Netbackup troubleshooting on CIF platform troubleshooting
and maintenance on ENIQ platform #This is command to find what version of OS you
are running. It seems that anyth

ing above solaris 8 (probaly earlier) is running 64bit. isainfo -v #You can issu
e the following command to find the users who do not have passwords : logins -p
#3.Verify the state of each Backup client: vxprint -htrg # Check that File syste
ms are mirrored: metastat | more #You can verify that the crontab fi le exists f
rom the output of the following c ommand: ls -l /var/spool/cron/crontabs *******
******* run the commande below via alom ip to boot the server if it's han ging f
or a particular reason ******************** #console -d 0 #type y #then type ok
boot #for backup on OSS, copy is saved on /ericsson/dmr/log/recovery to check th
e process ID of particular user #ps -ef | grep -i "username" #Backups can fail i
f the Solaris Server has locale issues: hostname #this will help you to find log
people on RNC lgoqln <hours>h' # more /var/opt/ericsson/sck/data/cp.history Che
ck the last row of the output. #REDE Output file Issue give access to all users:
chmod 777 directory_output_name create a new profile folder Check Server s IP A
ddress # getent hosts masterservice | awk '{print $1}' e.g. ********************
** how to send a pop up message via citrix **************** ********************
*********** connect to UAS server #cd /opt/CTXSmf/bin # ./ctxmsg -a "the message
to be sent" or you can check the server id of user and send a particular messag
e to identify the server id run the script below # ./ctxqsession EX :#./ctxmsg w htossa1o:280 "bay Oss yon souf man, Edy" The following example shows how to di
splay a message and begin the shut down pro

cess after two minutes. Applications that have registered window hints are given
a further thre e minutes to attempt to interactively log users off. go to this
directory : opt/CTXSmf/sbin then run the script below # ctxshutdown -m 120 -l 18
0 Please log off now ***************************************** OSS health check
********************* ******************************* #cd /opt/ericsson/bin run
the script oss_healthcheck.pl then go to tmp for download the fileand open it in
a web browser ************************************* Check Nameserver **********
************** ******************************** Check that nameserver are proper
ly defined on the server by running the following command: # more /etc/resolv.co
nf | grep nameserver *********************************** Check Veritas Licence *
******************* ********************************* Check that the Veritas Lic
ense has not expired via the command: # /sbin/vxlicrep *************************
********* To update the Veritas License *************** ************************
********* run the command: # /sbin/vxlicinst ********************************* S
erver Runtime ******************************* **********************************
Check how long the server is up and running: # uptime Number of Java Processes
Check the number of java processes running on the server: # ps ef | grep c java
*********************************** Check the CPU Consumption ******************
******************* Check that no process is consuming the CPU using top comman
d: # top Check for the TIME and CPU columns, if CPU column is more than 10% and
TIME value is more than 10:00 (10mins), it means that the process is in question
. Get the PID of the process and use /usr/ucb/ps to check details of process in
question # /usr/ucb/ps -auxww <PID>

******************* check interface VLAN for the backup server #cat /etc/hosts t
hen type #netbackup or connect to another server and run the command below #ifco
nfig -a **************** SMF Commands to enable services ***********************
******** ************* check faulty services #svcs -x svcadm manipulates service
s: # svcadm dy # svcadm # svcadm # svcadm runs the # svcadm enable enables servi
ces, services start when dependencies are rea
disable disables services restart stops and starts services refresh commits the
current properties to the running snapshot and refresh method clear signals that
a service in maintenance has been fixed
With -s, enable & disable wait until completion With -t, enable & disable are te
mporary until next boot If the state is in maintenance, it s either the service
instance encountered an error or the server is not configured to run the service
. Online the service with the following command: # svcadm clear <FMRI> *********
************************ Check Run Level service ********************** ********
************************* Run level 3 is the default run level of the OSS. To ch
eck the OSS Run level, run the command: # who r If server run level is not on Ru
n level 3, change the milestone by running the following commands: # svcadm mile
stone svc:/milestone/multi-user-server:default **************************** How
to set online a Use who is OFFLINE for a RNC ** ********************************
*********** the problem : When I tried to login with RNCTG01 IP address than tha
t works fine but when I us e RNC name still having same issue. sgurjeet@htossa2o
> amos RNCTG01 __ __ ____ _____ | \/ |/ __ \ / ____| / \ | \ / | | | | (___ / /\
\ | |\/| | | | |\___ \ / ____ \| | | | |__| |____) | /_/ \_\_| |_|\____/|_____/
OSS Framework for MoShell-9.0g /\ $amosrb_pid = 7241

Last MO: 0. Loaded Preparing offline MIB: 0% ~100%


0 MOs. Total:
1 MOs. ~50%
0;OFFLINE_RNCTG01 - AMOS - Stopfile=/tmp/7226 HELP MENU : h QUIT : q For offline
browsing of PM ropfiles, run "pmr/pmx -l <pmropfiles>". For offline browsing of
CPP logfiles, run "lg[options] -l <cpplogfiles>". The PM ropfiles and CPP logs
can be fetched when online, using command "dcgf" 0;OFFLINE_RNCTG01 - AMOS - Stop
file=/tmp/7226 OFFLINE_RNCTG01> Solution: AMOS should now be working. The proble
m was that the user was logging their sess ion using the name/IP of the node in
their home directory. This causes a conflic t with AMOS which attempts to read t
he file as an IOR file. if there is file whi ch has the same name as the nodes l
ocated in the users home directory, then mosh ell will consider this file is the
IOR file, and it will try to resolve the cont ents of the file, but actually th
is is not a real IOR file, it will return the e rror that this is offline node.
1. Moving file
sgurjeet@htossa1o> pwd /home/sgurjeet sgurjeet@htossa1o> sgurjeet@htossa1o> mv R
NCTG01 RNCTG01.orig sgurjeet@htossa1o> ls -alrt | grep -i rnc -rw-r--r-- 1 sgurj
eet nms 3018 Feb 4 11:46 RNCTG01.orig 2. Starting AMOS
sgurjeet@htossa1o> amos RNCTG01
*********************************** How to connect to Symantec Net BACKUP *****
*************************************** first way htossa1o{nmsadm} # echo $DISPL
AY :70.0 htossa1o{nmsadm} # xhost + access control disabled, clients can connect
from any host htossa1o{nmsadm} # ssh -l root 172.20.216.200 Password: Last logi
n: Wed Jul 4 17:30:54 2012 from 172.20.216.231 Sun Microsystems Inc. SunOS 5.10
Generic January 2005 You have new mail. # tcsh # c

c: Command not found. # # cd /usr/openv # cd java # setenv DISPLAY 172.20.216.22


8:70.0 # ./jnbSA & 2nd way open a terminal #ssh -X root@172.20.216.200 #jnbSA &
************************ how to set gauge period to 15min for GGSN node ********
********************************************* root@htossm1o> pwd /etc/opt/erics
son/ccpdm root@htossm1o> grep GAUGE_INTERVAL_VAL cxc.env | head -1 GAUGE_INTERVA
L_VAL=15 root@htossm1o> You need to restart PDM processes in order to put it int
o effect. Please run the following command in Master Server: # smtool coldrestar
t PDM PDM_SNMP reason=other reasontext= change PDM gauge period
Please note it will disturb statistics collection and might result gaps in SNMP
based nodes. So please choose time suitable for you to perform this activity. **
****************************************************Change Node password****** *
********************************* ########################## Sybase Diagnostic #
################################## ############# A menu driven diagnostic tool f
or Sybase is available to perform the following o ptions: 1. Check database cons
istency 2. Display Size of Logfiles 3. Display Logfiles 4. Display Space used by
databases 5. Display Transaction Log space 6. Display Mirror status 7. Display
Database Configuration 8. Display Server Configuration 9. Display Application Lo
g table size To run Sybase diagnostic tool run the syb_diagnostic script: # /eri
csson/syb/util/syb_diagnostic ############################################# Syba
se Useful sql commands ####### ############################ Run the following co
mmands as user sybase: sp_who lists the current SQL users. You can kill a runnin
g sql process with kill <spid> sp_help reports information about a database obje
ct

sp_helpdb lists information on the database sp_helpdevice lists information abou


t the sybase devices select db_name() shows which database you are in sp_configu
re number of locks checks the value of a parameter sp_configure "number of open
indexes",2000 sets a parameter sp_helpindex FMA_alarm_log Displays information a
bout a table's indexes, includi ng the segments where the indexes reside select
count(*) from FMA_alarm_list count the number of alarms in FM database select *
from <table> where 1=2 just shows the columns headings select * from master..sys
processes where spid=<spid> to check the status of a pr ocess select name from s
ysobjects where type = U just shows user tables dump database model to /var/tmp/
model.dump to dump a database select @@version this will show the version of syb
ase ########## Sybase Connectivity Problems ####################################
# Check the Server is running ps ef |grep sybase Check Running Servers Check MC
s especially TSS Try to login as sa Examine Sybase Errorlog Examine ServerName.c
fg File, has this been changed recently? Start Sybase Manually Verify the UFS fo
r existence of /export/sybdev Verify Backups / take error message to EEI Sybase
Support ################### Sybase Database Full ###############################
###### Use checkdb.sh or sybase info Login as sa Check sp_who and SPID s or runn
ing processes Dump transaction with no_log or truncate_only Check Application Er
ror Log & Sybase Errorlog Check for DB Threshold Messages Is your DB appropriate
ly sized / is there space available to increase size Force the Last Chance Thres
hold (LCT)to Activate and Abort Transactions causing the Log Full or failure of
Log to dump 1>select lct_admin("abort",0,db_id( DB Name")) 2>go Can you truncate
tables? Can you Restart sybase ############################ tempdb Full #######
############################## ################### Check syspocesses select * fr
om sysprocesses where spid = # Is the Process physical_io increasing in size Che
ck that the Process is runnin g select physical_io from sysprocesses where spid=
# < rerun this command and obser ve physical io size> Check the underlying UNIX
PID - select hostprocess from sysprocesses where s pid=# ptree - a hostprocess C
heck syslogshold table for any entries What process is filling tempdb sp_who <us
er> Check tempdb_usage script Can you increase tempdb? Can you kill the Process?
Force the LCT to activate an abort select lct_admin( abort ,spid) Can you resta
rt Sybase

Check Sybase errorlog Isolate the application causing this problem to ensure man
datory applications ( FM) is not effected ###################### AMOS command ##
########################################## ###################### h,m,n,p Help s
creens l <command> Execute UNIX command l+/l- Stat and stop logging mom RncFunct
ion <parameter> mom UtranCell <parameter> lt Load MO tree Give description of RN
C parameter Give description of CELL parameter
pr UtranCell List all cells lpr UtranCell List all cells and related Mos pr GsmR
elation List all GSM Neighbors st UtranCell=<cell> lst UtranCell=<cell> st Utran
Cell lk UtranCell=<cell> str lkr Print state of cell Print state of cell and cha
nnels
Print all Mos linked to cell
Show site availability at Iub level Show Iub configuration and resource usage
uer Show calls in network uer -c <cell> Show calls on cell uer -i <IMSI> Show ca
ll information for IMSI uer -r Iub_CUR005
al alt ala
Display alarms Display alarms chronologicaly Display alarms with detail
get UtranCell <parameter> Display table with parameter for all cells get UtranCe
ll=<cell> <parameter> Display parameter for cell set cell <parameter> <value> s
bl bl deb Block Soft Block Deblock ! Display features enabl ! Display features e
nabled on RN Display RNC User and Throughput Capacity Change parameter to specif
ied value for all cell
get RncFeature ed on RNC get RncFeature featureState C get RncCapacity currentCa
pacityLimit
get ChannelSwitching Display RNC Channel Switching Parametrs get Handover Displa
y RNC Handover Parameters get Paging Display RNC Paging Parameters

get RabHandling Display RNC RAB Handling Parameters get Hsdsch get Eul RBS get R
bsLocalCell Display RBS Parameters get Iub Disblplay Iub Parameters (maxHsRate)
pmr Run PMR with stats for last hour pmr -m X Run PMR with stats for X hours pmx
h <counter1>|<counter2> -m X Run PMR with counter value for X hours !Acceess Cla
ss Baring! get . accessClassNBarred get CUR005 accessClassNBarred lset BON0 acce
ssClassNBarred 1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0 !Site Availability! strt !Mobatch
! moshell -v moshell -v mobatch -o mobatch -v t/mobatch password=rnc -m RNCARU2,
RNCCUR1 'lt all; st utrancell; exit;' password=rnc RNCARU2 'lt ^utrancell; st ut
rancell; exit;' /home/swright/ABCSITES.txt 'lt all; alt' /home/swright/mobatch p
assword=rbs -o /home/swright/ABCSITES.txt 'lt all; lga' /home/swrigh
!Log of Alarms! lga lset BON007X accessClassNBarred 1,1,1,1,1,1,1,1,1,1,0,0,0,0,
0,0 lset BON007X accessClassNBarred 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 !RBS Resourc
es ced ced | sort -k 9 ! Sort on interference cedh !CE Resource usage cedh | sor
t -k 8 !CE ResourceL CEs !VSWR < 15 dB is limit >20 is good lh ru fui get vswr !
without ASC lh asc dbg vswr 0 get -k ! with ASC !Inventory, including feature i
nvh ! Events & Alarms in last 24 hr lgaevs 24h ! Show CVs cvls ! Save CV cvms [C
V NAME] [USER] [Info]

! Delete CV cvrm [CV NAME] !Get faults in RBS 3518 Main Remote lh ru fui get fau
lts ! Nobe B - Get DUW and connections and LED state ! RNC - Get Boards and conn
ections and LED state cabx !Get faults in ASC lh asc dbg faults lh asc dbg statu
s get 0 !Clock readclock get syncr traceroute 192.168.10.6 ping 192.168.10.6 !Ce
ll Definition Check hget ExternalGsmCell ncc|bcc|lac|cellIdentity|bandIndicator
hget Utrancell primaryScramblingCode|localCellIdlocationarea|localCellId !Check
Locked Status get HDO113 cellReserved get HDO113 accessClassNBarred st HD0113 !D
irected Retry Target lset Utrancell=HDO010Z directedRetryTarget ExternalGsmNetwo
rk=Digicel_Haiti_2G,E xternalGsmCell=HDO010C !Haiti cd /home/eric/moshell ./mosh
ell 172.20.249.196 RLSUP:CELL=HDO570B; ######################## Linux setup shar
ed directory ######################### #########################################
########################### by Vivek Gite on January 11, 2006 6 comments last updat
ed at January 11, 2006 Sharing a directory among users in same group is one of t
he essential tasks. You need to use chmod command and add user to appropriate gr
oup. To make idea clear here is an scenario: /home/myproj : is shared directory
usr1, usr2, ... usrN : would like to work and share files in /home/myproj direct
ory padmin : Main project administrator user Step # 1: Create a shared director
y /home/myproj

If this directory does not exist then create it: # mkdir /home/myproj Step # 2:
Create the group shared group You need to create a new group. Let us assume grou
p name is myproj # groupadd myproj Step # 3: Add user project administrator (pad
min) and setup password: # useradd -d /home/myproj/ -g myproj -m padmin # passwd
padmin Step #4: Add rest of users to group myproj # useradd -d /home/myproj/ -g
myproj usr1 # passwd usr1 Add second user: # useradd -d /home/myproj/ -g myproj
usr2 # passwd usr2 ... and so on... Step #5: Setup permission on /home/myproj d
irectory as follows: (a) Setup group ownership to myproj group: # chown -R padmi
n.myproj /home/myproj/ (b) Setup full permission for group and owner on a direct
ory: # chmod -R 775 /home/myproj/ (c) Setup sgid bit. So what is sgid bit? Norma
lly whenever you creates file in a directory it belong to default group of user.
When a file is created in a direc tory with the sgid bit set it belogns to the
same group as the directory. The re sult is all users of myproj group can create
/alter files in /home/myproj directo ry: # chmod -R 2775 /home/myproj/ OR # chmo
d -R g+s /home/myproj/ ################ HOW TO CHECK PASSWORD ON A node ########
####################### ######### how to list nodes and users root@htossm1o> pwA
dmin -list how to see the password root@htossm1o> pwAdmin -get SGSNHT02 ossuser
pwAdmin: Error: Invalid option: -get <argument missing>. Use 'pwAdmin -help' for
details. root@htossm1o> pwAdmin -get SGSNHT02 normal ossuser FAILED (in server)
: The given combination of system: 'SGSNHT02 (normal)' and acc ount: 'ossuser' i
s not defined in the password service. root@htossm1o> pwAdmin -get SGSNHT02 NORM
AL ossuser Ericsson@123 root@htossm1o> how to change password root@htossm1o> pwA
dmin -changePw SOFTWARE NORMAL ossuser -pw<new password> 1) list all nodes info
pwAdmin -list 2) check help to know how to use pwAdmin password pwAdmin -help

-----------------------------printout:-------------------------------------Usage
: pwAdmin [-list [ system [type] ] | -create {system type account [-pw pw] [-inf
o info] | -f file} | -delete {system type account | -f file} | -changePw {system
type account [-pw pw] | -f file} | -setInfo {system type account info | -f file
} | -get system type account | -changeKey [key] | -init | -help] --------------------------------------------------------------------------3) get current passw
ord for the node(example BSCTG10) pwAdmin -get SYSTEM TYPE ACCOUNT EX:pwAdmin -g
et BSCTG10 NORMAL ossuer ptintout: Pass123 4) set a new password after pwAdmin changePw system type account ex: pwAdmin -changePw BSCTG10 NORMAL ossuser printo
ut: Enter new password for ossuser at BSCTG10: Note1: the password must be 1st d
efined in node APG by concerned team note2: after having modified the node passw
ord from OSS side, the ONRM database must be updated by using modify function in
ONE. ############################# NTP Readiness for Daylight Saving Time #####
###### ############################# 1. Check the timezone on the server MSCHT1_
sam_1_6_1 SAM014:> echo $TZ America/Port-au-Prince Check the setting for DST on
the server for 2012 MSCHT1_sam_1_6_1 SAM014:> zdump -v America/Port-au-Prince |
grep 2012 Edit the file /usr/sbin/zic /usr/share/lib/zoneinfo/src/northamerica w
here the Zone is equal with your TZ Backup the file before >>>cp /usr/sbin/zic /
usr/share/lib/zoneinfo/src/northamerica /usr/sbin/zic /usr/ share/lib/zoneinfo/s
rc/northamerica_original Make sure that the Rule is present inside your Zone # F
rom Stephen Colebourne (2007-02-22): # Some IATA info: Haiti won't be having DST
in 2007. # Rule NAME FROM TO Rule Haiti 1983 only Rule Haiti 1984 1987 Rule Hai
ti 1983 1987 # Shanks & Pottenger say AT is # Go with IATA. Rule Haiti 1988 1997
Rule Haiti 1988 1997 Rule Haiti 2005 2006 Rule Haiti 2005 2006 Rule Haiti 2011
max TYPE IN ON AT May 8 0:00 Apr lastSun 0:00 Oct lastSun 0:00 2:00, but IATA SS
IM (1991/1997) Apr Oct Apr Oct Mar Sun>=1 lastSun Sun>=1 lastSun Sun>=8 1:00s 1:
00s 0:00 0:00 2:00 SAVE LETTER/S 1:00 D 1:00 D 0 S says 1:00s. 1:00 0 1:00 0 1:0
0 D S D S D

Rule Haiti 2011 max # Zone NAME GMTOFF RULES Zone America/Port-au-Prince -4:49:2
0 -4:49 -5:00 Haiti
Nov FORMAT LMT PPMT E%sT
Sun>=1 2:00 0 S [UNTIL] 1890 1917 Jan 24 12:00 # P-a-P MT
After editing completed compile the file >>>>/usr/sbin/zic /usr/share/lib/zonein
fo/src/northamerica Then check the DST setting again >>>>> zdump -v America/Port
-au-Prince | grep 2013 You should see the DST America/Port-au-Prince EST isdst=0
America/Port-au-Prince EST isdst=0 America/Port-au-Prince EDT isdst=1 America/P
ort-au-Prince EDT isdst=1 America/Port-au-Prince EST isdst=0 Reboot the server #
init 6 ################################## how to load license on OSS ###########
###### ###################################################### See below the proc
ess of loading the licenses on the OSS. After the process is completed, sun smto
ol l on the master server to see a list of the running licenses/processes. If th
e recently loaded license is either failed or offline, you can use smtool online
licenseName to put it online. Basically that is the procedure. Open a tcsh sess
ion # tcsh You have to copy license file lservrc_STW000000324288_IPB7800002 (OSS
)_172.20.1. 164_expire_20120507.txt in suitable directory, could be /tmp or /var
/tmp. Preferable change name file to lservrc_STW000000324288_IPB7800002_expire_2
012050 7.txt to avoid issues with some characters in name. Change to Sentinel di
rectory /opt/Sentinel/bin Set variable "sentenv LSFORCEHOST 172.20.1.164" Load l
icense file ./lslic -F /var/tmp/lservrc_STW000000324288_IPB7800002_expire_ 20120
507.txt That it is all #########################################################
####################### settings Thu Feb 7 14:43:46 2013 UTC = Thu Feb 7 09:43:4
6 2013 Sun Mar 10 06:59:59 2013 UTC = Sun Mar 10 01:59:59 2013 Sun Mar 10 07:00:
00 2013 UTC = Sun Mar 10 03:00:00 2013 Sun Nov 3 05:59:59 2013 UTC = Sun Nov 3 0
1:59:59 2013 Sun Nov 3 06:00:00 2013 UTC = Sun Nov 3 01:00:00 2013

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

Вам также может понравиться