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 πŸ™‚

setting vtl

Posted in Sok Tahu on June 24, 2009 by dedy efendi

[root@redbul scsi]# rpm -qa|grep mayastor
mayastor-vtl-iscsi-1.5-10
mayastor-vtl-gui-1.1-6
[root@redbul scsi]# rpm -qa|grep iscsi
mayastor-vtl-iscsi-1.5-10
iscsi-initiator-utils-4.0.3.0-6
[root@redbul scsi]# /etc/init.d/mayastor status
maya.configd (pid 7469) is running…
maya.iscsid (pid 7586) is running…
[root@redbul scsi]# /etc/init.d/iscsi status
iscsid (pid 7434 7426) is running…

[root@redbul scsi]# /opt/mayastor/bin/mayacli
mayacli> show iscsi
Target Active
ID LUNs Sessions Alias iSCSI Name
—— —- ——– —————- ——————————–
0 5 1 IBMULT-TD0 iqn.2003-06.com.pavitrasoft:redbul.a8c00201
Session ID IP Address Initiator Name Options
—————- —————- —————- —————-
10100003d0200 192.168.1.2 iqn.1987-05.com.cisco:01.75f7a6e4d8e1
MaxConnections : 1
MaxBurstLength : 16776192
ErrorRecoveryLevel : 0
mayacli> exit

[root@redbul scsi]# cat /etc/iscsi.conf
#Network category
Address=192.168.1.2
#Discovery Address category
DiscoveryAddress=192.168.1.2
#Target Name Category
TargetName=iqn.2003-06.com.pavitrasoft:redbul.a8c0020
Enabled=yes

[root@redbul scsi]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 02
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 04
Vendor: IBM Model: 03584L32 Rev: 0.1
Type: Medium Changer ANSI SCSI revision: 03

[root@redbul scsi]# /usr/openv/volmgr/bin/scan
************************************************************
*********************** SDT_TAPE ************************
*********************** SDT_CHANGER ************************
*********************** SDT_OPTICAL ************************
************************************************************
————————————————————
Device Name : “/dev/sg6”
Passthru Name: “/dev/sg6”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM 03584L32 0.1 ”
Vendor ID : “IBM ”
Product ID : “03584L32 ”
Product Rev: “0.1 ”
Serial Number: “mtl8da3e4cea0401”
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM 03584L32 mtl8da3e4cea040”
Device Type : SDT_CHANGER
NetBackup Robot Type: 8
Removable : Yes
Device Supports: SCSI-3
Number of Drives : 4
Number of Slots : 10
Number of Media Access Ports: 10
Drive 1 Serial Number : “mt0ec8419c”
Drive 2 Serial Number : “mt52064903”
Drive 3 Serial Number : “mt68d44954”
Drive 4 Serial Number : “mt29294f08”
Flags : 0x0
Reason: 0x0
————————————————————
Device Name : “/dev/nst3”
Passthru Name: “/dev/sg5”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001”
Vendor ID : “IBM ”
Product ID : “ULT3580-TD2 ”
Product Rev: “0001”
Serial Number: “mt29294f08”
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt29294f08”
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
————————————————————
Device Name : “/dev/nst2”
Passthru Name: “/dev/sg4”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001”
Vendor ID : “IBM ”
Product ID : “ULT3580-TD2 ”
Product Rev: “0001”
Serial Number: “mt68d44954”
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt68d44954”
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
————————————————————
Device Name : “/dev/nst1”
Passthru Name: “/dev/sg3”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001”
Vendor ID : “IBM ”
Product ID : “ULT3580-TD2 ”
Product Rev: “0001”
Serial Number: “mt52064903”
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt52064903”
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
————————————————————
Device Name : “/dev/nst0”
Passthru Name: “/dev/sg2”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001”
Vendor ID : “IBM ”
Product ID : “ULT3580-TD2 ”
Product Rev: “0001”
Serial Number: “mt0ec8419c”
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt0ec8419c”
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0