|
|
1 |
Perform the following steps on each main server station to transfer the patch files for the NFM-P release from the NSP.
Note: In a redundant NFM-P system, it is recommended to perform the steps on the primary main server station first.
-
Log in as the root user on the station.
-
Open a console window.
-
Enter the following:
# mkdir -p /opt/nsp/patches ↵
-
Enter the following:
# scp -rp root@address:/opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/src/ansible/roles/
config/files/compatibility/nfmp/NFMP_R_r/* /opt/nsp/patches/ ↵
where
address is the address of the NSP deployer host
R_r is the release of the NFM-P system
|
2 |
Perform the following steps on each main server station to stop the server.
Note: In a redundant NFM-P system, you must perform the steps on the standby main server station first.
-
Enter the following to switch to the nsp user:
# su - nsp ↵
-
Enter the following:
bash$ cd /opt/nsp/nfmp/server/nms/bin ↵
-
Enter the following to stop the main server:
bash$ ./nmsserver.bash stop ↵
-
Enter the following:
bash$ ./nmsserver.bash appserver_status ↵
The server status is displayed; the server is fully stopped if the status is the following:
Application Server is stopped
If the server is not fully stopped, wait five minutes and then repeat this step. Do not perform the next step until the server is fully stopped.
-
Enter the following to switch back to the root user:
bash$ su - ↵
-
If the NFM-P is not part of a shared-mode NSP deployment, enter the following to display the nspOS service status:
# nspdctl status ↵
Information like the following is displayed.
Mode: redundancy_mode
Role: redundancy_role
DC-Role: dc_role
DC-Name: dc_name
Registry: IP_address:port
State: stopped
Uptime: 0s
SERVICE STATUS
service_a inactive
service_b inactive
service_c inactive
You must not proceed to the next step until all NSP services are stopped; if the State is not ‘stopped’, or the STATUS indicator of each listed service is not ‘inactive’, repeat this substep.
|
3 |
If the NFM-P is at Release 22.6, 22.9, or 22.11, go to
Step 6.
|
4 |
If the NFM-P is at Release 23.4 or 23.8, go to
Step 7.
|
5 |
Apply the compatibility patch to a Release 21.11 or 22.3 NFM-P system.
Note: In a redundant NFM-P system, you must perform the steps on each main server station.
Perform each action in
Table 11-1, Compatibility actions, NFM-P Release 21.11 or 22.3 by executing the commands associated with the action.
To facilitate the command execution, you can copy a command block and paste the block into the console window. Table 11-1: Compatibility actions, NFM-P Release 21.11 or 22.3
Action and commands |
1. Create backup directories |
mkdir -p /opt/nsp/patches/backup/alu_orbw
mkdir -p /opt/nsp/patches/backup/nms
mkdir -p /opt/nsp/patches/backup/nspos |
2. Back up Orbweaver files |
cd /opt/nsp/nms/lib/alu_orbw
cp equipment-model-avro.jar /opt/nsp/patches/backup/alu_orbw/
cp fm-model-avro.jar /opt/nsp/patches/backup/alu_orbw/
cp service-model-avro.jar /opt/nsp/patches/backup/alu_orbw/ |
3. Back up nspos adapter files |
cd /opt/nsp/nms/lib/nspos
cp nms_nspos_equipment_model_adapter.jar /opt/nsp/patches/backup/nspos/
cp nms_nspos_fm_model_adapter.jar /opt/nsp/patches/backup/nspos/
cp nms_nspos_model_adapter.jar /opt/nsp/patches/backup/nspos/
cp nms_nspos_service_model_adapter.jar /opt/nsp/patches/backup/nspos/ |
4. Back up trackedClasses.properties file |
cd /opt/nsp/nms/config
cp trackedClasses.properties /opt/nsp/patches/backup/nms |
5. Apply compatibility-patch files |
cd /opt/nsp/patches
chown nsp:nsp *
cp -p equipment-model-avro.jar /opt/nsp/nms/lib/alu_orbw/
cp -p fm-model-avro.jar /opt/nsp/nms/lib/alu_orbw/
cp -p service-model-avro.jar /opt/nsp/nms/lib/alu_orbw/
cp -p nms_nspos_equipment_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p nms_nspos_fm_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p nms_nspos_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p nms_nspos_service_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p trackedClasses.properties /opt/nsp/nms/config |
|
6 |
Apply the compatibility patch to a Release 22.6, 22.9, or 22.11 NFM-P system.
Note: In a redundant NFM-P system, you must perform the steps on each main server station.
Perform each action in
Table 11-2, Compatibility actions, NFM-P Releases 22.6, 22,9, and 22.11 by executing the commands associated with the action.
To facilitate the command execution, you can copy a command block and paste the block into the console window. Table 11-2: Compatibility actions, NFM-P Releases 22.6, 22,9, and 22.11
Action and commands |
1. Create backup directories |
mkdir -p /opt/nsp/patches/backup/alu_orbw
mkdir -p /opt/nsp/patches/backup/nms
mkdir -p /opt/nsp/patches/backup/nspos |
2. Back up Orbweaver files |
cd /opt/nsp/nms/lib/alu_orbw
cp equipment-model-avro.jar /opt/nsp/patches/backup/alu_orbw/
cp service-model-avro.jar /opt/nsp/patches/backup/alu_orbw/ |
3. Back up nspos adapter files |
cd /opt/nsp/nms/lib/nspos
cp nms_nspos_equipment_model_adapter.jar /opt/nsp/patches/backup/nspos/
cp nms_nspos_model_adapter.jar /opt/nsp/patches/backup/nspos/
cp nms_nspos_service_model_adapter.jar /opt/nsp/patches/backup/nspos/ |
4. Back up trackedClasses.properties file |
cd /opt/nsp/nms/config
cp trackedClasses.properties /opt/nsp/patches/backup/nms |
5. Apply compatibility-patch files |
cd /opt/nsp/patches
chown nsp:nsp *
cp -p equipment-model-avro.jar /opt/nsp/nms/lib/alu_orbw/
cp -p service-model-avro.jar /opt/nsp/nms/lib/alu_orbw/
cp -p nms_nspos_equipment_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p nms_nspos_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p nms_nspos_service_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p trackedClasses.properties /opt/nsp/nms/config |
|
7 |
Apply the compatibility patch to a Release 23.4 or 23.8 NFM-P system.
Note: In a redundant NFM-P system, you must perform the steps on each main server station.
Perform each action in
Table 11-3, Compatibility actions, NFM-P Releases 23.4 and 23.8 by executing the commands associated with the action.
To facilitate the command execution, you can copy a command block and paste the block into the console window. Table 11-3: Compatibility actions, NFM-P Releases 23.4 and 23.8
Action and commands |
1. Create backup directories |
mkdir -p /opt/nsp/patches/backup/alu_orbw
mkdir -p /opt/nsp/patches/backup/nms
mkdir -p /opt/nsp/patches/backup/nspos |
2. Back up Orbweaver files |
cd /opt/nsp/nms/lib/alu_orbw
cp equipment-model-avro.jar /opt/nsp/patches/backup/alu_orbw/
cp service-model-avro.jar /opt/nsp/patches/backup/alu_orbw/ |
3. Back up nspos adapter files |
cd /opt/nsp/nms/lib/nspos
cp nms_nspos_equipment_model_adapter.jar /opt/nsp/patches/backup/nspos/
cp nms_nspos_service_model_adapter.jar /opt/nsp/patches/backup/nspos/ |
4. Back up trackedClasses.properties file |
cd /opt/nsp/nms/config
cp trackedClasses.properties /opt/nsp/patches/backup/nms |
5. Apply compatibility-patch files |
cd /opt/nsp/patches
chown nsp:nsp *
cp -p equipment-model-avro.jar /opt/nsp/nms/lib/alu_orbw/
cp -p service-model-avro.jar /opt/nsp/nms/lib/alu_orbw/
cp -p nms_nspos_equipment_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p nms_nspos_service_model_adapter.jar /opt/nsp/nms/lib/nspos/
cp -p trackedClasses.properties /opt/nsp/nms/config |
|
8 |
Start each NFM-P main server.
Note: In a redundant NFM-P system, you must perform this step on the primary main server station first.
-
Enter the following to switch to the nsp user:
bash$ su - nsp ↵
-
Enter the following:
bash$ cd /opt/nsp/nfmp/server/nms/bin ↵
-
Enter the following to start the main server:
bash$ ./nmsserver.bash start ↵
-
Enter the following:
bash$ ./nmsserver.bash appserver_status ↵
The server status is displayed; the server is fully initialized if the status is the following:
Application Server process is running. See nms_status for more detail.
If the server is not fully initialized, wait five minutes and then repeat this step. Do not perform the next step until the server is fully initialized.
-
Close the console window.
End of steps |