Veritas Cluster (VCS) Short Command

** Myself
view license
vxlicrep
install license
vxlicinst
# license is able apply multiple
Software for rac (storage foundation(vxvm+vol),ha(cvm),cluster file system(cfs),cluster volume manager(cvm is extend of vxvm))
process
- GAB&LLT (layer 2) is heartbete
- Had (monitor hardware)
- Agent (monitor service each agent)
hagui (manage and create cluster)
- config on one node will deploy to another node
- user=admin , password=password
- if config in main.cf file will rcp to another node and restart all node
For rac agent (must be install sfrac component)
Service group oracle
- ip (resource)
- listener (resource) depend on ip
- disk group (resource)
- volumn (resource) depend on disk group
- file system (resource) depend on vol
- db (resource) depend on db
can link service to service or service group to service group

Pre config
- set rsh
- hostname
Install
install software
./installer
- i
- 1 (cluster server)
- Node name node1 node2
- License key
- Patch must be same to require
Config cluster
/cluster_server/installvcs -configure
- Node name
- Enter………………
- Heartbeat :private first ,second interface and low priority for (Heartbeat and data)
- Web console (lan data) virtual ip for web console(port:8181)
Software path
- /opt/VRTScvs/
Freeze service for no monitoring process and service (service group) have temp or persistance
Hagui
- click open for config
- click save before close
- default 1 service group clusterservice for webconsole
- system connectivity for check lan interface
Add Resouce virtual ip (manul add virtual host all node)
- create lan
- type nic (global is same 2 node lanX ,if not same must be specify) (critical,enable for resouve)
- create ip (virtual ip)
- type ipm (Bold is must be add)
- link
Add disk resource group
- create diskgroup type:disk group
- create volume type:volume (short name)
- create fs type:mount
For oracle group resource(nic,ip,disk group,volume,mount,listener)
Manual edit /etc/VRTcvs/conf/config/main.cf
- need stop cluster (hastop)
- manual remote copy to another host
install other agent
/cluster_server_agents/<name>agents
Import type (no manual add includes type in main.cf)
- click import type on gui manu file
- oracle types .cf


Shutdown/halt cluster
Example oracle resource and halt AIX machine
Use GUI Mode for stop resource/service
1.on Node1 or Node2 run
#hagui
2. login username : admin
Password : xxxxx
3.right click on oracle service group -> offline -> all system
Use Command line for stop cluster
4.on Node2or Node1 run
#hastop -all
5.on Node1 run
#shutdown -F
6.on Node2 run
#shutdown -F

0 comments:

Loading