HP-UX: How to take Ignite Backup
# make_tape_recovery -AvI -a /dev/rmt/0mn -x inc_entire=vg00 -x exclude=/oradata -x exclude=/oradb Original post blogged on b2evolution.
# make_tape_recovery -AvI -a /dev/rmt/0mn -x inc_entire=vg00 -x exclude=/oradata -x exclude=/oradb Original post blogged on b2evolution.
cstm is installed with the OnlineDiagnostics / Support Tools Bundle on HP-UX 9000 systems: # echo “sc product system;info;wait;il” | cstm | grep -i “system serial” # echo “sel path systemninfolognexit”|cstm|grep “System Serial” # SERIAL_NUMBER=$(echo “sc product system;info;wait;il” | cstm | grep -i “system serial” | awk -F: ‘{print $2}’) # echo $SERIAL_NUMBER # getconf …
HP-UX: How can I retrieve the system serial number Read More »
1) BACKUP old disk critical data. # dd if=/dev/hdisk9 of=/tmp/hdisk9.save bs=4k count=1 If something were to go wrong and the head information got damaged use the following to RECOVER the origional PVID and head information TO RECOVER origional PVID: # dd if=/tmp/hdisk9.save of=/dev/hdisk9 bs=4k count=1 2) Find the origional PVID. This might be seen with …
To enable MPxIO for storage devices, the appropriate information for device-type-scsioptions-list need to be added in the /kernel/drv/scsi_vhci.conf file. 1. Use a text editor to change the configuration file. For example: # vi /kernel/drv/scsi_vhci.conf 2. For Solaris 8 and 9 perform the following steps: a. Change the mpxio-disable parameter to the following: mpxio-disable=”no”; b. Verify …
Solaris: How to Enable Native MPxIO fo EMC / HP / IBM / NETAPP Read More »
Stop xntp service if your server is an ntp client. # stopsrc -s xntpd Change time zone to IST CUT +5:30 using command # chtz IST-5:30 Login/logout. nullify your drift file after taking a backup # > /etc/ntp.drift Set correct time using # smitty date Restart xntpd # startsrc -s xntpd Original post blogged on …
Step by Step Procedure of Zoning via Cli. 1.Create a Zone Alias using “AliCreate” SW0:admin> alicreate “SUNX4150_HBA0″ 2.Add member to Alias using “Aliadd” SW0:admin> aliadd “SUNX4150_HBA0″,”21:00:00:1b:32:13:a8:9f” 3.Create a Zone using “ZoneCreate” SW0:admin> zonecreate “CX_424_SPB4_SUNX4150_HBA0″ 4. Add membet to Zone using “ZoneAdd” SW0:admin> zoneadd “CX_424_SPB4_SUNX4150_HBA0″,”CX_424_SPB4″ 5.Add a Zone to Zone configuration “CfgAdd”. SW0:admin> cfgadd “SAN_U2_SW0_Config”,”CX_424_SPB4_SUNX4150_HBA0″ 6.Save …
root@Sun440 # sccli sccli: selected device /dev/rdsk/c4t40d0s2 [SUN StorEdge 3510 SN#04D208] sccli> usage: sccli [options] device [command] Valid options: -d disk, –disk=cXtYdZ select LVD single-bus JBOD enclosure containing specified disk -h, –help, –usage display valid commands -l, –list display a list of attached StorEdge 3000 Family devices -n, –no assume a “no” response to any …
To create a 1GB partition on an empty GPT disk: C:>diskpart Microsoft DiskPart version 5.1.3565 Copyright (C) 1999-2003 Microsoft Corporation. On computer: NNII0280 DISKPART> Select Disk 1 Disk 1 is now the selected disk. DISKPART> create partition primary size=1024 align=64 DiskPart succeeded in creating the specified partition. DISKPART> The alignment is not an absolute address …
Windows: Creating an aligned GPT partition by using diskpart Read More »
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 …