1. Obtain the machine ID and type commands
# Hostid
# Uname-I
2. Add the license command
# Vxlicense-C
3. view the license command
# Vxlicense-P
Iv. Glossary
Vrtsvxvm ESX Software
Vrtslic ESX licensing utilities
Vrtsvmdoc
Vrtsvmman ESX help manual
Vrtsvmdev ESX developer's package
Vrtsvxsa SCSI graphic Management Interface
Vrtsvxfs vxfs Software
Vrtsfsdoc vxfs document
5. Add a command to the command output file of the command output file and the command output file of the command output file.
# Mount-F hsfs-O ro/dev/DSK/c0t6d0s2/mnt
# Pkgadd-D path_name product_packages
Note: You must log on to the system with the Super User permission and restart the system after logon.
6. Modify/etc/system and add a line to it after installing the command:
Set lwp_default_stksize = 0X4000
Copy the original file.
7. Check the installation package:
# Pkginfo list all installed packages
# Pkginfo | grep vrts List Installed Veritas packages
# Pkginfo-l pkckage list details of an installation package
8. Use vxinstall to create rootdg.
Select m for installation.
9. display the executed commands:
# Tail-F/var/opt/vmsa/logs/command
10. Command Line
In the following directories, you can find the commands used in the command line:
/Etc/VX/bin
/Usr/sbin
/Usr/lib/ZFS/bin
Note: add these directories to the path environment variables.
11. Several Common commands:
Vxassist, vxprint, vxdg, and vxdisk
12. Check whether other vmsa versions exist:
# Pkginfo-L | grep vmsa
If yes, delete:
# Pkgrm vrtsvmsa
13. Start vmsa
1. Log On As A root user;
2. #./vmsa_server &
3. xhost + system_name (this step is sometimes required)
4. Display = 'uname-N': 0.0; export display (this step is sometimes required)
14. Start the vmsa Client
1. Local startup: # vmsa
2. Remote Start: # vmsa remote_machine_name
15. Several commands
1. Check whether vmsa is running: # vmsa_server-Q
2. Stop the vmsa service: # vmsa_server-K
3. display the vmsa running version: # vmsa_server-V
4. Enable automatic mode: # autostart on
5. display the current running mode: # netstat-A | grep vmsa
6. Change the automatic mode: # autostart off
7. Run in read-only mode: # vmsa_server-R & # vmsa-R &
Method 16: (command line)
1. vxdisksetup: configures a disk for ESX
2. vxdg addisk: Add a disk to a disk group
3. #/etc/VX/bin/vxdisksetup-I disk_address [attributes]
Note: The disk_address defines the controller, target, and SCSI logical unit number of the disk to be set up and takes the Form C # T # D #. the-I option writes a disk header to the disk, making the disk derectly usable.
4. # vxdg-G diskgroup adddisk disk_name = device_name
17. view disk information (command line)
1. vxdisk list: List disk Information
2. prtvtoc: Display vtoc Configuration
3. vxdisk-O alldgs list: show all disk groups in the output.
4. # vxdisk list disk_name: displays information about a disk.
5. # prtvtoc physical_disk_path
6. # prtvtoc/dev/rdsk/c1t10d0s2
Note: The result of the prtvtoc command is different when the disk is in the volume or is not in the volume.
18. evacuating a disk // remove a disk (command line)
1. vxevac-G diskgroup from_diskname to_diskname
2. Example: # vxevac-G datadg datadg02 datadg03
3. vxdg rmdisk: returns a disk to the free disk pool
4. vxdiskunsetup: returning a disk to an uninitialized state
5. vxdg-G diskgroup rmdisk disk_name
6. Example: # vxdg-G newdg rmdisk newdg02
7./etc/VX/bin/vxdiskunsetup-[c] disk_address
8. Example: # vxdiskunsetup c1t0d0
19. Rename the disk (command line)
1. # vxedit-G diskgroup rename old_diskname new_diskname
2. Using vxdg deport and vxdg import rename a disk group
20. The rootdg disk group cannot be destroyed and must exist on every system, because it is an essential part of the ZFS boot process.
21. Create a disk group (command line)
1. vxdg init diskgroup disk_name = device_name
2. # vxdg init newdg newdg01 = c1t1d0s2
22. Create a backup disk
# Vxdg-G diskgroup set spare = on | off disk_media_name
Twenty-three, deporting a disk group (command line)
1. # unmount/filesystem (first uninstall the file system on the disk group)
2. # vxdg deport diskgroup
3. # vxdg-N new_name deport old_name (deport and rename a disk group)
4. # vxdg-H hostname deport diskgroup (deport to a new host)
Twenty-four, importing a disk group (command line)
1. # vxdg import diskgroup
2. # vxdg-N new_name import old_name (import and rename a disk group)
Http://www.uxma.com/sheke/news/pic/8.swf 3. # vxdg-T-N temp_name import old_name (import and rename temporaily)
4. # vxdg-TC-N newerdg import newdg (clear import locks, add the-C option)
5. # vxdg-f import newdg (force an import)
25. rename a disk group: CLI
1. # vxdg-N new_name deport old_name
2. # vxdg import new_name
The above is the first method
3. # vxdg deport old_name
4. # vxdg-N new_name import old_name
5. # vxvol-G diskgroup_newname startall (restart volume after renaming the disk group in the command line)
26. Destroying a disk group
# Vxdg destroy diskgroup
27. view disk group information
1. vxdisk-s List displays the disk group name and ID
2. vxdisk-O alldg List displays information about all disk groups, including those already destroy.
3. vxdg-G diskgroup free displays the free space in the disk group.
4. vxdg free
28. display the version of the disk group
1. # vxdg list diskgroup
2. # vxprint-l
29. Upgrade the disk group version
1. vxdg [-T version] upgrade diskgroup
2. # vxdg-T 40 upgrade datadg (upgrade datadg from 20 to 40)
3. # vxdg upgrade datadg (upgrade datadg to the current version 90)
4. # vxdg-T 50 init newdg newdg01 = c0t3d0s2 (create a disk group with version 50)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.