AIX > Administrator > Systems Management

Implementing a Simple Spectrum Scale/GPFS Single Node Cluster

GPFS Single Node Cluster

On LPAR gpfsnode1, create a file /usr/local/etc/gpfs-nodesinit.txt that contains: gpfsnode1.mydomain.com:quorum-manager

Create the NSD stanza to use for disks /usr/local/etc/gpfs-nsdstanza.txt %nsd: nsd=nsdhdisk4 device=/dev/hdisk4 usage=dataAndMetadata pool=system Do this for all of hdisk4 through hdisk40

Check for sufficient swap/page space
lsps -a
Page Space      Physical Volume   Volume Group    	Size 	    
%Used   Active    Auto    Type   Chksum
hd6             		hdisk0            
rootvg       		20480MB     0       yes         yes      lv       0

Now You Can Set Up SCALE:

First create the cluster with gpfsnode1 as primary and no secondary.

mmcrcluster -C CLGPFS1 -p gpfsnode1.mydomain.com -r 
/usr/bin/ssh -R /usr/bin/scp -N /usr/local/etc/gpfs-nodesinit.txt -A

mmcrcluster: Performing preliminary node verification ... lots of messages seen here mmcrcluster: Finalizing the cluster data structures ... mmcrcluster: Command successfully completed mmcrcluster: Warning: Not all nodes have proper GPFS license designations. Use the mmchlicense command to designate licenses as needed.

Now you must accept the licenses.

mmchlicense server --accept -N gpfsnode1.mydomain.com

You should now see:
The following nodes will be designated as possessing server licenses:
        gpfsnode1.mydomain.com
mmchlicense: Command successfully completed

I normally check the cluster at this point using mmlscluster and mmlsconfig.

#mmlscluster
GPFS cluster information
========================
  GPFS cluster name:         CLGPFS1.mydomain.com
  GPFS cluster id:           2513740808193740764
  GPFS UID domain:           CLGPFS1.mydomain.com
  Remote shell command:      /usr/bin/ssh
  Remote file copy command:  /usr/bin/scp
  Repository type:           CCR

 Node  Daemon node name        IP address   Admin node name         Designation
--------------------------------------------------------------------------------
1	gpfsnode1.mydomain.com  10.0.117.57  gpfsnode1.mydomain.com  quorum-manager
#mmlsconfig

Configuration data for cluster CLGPFS1.mydomain.com:

----------------------------------------------------
clusterName CLGPFS1.mydomain.com
clusterId 2513740808193740764
autoload yes
dmapiFileHandleSize 32
minReleaseLevel 4.2.3.0
ccrEnabled yes
cipherList AUTHONLY
adminMode central

File systems in cluster CLGPFS1.mydomain.com: --------------------------------------------- (none)

Jaqui Lynch is an independent consultant, focusing on enterprise architecture, performance and delivery on Power Systems with AIX and Linux.



Like what you just read? To receive technical tips and articles directly in your inbox twice per month, sign up for the EXTRA e-newsletter here.


comments powered by Disqus

Advertisement

Advertisement

2017 Solutions Edition

A Comprehensive Online Buyer's Guide to Solutions, Services and Education.

AIX > ADMINISTRATOR > SYSTEMS MANAGEMENT

How to Download Fixes

Drawer Configuration

Understand your options for 12X PCIe I/O drawers

clmgr: A Technical Reference

PowerHA SystemMirror 7.1 introduces a robust CLI utility

IBM Systems Magazine Subscribe Box Read Now Link Subscribe Now Link iPad App Google Play Store
AIX News Sign Up Today! Past News Letters