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.11.19.2012
10.11.2012
how to install apk on andriod device
archived versions of Flash player for Android
c7000 enclosure health degraded
watch hulu on android by editing flash library via app
10.10.2012
find the destination for DFS shares
10.04.2012
individual umask in sftp/scp
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
9.28.2012
syslogd cores
9.27.2012
8.17.2012
Windows 7 enable lpr/lpq
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
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
7.12.2012
change title bar in putty programmatically
7.09.2012
grocery shopping list on kindle touch
6.21.2012
memory details on HPUX
6.14.2012
ssh errors
newer versions probably do not have this problem - this was on 11.11 using T1471AA A.03.81.002 HP-UX Secure Shell
6.13.2012
ECC agent install issues on HPUX
An unsupported version of Master Agent was found. Please uninstall from /usr/ecc to continue.
./install_native.sh[372]: /usr/ecc/install_native.log: Cannot create the specified file.
OnlineJFS not installed on HPUX 11.31 (or newer versions)
fsadm command to extend a file system online wasn't working – got this error:
UX:vxfs fsadm: ERROR: V-3-25255: fsadm: You don't have a license to run this program
I then checked and did not see the OnlineJFS product, so I did the following steps to fix it and was able to then extend the file system:
swinstall -x autoreboot=true -x mount_all_filesystems=false -s DEPOTSERVER:/depot/11.31 B3929EA
then you should b able to extend.
6.07.2012
hpux 11.23 panic lo_realvfs
6.04.2012
ADS - alternate data streams on NTFS and batch files
sending vcards to LG420G (straighttalk)
disabling browser back button in windows
5.09.2012
determine if SPC-2 flag is enabled on HPUX 11.31 and Symmetrix devices
http://h30499.www3.hp.com/t5/System-Administration/HP-UX-v3-agile-view/td-p/4605137
symmaskdb list database -sid SymmSerialNum -v | grep SPC
2.16.2012
HP SmartArray controller disk replacement steps on HP i2 blades
This is for the BL860c i2 blades (and other i2 models):
Replace a failed LVM mirror disk that is attached to a SmartArray SAS controller.
Notes: For this example /dev/disk/disk2 is the failed disk and /dev/disk/disk4 is the new device that was created because the SAS controller identified a new disk.
Notes: For this example the SAS controller device is /dev/ciss0
Notes: The failed disk is in volume group vg00
Identify the disk by serial number. Give the Bay number to the HP CE so they know which disk to replace:
sautil /dev/ciss0 -s
scsimgr get_info -D /dev/rdisk/disk2
Deactivate the PV:
pvchange -a n /dev/disk/disk2
Replace the failed disk.
Activate the WWID of the new disk. The Error can be ignored. A new disk device should be created:
scsimgr -f replace_wwid -D /dev/rdisk/disk2 dsf
scsimgr: ERROR: Cannot convert hardware path to an IO tree node
Find the new disk device that was created:
ioscan -fNnC disk
Create a description file to create the EFI partitions:
# cat >> /tmp/idf << EOF
3
EFI 500MB
HPUX 100%
HPSP 400MB
Use idisk to setup the disk partitioning on the new disk device:
idisk -wf /tmp/idf /dev/rdisk/disk4
insf -e –C disk
Assign the old instance number to the replacement disk:
io_redirect_dsf -d /dev/disk/disk2 -n /dev/disk/disk4
Verify that /dev/disk/disk2 is in a claimed state:
ioscan –fnNC disk
Use mkboot to format and populate the newly created EFI partition:
mkboot -e -l /dev/disk/disk2
Change the AUTO file contents to the proper mode:
mkboot -a "boot vmunix -lq" /dev/rdisk/disk2
Restore the LVM reserved areas (PVRA/VGRA):
vgcfgrestore –n vg00 /dev/rdisk/disk2_p2
Reattach the new disk:
pvchange -a y /dev/disk/disk2_p2
Sync volume group:
vgsync vg00
Use lvlnboot to ensure that the LVM logical volumes are prepared:
lvlnboot -R
lvlnboot -v