Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Veritas Command Cheat Sheet

Veritas Command Cheat Sheet

Ratings: (0)|Views: 62|Likes:
Published by Biswajit Das

More info:

Published by: Biswajit Das on Jun 06, 2013
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Veritas Volume Manager
VM daemons
Maintains system configuration in the kernel & disk (private region). If the daemon is stopped it does not disableany configuration state loaded into the kernel, it only affects the ability to make configuration changes untilvxconfigd is restarted.It can be in three states:Enable = Normal modeDisable = Most operations cannot be be usedBooted = Normal startup while using boot disk group
Monitors for failure events and relocates failed subdisks
Used to backup configuration chnages, the files created can be used with vxmake to restored lost groups.
Display veritas volume manager events used with the vxconfigd daemon
Kernel Info
Kernel States
The kernel can be in three states:Enabled - both private and public regions are accessibleDisabled - no private or public regions are accessibleDetached - only private regions are accessible
VM utilities
 VxVM debug
vxconfigd -k -m enable -x <debug option>-x log log to /var/vxvm/vxconfigd.log-x logfile = <name> log to filename
-x syslog log to syslog-x timestamp date and timestamp every entry-x tracefile=name log all possible tracing to file
 The vxiod utility starts, stops, or reports on VERITAS Volume Manager (VxVM) I/O daemons. An I/O daemon provides aprocess context for performing I/O in VxVM.Manage extended disk i/o & handles dirty regions, loggingvxiod set <number> = set number of runnning viod daemonNote: when run on its own it displays # of vxiod daemons that are running.
vxdctl [option]
The vxdctl utility manages aspects of the state of the volume configuration daemon
and also manages aspectsof configuration for bootstrapping the rootdg disk group.mode = what mode the vxconfigd is running inenable = enable the vxconfigd daemon (reread the db)disable = disable the vxconfigd daemonstop = kill the vxconfigd daemon (Use 'vxconfigd -k -m enable' to start again)license [init] = print out license info or reread licensessupport = display version and componentslist = display entries in /etc/vx/volbootinit [dmp] = recreate /etc/vx/volbootNote: when in disabled or stopped mode no VX commands will be able to run
Install volume manger (use /etc/vx/disk to exclude any disks or controllers)
Disk Regions
This is were veritas holds the meta data regarding the disk. A copy of the configuration database is copied to each privateregion within the disk group. Veritas will try and keep 5 copies of the configuration database.
Normally configured as slice 3Once the private region is created it cannot be changed, thus if it fills up then you have to reinitize the disk with a newprivate region length, see disks -> initialize disk
This is the area that will store the users data.Normally configured as slice 4.
Disk Layouts
Sliced Disk layout
private and public region slices are on separate partitions (3 & 4),this type of disk is not suitable for moving between different O/S'sbut are suitable for boot partitionsCan be converted to CDSformat=sliced
CDS (Cross-platform Data Sharing)
private and public regions are one slice (slice 7) , this type issuitable for moving between different O/S's but not suitable forboot partitions.format=cdsdisk
Private and public are the same partition but continuous (slice 3)Can be converted to CDSformat=simple
No partitioningn/a
VxVM Configuration Database
DB size
vxdg list <group> | grep permlen - the size of the configuration db
DB location
vxdisk list <disk> | grep -i configs - db location
File Locations

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->