3.19.2013

window 8, juniper ssl vpn, rdp connection issues

connection drops every 30 seconds or so with Juniper SSL VPN RDP terminal services client.  Using the full VPN and the native windows 8 remote desktop client, I had no problems.

The problem ended up being a HP wireless printer/scanner issue.  I remove the printer from windows 8 and don't have any problems any longer.  I also did not have any issues when the printer was turned on.  It seems that the driver does a broadcast every 30 seconds that interrupts the Juniper rdp client.  Maybe stopping the spooler would have fixed it?

See this thread:

I also turned off UDP transmission for RDP, but I don't think that was my issue at all:

HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\

Create a dword and assign a value of 1 to:  tofClientDisableUDP dword:00000001

2.23.2013

change boot option in uefi boot menu

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?prodSeriesId=3257036&objectID=c03017717

see the bcfg command.

UEFI shell F-keys

at least on HP integrity bl860c i2 blades using putty:  the f-keys can be simulated using ESC - and the f-key number.

example to simulate F3 for exit in the efi edit command editor press ESC then 3.

1.19.2013

upgrade Solutions Enabler - getting symcfg discover error message

if you get this message after upgrading solutions enabler and trying to refresh the database via symcfg discover, then do the following:

# /usr/symcli/bin/symcfg discover
The SYMAPI database file cannot be used because it was written by a version of SYMAPI that is no longer supported

then do this:
> /var/symapi/db/symapi_db.bin

That's the same as doing: cat /dev/null > /var/symapi/db/symapi_db.bin

Now you can do the symcfg discover without errors.

11.19.2012

long hostname - kernel tuneable.

Long hostname - longer than 8 characters:

If a server is not properly configured for long host names, the kernel tunable  expanded_node_host_names  needs to be set to1 and the server may need to be rebooted (even though the kernel tunable parameter is dynamic).

I believe this only works if you have certain patches installed or at 11.31 or something, not sure.

10.11.2012

how to install apk on andriod device

beside using a file explorer or something like that to install and apk, here's a free user friendly service to install an apk:

archived versions of Flash player for Android

Since it's no longer available via google play/andrioid market -- Archived versions of Flash Player for Android (and others):  http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html

c7000 enclosure health degraded

if you see this in the OA system log: Kernel: Communication to an I2C device was lost temporarily, retrying...
 
but then you only see the enclosure health was "degraded" but nothing pointing to anything specific.
then you probably have a bad interconnect.  Try transitioning from Active to Standby OAs and the bad interconnect might show itself.

watch hulu on android by editing flash library via app

 
watch hulu by editing (automatically via app) the flash libraries to make it appear that the flash player is windows

10.10.2012

find the destination for DFS shares

find destination of DFS server/share name:
dfscmd /view \\domain\DFSshare /full
 
 
dfscmd *might* be from the support tools

10.04.2012

individual umask in sftp/scp

For HPUX (at least some of the 11.31 versions) the following can be used in sshd_config to set the umask for individual users or groups:
Add the following two lines at the end of the file to configure the sftp umask for a group of users.

Match Group  <group name>
ForceCommand  internal-sftp  -u 73

Or, add the following two lines at the end of the file to configure the sftp umask for a single user.

Match User   <user name>
ForceCommand  internal-sftp -u 73
of course you'll need to restart ssh by doing:  kill -HUP $(cat /var/run/sshd.pid)   or /sbin/init.d/secsh stop ;  /sbin/init.d/secsh start
from:

9.28.2012

syslogd cores

 HP-UX syslog crashes with a core file in /var/adm/syslog.   file /var/adm/syslog/core:  ELF-32 core file - IA64 from 'syslogd' - received SIGXFSZ
 
if none of your files in /var/adm/syslog are over 2GB, then change the LOG_SIZE to NOLIMIT in /etc/default/syslogd  like this:
 
query value:
ch_rc -l -p LOG_SIZE /etc/default/syslogd
 
set to NOLIMIT:
ch_rc -a -p LOG_SIZE=NOLOMIT /etc/default/syslogd
 
what happened is that OVO (HPOM) process opcle had syslog.log open and it hit 2GB so when syslog was recycled, the opcle process didn't release and the system still thinks that syslog.log is over 2GB.  That's the theory anyway.  I guess if that's the case you probably could just restart OVO/HPOM and that might fix it.

8.17.2012

Windows 7 enable lpr/lpq

enable lpr and lpq commands in Windows 7; by default it's not enabled
or turned on.

go into control panel and "turn windows features on or off" and under
"print and document services" turn on "lpr port monitor"

8.13.2012

EMC Open Migrator

move / sync data transparently to end user - better than rsync cause
it's synced real time via dynamic kernel module. it works on raw
logical volumes. Here's how it works. you configure new logical
volumes of the exact same size as the old ones using new LUNs (and a
new VG of course, which is a good time to maybe change the VG details
- max PE, etc). then create session files which "pair" up the old LV
to new LV. Once the sync is complete and you can take an outage,
unmount the old LV and VG and new ones too. Then stop the session and
mount the new stuff.

Open Migrator (OpenMigrator or OM) details:

create session file, /tmp/session1_pairs contents:
/dev/vg00/rlvol11 /dev/new-vg00/rlvol1


/sbin/stormigrate create -file /tmp/session1_pairs -session u01
/sbin/stormigrate list
/sbin/stormigrate activate -s u01
/sbin/stormigrate show -s u01
/sbin/stormigrate copy -s u01
/sbin/stormigrate query -s u01
/sbin/stormigrate query -i 5 -s u01
/sbin/stormigrate query -miostat -s u01


/sbin/stormigrate tune -ceiling 40
/sbin/stormigrate tune -mio_recover_action log
/sbin/stormigrate tune -mio_recover_action term

higher IO:
/sbin/stormigrate tune -iosize 128 -mio_perf_ratio 500


umount /u01
vi /etc/fstab -- update to san-np01
then deactivate session:
/sbin/stormigrate deactivate -s u01
/sbin/stormigrate delete -session u01

mount /u01
bdf /u01 -- verify using new VG and lvol

8.08.2012

dbprofile/​lanboot and PXE-E18 error

Use dbprofile and lanboot on an Itanium server but get this:
PXE-E18: Server response timeout.

and this shows up in the ignite server's syslog:
tftp: client does not accept options
receive: RRQ /opt/ignite/boot/hpux.efi octet blksize 16384
send: OACK  blksize 16384
send_file: recv: Can't assign requested address
receive: RRQ /opt/ignite/boot/hpux.efi octet blksize 16384
send: OACK  blksize 16384
send_file: recv: Can't assign requested address
receive: RRQ /opt/ignite/boot/hpux.efi octet blksize 16384
send: OACK  blksize 16384
Transfer timed out


Then add the following option to the tftpd entry in inetd.conf:
-s -r blksize

so something like this:
tftp        dgram  udp  wait   root /usr/lbin/tftpd    tftpd -s -r blksize /opt/ignite /var/opt/ignite


See this for full instructions:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=4077173&prodTypeId=18964&objectID=c03083630

7.16.2012

get model nuber of SAS drive in RAID1 config

How to get the product number for a drive in a RAID1 mirror on a qlogic LSI SAS controller, typically on the first Gen BL860c (and other model) blades
 
You can get the product or model number for the individual drives:
sasmgr get_info -D /dev/sasd0 -v -q lun=all -q lun_locate
 
 
interestingly, I still can't find a way to turn on the UID/attention LED on an individual drive within a RAID1 set.

7.12.2012

change title bar in putty programmatically

here's some code for a shell script that will change the title bar text in putty (or other terminal/ssh apps):
 
title_bar.sh
params=$*
echo "\033]0;$params\007"
 
then call the shell script with whatever you want in the title bar:  ./title-bar.sh hello my friends     "hello my friends" will appear in putty's title bar.

7.09.2012

grocery shopping list on kindle touch

There's no notepad or writing app built-in on the kindle touch.  But there's a free checklist app from amazon that would make a good grocery or shopping list.
 
Search for "My Checklist" by Amazon Digital Services on the kindle store of amazon  It's not bad and free to boot.