1 | /usr/sbin/lsnim -l |
1 | nim_master_setup -a mk_resource=no |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Usage nim_master_setup: Setup and configure NIM master. nim_master_setup [-a mk_resource={yes|no}] [-a file_system=<fs name>] [-a volume_group=<vg name>] [-a disk=<disk name>] [-a device=<device>] [-B] [-v] -B Do not create mksysb resource. -v Enable debug output. 各个选项有相应的默认值 : mk_resource = yes file_system = /export/nim volume_group = rootvg device = /dev/cd0 |
1 2 | # get free space my $dfcmd = qq~/usr/bin/df -m $location | /usr/bin/awk '(NR==2){print \$3":"\$7}'~; |
1 2 3 4 5 6 7 8 | my $lppsize = 1500; my $space_needed; if ( $size >= $free_space) { $space_needed = int ($size - $free_space); my $addsize = $space_needed+10; my $sizeattr = "-a size=+$addsize" . "M"; my $chcmd = "/usr/sbin/chfs $sizeattr $FSname"; } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | bash-3.2# lsnim -l nim_client1 nim_client1: class = machines type = standalone connect = shell platform = chrp netboot_kernel = 64 if1 = master_net nim_client1 4adc03d00000 ent cable_type1 = N/A Cstate = ready for a NIM operation prev_state = not running Mstate = currently running cpuid = 00C115E44C00 Cstate_result = success |
1 2 | nim -F -o change $nim_args hostname1 $cmd = "nim -o define $nim_type $nim_args hostname1 |
1 2 3 | /usr/sbin/nim -o bos_inst -a accept_licenses="yes" -a source="rte" -a lpp_source="61F_lpp_source" -a bosinst_data="61F_bosinst_data" -a boot_client="no" -a spot="61F_spot" -a script=aixscript nim_client1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | bash-3.2# lsnim -l nim_client1 HE_node001: class = machines type = standalone connect = shell platform = chrp netboot_kernel = 64 if1 = master_net nim_client1 4adc03d60000 ent cable_type1 = N/A Cstate = BOS installation has been enabled prev_state = ready for a NIM operation Mstate = currently running boot = boot bosinst_data = 61F_bosinst_data lpp_source = 61F_lpp_source nim_script = nim_script script = aixscript spot = 61F_spot cpuid = 00C115E44C00 control = master |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |