Thomas Vogt’s IT Blog

knowledge is power …

HP-UX Increase Veritas cluster filesystem (CFS) online

Overview

The following steps are needed to online increase a Veritas CFS (cluster file system) on a HP-UX MC/Serviceguard cluster.

Environment

OS: HP-UX B.11.31 (Cluster: Serviceguard 11.18)

Server: BL860c
Storage: EVA8000

Disk Devices: c1t6d3, c1t6d4
Disk Group: unix5dg
Volume: u05vol

Installed Software


# swlist | grep -i veritas

Base-VxFS-50 B.05.00.01 Veritas File System Bundle 5.0 for HP-UX
Base-VxTools-50 B.05.00.01 VERITAS Infrastructure Bundle 5.0 for HP-UX
Base-VxVM-50 B.05.00.01 Base VERITAS Volume Manager Bundle 5.0 for HP-UX


# swlist | grep -i serviceguard

B5140BA A.11.31.02 Serviceguard NFS Toolkit
T1905CA A.11.18.00 Serviceguard
T8687CB A.02.00 HP Serviceguard Cluster File System for RAC with HAOE

Installed Licenses


# vxdctl license

All features are available:
Mirroring
Root Mirroring
Concatenation
Disk-spanning
Striping
RAID-5
VxSmartSync
Array Snapshot Integration Feature
Clustering-full
FastResync
DGSJ
Site Awareness
DMP (multipath enabled)
CDS
Hardware assisted copy

CFS Cluster Overview


# cfscluster status

Node : node1
Cluster Manager : up
CVM state : up (MASTER)
MOUNT POINT TYPE SHARED VOLUME DISK GROUP STATUS
/u05 regular u05vol unix5dg MOUNTED

Node : node2
Cluster Manager : up
CVM state : up
MOUNT POINT TYPE SHARED VOLUME DISK GROUP STATUS
/u05 regular u05vol unix5dg MOUNTED


# vxdisk list

DEVICE TYPE DISK GROUP STATUS
c1t6d3 auto:cdsdisk unix5disk01 unix5dg online shared
c1t6d4 auto:cdsdisk unix5disk02 unix5dg online shared

Steps to increase filesystem

1. Old disk size


# bdf

/dev/vx/dsk/unix5dg/u05vol 18874368 173433 17532255 1% /u05 (-> size: 18GB, used: 173 MB)

2. Increase LUN size on EVA

c1t6d3: from 10GB to 50GB
c1t6d3: from 10GB to 50GB

3. Rescan devices


# ioscan –fnC disk

4. Find CVM master node


# vxdctl –c mode

master: node1

5. Increase VX-Disks (on CVM master node)


# vxdisk resize c1t6d3
# vxdisk resize c1t6d4

6. Show max size to increase volume


# vxassist –g unix5dg maxgrow u05vol

7. Increase volume (to 90 GB)


# vxassist –g unix5dg growto u05vol 90g

8. Find CFS master node


# fsclustadm –v showprimary /u05

node1

9. Increase filesystem (on CFS master node)


# fsadm –F vxfs –b 90g /u05

10. Show new filesystem size


# bdf

/dev/vx/dsk/unix5dg/u05vol 94371840 173433 94198407 0% /u05 (-> size: 90GB, used: 173 MB)

Useful information

http://docs.hp.com/en/hpux11iv3.html

April 27, 2010 Posted by | Clustering, HP, HP-UX, Unix | 1 Comment