HP-UX: How to unlock user account
Unlock the locked HP-UX user account: # /usr/lbin/modprpw –l –k username NOTE: modprpw is HP-UX command and it will not work in Solaris, AIX and Linux. Original post blogged on b2evolution.
Unlock the locked HP-UX user account: # /usr/lbin/modprpw –l –k username NOTE: modprpw is HP-UX command and it will not work in Solaris, AIX and Linux. Original post blogged on b2evolution.
I have to automate transferring of files and the only protocol I have available is SSH. I have accomplished this using expect and SFTP. I think it can help others too, so I am writing this article. You can get Expect from http://expect.nist.gov Expect: Expect is a tool for automating interactive programs. To use expect …
Tasks AIX Logical Volume Manager Veritas Volume Manager Create a Volume Group mkvg vxdg init Create a Logical Volume mklv vxassist make Add a Physical Disk to a Volume Group extendvg vxdiskadd Add Physical Partitions to Logical Volume extendlv vxassist growto Change characteristics of Logical Volume chlv vxedit set Remove Physical Disk from Volume Group …
1. Check the new installed HBA. Run the AIX Advanced Diagnostics using the Problem Determination Mode against the Fibre Channel Adapter. While the test is running, you will be prompted to plug or unplug the fibre cable or the wrap plug to or from the connector on the fibre channel adapter. # diag -Avd fcs<X> …
Multipathing iSCSI devices can be implemented at different levels in the Solaris storage protocol stack. The following figure shows the Solaris block I/O stack. Note – The iSCSI Multiple Connections per Session (MC/S) is currently not supported in Solaris but might be available in a future release. iSCSI is built on the Solaris IP Stack, …
Solaris 10 OS Multipathing Options for iSCSI Devices Read More »
CPU Tools 1 – top 2 – vmstat 3 – mpstat -P all 4 – ps -ef 5 – sar -u 6 – procinfo 7 – iostat 8 – gnome-system-monitor 9 – KDE-monitor 10 – oprofile Memory Tools 1 – top 2 – vmstat -s 3 – ipcs 4 – ps -o vss,rss 5 – …
Solaris Useful commands at OK prompt. Dignostics: boot General banner this command shows the following systems hardware informatiion : Model,architecture, processor,keyboard, openboot version, Serial no. ethernet address & host id. test floppy – test floppy disk drive test net – test network loopbacks test scsi – test scsi interface test-all test for all devices with …
Procedure to change the password on a server # passwd <UserName> Note: The account needs to be reset if when trying to log in the following message is received: 3004-303 There have been too many unsuccessful login attempts; please see the system administrator. Procedure to reset the account: # chsec -f /etc/security/lastlog -a “unsuccessful_login_count=0” -s …
Action Command Line Initialize a disk vxdisksetup -i device (CDS disk) vxdisksetup -i device format=sliced (sliced disk) List disks owned by local and remote hosts vxdisk –o alldgs list List disk header vxdisk list diskname|device Evacuate a disk vxevac -g diskgroup from_disk to_disk Rename a disk vxedit -g diskgroup rename oldname newname Set spare, no …
Step 3: Because you must have at least two metadb replicas available for the system to work, I suggect that your chosen slice have two metadb replicas in it, on each drive. That way you have four metadbs in total and you can lose either drive and keep running. su to root and set up …