Merubah JVM (java virtual memory) di tomcat

Posted in Uncategorized with tags , on October 6, 2015 by dedy efendi

Mau merubah JVM di tomcat, dah cek di warungpedia belum ? πŸ˜›

#cd /home/tomcat/bin

#vi setenv.sh

JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre/bin/java
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
JAVA_OPTS=”$JAVA_OPTS ”
export JAVA_HOME
export JRE_HOME
export JAVA_OPTS=”-Dfile.encoding=UTF-8 -Xms2048m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=512m”

restart tomcat, dah gitu aja πŸ™‚

Advertisements

Aktifkan service nsf di hp-ux

Posted in Iseng Aje on October 20, 2009 by dedy efendi

/sbin/init.d/nfs.server start

gampang kan πŸ˜€

Cek processor dan Memory di HP-UX

Posted in Iseng Aje on October 19, 2009 by dedy efendi

untuk liat processor dan memory di mesin hp-ux

# sam –> Performance Monitors –> System Properties –> Memory

gampangkan πŸ˜€

expired tape

Posted in Iseng Aje, Sok Tahu on September 30, 2009 by dedy efendi

cara expired tape kalo ke habisan tape dan lagi males reload tape ke library πŸ˜€ ,

contoh :

/usr/openv/netbackup/bin/admincmd/bpexpdate -m L00019 -host bckpapp1 -d 0 -force

L00019 = media ID
bckpapp1 = media server/host

sekian dan terimakasih πŸ˜€

iseng2

Posted in Iseng Aje on July 16, 2009 by dedy efendi

#letak master programnya mediaserver HPUX
/backup/data/source/NBU_60_MP4_HPUX/NB_60MP4_HPs_20061204b

#untuk jalanin/matiin service PBX
/opt/VRTSpbx/bin/vxpbx_exchanged stop
/opt/VRTSpbx/bin/vxpbx_exchanged start

#liat bug dari host tersebut
admincmd/bptestbpcd -host bckpapp8 -debug

#liat host media server yg terdaftar di master netbackup
/usr/openv/netbackup/bin/admincmd/nbemmcmd -listhosts

#install patch netbackup ver 6.0
/mnt/NBU60MP6/Vrts_pack.install

————————————————
Installation of pack NB_JAV_60_6_M completed
————————————————

There are 5 packs available in /mnt/NBU60MP6:
(* denotes installed pack)

NB_60_6_M *
NB_BMR_60_6_M
NB_CLT_60_6_M *
NB_JAV_60_6_M *
NB_VLT_60_6_M

Enter pack name (or q) [q]: q
Exiting Vrts_pack.install

#liat services netbackup yg sedang jalan
/usr/openv/netbackup/bin/bpps -x

Point2 install client

Posted in Iseng Aje on July 2, 2009 by dedy efendi

#uname -a
//sesuaikan os yg akan di install
#mount -F nfs server1:/backup/data/source /mnt/
//mounting ke server server1
#cd /mnt
//masuk ke mountpoint yg ada sourcenya
#bdf /usr/
//nah di cek dulu apa spacenya masih ada buat netbackup,karena defaultnya dia taruh di /usr/openv
#./install
//tunggu deh, isi jawaban sesuai dengan pertanyaan πŸ˜€
#telnet server1 bpcd
//cek client bisa komunikasi ga ma server
#umount /mnt
//jangan lupa di umount yg barusan di mounting biar bersih aja maennya πŸ˜€

Jalanin archive via command

Posted in Iseng Aje on July 1, 2009 by dedy efendi

Sesuai judul diatas menjalankan user archive lewat command

/usr/openv/netbackup/bin/admincmd/bprsh -l root client_name ‘/usr/openv/netbackup/bin/bparchive /usr/openv/netbackup/prod_rman_scripts/CTRL/*’

cek di activity monitor! jalan ga ya? jobnya πŸ™‚