Freeze The Veritas Cluster

0 komentar

Sometimes we have to do shutdown / restart the database in a cluster environment, there are several ways that make us not so sure. Or even if not careful will lead to a more complex problem again.

Here are steps to restart / shutdown the database in a cluster environment:

Freezing Veritas Cluster-group service to existing group:
#haconf -makerw
#hagrp -freeze Oracle-LDAPDB
#hagrp -freeze cvm
#hagrp -freeze vtape
#haconf –dump -makero

See whether the service group status was the Freeze
#hastatus –sum |grep G

(Restart / shutdown Oracle DB, or other actions)

To unfreeze Veritas Cluster-group service to existing group:
#haconf -makerw
#hagrp -unfreeze Oracle-LDAPDB
#hagrp -unfreeze cvm
#hagrp -unfreeze vtape
#haconf –dump -makero

Veritas Volume manager Command quick reference

0 komentar

Disk commands

Operation

Command

Example

Initialise Disk

vxdisksetup

vxdisksetup -i c1t9d0

Uninitialise Disks

vxdiskunsetup

vxdiskunsetup -C c1t9d0

List Disks

vxdisk list


List Disk Header

vxdisk list

vxdisk list disk01

List Disk Private Region

vxprivutil list

vxprivutil list /dev/rdsk/c1t9d0s2

Reserve a Disk

vxedit

vxedit -g my-dg set reserve=on my-disk


Disk Group commands

Operation

Command

Example

Create disk group

vxdg init

vxdg init my-dg disk01=c1t9d0

Remove disk group

vxdg destroy

vxdg destroy my-dg

Add disk

vxdg adddisk

vxdg -g my-dg adddisk disk02=c1t8d0

Remove disk

vxdg rmdisk

vxdg -g my-dg rmdisk disk02

Import diskgroup

vxdg import

vxdg import otherdg

Deport diskgroup

vxdg deport

vxdg deport my-dg

List diskgroups

vxdg list


List free space

vxdg free

vxdg -g my-dg free

List total free space

vxassist

vxassist -g my-dg maxsize layout=concat

Plex commands

peration

Command

Example

Create a plex

vxmake

vxmake -g my-dg plex my-plex sd=my-sd

Associate a plex

vxplex

vxplex -g my-dgatt my-vol my-plex

Dis-associate a plex

vxplex

vxplex -g my-dg dis my-plex

Attach a plex

vxplex

vxplex -g my-dg att my-vol my-plex

Detach a plex

vxplex

vxplex -g my-dg det my-plex

List Plexes

vxprint

vxprint -lp

Remove a plex

vxedit

vxedit -g my-dg rm my-plex

Subdisk Command

Operation

Command

Example

Create a subdisk

vxmake sd

vxmake -g my-dg my-sd disk1,1,5000

Remove subdisk

vxedit rm

vxedit -g my-dg rm my-sd

Display subdisk info

vxprint -st

Associate subdisk to plex

vxsd assoc

vxsd -g my-dg assoc my-plex my-sd

Disassociate subdisk

vxsd dis

vxsd -g my-dg dis my-sd

Volume commands

Operation

Command

Example

Create a volume

vxassist

vxassist -g my-dg make my-vol 1G

vxassist make my-vol 1G layout=stripe

Delete a volume

vxedit

vxedit -g my-dg -r rm my-vol

Display volume info

vxprint

vxprint -g my-dg -vt

Display volume info

vxinfo

vxinfo -g my-dg my-vol

Resize a volume

vxassist

vxassist -g my-dg growto my-vol 2G

vxassist -g my-dg growby my-vol 600M

Start a volume

vxvol

vxvol -g my-dg start my-vol

Stop a volume

vxvol

vxvol -g my-dg stop my-vol

Initialise a volume

vxvol

vxvol -g my-dg init active my-vol

Recover a volume

vxrecover

vxrecover -g my-dg my-vol

Mirror a volume

vxassist

vxassist -g my-dg mirror my-vol

Add log to a volume

vxassist

vxassist -g my-dg addlog my-vol

Snapshot a volume

vxassist

vxassist -g my-dg snapstart my-vol

vxassist -g my-dg snapshot my-vol my-snap

Change volume layout

vxassist

vxassist -g my-dg relayout my-vol layout=stripe

Convert volume type

vxassist

vxassist -g my-dg convert my-vol layout=stripe-mirror

Source : users.telenet.be

Hitachi Data Systems Introduces New Agile Cloud Solutions

2 komentar

Hitachi Data Systems Corporation announced the new portfolio of agile cloud technologies to accelerate and simplify the adoption of enterprise cloud computing environments. Specifically, the portfolio delivers the industry’s most integrated set of computing resources to create a single pool of virtualized block, file and content storage to support the diverse uses that are evolving in cloud computing today, and enables organizations to adopt cloud services at their own pace. As part of the cloud offerings, Hitachi Data Systems also unveiled the new Hitachi Content Platform that provides essential security, reliability and multitenancy for cloud infrastructures.


Hitachi Cloud Customer Benefits
With sophisticated storage virtualization, Hitachi Data Systems enables a secure, multitenant environment that ensures privacy among various constituents within a shared infrastructure that can be managed from a single command suite. Supporting a variety of protocols and third party technology, enterprises and service providers can further leverage existing investments in hardware and software and allow legacy devices to inherit cloud attributes, thereby preventing cloud from becoming just another silo and eliminating the need for a complete refresh or update of hardware and software or the need to rewrite applications. As a result, Hitachi Data Systems cloud solutions enable enterprise customers to choose the best possible technologies to address their challenges at their desired pace and budget resources. By offering an integrated set of cloud solutions, Hitachi Data Systems can deliver an agile cloud infrastructure that empowers customers to look at their existing IT infrastructure in new ways, enabling them to:

  • Provide efficient IT management and increase productivity through automation
  • Meet changing performance, availability and storage needs
  • Ensure security in a shared environment
  • Cost effectively improve data protection
  • Make information easy to locate and use, anywhere, at any time

For more information about Hitachi Data Systems Agile Cloud can be found at this datasheest link.


Source : www.hds.com