2.23.2013
change boot option in uefi boot menu
see the bcfg command.
UEFI shell F-keys
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
# /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.
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
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
SAS controller on HPUX itanium disk replace
1.26.2012
sas commands (Hardware mirroring) hp-ux
1.12.2012
start a search when opening a file in vi
1.09.2012
cimprovagt using too much memory
12.07.2011
excessive dots during HPUX startup
Change the GSP/MP/iLO "asynchronous" port to the correct terminal
type: vt100 verses HPTERM. usually you can get in and do a "CA"
(configure asynchronous) and change the console terminal type there.
OR:
One suggestion I've seen on the HP forums is to try setting
"LIST_MODE=1" in /etc/rc.config.d/list_mode, rather than the default
value of zero. This forces the startup to use the same line-oriented
mode regardless of the terminal type. It might be worth a try.
11.29.2011
HPUX LVM logical volume size limit
unless some patches are installed:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=459574&prodTypeId=18964&objectID=c02742533
with the patches or on 11.31 it's 16TB
9.20.2011
AT&T vs T-mobile sim card in straight talk phone
look at the SIM card numbers. If it starts with 890126 its T-mobile. 890141 for AT&T.
OR check bottom of packaging of the phone. Look for the white label. Look on the right for an "A" or "T" (AT&T or T-mobile)
Packet tracing in HPUX
9.14.2011
enable CDE on hpux
not a tech topic - the real reason why they hate us
8.29.2011
HPUX 11.31 native multipathing
8.26.2011
swinstall strange errors - check your hosts file for correct IP
ERROR: There is no "depot" ACL at "XXXXXXXXXXX". The object is, or is part of, a read-only depot.
Verizon Mifi Diags page - force EVDO/3g mode only
8.18.2011
samsung GSM A687 (Strive) factory reset -- in case you don't have password
7.24.2011
Garmin Nuvi Issue - "updating GPS Firmware"
see the following thread:
https://forums.garmin.com/showthread.php?t=3375
7.01.2011
no powerpath and getting LUN ID
4.27.2011
Symbolic links on HP CIFS/Samba 3.5.4
4.19.2011
dbprofile on Itanium servers (and 4.0+ HPVM)
4.18.2011
HPUX 11.31 lvm2
10.05.2010
turn off modline support in vim
set nomodeline
9.22.2010
9.10.2010
HPUX verses Solaris
8.27.2010
ssh without being prompted for password
running a script against all of them, but don't want the script to
just pause at the password prompt, then specify the
"PreferredAuthentications" option:
ssh -o PreferredAuthentications=hostbased,publickey
I couldn't get the PasswordAuthentication=no option to work, so the
above saved me
8.05.2010
making skype portable
(Usually C:\Program Files\Skype\Phone\Skype.exe )
skype.exe /datapath:"Data" /removable
7.28.2010
/tmp on Solaris 10
Swap Space and the TMPFS File System
The TMPFS file system is activated automatically in the Solaris environment by an entry in the /etc/vfstab file. The TMPFS file system stores files and their associated information in memory (in the /tmp directory) rather than on disk, which speeds access to those files. This results in a major performance enhancement for applications such as compilers and DBMS products that use /tmp heavily.
If you are close to running out of swap space, you can use your compiler's TMPDIR environment variable to point to a larger, real directory.
Using your compiler's TMPDIR variable only controls whether the compiler is using /tmp or not. It has no effect on other programs' use of /tmp.
7.20.2010
hyperlink formulas in excel
7.07.2010
allow control D keyboard sequence to work
server$ Use 'exit' to logout
server$ set -o | grep ignoreeof
ignoreeof on
server$ set +o ignoreeof
server$ set -o | grep ignoreeof
ignoreeof off
server$ hit cntl-D
logout
7.01.2010
automatically adding ssh keys to known hosts file
5.25.2010
putty command sender
Sends keystrokes to putty windows. Filters allow selection of putty sessions/windows to which the commands are sent. You can exclude/include and use wildcards in the filter. I don't think it supports regular expressions other than * and ? Allows arrow keys, control characters, and a lot more.
Be real careful when using this, experiment first on lab systems.
how to add a bulk load of putty sessions
create a "template" putty session with all the settings you want. go into the registry and export the session: HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\session_name
put a list of machine names in test.txt
then in dos:
for /f %a in (test.txt) do type m.reg | sed -e 's/Template_NAME/%a/g'>> all.reg
These sessions can then be used in putty session manager or any of the other putty related tools.
5.12.2010
free SSH client for iPhone / ipod touch
5.07.2010
disable password aging HP-UX
passwd -x -1 user_id
for i in user1 user2 user3
do
passwd -x -1 $i
done
3.29.2010
differences trying to retain ownership/permissions on HP-UX and nfs
Specifically it can be an issue on EMC Celerra NAS servers, but there's a way to change it:
To change this behavior you can change the Celerra server parameter, rstchown to 0, the default is 1.
Here's a copy someone posted: http://www.scribd.com/doc/6116381/Celerra-Network-Server-Parameters-Guide-5639-A03
contents:
Sets restricted file ownership.0 = Allow the owner of a file to change the file ownership or group ID to any other owner or group because chown and chgrp follow the less restrictive POSIX semantics.1 = Allow only the superuser to change the owner of a file. The current owner can change the group ID only to a group to which the owner belongs.This parameter applies to NFS, but not to CIFS.
3.24.2010
how to determine if usb alfa awus036h is 500mw or 1 watt
from: http://forums.remote-exploit.org/general-discussion/28841-how-test-alfa-awus036h-500mw-1w.html (forums appear to be down now)
The Alfa 1000mW(1W) has a 1 in cased in a circle stamped on the front the 500mW does not
shine light on LED, the PCB will be blue
3.21.2010
hidden (Sprint and Verizon) Novatel MiFi 2200 interace pages
3.01.2010
adding secondary IP interface and IP index number to APA
INTERFACE_NAME[1]=lan0:1
IP_ADDRESS[1]=1.2.3.4
SUBNET_MASK[1]=255.0.0.0
INTERFACE_STATE[1]=up
if adding a secondary IP once APA is already running: bind it to the APA PPA (lan900) as follows:
ifconfig lan900:1 1.2.3.4 255.0.0.0 up
HPUX routing and the ip_strong_es_model network tunable
Best description of the ip_strong_es_model tunable via this ITRC link: http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1267461248860+28353475&threadId=1126880
ip_strong_es_model is used when you want to configure multiple, physical NICs in the same IP subnet, and/or want the functional equivalent of per-source IP routes.
2.11.2010
truecrypt rescue disk on usb
and to skip iso check use the /noisocheck or /n switches on truecrypt or mount the ISO using a virtual cd driver
contents of first link:
Here is how:
1. Format your USB stick from Windows: FAT, Quick, Default Allocation Size.
2. Download Grub4DOS from: http://download.gna.org/grub4dos/
Choose latest version. Here is the one I got: http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip
3. Download Grub Installer from: http://download.gna.org/grubutil/
Choose latest version. Here is the one I got: http://download.gna.org/grubutil/grubinst-1.1-bin-w32-2008-01-01.zip
4. Extract them on your hard disk. Run: grubinst_gui.exe
5. Click DISK. Choose your USB stick. Go 2 boxes down and click REFRESH. On the PART list, choose "WHOLE DISK (MBR)". Make sure everything else is unchecked below.
If it says something about --skip-mbr-test, type: "--skip-mbr-test" without quotes in EXTRA box.
Click INSTALL. DOS box should pop up and tell you it transfered MBR.
6. Copy: file "grldr" from your extracted files to your USB stick.
7. Create a text file in the root of your USB stick and name it: menu.lst
Put inside:
title TRUECRYPT RESCUE DISK
find --set-root /tc.iso
map --mem /tc.iso (hd32)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
root (hd32)
chainloader (hd32)
And save the file.
8. Copy TrueCrypt Rescue Disk (the iso you created during system encryption) to root of USB and rename it to: tc.iso
If you don't have the iso, go to TrueCrypt program: SYSTEM > CREATE RESCUE DISK... Follow hte prompts and copy that file to USB and rename it to tc.iso
That is all.
1.15.2010
disable negative dns caching
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"MaxNegativeCacheTtl"=dword:00000000
1.12.2010
eFax - Free trial - not really free
I got two charges for sending over 30 pages ($10 in overages). When I went to cancel, they said they'd only refund the normal fee ($10).
Decide for yourself if it's worth dealing with a company that isn't up-front with their terms......
1.07.2010
EMC ECC and Naviagent problems and fixes
ecc fix:
rm -rf /var/ECC
cd /usr/ecc/exec && rm -f *.COMFILE *.comfile *.uid *.port *.lck
Navisphere agent / Naviagent fix:
stop naviagent and delete HostIdFile.txt:
/sbin/init.d/agent stop ; rm /etc/log/*
11.19.2009
HP-UX sendmail won't start
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: Unable to start Sendmail.
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]:
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: The sendmail.cf file is configured for send_only feature.
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: Modify the /etc/rc.config.d/mailservs file with the send_only feature.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: To disable the send_only feature:
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Run the gen_cf file to generate the sendmail.cf file.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Merge your site-specific customizations with the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen file.
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]:
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Copy the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen file as /etc/mail/sendmail.cf.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Change the /etc/rc.config.d/mailservs file accordingly.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Restart Sendmail.
in /etc/mail/sendmail.cf change the following (or similar line)
from:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1,Name=MTA
to:
O DaemonPortOptions=Name=MTA
then restart sendmail: /sbin/init.d/sendmail start it should start fine.
10.01.2009
Alltel and Sprint mobile broadband
Pantech PX-500
to get on alltel evdo from certain areas, I needed to choose the following settings:
mode: EVDO
roaming: AUTO unchecking Roam guard
important: eject and plug card at least once
It seems important to eject/reinsert the card to get it to connect. It also took a long time (20+ seconds) when opening connection manager after inserting the card for the first time; searching for service, connecting/disconnecting automatically until it connected to an EVDO signal on the alltel network.
HP-UX 11.23 to 11.31 update
agile:
ioscan option -m (mapping)
-m hwpath -H $hw_path -- shows hardware paths
-m lun -H $hw_path -- show agile addressing
-m dsf $device_file -- maps legacy to agile
upgrading from v2 to v3 will leave legacy references in lvmtab, etc.. to fix:
vgscan -N or vgdsf
NOT necessary, but optional:
rmsf -L insf -L -- removes or installs legacy device files from box
iofind command scans ascii files and converts legacy to agile addresses
8.18.2009
use motorola phone as tethered modem on verizon network
8.07.2009
Backtick grave accent ` iPhone
It might be helpful if a bunch of us complained about this missing key on the iPhone and iPod touch keyboards - leave feedback about the missing backtick/grave accent character at: http://www.apple.com/feedback/iphone.html
Really stupid for them to have it on the email address fields even though it's an invalid char for email addresses.
1.30.2009
password aging field
http://www.cse.ohio-state.edu/~mamrak/CIS762/unix_encryption_tut.html
On non-trusted systems password aging is stored as part of the encrypted password each user's account in the system's password file. The password field, which is the second field is divided in two by a comma. The first portion, characters 1-13, is the encrypted password. The second portion, after the comma (characters 15-18), is the password aging field for that account.
password aging field (characters 15-18) breakdown:
character 1: max weeks password is valid before expiration
character 2: min weeks password before password can change
remaining characters: last password change (in number of weeks since 1/1/1970)
the characters are Base-64, so it's kind of tricky. See the above links for a conversion table for Base64.
calculate:
,N/TT
N = 25 weeks, 175 days max password lifetime
/ = 1 week, 7 days miniumum password before changing
S = 30
T = 31
31 * 64 = 1984
1984 + 31 = 2050 weeks since January 1, 1970 = 08/07/08
12.12.2008
lanadmin options for gigabit cards
specifically I like the lanadmin -x card_info PPA it gives you firmware, driver versions, etc. level details. example below for a port on a HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
*********** Version Information **********
Driver version: B.11.23.0609
Firmware version: 1.0.9/1.11
Chip version: 0x10
PCI Sub-System ID: 0x12ca (1000Base-T)
PCI Sub-Vendor ID: 0x103c
Board Revision: A0
Software Key: 0
Engineering Date Code: A-4550
********** Card Setting ***********
Driver State: IGELAN_ONLINE
Auto Negotiation: On
Flow Control: On
Send Max Buf Descriptors: 10
Recv Max Buf Descriptors: 1
Send Coalesced Ticks: 150
Recv Coalesced Ticks: 0
12.09.2008
using font server with Cygwin/X
%RUN% XWin -multiwindow -clipboard -silent-dup-error -fp tcp/FONT_SERVER:7000
where FONT_SERVER is the name or address of the font server, typically tcp port 7000
12.03.2008
great inexpensive waterproof camera case
However, the WP-410 product, even though it says it fits the Olympus Stylus 1010 or 1020, the camera zoom lens will sit on the clear plastic lens of the bag even when using the rubber extender that comes with the case.
http://tech.yahoo.com/blogs/raskin/17377?comment_start=26&comment_count=20
http://www.dicapac.com/
buy from http://www.dicapacusa.com www.amazon.com and probably other outlets.
hpux 11.00 trusted account unlock
/usr/lbin/modprpw -l -x USER
I believe in 11.11 and up all that needed is: /usr/lbin/modprpw -k USER
11.11.2008
c7000 blade enclosures and port maps
http://docs.hp.com/en/AD217-9015B-ed5/ch03s09.html
11.05.2008
netbackup name resolutions issues
bpclntcmd -self -- This returns who the client believes it is
bpclntcmd -pn -- This returns who the client believes the master is, and what the master says the client is
bpclntcmd -hn
bpclntcmd -hn
bpclntcmd -ip
bpclntcmd -ip
All names and IP addresses should match
9.28.2008
swremove selection had errors
Nothing further in the swremove.log or any of the swagent.log files in /var/adm/sw. The problem turn out to be two bundles with the same name, one with the name uppercase, the other lowercase. In order for the swremove command to work, I needed to specify both bunldes:
swremove BUNDLE1 bundle1
9.19.2008
Netbackup and restores to alternate host
http://joostm.nl/netbackup/nbu-env/nbu-env-2-4/doc/TOUCHFILES (see the No.Restrictions file, to allow any client to restore, BUT it's not safe)
7.09.2008
logname and utmp/utmpd problem
ssh (or telnet) into a box, sometimes only occurs on a particular tty, like /dev/pts/1
$ logname logname: could not get login name
even though:
$ id
uid=101(me) gid=102(mygroup)
UPDATE for sshd issues:
update your version of SSH or HP patches; see the last couple comment on this ITRC Forum posting.
try changing UsePrivilegeSeparation to no in sshd_config: /etc/opt/ssh/sshd_config
UsePrivilegeSeparation no
then send a SIGHUP to sshd:
kill -s SIGHUP $(cat /var/run/sshd.pid)
end update
It seems like the utmp database is corrupt or not functioning properly. When logname gives the error message "could not get login name", then system doesn't know who I am, so it thinks I'm root (it writes root-root in the sulog file).
To fix it, I just stopped and restarted the utmpd daemon process: /sbin/init.d/utmpd stop ; /sbin/init.d/utmpd start
This problem sometimes causes logins to hang when processing /etc/profile, if logname is used in /etc/profile or another login script.
6.02.2008
5.22.2008
OVO agent issues
ERROR: Problems with starting OpC Agent processes or none configured.
/opt/OV/bin/OpC/opcagt -start
/opt/OV/bin/OpC/opcagt -status
The VPO control agent is currently not running. (OpC30-1045)
edit hosts file and make sure the main IP address for the machine is listed first, escpecially if the hostname is listed more than once.
$ opcagt -status
Error opcctla (Control Agent)(5900) : Initialize of the VPO Control Agent failed. (OpC30-1036)
Can't lookup servers: Communications failure (dce / rpc). (OpC20-108)
Can't lookup servers: Communications failure (dce / rpc). (OpC20-108)
Stopping all VPO Agent processes... (OpC30-1192)
from: http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=991091
/opt/OV/bin/OpC/opcagt -kill (stop OVO agent)
ps -ef |grep -i rpc
(make sure both rpc and rpcbind are seen)
/sbin/init.d/Rpcd stop
Then if rcpd is still running kill it:
root 1759 1 0 Sep 2 ? 479:48 /opt/dce/sbin/rpcd
kill -9 1759
rm /var/opt/dce/dced/Ep.db
rm /var/opt/dce/dced/Llb.db
(clear rpcd db files)
/sbin/init.d/Rpcd start
(restarts rpcd)
/opt/OV/bin/OpC/opcagt -start (restart the OVO agent)
5.12.2008
APA lan monitor mode hot standby failover mode
secondary port is down:
Link Aggregate PPA # : 900
Link Aggregation Mode : LAN_MONITOR
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)
Active Port PPA # : 0
Port(s) ready : NONE
Port(s) not ready : 1
Port(s) connected to active port : NONE
SYSLOG:
May 11 21:00:17 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan1 is down (lan0 is active)
May 11 21:00:52 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan0 isn't receiving poll packets (lan0 is active)
after plugged in:
Link Aggregate PPA # : 900
Link Aggregation Mode : LAN_MONITOR
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)
Active Port PPA # : 0
Port(s) ready : 1
Port(s) not ready : NONE
Port(s) connected to active port : NONE
SYSLOG:
May 11 21:01:32 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan0 is now receiving poll packets (lan0 is active)
May 11 21:01:52 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan1 is up (lan0 is active)
then:
Link Aggregate PPA # : 900
Link Aggregation Mode : LAN_MONITOR
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)
Active Port PPA # : 0
Port(s) ready : 1
Port(s) not ready : NONE
Port(s) connected to active port : 1
Primary port down:
Link Aggregate PPA # : 900
Link Aggregation Mode : LAN_MONITOR
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)
Active Port PPA # : 1
Port(s) ready : NONE
Port(s) not ready : 0
Port(s) connected to active port : NONE
SYSLOG:
May 11 21:03:05 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan0 is down (lan1 is active)
May 11 21:03:42 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan1 isn't receiving poll packets (lan1 is active)
Primary port back up:
Link Aggregate PPA # : 900
Link Aggregation Mode : LAN_MONITOR
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)
Active Port PPA # : 1
Port(s) ready : 0
Port(s) not ready : NONE
Port(s) connected to active port : NONE
SYSLOG:
May 11 21:05:12 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan1 is now receiving poll packets (lan1 is active)
May 11 21:05:32 sbhs3010 vmunix: APA/LM: FOG:lan900 - lan0 is up (lan1 is active)
same time:
Link Aggregate PPA # : 900
Link Aggregation Mode : LAN_MONITOR
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)
Active Port PPA # : 1
Port(s) ready : 0
Port(s) not ready : NONE
Port(s) connected to active port : 0
doesn't fail back to original active port because both ports have the same priority.
using Twitter with Google talk for your domain
Go to the Chat section under 'Service Settings' when in the administration 'manage this domain' page for your domain. a link will be to: http://www.google.com/support/a/bin/answer.py?answer=60227&hl=en But you'll need to follow the above instructions as well (maybe, haven't tried yet)
5.11.2008
HP APA (auto port aggregation)
Be sure to do the configuration from a console connection or connect from a NIC that won't be involved in APA, otherwise you'll drop and may not be able reconnect over tha lan if you screw up the config.
commands to configure it:
lanqueryconf
lanapplyconf
lancheckconf
landeleteconf
Here's my quick and dirty version of creating a lan failover group:
--- APA configuration --
added the following line to /etc/rc.config.d/hp_apaconf
HP_APA_USE_SYSLOG=1
add the following to: /etc/rc.config.d/hp_apaportconf
HP_APAPORT_INTERFACE_NAME[0]=lan5
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
HP_APAPORT_INTERFACE_NAME[1]=lan6
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR
/sbin/init.d/hplm stop
/sbin/init.d/hpapa stop
/sbin/init.d/hpapa start
/sbin/init.d/hplm start
create ascii file:
lanqueryconf -s
change priority of both primary and secondary to the same value, so that failback doesn't occur.
vi /etc/lanmon/lanconfig.ascii
check validity of ascii file:
lancheckconf
apply the changes to the binary file:
lanapplyconf
check config:
lanscan and lanscan -q and lanadmin -x -v PPA and netstat -in
Once it's configured, here are some useful commands for looking at the status:
real status of ports: lanadmin -x -i 900
load balancing mode: lanadmin -x -l 900
verbose config: lanadmin -x -v 900
Where 900 is the PPA number for the apa/failover group
5.10.2008
serviceguard error renaming hosts
If you don't delete it, here's the message you will receive when running cmapplyconf or cmcheckconf:
Checking nodes ... Done
Checking existing configuration ... Done
Warning: Unable to get configuration for cluster CLUSTER_NAME
Error: Node HOSTNAME is refusing Serviceguard communication.
Please make sure that the proper security access is configured on node
HOSTNAME through either file-based access (pre-A.11.16 version) or role-based
access (version A.11.16 or higher) and/or that the host name lookup
on node HOSTNAME resolves the IP address correctly.
cmcheckconf : Failed to gather configuration information
5.07.2008
single vs. dual core in HP-UX
the following hints are from: http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1209686
Single-core processors ======================
processor family: 31 Intel(R) Itanium 2 Family Processors
Dual-core processors ====================
processor family: 32 Intel(R) Itanium 2 9000 series
or
processor family: 32 Intel(R) Itanium 2 9100 series
So, processor family 32 means dual core; processor family 31 means single core.
5.06.2008
get CPU speed on HP-UX
or
sam --> performance monitors, system properties
Itanium: 11iv2
machinfo
5.05.2008
ECC agent fails or hosts don't appear
Otherwise just: stop the agent; nuke /var/ECC ; restart agent is the fix for this issue it seems
open a http://powerlink.emc.com account and see the article: "Hostname change not reflected in ControlCenter console." EMC doc ID: emc139067
Looks like you also need to remove a couple more files in /usr/ecc/exec any files with the extensions .lck, .port, .uid and .comfile