In fact, in addition to the commonly used asmcmd command to manage the asm disk group, you can also manage it through ftp. By default, the ftp port is disabled. The specific operation steps are as follows:
Db1-> sqlplus/as sysdba
SQL> @? /Rdbms/admin/catxdbdbca. SQL 3300 8000 # FTP port and http port
This script needs to be called by SYS or XDB users. The following two parameters are respectively the FTP port and the HTTP/WEBDAV port.
The following code uses port 7788 to access the ASM disk group:
SQL> host
$ Ftp
Ftp> open db1 7788
Connected to db1.
220-ser1
Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution.
220 ser1 FTP Server (Oracle xml db/Oracle Database) ready.
Name (ser1: root): system
331 pass required for SYSTEM
Password:
230 SYSTEM logged in
Remote system type is Unix.
Ftp> cd/sys/asm
250 CWD Command successful