Wise people learn when they can; fools learn when they must - Arthur Wellesley
Showing posts with label Cluster. Show all posts
Showing posts with label Cluster. Show all posts

Sunday, 19 March 2017

VCS ON RHEL6–CONFIGURE & OPERATION-P8 (CLUSTER OPERATIONS)


VCS ON RHEL6–CONFIGURE & OPERATION-P8


CLUSTER OPERATIONS:

How to display info about cluster…?
How to check the state of cluster…?
How to list the existing cluster(s)…?
How to display the attribute value…?
How to check the status of cluster…?
How to add a cluster…?
How to delete a cluster…?
How to modify a cluster attribute…?
How to start a cluster…?
How to stop a cluster…?
How to know the status summary of cluster(s)…?
How to know the vcs version…?

VCS ON RHEL6–CONFIGURE & OPERATION-P6 (SERVICE GROUP)


VCS ON RHEL6–CONFIGURE & OPERATION-P6


SERVICE GROUP:

·         How to list the available SG's…?
·         What is the name of SG / how many SG’s ?
·         How to check the contained resources of a SG…?
·         How to switch a SG…?
·         How to online/offline a SG…?
·         How to freeze/unfreeze a SG…?
·         How to enable/disable a SG…?
·         How to flush a SG…?
·         How to display the attributes/parameters of a SG…?
·         How to show the state of a SG…?
·         How to list dependency of a SG…?
·         How to enable/disable all resources in one go of a SG…?
·         How to check the attribute value of a SG…?
·         How to clear a faulted non-persistent resource of a SG…?

VCS ON RHEL6–CONFIGURE & OPERATION-P5 (APACHE VIA CLI)


VCS ON RHEL6–CONFIGURE & OPERATION-P5


ONLINE CONFIGURATION THROUGH CLI:

First open the config,

[root@pr01 /]# haconf -makerw

SERVICE GROUP CONFIGURATION:

[root@pr01 ~]# hagrp -add Web-App
VCS NOTICE V-16-1-10136 Group added; populating SystemList and setting the Parallel attribute recommended before adding resources

VCS ON RHEL6–CONFIGURE & OPERATION-P4


VCS ON RHEL6–CONFIGURE & OPERATION-P4


ONLINE/OFFLINE SERVICE GROUP:
SWITCHING SERVICE GROUP:
RESOURCE ONLINE:
RESOURCE OFFLINE:
STOP VCS:
START VCS:
VCS CONFIGURATION:
ONLINE CONFIG:
OFFLINE CONFIG:
CONFIG EDITING/NEW CREATION:
What if we forget to save and shutdown the VCS
AUTOMATIC CONFIG BACKUP:

VCS ON RHEL6–CONFIGURE & OPERATION-P3


VCS ON RHEL6–CONFIGURE & OPERATION-P3

BASIC VCS OPERATION:

How to check the cluster status?
How to check the vcs logs?
How to check the resource and attributes?
How to check the service group and contained resources?
How to check resources & attributes?
how do I know that how many service groups are in cluster?
how do I know that how many resources a SG have?
How to know the details about a particular resource…?
CRITICAL & NON CRITICAL RESOURCES:
How to know the state (online/offline) of resources…?
How to know the virtual ip address configured with SG…?
How to know the SG is frozen or not…?
How to know that Autostart is set for an SG is or not…?

VCS ON RHEL6–CONFIGURE & OPERATION-P2 (NFS VIA GUI)


VCS ON RHEL6–CONFIGURE & OPERATION-P2

SETTING UP NFS AS A VCS RESOURCE VIA GUI,

Check the disks,

[root@pr01 ~]# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
sdc          auto:sliced     -            -            online
sdd          auto:none       -            -            online invalid
sde          auto            -            -            error
sdf          auto:none       -            -            online invalid

VCS ON RHEL6–CONFIGURE & OPERATION-P1


VCS ON RHEL6–CONFIGURE & OPERATION-P1

We will test “HTTP/APACHE” on VCS.

[root@pr01 ~]# rpm -qa|grep http
httpd-2.2.15-26.el6.x86_64
httpd-tools-2.2.15-26.el6.x86_64

SFHA 6.0 INSTALLATION - RHEL 6

SFHA 6.0 INSTALLATION-RHEL6
Two systems,
PR01
DR01

First need to create entry of both servers in /etc/hosts
Then create a password less ssh between both servers.
We need two extra interfaces also for the same.
PR-01

Thursday, 9 February 2017

VERITAS CLUSTER-1 (BASICS)


VERITAS CLUSTER-1

VCS COMPONENTS:

RESOURCES:

As per VCS, A resource is an entity that may be brought online, offline, or monitored on a particular system.

Resource Types:

Wednesday, 8 February 2017

CLUSTER BASICS


                      CLUSTER BASICS

HA……HA………HA……… JJJ ………… It’s not Ha..Ha..Ha LLL

In the world of sys admin the word “HA” is as common as our daily natural activities.                                   

What is this HA…?

HIGH AVAILABILITY………..