当前位置: 首页 > 工具软件 > Simple Admin > 使用案例 >

System Admin

臧翰采
2023-12-01

1. unmount volumes shared.

unshare /dir

umount  /dir

 

2. solaris SC>

# list all commands

sc> help

 

# resetsc -y,  reset SC

# reset -y, reset OS.

# poweron/poweroff

# break -y, enter OK mode

{0} ok printenv

{0} ok setenv boot-device disk0:a
boot-device =           disk0:a
{0} ok devalias

 

3. add/remove patch

patchadd /path/to/patch/patch_name

patchadd -M /path/to/patch *

 

patchrm patch_name

 

4. create/delete aggregation using the given key value.

unplumb all nics you want to aggregate.

dladm create-aggr -d vnet1 -d vnet2 1

dladm show-aggr

dladm delete-aggr 1

 

5. change boot device by using eeprom

[root@vcsv245h /]#>eeprom boot-device=disk1

 

6. check hba port info

fcinfo hba-port

 

7.SMF

svccfg -s nfs/server setprop "application/auto_enable = false"

svccfg import /var/svc/manifest/network/nfs/server.xml

svcadm enable nfs/server

svcadm disable -st service   # disable and offline service

svcadm enable service

 

8. modinfo & modunload

[root@vcsv245h allpatches]#>modinfo | egrep 'llt|gab|vxfen'
[root@vcsv245h allpatches]#>modunload -i 291

 

9. configure controller ports for share disks, and generate dev files for share disks

[root@vcsv245k /]#>cfgadm -al

[root@vcsv245k /]#>cfgadm -c configure c2::5006016130232106

[root@vcsv245k /]#>devfsadm -v

 

10. unzip

.tgz: gunzip file.tgz; tar xvf file.tar

 

 

 类似资料:

相关阅读

相关文章

相关问答