Sie sind auf Seite 1von 3

Veritas Volume Manager (VxVM) Version/Licence Veriosn/Licence Imported Disk Groups and Status All Disk Groups (Inc

Deported) Deport Disk Group Import Disk Group Disabled Disk Groups Volume and Plex Status Volume and Plex Status Start inactive Volume Start all Volumes in DG Free Volume Space Rebuild Plex and Volumes Volume Recovery Force Plex Offline Plex Online Clean Plex Mirror Sync Status File System Check (fsck) Mount Filesystems Veritas Command Menu Staus of Fibre Channel Paths Status of Individual Paths Fibre Channel Emulex Fibre Channel JNIC Fibre Channel Menu JNI Card Tools WWN Config for FCA WWN Config for FCA WWN Config for FCA New Disk no VTOC/Label Rebuild plex disabled/recover Rebuild plex disabled/recover Free space in DG Free space in DG Clear failing flag Clear failing flag HP Specific Disk Status / Hardware Path Failed Disk Fibre Channel Status Status of Individual FC Syslog Errors Disk Details San LUN Allocation Generate Disk IO ioscan -fnC disk ioscn fnC disk | grep i no_hw ioscan -fnC fc fcmsutil driver (i.e. /dev/td0) grep i disk /var/adm/syslog/syslog.log diskinfo /dev/rdsk/cXtXd0 xpinfo li dd if=/dev/rdsk/c100t2d0 of=/dev/null bs=512k vgdisplay -v ls -lp /dev/vg* pvdisplay -v /dev/dsk/c100t3d0 vgdisplay -v /dev/vg01 lvdisplay -v /dev/vg01/lv_varoptoracle lvdisplay -v /dev/vg01/lv_varoptoracle lvextend -m 1 /dev/vg01/lv_varoptoracle vgsync /dev/vg01 lvsync /dev/vg01/lv_varoptoracle vgchange -a y /dev/vg01 vgchange -a n /dev/vg01 vgexport /dev/vg01 vgchange -a e /dev/vg01 mount /dev/vg_nroapp01a/lvol1 /opt/weblogic lvextend -L 4500m /dev/vg00/lv_opt fsadm -F vxfs -b 4608000 /opt modinfo | grep -i vx /usr/sbin/vxlicense p vxdisk list vxdisk o alldgs list vxdg deport <diskgroup> vxdg -C import <diskgroup> vxprint | grep -i disable vxprint htg <diskgroup> vxprint -Arth vxvol start <volumegroup> vxvol g <diskgroup> startall vxdg free vxdctl enable vxrecover vxmend o force off <plex> vxmend on <plex> vxmend fix clean <plex> vxtask list /usr/sbin/fsck -F vxfs /dev/vx/rdsk/<diskgroup>/<volume> mountall -F vxfs vxdiskadm vxdmpadm listctlr all vxdmpadm getsubpaths ctlr= grep -i lpfc /etc/path_to_inst grep jnic /etc/path_to_inst /usr/sbin/lpfc/lputil /opt/JNIC146x /kernel/drv/sd.conf /kernel/drv/lpfc.conf /kernel/drv/jnic146x.conf corrupt label - wrong magic number vxplex -g disk_group dis plex vxplex -g disk_group att volume plex vxassist -g disk_group maxsize vxdg -g disk_group free vxedit -g apps01dg set failing=off c1t3d0 vxedit set failing=off rootdisk

Displays all Volume Groups Display Volume Groups Which Volume Group a disk belongs to Displays Logical volumes Indicates Stale Extents Physical Disk in Volume Adds Mirror Sync Mirrors Sync Volumes Initalize Volume Group Deactivate Volume Group Export Volume Group Activate Volume Group Mount Filesystem Extend Volume Solaris Specific Rebuild Device Tree Disk Status / Type Syslog Errors Disk Errors / Transport

devfsadm -vC format grep i scsi /var/adm/messages iostat En

San LUN Allocation Disk and Component Details Disk Utilization Disk IO Veritas Cluster Server (VCS) Version: Log Files: Config file: Binaries: To unfreeze a group: To freeze a group: To make cluster read write: To make read only: To offline a service group: To online: To clear a faulted group: To offline a resource: To online: To clear: To check if failover or parallel: Check autostart: Display resource group: Switch a resource group Shutdown cluster and failover: Check Autostart

sar d iostat xnp

xpinfo li prtfru -x

modinfo|grep i vx /var/VRTSvcs/log/engine_A.log /etc/VRTSvcs/conf/config/main.cf /opt/VRTSvcs/bin hagrp -unfreeze GROUP -persistent hagrp -freeze GROUP -persistent haconf -makerw haconf -dump -makero hagrp -offline GROUP -sys SYSTEM hagrp -online GROUP -sys SYSTEM hagrp -clear GROUP -sys SYSTEM hares -offline RESOURCE -sys SYSTEM hares -online RESOURCE -sys SYSTEM hares -clear RESOURCE -sys SYSTEM hagrp -display -attribute Parallel hagrp -display GROUP -attribute AutoStartList hagrp -display GROUP hagrp -display GROUP -attribute <attribute name> hagrp -switch GROUP -to <server> hastop local evacuate hagrp -display GROUP -attribute AutoStartList

To see status overview: hastatus sum Detailed overview: hastatus To Unfreeze a cluter: hasys -unfreeze -persistent lamps013 Probe oracle db (once manually started by DBAs) hares -probe <res> -sys <node> To switch service group: hagrp -switch RECPTN01 -to lamps002 Check Heartbeat Links: Nodes in cluster: VSC engine log ServiceGuard Cluster To see status overview: To halt a package: To start a package: To enable switching: Logfiles: Start entire cluster: Stop entire cluster: Start a single node: Stop a node: Get current config: cmviewcl (-v) cmhaltpkg n NODE v PACKAGE cmrunpkg n NODE v PACKAGE cmmodpkg n NODE e PACKAGE /etc/cmcluster/Package_name/Package_name.cntl.log cmruncl v cmhaltcl cmrunnode v NODE cmhaltnode f v NODE cmgetconf C CONFIG lltstat -nvv | pg lltstat -vvn | more gabconfig -a more /etc/llthosts

halog info Tail /var/VRTSvcs/log/engine_A.log

LDAP Master LDAP server: Genesis LDAP server: Manchester PrePod: infpb001 mdgh0001 infxh003

ldapsearch ldapsearch hosts. ldapsearch ldapsearch

-b "ou=people,dc=hutchison3g,dc=net" uid=jnaul b ou=hosts,dc=hutchison3g,dc=net cn=polo-mgt

Users

Hosts

(cn=*) all

-b "ou=Group,dc=hutchison3g,dc=net" cn=users Groups -b "cn=prdps-servers,ou=cosprofiles,dc=hutchison3g,dc=net" objectclass=ldapsubentry Profile

ou=people: User account information as in the NIS passwd file ou=hosts: Host information as in the NIS hosts file ou=services: Service information as in the NIS services file ou=Group: Group information as in the NIS group file ou=COSprofiles: Profile information giving a list of accessible hosts /usr/local/bin/ldap_admin.pl ldap_admin.pl ldap_admin.pl ldap_admin.pl ldap_admin.pl ldap_admin.pl ldap_admin.pl ldap_admin.pl ldap_admin.pl ldap_admin.pl a c d g h l username m p s User Management script. (add a user to LDAP) (change an existing users home directory) (delete a user from LDAP) (create a new group within LDAP) (print a simple help message) (lists information for given username) (change an existing users LDAP profile) (change an existing users password) (list LDAP replication agreements/status) (Remove Account) (Change LDAP Passwd Solaris only) (Change LDAP Passwd HPUX) On client indicates who is the master

/opt/sudo/bin/sudo ./ldap_admin.pl d passwd r ldap /opt/ldapux/bin/ldappasswd ldapclient l NIS /var/yp/nissrc /usr/bin/ypwhich /usr/etc/yp/ypmake ypcat passwd | grep Jas ypcat hosts | grep polo ypcat group | grep itdev passwd r nis

Location of Files Location of nismaster Push nis maps Check passwd file Check hosts file Check group Change nis password

Das könnte Ihnen auch gefallen