HP-UX: Importing SAN VG from a failed server

Assign the same EMC LUNs to the new server. Recognize all the LUNs in newserver from ioscan. #ioscan -fnKC disk Create a script with the following contents to get the VG info. Here created the script in filename /usr/bin/vgid.# vi /usr/bin/vgidecho ” Disk Name CPU ID PV ID CPU ID VG ID”echo ” ———————————————————“for i […]

HP-UX: Importing SAN VG from a failed server Read More »

How do I migrate existings LUNs from one HP-UX host to another?

In order to successfully move LUNs to a new host, these general steps must be taken.All physical volumes (which relate to a physical LUN) within a volume group must be moved as a group.First backup your /etc/lvmtab and the /etc/fstab files. Under HP-UX on the server where the LUNs currently reside, run the following:      1.

How do I migrate existings LUNs from one HP-UX host to another? Read More »

HP-UX host attached to CLARiiON array reports zero when running diskinfo command and in sam

Question: Why does diskinfo on HP-UX return 0 on logical paths connected to a CLARiiON array? Environment: Product: CLARiiON CX-Series Environment: OS: HP-UX Environment: Host Level Protection: PVlinks Problem: ioscan -fnC disk shows both primary and secondary logical paths to the CLARiiON array. Problem: diskinfo reports a value of 0 on the secondary logical paths. Problem:

HP-UX host attached to CLARiiON array reports zero when running diskinfo command and in sam Read More »

Clariion: Commands for Navisphere CLI

Physical Container-Front End Ports Speeds naviseccli –h 10.1.50.131 port –list -sfpstatenaviseccli –h 10.1.50.131 –set sp a –portid 0 2naviseccli –h 10.1.50.131 backendbus –get –speeds 0 SP Reboot and Shutdown GUInaviseccli –h 10.1.50.131 rebootspnaviseccli –h 10.1.50.131 resetandhold Disk Summarynaviseccli –h 10.1.50.131 getdisknaviseccli –h 10.1.50.131 getdisk 0_0_9 (Bus_Enclosure_Disk – specific disk) Storage System Properties- Cache Tabnaviseccli –h

Clariion: Commands for Navisphere CLI Read More »

HP-UX : How To Create Swap – Command Line

To create swap, we need a contiguous space on a disk / LUN. Create vg01: pvcreate /dev/rdsk/c12t0d0pvcreate /dev/rdsk/c12t2d0vgcreate -s 8 -p 128 /dev/vg01 /dev/dsk/c12t0d0 /dev/dsk/c12t2d0vgchange -a y /dev/vg01 lvcreate -C y -L 16384 -n lvswap /dev/vg01 /usr/sbin/swapon -f -p 3  /dev/vg01/lvswap add to /etc/fstab: /dev/vg01/lvswap … swap pri=3 0 0 Original post blogged on b2evolution.

HP-UX : How To Create Swap – Command Line Read More »

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ?

To identify processes to kill we need to view the FULL output from the ps command (we use the comm field). But by default we are not able to view full command.  So here is the solution.. Solaris : /usr/ucb/ps -awux You may need two “w” options. From ps(1b): -w Uses a wide output format

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ? Read More »

Linux / Unix: How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ?

To identify processes to kill we need to view the FULL output from the ps command (we use the comm field). But by default we are not able to view full command.  So here is the solution.. Solaris : /usr/ucb/ps -awux You may need two “w” options. From ps(1b): -w Uses a wide output format

Linux / Unix: How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ? Read More »

HP-UX : ICAP Quick How To

Use icapstatus to display Instant Capacity (iCAP) status and information: # icapstatusSoftware version:          B.08.00System ID:                 test06Serial number:             UFR99899X2Product number:           A6752AUnique ID:                 Z3e1999999999ffb4System contact e-mail:  me @ mydomain.caFrom e-mail:               Set to the default (‘adm’)Asset reporting:           onTemporary capacity warning period:  15 daysException status:          No exception Local nPartition Status———————–Total number of configured cores:                                            8Number of Intended Active cores:                                             6Number of

HP-UX : ICAP Quick How To Read More »

LogicalExtentsNumber is bigger than the maximum value allowed in hp-ux

If you get this error when trying to lvextend a lvol: lvextend: “LogicalExtentsNumber” is bigger than the maximum value allowed. It is becuse you have tried to use more than 65,535 logical extents — the limit for a logical volume. Your only choice is to recreate the *volume group* (‘vgcreate’) and specify a larger extent size

LogicalExtentsNumber is bigger than the maximum value allowed in hp-ux Read More »

Scroll to Top