Automatic Storage Management (ASM) Command line utility (ASMCMD), introduced with Oracle Database 10g release 2.
Managing ASM through SQL interfaces, in Oracle Database 10g Release 1, posed a challenge for administrators who were not very familiar with SQL and preferred a more conventional command line interface. From Oracle Database 10g Release 2, we have an option to manage the ASM files by using ASMCMD, a powerful and easy to use command line tool.
In Oracle Database 10g Release 1, ASM diskgroups are not visible outside the database for regular file system administration tasks such as copying and creating directories. From Oracle Database 10g Release 2, we can transfer the files from ASM to locations outside of the diskgroups via FTP and through a web browser using HTTP.
(From 11.2.0) ASMCMD is used to
- start/stop ASM instances
- create or alter or drop diskgroups
- mount or dismount diskgroups
- list the contents, statistics and attributes of diskgroups, and files on them
- backup and restore the metadata of diskgroups
- create and remove directories, templates and aliases
- managing volumes
- make online or offline the disks/failure groups
- can rebalance the diskgroups
- repair physical blocks
- copy the files between the diskgroups and OS
- backup and restore of SP file
- add/remove/modify/list users from password file
- add/remove/modify/list templates
- manipulate diskstring
- create/modify/remove ASM users, groups
- change ASM file permissions, owners and groups
- display space utilization
- perform searches Continue reading →