request system software in-service-upgrade (Maintenance)
구문
request system software in-service-upgrade image_name <no-copy> <no-old-master-upgrade> <no-sync> <no-tcp-syn-check> <no-validate> <status> <unlink>
설명
ISSU(In-Service Software Upgrade) 기능을 통해 지원되는 Junos OS 그룹 페일오버와 유사한 트래픽 영향을 미치는 섀시 클러스터 쌍을 업그레이드할 수 있습니다. 업그레이드하기 전에 장애 조치가 수행되어야만 모든 중복 그룹이 단일 디바이스에서만 활성화됩니다. ISSU를 시작하기 전에 라우팅 프로토콜을 위한 graceful restart를 활성화하는 것이 좋습니다.
SRX300, SRX320, SRX340, SRX345, SRX550M 및 SRX380 no-sync
디바이스의 경우 매개 변수를 사용하여 대역 내 클러스터 업그레이드(ICU)를 수행해야 합니다. 이를 통해 서비스 중단을 거의 30초 정도 유지하면서 섀시 클러스터 쌍을 업그레이드할 수 있습니다.
이 SRX1500, SRX4100 및 SRX4200 no-sync
디바이스의 경우 ISSU를 사용하여 업그레이드할 때 매개 변수가 지원되지 않습니다. 이 no-sync
옵션은 상태가 기본 노드에서 보조 노드로 동기화되지 않는지 지정합니다.
디바이스 SRX1500 no-tcp-syn-check
ISSU를 사용하여 업그레이드할 때 매개 변수가 지원되지 않습니다.
옵션
image_name
—설치할 소프트웨어 업그레이드 패키지의 위치와 이름을 지정합니다.no-copy
—(옵션) 소프트웨어 업그레이드 패키지를 설치하지만 패키지 파일의 복사본은 저장하지 않습니다.no-old-master-upgrade
—(옵션) 전환 이후 기존 기본을 업그레이드하지 않습니다.이 매개 변수는 디바이스 SRX5400, SRX5600 디바이스만 SRX5800 적용됩니다.
no-sync
—(옵션) 오래된 보조 노드가 새로운 네트워크 이미지로 부팅될 때 플로우 상태의 동기화를 Junos OS 있습니다.이 매개 변수는 SRX300, SRX320, SRX340, SRX345, SRX550M 및 SRX380 디바이스에만 적용됩니다. ICU에는 필수입니다.
no-tcp-syn-check
—(옵션) 수신 패킷에 대한 TCP SYN 검사가 비활성화된 창을 만드십시오. 윈도우의 기본값은 7200초(2시간)입니다.이 매개 변수는 SRX300, SRX320, SRX340, SRX345, SRX550M 및 SRX380 디바이스에만 적용됩니다.
no-validate
—(옵션) 설치 시 구성 검증 단계를 비활성화합니다. 시스템 동작은 명령어의 동작과 유사request system software add
합니다.이 매개 변수는 SRX300, SRX320, SRX340, SRX345, SRX550M 및 SRX380 디바이스에만 적용됩니다.
status
—(선택 사항) 업그레이드 중에 통합 ISSU의 상태를 표시합니다. 올바른 ISSU 로그 라우팅 엔진 ISSU가 트리거된 위치의 명령어를 실행해야 합니다.이 매개 변수는 디바이스, SRX4100 SRX1500 SRX4200, SRX4600, SRX5400, SRX5600, SRX5800 디바이스에만 적용됩니다.
unlink
—(옵션) 성공적인 설치 후에 소프트웨어 패키지를 제거합니다.
필수 권한 수준
유지 관리
출력 필드
이 명령을 입력하면 요청 상태에 대한 피드백이 제공됩니다.
샘플 출력
서비스 중 업그레이드 상태 요청(SRX1500, SRX4100, SRX4200, SRX4600, SRX5400, SRX5600 및 SRX5800)
user@host> request system software in-service-upgrade status [Apr 29 01:31:11]:ISSU: Validating Image [Apr 29 01:43:13]:ISSU: Validating Image Done [Apr 29 01:43:13]:ISSU: Preparing Backup RE [Apr 29 01:43:13]:ISSU: Pushing /var/tmp/junos-install-mx-x86-32-19.3I20190425_1 100_divyansh.tgz to re1:/var/tmp/junos-install-mx-x86-32-19.3I20190425_1100_divy ansh.tgz [Apr 29 01:44:48]:ISSU: Pushing package /var/tmp/junos-install-mx-x86-32-19.3I20 190425_1100_divyansh.tgz to re1 done [Apr 29 01:44:48]:ISSU: Installing package /var/tmp/junos-install-mx-x86-32-19.3 I20190425_1100_divyansh.tgz on re1 [Apr 29 01:52:35]:ISSU: Installing package /var/tmp/junos-install-mx-x86-32-19.3 I20190425_1100_divyansh.tgz on re1 done [Apr 29 01:52:35]:ISSU: Rebooting Backup RE [Apr 29 01:52:36]:ISSU: Backup RE Prepare Done [Apr 29 01:52:36]:ISSU: Waiting for Backup RE reboot [Apr 29 01:56:45]:ISSU: Backup RE reboot done. Backup RE is up [Apr 29 01:56:45]:ISSU: Waiting for Backup RE state synchronization [Apr 29 01:57:10]:ISSU: Backup RE state synchronization done [Apr 29 01:57:10]:ISSU: GRES operational [Apr 29 01:58:16]:ISSU: Preparing Daemons [Apr 29 01:58:40]:ISSU: Daemons Ready for ISSU [Apr 29 01:58:46]:ISSU: Offline Incompatible FRUs [Apr 29 01:58:51]:ISSU: Starting Upgrade for FRUs [Apr 29 02:03:32]:ISSU: Preparing for Switchover [Apr 29 02:03:57]:ISSU: Ready for Switchover [Apr 29 02:03:59]:ISSU: RE switchover Done [Apr 29 02:03:59]:ISSU: Upgrading Old Master RE [Apr 29 02:12:51]:ISSU: Old Master Upgrade Done [Apr 29 02:12:51]:ISSU: IDLE
샘플 출력
서비스 중 업그레이드 시스템 소프트웨어 요청(SRX300, SRX320, SRX345, SRX550M 및 SRX380 디바이스)
user@host> request system software in-service-upgrade /var/tmp/junos-srxsme-15.1I20160520_0757-domestic.tgz no-sync ISSU: Validating package WARNING: in-service-upgrade shall reboot both the nodes in your cluster. Please ignore any subsequent reboot request message ISSU: start downloading software package on secondary node Pushing /var/tmp/junos-srxsme-15.1I20160520_0757-domestic.tgz to node0:/var/tmp/junos-srxsme-15.1I20160520_0757-domestic.tgz Formatting alternate root (/dev/da0s1a)... /dev/da0s1a: 2510.1MB (5140780 sectors) block size 16384, fragment size 2048 using 14 cylinder groups of 183.62MB, 11752 blks, 23552 inodes. super-block backups (for fsck -b #) at: 32, 376096, 752160, 1128224, 1504288, 1880352, 2256416, 2632480, 3008544, 3384608, 3760672, 4136736, 4512800, 4888864 Installing package '/altroot/cf/packages/install-tmp/junos-15.1I20160520_0757-domestic' ... Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 WARNING: The software that is being installed has limited support. WARNING: Run 'file show /etc/notices/unsupported.txt' for details. Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 JUNOS 15.1I20160520_0757 will become active at next reboot WARNING: A reboot is required to load this software correctly WARNING: Use the 'request system reboot' command WARNING: when software installation is complete cp: cannot overwrite directory /altroot/cf/etc/ssh with non-directory /cf/etc/ssh Saving state for rollback ... ISSU: finished upgrading on secondary node node0 ISSU: start upgrading software package on primary node Formatting alternate root (/dev/da0s1a)... /dev/da0s1a: 2510.1MB (5140780 sectors) block size 16384, fragment size 2048 using 14 cylinder groups of 183.62MB, 11752 blks, 23552 inodes. super-block backups (for fsck -b #) at: 32, 376096, 752160, 1128224, 1504288, 1880352, 2256416, 2632480, 3008544, 3384608, 3760672, 4136736, 4512800, 4888864 Installing package '/altroot/cf/packages/install-tmp/junos-15.1I20160520_0757-domestic' ... Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 WARNING: The software that is being installed has limited support. WARNING: Run 'file show /etc/notices/unsupported.txt' for details. Verified junos-boot-srxsme-15.1I20160520_0757.tgz signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 Verified junos-srxsme-15.1I20160520_0757-domestic signed by PackageDevelopmentEc_2016 method ECDSA256+SHA256 JUNOS 15.1I20160520_0757 will become active at next reboot WARNING: A reboot is required to load this software correctly WARNING: Use the 'request system reboot' command WARNING: when software installation is complete cp: cannot overwrite directory /altroot/cf/etc/ssh with non-directory /cf/etc/ssh Saving state for rollback ... ISSU: failover all redundancy-groups 1...n to primary node Successfully reset all redundancy-groups priority back to configured priority. Successfully reset all redundancy-groups priority back to configured priority. error: Command failed. None of the redundancy-groups has been failed over. Some redundancy-groups' priority on node1 are 0. e.g.: priority of redundancy-groups-1 on node1 is 0. Use 'force' option at the end to ignore this check. WARNING: Using force option may cause traffic loss. ISSU: rebooting Secondary Node Shutdown NOW! ISSU: Waiting for secondary node node0 to reboot. ISSU: node 0 went down ISSU: Waiting for node 0 to come up ISSU: node 0 came up ISSU: secondary node node0 booted up. ISSU: failover all redundancy-groups 1...n to remote node, before reboot. Successfully reset all redundancy-groups priority back to configured priority. Shutdown NOW! {primary:node1} user@host> *** FINAL System shutdown message from user@host *** System going down IMMEDIATELY
릴리스 정보
SRX5400, SRX5600 및 SRX5800 릴리스 9.6에 Junos OS 명령어가 도입되었습니다. 디바이스 SRX5400, 이 명령은 Junos OS Release 12.1X46-D20. 모든 SRX300, SRX320, SRX340 및 SRX345 디바이스의 경우 Junos OS Release 15.1X49-D40. SRX1500 장치의 경우, Junos OS Release 15.1X49-D50. SRX380 디바이스의 경우, Junos OS Release 20.1R1.
SRX4100 Junos OS 릴리스 15.1X49-D80 SRX4200 디바이스는 ISSU를 지원합니다.
SRX4600 디바이스는 Junos OS Release 17.4R1 ISSU를 지원합니다.
SRX300 시리즈 디바이스, SRX550M 디바이스 및 vSRX ISSU를 지원하지 않습니다.
SRX1500, SRX4100, SRX4200, SRX4600, SRX5400, SRX5600 및 status
SRX5800 옵션이 Junos OS Release 20.4R1.