you can run a non interactive ssh session and pull it to the local host, leave the tunnel running in the background
nohup ssh -g -L 8080:localhost:8080 root@jump -N &
some Unix notes
you can run a non interactive ssh session and pull it to the local host, leave the tunnel running in the background
nohup ssh -g -L 8080:localhost:8080 root@jump -N &
to let the tsm client save its password you can add this option to /opt/tivoli/tsm/client/ba/bin/dsm.sys:
PASSWORDACCESS generate
If when you want to remove a XSB from a domain you get the message that the OS disks are being used by VxVM, and you know they’re not:
XSCF> deleteboard -c disconnect 09-0 XSB#09-0 will be unconfigured from domain immediately. Continue?[y|n] :y Start unconfiguring XSB from domain. Resource Information ------------------ ------------------------- /dev/dsk/c1t0d0s2 Device being used by VxVM /dev/dsk/c1t1d0s2 Device being used by VxVM XSB#09-0 could not be unconfigured from DomainID 2 due to operating system error.
The message “Device being used by VxVM” can be a bit misleading. They are not in use by VxVM, they’re in use by VxDMP!!!!
To remove this dependency you need to remove them from dmp by doing something like:
vxdisk -o alldgs list | egrep '^c0|^c1' | awk '{ print $1 }' | while read d;do vxdmpadm -f disable path=$d; done
After this you can remove the XSB using “deleteboard -c disconnect” without the “device being used by vxvm” error message ![]()
tcpdump -i bond0 -w tcpdump_`uname -n`_`date +%d_%m_%H_%M_%S_%Y`.pcap
snapshot -LF -t rdircio@10.80.120.58:/data -k download
[root@myserver tmp]# omreport storage controller Controller PERC H710P Mini (Embedded) Controllers ID : 0 Status : Ok Name : PERC H710P Mini Slot ID : Embedded State : Ready Firmware Version : 21.2.0-0007 Minimum Required Firmware Version : Not Applicable Driver Version : 00.00.06.14-rh1 Minimum Required Driver Version : Not Applicable Storport Driver Version : Not Applicable Minimum Required Storport Driver Version : Not Applicable Number of Connectors : 1 Rebuild Rate : 30% BGI Rate : 30% Check Consistency Rate : 30% Reconstruct Rate : 30% Alarm State : Not Applicable Cluster Mode : Not Applicable SCSI Initiator ID : Not Applicable Cache Memory Size : 1024 MB Patrol Read Mode : Auto Patrol Read State : Stopped Patrol Read Rate : 30% Patrol Read Iterations : 18 Abort Check Consistency on Error : Disabled Allow Revertible Hot Spare and Replace Member : Enabled Load Balance : Not Applicable Auto Replace Member on Predictive Failure : Disabled Redundant Path view : Not Applicable CacheCade Capable : Yes Persistent Hot Spare : Disabled Encryption Capable : Yes Encryption Key Present : No Encryption Mode : None Preserved Cache : No Spin Down Unconfigured Drives : Disabled Spin Down Hot Spares : Disabled Spin Down Configured Drives : Disabled Automatic Disk Power Saving (Idle C) : Disabled Time Interval for Spin Down (in Minutes) : Not Applicable Start Time (HH:MM) : Not Applicable [root@myserver tmp]# omreport storage vdisk controller=0 Virtual Disk 0 on Controller PERC H710P Mini (Embedded) Controller PERC H710P Mini (Embedded) ID : 0 Status : Ok Name : Virtual Disk 0 State : Ready Hot Spare Policy violated : Not Assigned Encrypted : No Layout : RAID-1 Size : 278.88 GB (299439751168 bytes) Device Name : /dev/sda Bus Protocol : SAS Media : HDD Read Policy : Adaptive Read Ahead Write Policy : Write Back Cache Policy : Not Applicable Stripe Element Size : 64 KB Disk Cache Policy : Disabled
Edit these files after issuing “hastop -force -all”
/etc/llthosts
/etc/llttab
/etc/hosts
/etc/nodename
/etc/VRTSvcs/conf/config/main.cf
/etc/VRTSvcs/conf/sysname
on each node:
# /etc/init.d/llt start
# /etc/init.d/gab start
Both options will need a reboot.
To enable:
# stmsboot -e
To disable:
# stmsboot -d
# /usr/sbin/bootadm update-archive -R /a # installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t0d0s0 # installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0