13.07.2015 Views

Cluster Server Installation Guide for Solaris x64 5.0 - Storage ...

Cluster Server Installation Guide for Solaris x64 5.0 - Storage ...

Cluster Server Installation Guide for Solaris x64 5.0 - Storage ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Installing VCS on a single nodeCreating a single-node cluster manually169To edit the main.cf file1 Log in as superuser, and move to the directory containing the configurationfile:# cd /etc/VRTSvcs/conf/config2 Using vi, or another text editor, edit the main.cf file, defining your clustername and system names. Refer to the following example.3 Save and close the file.Refer to the Veritas <strong>Cluster</strong> <strong>Server</strong> User’s <strong>Guide</strong> <strong>for</strong> a full description of the main.cf file, how to edit it and verify it.Example, main.cfAn example main.cf <strong>for</strong> a two-node cluster:include "types.cf" cluster VCS<strong>Cluster</strong>2 ( )system northsystem southAn example main.cf <strong>for</strong> a single-node cluster:include "types.cf" cluster VCS<strong>Cluster</strong>1 ( )system sn1types.cf fileNote that the “include” statement in main.cf refers to a file named types.cf. Thistext file describes the VCS bundled agent resources. During new installations,the types.cf file is automatically copied in to the /etc/VRTSvcs/conf/configdirectory.Verifying single-node operationAfter successfully creating a single-node cluster, start VCS and verify thecluster.To verify single-node cluster1 Bring up VCS manually as a single-node cluster using hastart(1M) withthe -onenode option:# hastart -onenode2 Verify that the had and hashadow daemons are running in single-nodemode:# ps -ef | grep haroot 285 1 0 14:49:31 ? 0:02 /opt/VRTSvcs/bin/had -onenoderoot 288 1 0 14:49:33 ? 0:00 /opt/VRTSvcs/bin/hashadow

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!